]> git.saurik.com Git - wxWidgets.git/blob - configure
don't define g_UnicodeSubsetTable in non-Unicode build (fixes gcc warning)
[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.1.
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.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
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 ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS 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 GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS 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_GNOMEVFS 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 ICC_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_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_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_0 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_DFB COND_TOOLKIT_DFB_USE_GUI_1 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_PCH_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 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
853 ac_env_GST_LIBS_set=${GST_LIBS+set}
854 ac_env_GST_LIBS_value=$GST_LIBS
855 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value=$GST_LIBS
857
858 #
859 # Report the --help message.
860 #
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
864 cat <<_ACEOF
865 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
866
867 Usage: $0 [OPTION]... [VAR=VALUE]...
868
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
871
872 Defaults for the options are specified in brackets.
873
874 Configuration:
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
884
885 _ACEOF
886
887 cat <<_ACEOF
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
890 [$ac_default_prefix]
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 [PREFIX]
893
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
898
899 For better control, use the options below.
900
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
914 _ACEOF
915
916 cat <<\_ACEOF
917
918 X features:
919 --x-includes=DIR X include files are in DIR
920 --x-libraries=DIR X library files are in DIR
921
922 System types:
923 --build=BUILD configure for building on BUILD [guessed]
924 --host=HOST cross-compile to build programs to run on HOST [BUILD]
925 --target=TARGET configure for building compilers for TARGET [HOST]
926 _ACEOF
927 fi
928
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
932 esac
933 cat <<\_ACEOF
934
935 Optional Features:
936 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
937 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK+ 1.2 instead of 2.0
944 --enable-gpe use GNOME PDA Environment features if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
961 --enable-compat24 enable wxWidgets 2.4 compatibility
962 --disable-compat26 disable wxWidgets 2.6 compatibility
963 --disable-rpath disable use of rpath for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig (and derived) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP (requires wxProtocol
968 --enable-http use wxHTTP (requires wxProtocol
969 --enable-fileproto use wxFileProto class (requires wxProtocol
970 --enable-sockets use socket/network classes
971 --enable-ole use OLE classes (Win32 only)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication (wxSocket etc.)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class for getting backtraces
977 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class for DLL loading
983 --enable-dynamicloader use (new) wxDynamicLibrary class
984 --enable-exceptions build exception-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C++ stream classes
998 --enable-std_string use standard C++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support in wxProtocol
1016 --enable-protocol-ftp FTP support in wxProtocol
1017 --enable-protocol-file FILE support in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use help subsystem
1021 --enable-mshtmlhelp use MS HTML Help (win32)
1022 --enable-html use wxHTML sub-library
1023 --enable-htmlhelp use wxHTML-based help
1024 --enable-xrc use XRC resources sub-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl (Mac)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context 2D drawing API
1036 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1037 --enable-prologio not available; see contrib
1038 --enable-resources not available; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-button use wxButton class
1045 --enable-bmpbutton use wxBitmapButton class
1046 --enable-bmpcombobox use wxBitmapComboBox class
1047 --enable-calendar use wxCalendarCtrl class
1048 --enable-caret use wxCaret class
1049 --enable-checkbox use wxCheckBox class
1050 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1051 --enable-choice use wxChoice class
1052 --enable-choicebook use wxChoicebook class
1053 --enable-colourpicker use wxColourPickerCtrl class
1054 --enable-combobox use wxComboBox class
1055 --enable-comboctrl use wxComboCtrl class
1056 --enable-datepick use wxDatePickerCtrl class
1057 --enable-dirpicker use wxDirPickerCtrl class
1058 --enable-display use wxDisplay class
1059 --enable-filepicker use wxFilePickerCtrl class
1060 --enable-fontpicker use wxFontPickerCtrl class
1061 --enable-gauge use wxGauge class
1062 --enable-grid use wxGrid class
1063 --enable-dataviewctrl, use wxDataViewCtrl class
1064 --enable-hyperlink use wxHyperlinkCtrl class
1065 --enable-imaglist use wxImageList class
1066 --enable-listbook use wxListbook class
1067 --enable-listbox use wxListBox class
1068 --enable-listctrl use wxListCtrl class
1069 --enable-notebook use wxNotebook class
1070 --enable-odcombobox use wxOwnerDrawnComboBox class
1071 --enable-radiobox use wxRadioBox class
1072 --enable-radiobtn use wxRadioButton class
1073 --enable-sash use wxSashWindow class
1074 --enable-scrollbar use wxScrollBar class and scrollable windows
1075 --enable-slider use wxSlider class
1076 --enable-spinbtn use wxSpinButton class
1077 --enable-spinctrl use wxSpinCtrl class
1078 --enable-splitter use wxSplitterWindow class
1079 --enable-statbmp use wxStaticBitmap class
1080 --enable-statbox use wxStaticBox class
1081 --enable-statline use wxStaticLine class
1082 --enable-stattext use wxStaticText class
1083 --enable-statusbar use wxStatusBar class
1084 --enable-tabdialog use wxTabControl class
1085 --enable-textctrl use wxTextCtrl class
1086 --enable-togglebtn use wxToggleButton class
1087 --enable-toolbar use wxToolBar class
1088 --enable-tbarnative use native wxToolBar class
1089 --enable-treebook use wxTreebook class
1090 --enable-toolbook use wxToolbook class
1091 --enable-treectrl use wxTreeCtrl class
1092 --enable-tipwindow use wxTipWindow class
1093 --enable-popupwin use wxPopUpWindow class
1094 --enable-commondlg use all common dialogs
1095 --enable-aboutdlg use wxAboutBox
1096 --enable-choicedlg use wxChoiceDialog
1097 --enable-coldlg use wxColourDialog
1098 --enable-filedlg use wxFileDialog
1099 --enable-finddlg use wxFindReplaceDialog
1100 --enable-fontdlg use wxFontDialog
1101 --enable-dirdlg use wxDirDialog
1102 --enable-msgdlg use wxMessageDialog
1103 --enable-numberdlg use wxNumberEntryDialog
1104 --enable-splash use wxSplashScreen
1105 --enable-textdlg use wxTextDialog
1106 --enable-tipdlg use startup tips
1107 --enable-progressdlg use wxProgressDialog
1108 --enable-wizarddlg use wxWizard
1109 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1110 --enable-miniframe use wxMiniFrame class
1111 --enable-tooltips use wxToolTip class
1112 --enable-splines use spline drawing code
1113 --enable-mousewheel use mousewheel
1114 --enable-validators use wxValidator and derived classes
1115 --enable-busyinfo use wxBusyInfo
1116 --enable-joystick use wxJoystick
1117 --enable-metafiles use wxMetaFile (Win32 only)
1118 --enable-dragimage use wxDragImage
1119 --enable-accessibility enable accessibility support
1120 --enable-dccache cache temporary wxDC objects (Win32 only)
1121 --enable-palette use wxPalette class
1122 --enable-image use wxImage class
1123 --enable-gif use gif images (GIF file format)
1124 --enable-pcx use pcx images (PCX file format)
1125 --enable-iff use iff images (IFF file format)
1126 --enable-pnm use pnm images (PNM file format)
1127 --enable-xpm use xpm images (XPM file format)
1128 --enable-icocur use Windows ICO and CUR formats
1129 --enable-official_build official build of wxWidgets (win32 DLL only)
1130 --enable-vendor=VENDOR vendor name (win32 DLL only)
1131 --disable-largefile omit support for large files
1132 --disable-gtktest do not try to compile and run a test GTK+ program
1133 --disable-gtktest Do not try to compile and run a test GTK program
1134 --disable-sdltest Do not try to compile and run a test SDL program
1135 --enable-omf use OMF object format (OS/2)
1136 --disable-dependency-tracking
1137 don't use dependency tracking even if the compiler
1138 can
1139 --disable-precomp-headers
1140 don't use precompiled headers even if compiler can
1141
1142 Optional Packages:
1143 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1144 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1145 --without-subdirs don't generate makefiles for samples/demos/...
1146 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1147 --with-motif use Motif/Lesstif
1148 --with-mac use Mac OS X
1149 --with-cocoa use Cocoa
1150 --with-wine use Wine
1151 --with-msw use MS-Windows
1152 --with-pm use OS/2 Presentation Manager
1153 --with-mgl use SciTech MGL
1154 --with-directfb use DirectFB
1155 --with-microwin use MicroWindows
1156 --with-x11 use X11
1157 --with-libpng use libpng (PNG image format)
1158 --with-libjpeg use libjpeg (JPEG file format)
1159 --with-libtiff use libtiff (TIFF file format)
1160 --with-libxpm use libxpm (XPM file format)
1161 --with-libmspack use libmspack (CHM help files loading)
1162 --with-sdl use SDL for audio on Unix
1163 --with-gnomeprint use GNOME print for printing under GNOME
1164 --with-gnomevfs use GNOME VFS for associating MIME types
1165 --with-hildon use Hildon framework for Nokia 770
1166 --with-opengl use OpenGL (or Mesa)
1167 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1168 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1169 --with-regex enable support for wxRegEx class
1170 --with-zlib use zlib for LZW compression
1171 --with-odbc use the IODBC and wxODBC classes
1172 --with-expat enable XML support using expat parser
1173 --with-flavour=NAME specify a name to identify this build
1174 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1175 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1176 --with-x use the X Window System
1177 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1178 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1179 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1180 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1181 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1182
1183 Some influential environment variables:
1184 CC C compiler command
1185 CFLAGS C compiler flags
1186 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1187 nonstandard directory <lib dir>
1188 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1189 headers in a nonstandard directory <include dir>
1190 CPP C preprocessor
1191 CXX C++ compiler command
1192 CXXFLAGS C++ compiler flags
1193 CXXCPP C++ preprocessor
1194 PKG_CONFIG path to pkg-config utility
1195 DIRECTFB_CFLAGS
1196 C compiler flags for DIRECTFB, overriding pkg-config
1197 DIRECTFB_LIBS
1198 linker flags for DIRECTFB, overriding pkg-config
1199 PANGOX_CFLAGS
1200 C compiler flags for PANGOX, overriding pkg-config
1201 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1202 PANGOFT2_CFLAGS
1203 C compiler flags for PANGOFT2, overriding pkg-config
1204 PANGOFT2_LIBS
1205 linker flags for PANGOFT2, overriding pkg-config
1206 PANGOXFT_CFLAGS
1207 C compiler flags for PANGOXFT, overriding pkg-config
1208 PANGOXFT_LIBS
1209 linker flags for PANGOXFT, overriding pkg-config
1210 LIBGNOMEPRINTUI_CFLAGS
1211 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1212 LIBGNOMEPRINTUI_LIBS
1213 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1214 GNOMEVFS_CFLAGS
1215 C compiler flags for GNOMEVFS, overriding pkg-config
1216 GNOMEVFS_LIBS
1217 linker flags for GNOMEVFS, overriding pkg-config
1218 HILDON_CFLAGS
1219 C compiler flags for HILDON, overriding pkg-config
1220 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1221 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1222 GST_LIBS linker flags for GST, overriding pkg-config
1223
1224 Use these variables to override the choices made by `configure' or to help
1225 it to find libraries and programs with nonstandard names/locations.
1226
1227 Report bugs to <wx-dev@lists.wxwidgets.org>.
1228 _ACEOF
1229 fi
1230
1231 if test "$ac_init_help" = "recursive"; then
1232 # If there are subdirs, report their specific --help.
1233 ac_popdir=`pwd`
1234 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1235 test -d $ac_dir || continue
1236 ac_builddir=.
1237
1238 if test "$ac_dir" != .; then
1239 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A "../" for each directory in $ac_dir_suffix.
1241 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1242 else
1243 ac_dir_suffix= ac_top_builddir=
1244 fi
1245
1246 case $srcdir in
1247 .) # No --srcdir option. We are building in place.
1248 ac_srcdir=.
1249 if test -z "$ac_top_builddir"; then
1250 ac_top_srcdir=.
1251 else
1252 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1253 fi ;;
1254 [\\/]* | ?:[\\/]* ) # Absolute path.
1255 ac_srcdir=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir=$srcdir ;;
1257 *) # Relative path.
1258 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1259 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1260 esac
1261
1262 # Do not use `cd foo && pwd` to compute absolute paths, because
1263 # the directories may not exist.
1264 case `pwd` in
1265 .) ac_abs_builddir="$ac_dir";;
1266 *)
1267 case "$ac_dir" in
1268 .) ac_abs_builddir=`pwd`;;
1269 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1270 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1271 esac;;
1272 esac
1273 case $ac_abs_builddir in
1274 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1275 *)
1276 case ${ac_top_builddir}. in
1277 .) ac_abs_top_builddir=$ac_abs_builddir;;
1278 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1279 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1280 esac;;
1281 esac
1282 case $ac_abs_builddir in
1283 .) ac_abs_srcdir=$ac_srcdir;;
1284 *)
1285 case $ac_srcdir in
1286 .) ac_abs_srcdir=$ac_abs_builddir;;
1287 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1288 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1289 esac;;
1290 esac
1291 case $ac_abs_builddir in
1292 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1293 *)
1294 case $ac_top_srcdir in
1295 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1296 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1297 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1298 esac;;
1299 esac
1300
1301 cd $ac_dir
1302 # Check for guested configure; otherwise get Cygnus style configure.
1303 if test -f $ac_srcdir/configure.gnu; then
1304 echo
1305 $SHELL $ac_srcdir/configure.gnu --help=recursive
1306 elif test -f $ac_srcdir/configure; then
1307 echo
1308 $SHELL $ac_srcdir/configure --help=recursive
1309 elif test -f $ac_srcdir/configure.ac ||
1310 test -f $ac_srcdir/configure.in; then
1311 echo
1312 $ac_configure --help
1313 else
1314 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315 fi
1316 cd $ac_popdir
1317 done
1318 fi
1319
1320 test -n "$ac_init_help" && exit 0
1321 if $ac_init_version; then
1322 cat <<\_ACEOF
1323 wxWidgets configure 2.7.1
1324 generated by GNU Autoconf 2.59
1325
1326 Copyright (C) 2003 Free Software Foundation, Inc.
1327 This configure script is free software; the Free Software Foundation
1328 gives unlimited permission to copy, distribute and modify it.
1329 _ACEOF
1330 exit 0
1331 fi
1332 exec 5>config.log
1333 cat >&5 <<_ACEOF
1334 This file contains any messages produced by compilers while
1335 running configure, to aid debugging if configure makes a mistake.
1336
1337 It was created by wxWidgets $as_me 2.7.1, which was
1338 generated by GNU Autoconf 2.59. Invocation command line was
1339
1340 $ $0 $@
1341
1342 _ACEOF
1343 {
1344 cat <<_ASUNAME
1345 ## --------- ##
1346 ## Platform. ##
1347 ## --------- ##
1348
1349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1354
1355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1357
1358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1361 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1365
1366 _ASUNAME
1367
1368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369 for as_dir in $PATH
1370 do
1371 IFS=$as_save_IFS
1372 test -z "$as_dir" && as_dir=.
1373 echo "PATH: $as_dir"
1374 done
1375
1376 } >&5
1377
1378 cat >&5 <<_ACEOF
1379
1380
1381 ## ----------- ##
1382 ## Core tests. ##
1383 ## ----------- ##
1384
1385 _ACEOF
1386
1387
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1393 ac_configure_args=
1394 ac_configure_args0=
1395 ac_configure_args1=
1396 ac_sep=
1397 ac_must_keep_next=false
1398 for ac_pass in 1 2
1399 do
1400 for ac_arg
1401 do
1402 case $ac_arg in
1403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1405 | -silent | --silent | --silen | --sile | --sil)
1406 continue ;;
1407 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1408 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1409 esac
1410 case $ac_pass in
1411 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1412 2)
1413 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1414 if test $ac_must_keep_next = true; then
1415 ac_must_keep_next=false # Got value, back to normal.
1416 else
1417 case $ac_arg in
1418 *=* | --config-cache | -C | -disable-* | --disable-* \
1419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1421 | -with-* | --with-* | -without-* | --without-* | --x)
1422 case "$ac_configure_args0 " in
1423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1424 esac
1425 ;;
1426 -* ) ac_must_keep_next=true ;;
1427 esac
1428 fi
1429 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1430 # Get rid of the leading space.
1431 ac_sep=" "
1432 ;;
1433 esac
1434 done
1435 done
1436 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1438
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Be sure not to use single quotes in there, as some shells,
1443 # such as our DU 5.0 friend, will then `close' the trap.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1446 {
1447 echo
1448
1449 cat <<\_ASBOX
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1453 _ASBOX
1454 echo
1455 # The following way of writing the cache mishandles newlines in values,
1456 {
1457 (set) 2>&1 |
1458 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1459 *ac_space=\ *)
1460 sed -n \
1461 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1463 ;;
1464 *)
1465 sed -n \
1466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1467 ;;
1468 esac;
1469 }
1470 echo
1471
1472 cat <<\_ASBOX
1473 ## ----------------- ##
1474 ## Output variables. ##
1475 ## ----------------- ##
1476 _ASBOX
1477 echo
1478 for ac_var in $ac_subst_vars
1479 do
1480 eval ac_val=$`echo $ac_var`
1481 echo "$ac_var='"'"'$ac_val'"'"'"
1482 done | sort
1483 echo
1484
1485 if test -n "$ac_subst_files"; then
1486 cat <<\_ASBOX
1487 ## ------------- ##
1488 ## Output files. ##
1489 ## ------------- ##
1490 _ASBOX
1491 echo
1492 for ac_var in $ac_subst_files
1493 do
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1496 done | sort
1497 echo
1498 fi
1499
1500 if test -s confdefs.h; then
1501 cat <<\_ASBOX
1502 ## ----------- ##
1503 ## confdefs.h. ##
1504 ## ----------- ##
1505 _ASBOX
1506 echo
1507 sed "/^$/d" confdefs.h | sort
1508 echo
1509 fi
1510 test "$ac_signal" != 0 &&
1511 echo "$as_me: caught signal $ac_signal"
1512 echo "$as_me: exit $exit_status"
1513 } >&5
1514 rm -f core *.core &&
1515 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1516 exit $exit_status
1517 ' 0
1518 for ac_signal in 1 2 13 15; do
1519 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1520 done
1521 ac_signal=0
1522
1523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1524 rm -rf conftest* confdefs.h
1525 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1526 echo >confdefs.h
1527
1528 # Predefined preprocessor variables.
1529
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1532 _ACEOF
1533
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1537 _ACEOF
1538
1539
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1542 _ACEOF
1543
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_STRING "$PACKAGE_STRING"
1547 _ACEOF
1548
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1552 _ACEOF
1553
1554
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer explicitly selected file to automatically selected ones.
1557 if test -z "$CONFIG_SITE"; then
1558 if test "x$prefix" != xNONE; then
1559 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1560 else
1561 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1562 fi
1563 fi
1564 for ac_site_file in $CONFIG_SITE; do
1565 if test -r "$ac_site_file"; then
1566 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1567 echo "$as_me: loading site script $ac_site_file" >&6;}
1568 sed 's/^/| /' "$ac_site_file" >&5
1569 . "$ac_site_file"
1570 fi
1571 done
1572
1573 if test -r "$cache_file"; then
1574 # Some versions of bash will fail to source /dev/null (special
1575 # files actually), so we avoid doing that.
1576 if test -f "$cache_file"; then
1577 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1578 echo "$as_me: loading cache $cache_file" >&6;}
1579 case $cache_file in
1580 [\\/]* | ?:[\\/]* ) . $cache_file;;
1581 *) . ./$cache_file;;
1582 esac
1583 fi
1584 else
1585 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1586 echo "$as_me: creating cache $cache_file" >&6;}
1587 >$cache_file
1588 fi
1589
1590 # Check that the precious variables saved in the cache have kept the same
1591 # value.
1592 ac_cache_corrupted=false
1593 for ac_var in `(set) 2>&1 |
1594 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1595 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1596 eval ac_new_set=\$ac_env_${ac_var}_set
1597 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1598 eval ac_new_val="\$ac_env_${ac_var}_value"
1599 case $ac_old_set,$ac_new_set in
1600 set,)
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1603 ac_cache_corrupted=: ;;
1604 ,set)
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1606 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1607 ac_cache_corrupted=: ;;
1608 ,);;
1609 *)
1610 if test "x$ac_old_val" != "x$ac_new_val"; then
1611 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1612 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1613 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1614 echo "$as_me: former value: $ac_old_val" >&2;}
1615 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1616 echo "$as_me: current value: $ac_new_val" >&2;}
1617 ac_cache_corrupted=:
1618 fi;;
1619 esac
1620 # Pass precious variables to config.status.
1621 if test "$ac_new_set" = set; then
1622 case $ac_new_val in
1623 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1624 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1625 *) ac_arg=$ac_var=$ac_new_val ;;
1626 esac
1627 case " $ac_configure_args " in
1628 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1629 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1630 esac
1631 fi
1632 done
1633 if $ac_cache_corrupted; then
1634 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1635 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1636 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1637 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1638 { (exit 1); exit 1; }; }
1639 fi
1640
1641 ac_ext=c
1642 ac_cpp='$CPP $CPPFLAGS'
1643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676 ac_aux_dir=
1677 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1678 if test -f $ac_dir/install-sh; then
1679 ac_aux_dir=$ac_dir
1680 ac_install_sh="$ac_aux_dir/install-sh -c"
1681 break
1682 elif test -f $ac_dir/install.sh; then
1683 ac_aux_dir=$ac_dir
1684 ac_install_sh="$ac_aux_dir/install.sh -c"
1685 break
1686 elif test -f $ac_dir/shtool; then
1687 ac_aux_dir=$ac_dir
1688 ac_install_sh="$ac_aux_dir/shtool install -c"
1689 break
1690 fi
1691 done
1692 if test -z "$ac_aux_dir"; then
1693 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1694 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1695 { (exit 1); exit 1; }; }
1696 fi
1697 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1698 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1699 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1700
1701 # Make sure we can run config.sub.
1702 $ac_config_sub sun4 >/dev/null 2>&1 ||
1703 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1704 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1705 { (exit 1); exit 1; }; }
1706
1707 echo "$as_me:$LINENO: checking build system type" >&5
1708 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1709 if test "${ac_cv_build+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 ac_cv_build_alias=$build_alias
1713 test -z "$ac_cv_build_alias" &&
1714 ac_cv_build_alias=`$ac_config_guess`
1715 test -z "$ac_cv_build_alias" &&
1716 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1717 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1718 { (exit 1); exit 1; }; }
1719 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1720 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1721 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 fi
1725 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1726 echo "${ECHO_T}$ac_cv_build" >&6
1727 build=$ac_cv_build
1728 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1729 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1730 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1731
1732
1733 echo "$as_me:$LINENO: checking host system type" >&5
1734 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1735 if test "${ac_cv_host+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 else
1738 ac_cv_host_alias=$host_alias
1739 test -z "$ac_cv_host_alias" &&
1740 ac_cv_host_alias=$ac_cv_build_alias
1741 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1742 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1743 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1744 { (exit 1); exit 1; }; }
1745
1746 fi
1747 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1748 echo "${ECHO_T}$ac_cv_host" >&6
1749 host=$ac_cv_host
1750 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1751 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1752 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1753
1754
1755 echo "$as_me:$LINENO: checking target system type" >&5
1756 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1757 if test "${ac_cv_target+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 else
1760 ac_cv_target_alias=$target_alias
1761 test "x$ac_cv_target_alias" = "x" &&
1762 ac_cv_target_alias=$ac_cv_host_alias
1763 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1764 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1765 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1766 { (exit 1); exit 1; }; }
1767
1768 fi
1769 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1770 echo "${ECHO_T}$ac_cv_target" >&6
1771 target=$ac_cv_target
1772 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1773 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1774 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1775
1776
1777 # The aliases save the names the user supplied, while $host etc.
1778 # will get canonicalized.
1779 test -n "$target_alias" &&
1780 test "$program_prefix$program_suffix$program_transform_name" = \
1781 NONENONEs,x,x, &&
1782 program_prefix=${target_alias}-
1783
1784
1785
1786 wx_major_version_number=2
1787 wx_minor_version_number=7
1788 wx_release_number=1
1789 wx_subrelease_number=0
1790
1791 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1792 WX_VERSION=$WX_RELEASE.$wx_release_number
1793 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1794
1795 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1796
1797
1798
1799
1800 USE_UNIX=1
1801 USE_OS2=0
1802 USE_WIN32=0
1803 USE_DOS=0
1804 USE_BEOS=0
1805 USE_MAC=0
1806
1807 USE_AIX=
1808 USE_BSD= USE_DARWIN= USE_FREEBSD=
1809 USE_GNU= USE_HPUX=
1810 USE_LINUX=
1811 USE_NETBSD=
1812 USE_OPENBSD=
1813 USE_OSF= USE_SGI=
1814 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1815 USE_ULTRIX=
1816 USE_UNIXWARE=
1817
1818 USE_ALPHA=
1819
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1821
1822 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1823
1824 DEFAULT_wxUSE_COCOA=0
1825 DEFAULT_wxUSE_GTK=0
1826 DEFAULT_wxUSE_MAC=0
1827 DEFAULT_wxUSE_MGL=0
1828 DEFAULT_wxUSE_MICROWIN=0
1829 DEFAULT_wxUSE_MOTIF=0
1830 DEFAULT_wxUSE_MSW=0
1831 DEFAULT_wxUSE_PM=0
1832 DEFAULT_wxUSE_X11=0
1833 DEFAULT_wxUSE_DFB=0
1834
1835 DEFAULT_DEFAULT_wxUSE_COCOA=0
1836 DEFAULT_DEFAULT_wxUSE_GTK=0
1837 DEFAULT_DEFAULT_wxUSE_MAC=0
1838 DEFAULT_DEFAULT_wxUSE_MGL=0
1839 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1841 DEFAULT_DEFAULT_wxUSE_MSW=0
1842 DEFAULT_DEFAULT_wxUSE_PM=0
1843 DEFAULT_DEFAULT_wxUSE_X11=0
1844 DEFAULT_DEFAULT_wxUSE_DFB=0
1845
1846 PROGRAM_EXT=
1847 SO_SUFFIX=so
1848 SAMPLES_RPATH_FLAG=
1849 SAMPLES_RPATH_POSTLINK=
1850
1851 DEFAULT_STD_FLAG=yes
1852
1853 case "${host}" in
1854 *-hp-hpux* )
1855 USE_HPUX=1
1856 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1857 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1858 SO_SUFFIX=sl
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __HPUX__ 1
1861 _ACEOF
1862
1863
1864 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1865 ;;
1866 *-*-linux* )
1867 USE_LINUX=1
1868 cat >>confdefs.h <<\_ACEOF
1869 #define __LINUX__ 1
1870 _ACEOF
1871
1872 TMP=`uname -m`
1873 if test "x$TMP" = "xalpha"; then
1874 USE_ALPHA=1
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __ALPHA__ 1
1877 _ACEOF
1878
1879 fi
1880 DEFAULT_DEFAULT_wxUSE_GTK=1
1881 ;;
1882 *-*-gnu* | *-*-k*bsd*-gnu )
1883 USE_GNU=1
1884 TMP=`uname -m`
1885 if test "x$TMP" = "xalpha"; then
1886 USE_ALPHA=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __ALPHA__ 1
1889 _ACEOF
1890
1891 fi
1892 DEFAULT_DEFAULT_wxUSE_GTK=1
1893 ;;
1894 *-*-irix5* | *-*-irix6* )
1895 USE_SGI=1
1896 USE_SVR4=1
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __SGI__ 1
1899 _ACEOF
1900
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __SVR4__ 1
1903 _ACEOF
1904
1905 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1906 ;;
1907 *-*-solaris2* )
1908 USE_SUN=1
1909 USE_SOLARIS=1
1910 USE_SVR4=1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SUN__ 1
1913 _ACEOF
1914
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __SOLARIS__ 1
1917 _ACEOF
1918
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __SVR4__ 1
1921 _ACEOF
1922
1923 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1924 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1925 ;;
1926 *-*-sunos4* )
1927 USE_SUN=1
1928 USE_SUNOS=1
1929 USE_BSD=1
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __SUN__ 1
1932 _ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __SUNOS__ 1
1936 _ACEOF
1937
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __BSD__ 1
1940 _ACEOF
1941
1942 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1943 ;;
1944 *-*-freebsd*)
1945 USE_BSD=1
1946 USE_FREEBSD=1
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __FREEBSD__ 1
1949 _ACEOF
1950
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __BSD__ 1
1953 _ACEOF
1954
1955 DEFAULT_DEFAULT_wxUSE_GTK=1
1956 ;;
1957 *-*-openbsd*|*-*-mirbsd*)
1958 USE_BSD=1
1959 USE_OPENBSD=1
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __OPENBSD__ 1
1962 _ACEOF
1963
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __BSD__ 1
1966 _ACEOF
1967
1968 DEFAULT_DEFAULT_wxUSE_GTK=1
1969 ;;
1970 *-*-netbsd*)
1971 USE_BSD=1
1972 USE_NETBSD=1
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __NETBSD__ 1
1975 _ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __BSD__ 1
1979 _ACEOF
1980
1981 DEFAULT_DEFAULT_wxUSE_GTK=1
1982 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1983
1984 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1985 ;;
1986 *-*-osf* )
1987 USE_ALPHA=1
1988 USE_OSF=1
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __ALPHA__ 1
1991 _ACEOF
1992
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __OSF__ 1
1995 _ACEOF
1996
1997 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1999 ;;
2000 *-*-dgux5* )
2001 USE_ALPHA=1
2002 USE_SVR4=1
2003 cat >>confdefs.h <<\_ACEOF
2004 #define __ALPHA__ 1
2005 _ACEOF
2006
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __SVR4__ 1
2009 _ACEOF
2010
2011 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2012 ;;
2013 *-*-sysv5* )
2014 USE_SYSV=1
2015 USE_SVR4=1
2016 cat >>confdefs.h <<\_ACEOF
2017 #define __SYSV__ 1
2018 _ACEOF
2019
2020 cat >>confdefs.h <<\_ACEOF
2021 #define __SVR4__ 1
2022 _ACEOF
2023
2024 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2025 ;;
2026 *-*-aix* )
2027 USE_AIX=1
2028 USE_SYSV=1
2029 USE_SVR4=1
2030 SO_SUFFIX=a
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __AIX__ 1
2033 _ACEOF
2034
2035 cat >>confdefs.h <<\_ACEOF
2036 #define __SYSV__ 1
2037 _ACEOF
2038
2039 cat >>confdefs.h <<\_ACEOF
2040 #define __SVR4__ 1
2041 _ACEOF
2042
2043 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2044 ;;
2045
2046 *-*-*UnixWare*)
2047 USE_SYSV=1
2048 USE_SVR4=1
2049 USE_UNIXWARE=1
2050 cat >>confdefs.h <<\_ACEOF
2051 #define __UNIXWARE__ 1
2052 _ACEOF
2053
2054 ;;
2055
2056 *-*-cygwin* | *-*-mingw32* )
2057 SO_SUFFIX=dll
2058 PROGRAM_EXT=".exe"
2059 DEFAULT_DEFAULT_wxUSE_MSW=1
2060 DEFAULT_STD_FLAG=no
2061 ;;
2062
2063 *-pc-msdosdjgpp )
2064 USE_UNIX=0
2065 USE_DOS=1
2066 cat >>confdefs.h <<\_ACEOF
2067 #define __DOS__ 1
2068 _ACEOF
2069
2070 PROGRAM_EXT=".exe"
2071 DEFAULT_DEFAULT_wxUSE_MGL=1
2072 ;;
2073
2074 *-pc-os2_emx | *-pc-os2-emx )
2075 cat >>confdefs.h <<\_ACEOF
2076 #define __EMX__ 1
2077 _ACEOF
2078
2079 USE_OS2=1
2080 cat >>confdefs.h <<\_ACEOF
2081 #define __OS2__ 1
2082 _ACEOF
2083
2084 PROGRAM_EXT=".exe"
2085 DEFAULT_DEFAULT_wxUSE_PM=1
2086 CXX=gcc
2087 LDFLAGS="$LDFLAGS -Zcrtdll"
2088 ac_executable_extensions=".exe"
2089 export ac_executable_extensions
2090 ac_save_IFS="$IFS"
2091 IFS='\\'
2092 ac_TEMP_PATH=
2093 for ac_dir in $PATH; do
2094 IFS=$ac_save_IFS
2095 if test -z "$ac_TEMP_PATH"; then
2096 ac_TEMP_PATH="$ac_dir"
2097 else
2098 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2099 fi
2100 done
2101 export PATH="$ac_TEMP_PATH"
2102 unset ac_TEMP_PATH
2103 DEFAULT_STD_FLAG=no
2104 ;;
2105
2106 *-*-darwin* )
2107 USE_BSD=1
2108 USE_DARWIN=1
2109 SO_SUFFIX=dylib
2110 cat >>confdefs.h <<\_ACEOF
2111 #define __BSD__ 1
2112 _ACEOF
2113
2114 cat >>confdefs.h <<\_ACEOF
2115 #define __DARWIN__ 1
2116 _ACEOF
2117
2118 cat >>confdefs.h <<\_ACEOF
2119 #define TARGET_CARBON 1
2120 _ACEOF
2121
2122 DEFAULT_DEFAULT_wxUSE_MAC=1
2123 DEFAULT_STD_FLAG=no
2124 ;;
2125 powerpc-apple-macos* )
2126 USE_UNIX=0
2127 ac_cv_c_bigendian=yes
2128 SO_SUFFIX=shlib
2129 DEFAULT_DEFAULT_wxUSE_MAC=1
2130 DEFAULT_STD_FLAG=no
2131 ;;
2132
2133 *-*-beos* )
2134 USE_BEOS=1
2135 cat >>confdefs.h <<\_ACEOF
2136 #define __BEOS__ 1
2137 _ACEOF
2138
2139 ;;
2140
2141 *)
2142 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2143 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2144 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2145 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2146
2147 DEFAULT_DEFAULT_wxUSE_X11=1
2148 DEFAULT_wxUSE_SHARED=no
2149 esac
2150
2151
2152
2153
2154 wx_arg_cache_file="configarg.cache"
2155 echo "loading argument cache $wx_arg_cache_file"
2156 rm -f ${wx_arg_cache_file}.tmp
2157 touch ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}
2159
2160
2161 DEBUG_CONFIGURE=0
2162 if test $DEBUG_CONFIGURE = 1; then
2163 DEFAULT_wxUSE_UNIVERSAL=no
2164 DEFAULT_wxUSE_STL=no
2165
2166 DEFAULT_wxUSE_NANOX=no
2167
2168 DEFAULT_wxUSE_THREADS=yes
2169
2170 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2171 DEFAULT_wxUSE_OPTIMISE=no
2172 DEFAULT_wxUSE_PROFILE=no
2173 DEFAULT_wxUSE_NO_DEPS=no
2174 DEFAULT_wxUSE_NO_RTTI=no
2175 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2176 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2177 DEFAULT_wxUSE_RPATH=yes
2178 DEFAULT_wxUSE_PERMISSIVE=no
2179 DEFAULT_wxUSE_DEBUG_FLAG=yes
2180 DEFAULT_wxUSE_DEBUG_INFO=yes
2181 DEFAULT_wxUSE_DEBUG_GDB=yes
2182 DEFAULT_wxUSE_MEM_TRACING=no
2183 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2184 DEFAULT_wxUSE_DMALLOC=no
2185 DEFAULT_wxUSE_APPLE_IEEE=no
2186
2187 DEFAULT_wxUSE_EXCEPTIONS=no
2188 DEFAULT_wxUSE_LOG=yes
2189 DEFAULT_wxUSE_LOGWINDOW=no
2190 DEFAULT_wxUSE_LOGGUI=no
2191 DEFAULT_wxUSE_LOGDIALOG=no
2192
2193 DEFAULT_wxUSE_GUI=yes
2194 DEFAULT_wxUSE_CONTROLS=no
2195
2196 DEFAULT_wxUSE_REGEX=no
2197 DEFAULT_wxUSE_XML=no
2198 DEFAULT_wxUSE_EXPAT=no
2199 DEFAULT_wxUSE_ZLIB=no
2200 DEFAULT_wxUSE_LIBPNG=no
2201 DEFAULT_wxUSE_LIBJPEG=no
2202 DEFAULT_wxUSE_LIBTIFF=no
2203 DEFAULT_wxUSE_LIBXPM=no
2204 DEFAULT_wxUSE_LIBMSPACK=no
2205 DEFAULT_wxUSE_LIBSDL=no
2206 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2207 DEFAULT_wxUSE_LIBGNOMEVFS=no
2208 DEFAULT_wxUSE_LIBHILDON=no
2209 DEFAULT_wxUSE_ODBC=no
2210 DEFAULT_wxUSE_OPENGL=no
2211
2212 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2213 DEFAULT_wxUSE_STACKWALKER=no
2214 DEFAULT_wxUSE_DEBUGREPORT=no
2215 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2216 DEFAULT_wxUSE_STD_IOSTREAM=no
2217 DEFAULT_wxUSE_STD_STRING=no
2218 DEFAULT_wxUSE_CMDLINE_PARSER=no
2219 DEFAULT_wxUSE_DATETIME=no
2220 DEFAULT_wxUSE_TIMER=no
2221 DEFAULT_wxUSE_STOPWATCH=no
2222 DEFAULT_wxUSE_FILE=no
2223 DEFAULT_wxUSE_FFILE=no
2224 DEFAULT_wxUSE_STDPATHS=no
2225 DEFAULT_wxUSE_TEXTBUFFER=no
2226 DEFAULT_wxUSE_TEXTFILE=no
2227 DEFAULT_wxUSE_SOUND=no
2228 DEFAULT_wxUSE_MEDIACTRL=no
2229 DEFAULT_wxUSE_GSTREAMER8=no
2230 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2231 DEFAULT_wxUSE_INTL=no
2232 DEFAULT_wxUSE_CONFIG=no
2233 DEFAULT_wxUSE_FONTMAP=no
2234 DEFAULT_wxUSE_STREAMS=no
2235 DEFAULT_wxUSE_SOCKETS=no
2236 DEFAULT_wxUSE_OLE=no
2237 DEFAULT_wxUSE_DATAOBJ=no
2238 DEFAULT_wxUSE_DIALUP_MANAGER=no
2239 DEFAULT_wxUSE_JOYSTICK=no
2240 DEFAULT_wxUSE_DYNLIB_CLASS=no
2241 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2242 DEFAULT_wxUSE_LONGLONG=no
2243 DEFAULT_wxUSE_GEOMETRY=no
2244
2245 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2246 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2247 DEFAULT_wxUSE_POSTSCRIPT=no
2248
2249 DEFAULT_wxUSE_CLIPBOARD=no
2250 DEFAULT_wxUSE_TOOLTIPS=no
2251 DEFAULT_wxUSE_DRAG_AND_DROP=no
2252 DEFAULT_wxUSE_DRAGIMAGE=no
2253 DEFAULT_wxUSE_SPLINES=no
2254 DEFAULT_wxUSE_MOUSEWHEEL=no
2255
2256 DEFAULT_wxUSE_MDI=no
2257 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2258 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2259 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2260
2261 DEFAULT_wxUSE_RESOURCES=no
2262 DEFAULT_wxUSE_CONSTRAINTS=no
2263 DEFAULT_wxUSE_IPC=no
2264 DEFAULT_wxUSE_HELP=no
2265 DEFAULT_wxUSE_MS_HTML_HELP=no
2266 DEFAULT_wxUSE_WXHTML_HELP=no
2267 DEFAULT_wxUSE_TREELAYOUT=no
2268 DEFAULT_wxUSE_METAFILE=no
2269 DEFAULT_wxUSE_MIMETYPE=no
2270 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2271 DEFAULT_wxUSE_PROTOCOL=no
2272 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2273 DEFAULT_wxUSE_PROTOCOL_FTP=no
2274 DEFAULT_wxUSE_PROTOCOL_FILE=no
2275 DEFAULT_wxUSE_URL=no
2276 DEFAULT_wxUSE_VARIANT=no
2277
2278 DEFAULT_wxUSE_ABOUTDLG=no
2279 DEFAULT_wxUSE_COMMONDLGS=no
2280 DEFAULT_wxUSE_CHOICEDLG=no
2281 DEFAULT_wxUSE_COLOURDLG=no
2282 DEFAULT_wxUSE_DIRDLG=no
2283 DEFAULT_wxUSE_FILEDLG=no
2284 DEFAULT_wxUSE_FINDREPLDLG=no
2285 DEFAULT_wxUSE_FONTDLG=no
2286 DEFAULT_wxUSE_MSGDLG=no
2287 DEFAULT_wxUSE_NUMBERDLG=no
2288 DEFAULT_wxUSE_TEXTDLG=no
2289 DEFAULT_wxUSE_SPLASH=no
2290 DEFAULT_wxUSE_STARTUP_TIPS=no
2291 DEFAULT_wxUSE_PROGRESSDLG=no
2292 DEFAULT_wxUSE_WIZARDDLG=no
2293
2294 DEFAULT_wxUSE_MENUS=no
2295 DEFAULT_wxUSE_MINIFRAME=no
2296 DEFAULT_wxUSE_HTML=no
2297 DEFAULT_wxUSE_RICHTEXT=no
2298 DEFAULT_wxUSE_XRC=no
2299 DEFAULT_wxUSE_AUI=no
2300 DEFAULT_wxUSE_WEBKIT=no
2301 DEFAULT_wxUSE_FILESYSTEM=no
2302 DEFAULT_wxUSE_FS_INET=no
2303 DEFAULT_wxUSE_FS_ZIP=no
2304 DEFAULT_wxUSE_BUSYINFO=no
2305 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2306 DEFAULT_wxUSE_ZIPSTREAM=no
2307 DEFAULT_wxUSE_VALIDATORS=no
2308
2309 DEFAULT_wxUSE_ACCEL=no
2310 DEFAULT_wxUSE_BUTTON=no
2311 DEFAULT_wxUSE_BMPBUTTON=no
2312 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2313 DEFAULT_wxUSE_CALCTRL=no
2314 DEFAULT_wxUSE_CARET=no
2315 DEFAULT_wxUSE_CHECKBOX=no
2316 DEFAULT_wxUSE_CHECKLST=no
2317 DEFAULT_wxUSE_CHOICE=no
2318 DEFAULT_wxUSE_CHOICEBOOK=no
2319 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2320 DEFAULT_wxUSE_COMBOBOX=no
2321 DEFAULT_wxUSE_COMBOCTRL=no
2322 DEFAULT_wxUSE_DATEPICKCTRL=no
2323 DEFAULT_wxUSE_DISPLAY=no
2324 DEFAULT_wxUSE_DIRPICKERCTRL=no
2325 DEFAULT_wxUSE_FILEPICKERCTRL=no
2326 DEFAULT_wxUSE_FONTPICKERCTRL=no
2327 DEFAULT_wxUSE_GAUGE=no
2328 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2329 DEFAULT_wxUSE_GRID=no
2330 DEFAULT_wxUSE_HYPERLINKCTRL=no
2331 DEFAULT_wxUSE_DATAVIEWCTRL=no
2332 DEFAULT_wxUSE_IMAGLIST=no
2333 DEFAULT_wxUSE_LISTBOOK=no
2334 DEFAULT_wxUSE_LISTBOX=no
2335 DEFAULT_wxUSE_LISTCTRL=no
2336 DEFAULT_wxUSE_NOTEBOOK=no
2337 DEFAULT_wxUSE_ODCOMBOBOX=no
2338 DEFAULT_wxUSE_RADIOBOX=no
2339 DEFAULT_wxUSE_RADIOBTN=no
2340 DEFAULT_wxUSE_SASH=no
2341 DEFAULT_wxUSE_SCROLLBAR=no
2342 DEFAULT_wxUSE_SLIDER=no
2343 DEFAULT_wxUSE_SPINBTN=no
2344 DEFAULT_wxUSE_SPINCTRL=no
2345 DEFAULT_wxUSE_SPLITTER=no
2346 DEFAULT_wxUSE_STATBMP=no
2347 DEFAULT_wxUSE_STATBOX=no
2348 DEFAULT_wxUSE_STATLINE=no
2349 DEFAULT_wxUSE_STATTEXT=no
2350 DEFAULT_wxUSE_STATUSBAR=yes
2351 DEFAULT_wxUSE_TAB_DIALOG=no
2352 DEFAULT_wxUSE_TEXTCTRL=no
2353 DEFAULT_wxUSE_TOGGLEBTN=no
2354 DEFAULT_wxUSE_TOOLBAR=no
2355 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2356 DEFAULT_wxUSE_TREEBOOK=no
2357 DEFAULT_wxUSE_TOOLBOOK=no
2358 DEFAULT_wxUSE_TREECTRL=no
2359 DEFAULT_wxUSE_POPUPWIN=no
2360 DEFAULT_wxUSE_TIPWINDOW=no
2361
2362 DEFAULT_wxUSE_UNICODE=no
2363 DEFAULT_wxUSE_UNICODE_MSLU=no
2364 DEFAULT_wxUSE_WCSRTOMBS=no
2365
2366 DEFAULT_wxUSE_PALETTE=no
2367 DEFAULT_wxUSE_IMAGE=no
2368 DEFAULT_wxUSE_GIF=no
2369 DEFAULT_wxUSE_PCX=no
2370 DEFAULT_wxUSE_PNM=no
2371 DEFAULT_wxUSE_IFF=no
2372 DEFAULT_wxUSE_XPM=no
2373 DEFAULT_wxUSE_ICO_CUR=no
2374 DEFAULT_wxUSE_ACCESSIBILITY=no
2375
2376 DEFAULT_wxUSE_MONOLITHIC=no
2377 DEFAULT_wxUSE_PLUGINS=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2379 else
2380 DEFAULT_wxUSE_UNIVERSAL=no
2381 DEFAULT_wxUSE_STL=no
2382
2383 DEFAULT_wxUSE_NANOX=no
2384
2385 DEFAULT_wxUSE_THREADS=yes
2386
2387 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2388 DEFAULT_wxUSE_OPTIMISE=yes
2389 DEFAULT_wxUSE_PROFILE=no
2390 DEFAULT_wxUSE_NO_DEPS=no
2391 DEFAULT_wxUSE_NO_RTTI=no
2392 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2393 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2394 DEFAULT_wxUSE_RPATH=yes
2395 DEFAULT_wxUSE_PERMISSIVE=no
2396 DEFAULT_wxUSE_DEBUG_FLAG=no
2397 DEFAULT_wxUSE_DEBUG_INFO=no
2398 DEFAULT_wxUSE_DEBUG_GDB=no
2399 DEFAULT_wxUSE_MEM_TRACING=no
2400 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2401 DEFAULT_wxUSE_DMALLOC=no
2402 DEFAULT_wxUSE_APPLE_IEEE=yes
2403
2404 DEFAULT_wxUSE_EXCEPTIONS=yes
2405 DEFAULT_wxUSE_LOG=yes
2406 DEFAULT_wxUSE_LOGWINDOW=yes
2407 DEFAULT_wxUSE_LOGGUI=yes
2408 DEFAULT_wxUSE_LOGDIALOG=yes
2409
2410 DEFAULT_wxUSE_GUI=yes
2411
2412 DEFAULT_wxUSE_REGEX=yes
2413 DEFAULT_wxUSE_XML=yes
2414 DEFAULT_wxUSE_EXPAT=yes
2415 DEFAULT_wxUSE_ZLIB=yes
2416 DEFAULT_wxUSE_LIBPNG=yes
2417 DEFAULT_wxUSE_LIBJPEG=yes
2418 DEFAULT_wxUSE_LIBTIFF=yes
2419 DEFAULT_wxUSE_LIBXPM=yes
2420 DEFAULT_wxUSE_LIBMSPACK=yes
2421 DEFAULT_wxUSE_LIBSDL=no
2422 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2423 DEFAULT_wxUSE_LIBGNOMEVFS=no
2424 DEFAULT_wxUSE_LIBHILDON=no
2425 DEFAULT_wxUSE_ODBC=no
2426 DEFAULT_wxUSE_OPENGL=no
2427
2428 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2429 DEFAULT_wxUSE_STACKWALKER=yes
2430 DEFAULT_wxUSE_DEBUGREPORT=yes
2431 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2432 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2433 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2434 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2435 DEFAULT_wxUSE_DATETIME=yes
2436 DEFAULT_wxUSE_TIMER=yes
2437 DEFAULT_wxUSE_STOPWATCH=yes
2438 DEFAULT_wxUSE_FILE=yes
2439 DEFAULT_wxUSE_FFILE=yes
2440 DEFAULT_wxUSE_STDPATHS=yes
2441 DEFAULT_wxUSE_TEXTBUFFER=yes
2442 DEFAULT_wxUSE_TEXTFILE=yes
2443 DEFAULT_wxUSE_SOUND=yes
2444 DEFAULT_wxUSE_MEDIACTRL=no
2445 DEFAULT_wxUSE_GSTREAMER8=no
2446 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2447 DEFAULT_wxUSE_INTL=yes
2448 DEFAULT_wxUSE_CONFIG=yes
2449 DEFAULT_wxUSE_FONTMAP=yes
2450 DEFAULT_wxUSE_STREAMS=yes
2451 DEFAULT_wxUSE_SOCKETS=yes
2452 DEFAULT_wxUSE_OLE=yes
2453 DEFAULT_wxUSE_DATAOBJ=yes
2454 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2455 DEFAULT_wxUSE_JOYSTICK=yes
2456 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2457 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2458 DEFAULT_wxUSE_LONGLONG=yes
2459 DEFAULT_wxUSE_GEOMETRY=yes
2460
2461 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2462 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2463 DEFAULT_wxUSE_POSTSCRIPT=yes
2464
2465 DEFAULT_wxUSE_CLIPBOARD=yes
2466 DEFAULT_wxUSE_TOOLTIPS=yes
2467 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2468 DEFAULT_wxUSE_DRAGIMAGE=yes
2469 DEFAULT_wxUSE_SPLINES=yes
2470 DEFAULT_wxUSE_MOUSEWHEEL=yes
2471
2472 DEFAULT_wxUSE_MDI=yes
2473 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2474 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2475 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2476
2477 DEFAULT_wxUSE_RESOURCES=no
2478 DEFAULT_wxUSE_CONSTRAINTS=yes
2479 DEFAULT_wxUSE_IPC=yes
2480 DEFAULT_wxUSE_HELP=yes
2481 DEFAULT_wxUSE_MS_HTML_HELP=yes
2482 DEFAULT_wxUSE_WXHTML_HELP=yes
2483 DEFAULT_wxUSE_TREELAYOUT=yes
2484 DEFAULT_wxUSE_METAFILE=yes
2485 DEFAULT_wxUSE_MIMETYPE=yes
2486 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2487 DEFAULT_wxUSE_PROTOCOL=yes
2488 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2489 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2490 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2491 DEFAULT_wxUSE_URL=yes
2492 DEFAULT_wxUSE_VARIANT=yes
2493
2494 DEFAULT_wxUSE_ABOUTDLG=yes
2495 DEFAULT_wxUSE_COMMONDLGS=yes
2496 DEFAULT_wxUSE_CHOICEDLG=yes
2497 DEFAULT_wxUSE_COLOURDLG=yes
2498 DEFAULT_wxUSE_DIRDLG=yes
2499 DEFAULT_wxUSE_FILEDLG=yes
2500 DEFAULT_wxUSE_FINDREPLDLG=yes
2501 DEFAULT_wxUSE_FONTDLG=yes
2502 DEFAULT_wxUSE_MSGDLG=yes
2503 DEFAULT_wxUSE_NUMBERDLG=yes
2504 DEFAULT_wxUSE_TEXTDLG=yes
2505 DEFAULT_wxUSE_SPLASH=yes
2506 DEFAULT_wxUSE_STARTUP_TIPS=yes
2507 DEFAULT_wxUSE_PROGRESSDLG=yes
2508 DEFAULT_wxUSE_WIZARDDLG=yes
2509
2510 DEFAULT_wxUSE_MENUS=yes
2511 DEFAULT_wxUSE_MINIFRAME=yes
2512 DEFAULT_wxUSE_HTML=yes
2513 DEFAULT_wxUSE_RICHTEXT=yes
2514 DEFAULT_wxUSE_XRC=yes
2515 DEFAULT_wxUSE_AUI=yes
2516 DEFAULT_wxUSE_WEBKIT=yes
2517 DEFAULT_wxUSE_FILESYSTEM=yes
2518 DEFAULT_wxUSE_FS_INET=yes
2519 DEFAULT_wxUSE_FS_ZIP=yes
2520 DEFAULT_wxUSE_BUSYINFO=yes
2521 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2522 DEFAULT_wxUSE_ZIPSTREAM=yes
2523 DEFAULT_wxUSE_VALIDATORS=yes
2524
2525 DEFAULT_wxUSE_ACCEL=yes
2526 DEFAULT_wxUSE_BUTTON=yes
2527 DEFAULT_wxUSE_BMPBUTTON=yes
2528 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2529 DEFAULT_wxUSE_CALCTRL=yes
2530 DEFAULT_wxUSE_CARET=yes
2531 DEFAULT_wxUSE_CHECKBOX=yes
2532 DEFAULT_wxUSE_CHECKLST=yes
2533 DEFAULT_wxUSE_CHOICE=yes
2534 DEFAULT_wxUSE_CHOICEBOOK=yes
2535 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2536 DEFAULT_wxUSE_COMBOBOX=yes
2537 DEFAULT_wxUSE_COMBOCTRL=yes
2538 DEFAULT_wxUSE_DATEPICKCTRL=yes
2539 DEFAULT_wxUSE_DISPLAY=yes
2540 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2541 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2542 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2543 DEFAULT_wxUSE_GAUGE=yes
2544 DEFAULT_wxUSE_GRID=yes
2545 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2546 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2547 DEFAULT_wxUSE_DATAVIEWCTRL=no
2548 DEFAULT_wxUSE_IMAGLIST=yes
2549 DEFAULT_wxUSE_LISTBOOK=yes
2550 DEFAULT_wxUSE_LISTBOX=yes
2551 DEFAULT_wxUSE_LISTCTRL=yes
2552 DEFAULT_wxUSE_NOTEBOOK=yes
2553 DEFAULT_wxUSE_ODCOMBOBOX=yes
2554 DEFAULT_wxUSE_RADIOBOX=yes
2555 DEFAULT_wxUSE_RADIOBTN=yes
2556 DEFAULT_wxUSE_SASH=yes
2557 DEFAULT_wxUSE_SCROLLBAR=yes
2558 DEFAULT_wxUSE_SLIDER=yes
2559 DEFAULT_wxUSE_SPINBTN=yes
2560 DEFAULT_wxUSE_SPINCTRL=yes
2561 DEFAULT_wxUSE_SPLITTER=yes
2562 DEFAULT_wxUSE_STATBMP=yes
2563 DEFAULT_wxUSE_STATBOX=yes
2564 DEFAULT_wxUSE_STATLINE=yes
2565 DEFAULT_wxUSE_STATTEXT=yes
2566 DEFAULT_wxUSE_STATUSBAR=yes
2567 DEFAULT_wxUSE_TAB_DIALOG=no
2568 DEFAULT_wxUSE_TEXTCTRL=yes
2569 DEFAULT_wxUSE_TOGGLEBTN=yes
2570 DEFAULT_wxUSE_TOOLBAR=yes
2571 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2572 DEFAULT_wxUSE_TREEBOOK=yes
2573 DEFAULT_wxUSE_TOOLBOOK=yes
2574 DEFAULT_wxUSE_TREECTRL=yes
2575 DEFAULT_wxUSE_POPUPWIN=yes
2576 DEFAULT_wxUSE_TIPWINDOW=yes
2577
2578 DEFAULT_wxUSE_UNICODE=no
2579 DEFAULT_wxUSE_UNICODE_MSLU=yes
2580 DEFAULT_wxUSE_WCSRTOMBS=no
2581
2582 DEFAULT_wxUSE_PALETTE=yes
2583 DEFAULT_wxUSE_IMAGE=yes
2584 DEFAULT_wxUSE_GIF=yes
2585 DEFAULT_wxUSE_PCX=yes
2586 DEFAULT_wxUSE_IFF=no
2587 DEFAULT_wxUSE_PNM=yes
2588 DEFAULT_wxUSE_XPM=yes
2589 DEFAULT_wxUSE_ICO_CUR=yes
2590 DEFAULT_wxUSE_ACCESSIBILITY=no
2591
2592 DEFAULT_wxUSE_MONOLITHIC=no
2593 DEFAULT_wxUSE_PLUGINS=no
2594 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2595
2596 DEFAULT_wxUSE_GTK2=yes
2597 fi
2598
2599
2600
2601
2602 for toolkit in `echo $ALL_TOOLKITS`; do
2603 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2604 if test "x$LINE" != "x" ; then
2605 has_toolkit_in_cache=1
2606 eval "DEFAULT_$LINE"
2607 eval "CACHE_$toolkit=1"
2608
2609 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2610 if test "x$LINE" != "x" ; then
2611 eval "DEFAULT_$LINE"
2612 fi
2613 fi
2614 done
2615
2616
2617
2618 enablestring=
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2621 no_cache=0
2622 # Check whether --enable-gui or --disable-gui was given.
2623 if test "${enable_gui+set}" = set; then
2624 enableval="$enable_gui"
2625
2626 if test "$enableval" = yes; then
2627 ac_cv_use_gui='wxUSE_GUI=yes'
2628 else
2629 ac_cv_use_gui='wxUSE_GUI=no'
2630 fi
2631
2632 else
2633
2634 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2637 else
2638 no_cache=1
2639 fi
2640
2641 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2642
2643 fi;
2644
2645 eval "$ac_cv_use_gui"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_GUI" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2653 else
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2656 fi
2657
2658
2659 enablestring=
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2662 no_cache=0
2663 # Check whether --enable-monolithic or --disable-monolithic was given.
2664 if test "${enable_monolithic+set}" = set; then
2665 enableval="$enable_monolithic"
2666
2667 if test "$enableval" = yes; then
2668 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2669 else
2670 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2671 fi
2672
2673 else
2674
2675 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x ; then
2677 eval "DEFAULT_$LINE"
2678 else
2679 no_cache=1
2680 fi
2681
2682 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2683
2684 fi;
2685
2686 eval "$ac_cv_use_monolithic"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2689 fi
2690
2691 if test "$wxUSE_MONOLITHIC" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2694 else
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2697 fi
2698
2699
2700 enablestring=
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2703 no_cache=0
2704 # Check whether --enable-plugins or --disable-plugins was given.
2705 if test "${enable_plugins+set}" = set; then
2706 enableval="$enable_plugins"
2707
2708 if test "$enableval" = yes; then
2709 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2710 else
2711 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2712 fi
2713
2714 else
2715
2716 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x ; then
2718 eval "DEFAULT_$LINE"
2719 else
2720 no_cache=1
2721 fi
2722
2723 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2724
2725 fi;
2726
2727 eval "$ac_cv_use_plugins"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2730 fi
2731
2732 if test "$wxUSE_PLUGINS" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740
2741 withstring=without
2742 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2743 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2744 no_cache=0
2745
2746 # Check whether --with-subdirs or --without-subdirs was given.
2747 if test "${with_subdirs+set}" = set; then
2748 withval="$with_subdirs"
2749
2750 if test "$withval" = yes; then
2751 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2752 else
2753 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2754 fi
2755
2756 else
2757
2758 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x ; then
2760 eval "DEFAULT_$LINE"
2761 else
2762 no_cache=1
2763 fi
2764
2765 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2766
2767 fi;
2768
2769 eval "$ac_cv_use_subdirs"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2772 fi
2773
2774 if test "$wxWITH_SUBDIRS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2780 fi
2781
2782
2783 if test "$wxUSE_GUI" = "yes"; then
2784
2785
2786 enablestring=
2787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2788 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2789 no_cache=0
2790 # Check whether --enable-universal or --disable-universal was given.
2791 if test "${enable_universal+set}" = set; then
2792 enableval="$enable_universal"
2793
2794 if test "$enableval" = yes; then
2795 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2796 else
2797 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2798 fi
2799
2800 else
2801
2802 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2803 if test "x$LINE" != x ; then
2804 eval "DEFAULT_$LINE"
2805 else
2806 no_cache=1
2807 fi
2808
2809 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2810
2811 fi;
2812
2813 eval "$ac_cv_use_universal"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2816 fi
2817
2818 if test "$wxUSE_UNIVERSAL" = yes; then
2819 echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6
2821 else
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2824 fi
2825
2826
2827 # Check whether --with-gtk or --without-gtk was given.
2828 if test "${with_gtk+set}" = set; then
2829 withval="$with_gtk"
2830 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2831 fi;
2832
2833 # Check whether --with-motif or --without-motif was given.
2834 if test "${with_motif+set}" = set; then
2835 withval="$with_motif"
2836 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2837 fi;
2838
2839 # Check whether --with-mac or --without-mac was given.
2840 if test "${with_mac+set}" = set; then
2841 withval="$with_mac"
2842 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2843 fi;
2844
2845 # Check whether --with-cocoa or --without-cocoa was given.
2846 if test "${with_cocoa+set}" = set; then
2847 withval="$with_cocoa"
2848 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2849 fi;
2850
2851 # Check whether --with-wine or --without-wine was given.
2852 if test "${with_wine+set}" = set; then
2853 withval="$with_wine"
2854 wxUSE_WINE="$withval" CACHE_WINE=1
2855 fi;
2856
2857 # Check whether --with-msw or --without-msw was given.
2858 if test "${with_msw+set}" = set; then
2859 withval="$with_msw"
2860 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-pm or --without-pm was given.
2864 if test "${with_pm+set}" = set; then
2865 withval="$with_pm"
2866 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mgl or --without-mgl was given.
2870 if test "${with_mgl+set}" = set; then
2871 withval="$with_mgl"
2872 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-directfb or --without-directfb was given.
2876 if test "${with_directfb+set}" = set; then
2877 withval="$with_directfb"
2878 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-microwin or --without-microwin was given.
2882 if test "${with_microwin+set}" = set; then
2883 withval="$with_microwin"
2884 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2885 fi;
2886
2887 # Check whether --with-x11 or --without-x11 was given.
2888 if test "${with_x11+set}" = set; then
2889 withval="$with_x11"
2890 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 enablestring=
2894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2895 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2896 no_cache=0
2897 # Check whether --enable-nanox or --disable-nanox was given.
2898 if test "${enable_nanox+set}" = set; then
2899 enableval="$enable_nanox"
2900
2901 if test "$enableval" = yes; then
2902 ac_cv_use_nanox='wxUSE_NANOX=yes'
2903 else
2904 ac_cv_use_nanox='wxUSE_NANOX=no'
2905 fi
2906
2907 else
2908
2909 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x ; then
2911 eval "DEFAULT_$LINE"
2912 else
2913 no_cache=1
2914 fi
2915
2916 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2917
2918 fi;
2919
2920 eval "$ac_cv_use_nanox"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2923 fi
2924
2925 if test "$wxUSE_NANOX" = yes; then
2926 echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6
2928 else
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2931 fi
2932
2933
2934 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2935 if test "${enable_gtk2+set}" = set; then
2936 enableval="$enable_gtk2"
2937 wxUSE_GTK2="$enableval"
2938 fi;
2939
2940 enablestring=
2941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2942 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2943 no_cache=0
2944 # Check whether --enable-gpe or --disable-gpe was given.
2945 if test "${enable_gpe+set}" = set; then
2946 enableval="$enable_gpe"
2947
2948 if test "$enableval" = yes; then
2949 ac_cv_use_gpe='wxUSE_GPE=yes'
2950 else
2951 ac_cv_use_gpe='wxUSE_GPE=no'
2952 fi
2953
2954 else
2955
2956 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x ; then
2958 eval "DEFAULT_$LINE"
2959 else
2960 no_cache=1
2961 fi
2962
2963 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2964
2965 fi;
2966
2967 eval "$ac_cv_use_gpe"
2968 if test "$no_cache" != 1; then
2969 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2970 fi
2971
2972 if test "$wxUSE_GPE" = yes; then
2973 echo "$as_me:$LINENO: result: yes" >&5
2974 echo "${ECHO_T}yes" >&6
2975 else
2976 echo "$as_me:$LINENO: result: no" >&5
2977 echo "${ECHO_T}no" >&6
2978 fi
2979
2980
2981
2982 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2983 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2984 no_cache=0
2985
2986 # Check whether --with-libpng or --without-libpng was given.
2987 if test "${with_libpng+set}" = set; then
2988 withval="$with_libpng"
2989
2990 if test "$withval" = yes; then
2991 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2992 elif test "$withval" = no; then
2993 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2994 elif test "$withval" = sys; then
2995 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2996 elif test "$withval" = builtin; then
2997 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2998 else
2999 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3000 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3001 { (exit 1); exit 1; }; }
3002 fi
3003
3004 else
3005
3006 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x ; then
3008 eval "DEFAULT_$LINE"
3009 else
3010 no_cache=1
3011 fi
3012
3013 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3014
3015 fi;
3016
3017 eval "$ac_cv_use_libpng"
3018 if test "$no_cache" != 1; then
3019 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3020 fi
3021
3022 if test "$wxUSE_LIBPNG" = yes; then
3023 echo "$as_me:$LINENO: result: yes" >&5
3024 echo "${ECHO_T}yes" >&6
3025 elif test "$wxUSE_LIBPNG" = no; then
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3028 elif test "$wxUSE_LIBPNG" = sys; then
3029 echo "$as_me:$LINENO: result: system version" >&5
3030 echo "${ECHO_T}system version" >&6
3031 elif test "$wxUSE_LIBPNG" = builtin; then
3032 echo "$as_me:$LINENO: result: builtin version" >&5
3033 echo "${ECHO_T}builtin version" >&6
3034 else
3035 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3036 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3037 { (exit 1); exit 1; }; }
3038 fi
3039
3040
3041 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3042 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-libjpeg or --without-libjpeg was given.
3046 if test "${with_libjpeg+set}" = set; then
3047 withval="$with_libjpeg"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3051 elif test "$withval" = no; then
3052 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3053 elif test "$withval" = sys; then
3054 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3055 elif test "$withval" = builtin; then
3056 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3057 else
3058 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3059 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3060 { (exit 1); exit 1; }; }
3061 fi
3062
3063 else
3064
3065 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3068 else
3069 no_cache=1
3070 fi
3071
3072 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3073
3074 fi;
3075
3076 eval "$ac_cv_use_libjpeg"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3079 fi
3080
3081 if test "$wxUSE_LIBJPEG" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3084 elif test "$wxUSE_LIBJPEG" = no; then
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3087 elif test "$wxUSE_LIBJPEG" = sys; then
3088 echo "$as_me:$LINENO: result: system version" >&5
3089 echo "${ECHO_T}system version" >&6
3090 elif test "$wxUSE_LIBJPEG" = builtin; then
3091 echo "$as_me:$LINENO: result: builtin version" >&5
3092 echo "${ECHO_T}builtin version" >&6
3093 else
3094 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3095 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3096 { (exit 1); exit 1; }; }
3097 fi
3098
3099
3100 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3101 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3102 no_cache=0
3103
3104 # Check whether --with-libtiff or --without-libtiff was given.
3105 if test "${with_libtiff+set}" = set; then
3106 withval="$with_libtiff"
3107
3108 if test "$withval" = yes; then
3109 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3110 elif test "$withval" = no; then
3111 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3112 elif test "$withval" = sys; then
3113 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3114 elif test "$withval" = builtin; then
3115 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3116 else
3117 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3118 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3119 { (exit 1); exit 1; }; }
3120 fi
3121
3122 else
3123
3124 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x ; then
3126 eval "DEFAULT_$LINE"
3127 else
3128 no_cache=1
3129 fi
3130
3131 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3132
3133 fi;
3134
3135 eval "$ac_cv_use_libtiff"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3138 fi
3139
3140 if test "$wxUSE_LIBTIFF" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3143 elif test "$wxUSE_LIBTIFF" = no; then
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3146 elif test "$wxUSE_LIBTIFF" = sys; then
3147 echo "$as_me:$LINENO: result: system version" >&5
3148 echo "${ECHO_T}system version" >&6
3149 elif test "$wxUSE_LIBTIFF" = builtin; then
3150 echo "$as_me:$LINENO: result: builtin version" >&5
3151 echo "${ECHO_T}builtin version" >&6
3152 else
3153 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3154 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3155 { (exit 1); exit 1; }; }
3156 fi
3157
3158
3159 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3160 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3161 no_cache=0
3162
3163 # Check whether --with-libxpm or --without-libxpm was given.
3164 if test "${with_libxpm+set}" = set; then
3165 withval="$with_libxpm"
3166
3167 if test "$withval" = yes; then
3168 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3169 elif test "$withval" = no; then
3170 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3171 elif test "$withval" = sys; then
3172 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3173 elif test "$withval" = builtin; then
3174 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3175 else
3176 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3177 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3178 { (exit 1); exit 1; }; }
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3191
3192 fi;
3193
3194 eval "$ac_cv_use_libxpm"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_LIBXPM" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 elif test "$wxUSE_LIBXPM" = no; then
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 elif test "$wxUSE_LIBXPM" = sys; then
3206 echo "$as_me:$LINENO: result: system version" >&5
3207 echo "${ECHO_T}system version" >&6
3208 elif test "$wxUSE_LIBXPM" = builtin; then
3209 echo "$as_me:$LINENO: result: builtin version" >&5
3210 echo "${ECHO_T}builtin version" >&6
3211 else
3212 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3213 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3214 { (exit 1); exit 1; }; }
3215 fi
3216
3217
3218 withstring=
3219 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3220 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3221 no_cache=0
3222
3223 # Check whether --with-libmspack or --without-libmspack was given.
3224 if test "${with_libmspack+set}" = set; then
3225 withval="$with_libmspack"
3226
3227 if test "$withval" = yes; then
3228 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3229 else
3230 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3231 fi
3232
3233 else
3234
3235 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x ; then
3237 eval "DEFAULT_$LINE"
3238 else
3239 no_cache=1
3240 fi
3241
3242 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3243
3244 fi;
3245
3246 eval "$ac_cv_use_libmspack"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3249 fi
3250
3251 if test "$wxUSE_LIBMSPACK" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3254 else
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3257 fi
3258
3259
3260 withstring=
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3263 no_cache=0
3264
3265 # Check whether --with-sdl or --without-sdl was given.
3266 if test "${with_sdl+set}" = set; then
3267 withval="$with_sdl"
3268
3269 if test "$withval" = yes; then
3270 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3271 else
3272 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3273 fi
3274
3275 else
3276
3277 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3280 else
3281 no_cache=1
3282 fi
3283
3284 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3285
3286 fi;
3287
3288 eval "$ac_cv_use_sdl"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3291 fi
3292
3293 if test "$wxUSE_LIBSDL" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 else
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 fi
3300
3301
3302 withstring=
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3305 no_cache=0
3306
3307 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3308 if test "${with_gnomeprint+set}" = set; then
3309 withval="$with_gnomeprint"
3310
3311 if test "$withval" = yes; then
3312 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3313 else
3314 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3315 fi
3316
3317 else
3318
3319 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x ; then
3321 eval "DEFAULT_$LINE"
3322 else
3323 no_cache=1
3324 fi
3325
3326 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3327
3328 fi;
3329
3330 eval "$ac_cv_use_gnomeprint"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3333 fi
3334
3335 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3338 else
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3341 fi
3342
3343
3344 withstring=
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3347 no_cache=0
3348
3349 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3350 if test "${with_gnomevfs+set}" = set; then
3351 withval="$with_gnomevfs"
3352
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3355 else
3356 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3357 fi
3358
3359 else
3360
3361 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3364 else
3365 no_cache=1
3366 fi
3367
3368 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3369
3370 fi;
3371
3372 eval "$ac_cv_use_gnomevfs"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3375 fi
3376
3377 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3380 else
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3383 fi
3384
3385
3386 withstring=
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3389 no_cache=0
3390
3391 # Check whether --with-hildon or --without-hildon was given.
3392 if test "${with_hildon+set}" = set; then
3393 withval="$with_hildon"
3394
3395 if test "$withval" = yes; then
3396 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3397 else
3398 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3399 fi
3400
3401 else
3402
3403 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3406 else
3407 no_cache=1
3408 fi
3409
3410 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3411
3412 fi;
3413
3414 eval "$ac_cv_use_hildon"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_LIBHILDON" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 else
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 fi
3426
3427
3428 withstring=
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3431 no_cache=0
3432
3433 # Check whether --with-opengl or --without-opengl was given.
3434 if test "${with_opengl+set}" = set; then
3435 withval="$with_opengl"
3436
3437 if test "$withval" = yes; then
3438 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3439 else
3440 ac_cv_use_opengl='wxUSE_OPENGL=no'
3441 fi
3442
3443 else
3444
3445 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3448 else
3449 no_cache=1
3450 fi
3451
3452 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3453
3454 fi;
3455
3456 eval "$ac_cv_use_opengl"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3459 fi
3460
3461 if test "$wxUSE_OPENGL" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3464 else
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3467 fi
3468
3469
3470 if test "$wxUSE_UNIVERSAL" = "yes"; then
3471
3472 # Check whether --with-themes or --without-themes was given.
3473 if test "${with_themes+set}" = set; then
3474 withval="$with_themes"
3475 wxUNIV_THEMES="$withval"
3476 fi;
3477 fi
3478
3479 fi
3480
3481
3482 withstring=
3483 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3485 no_cache=0
3486
3487 # Check whether --with-dmalloc or --without-dmalloc was given.
3488 if test "${with_dmalloc+set}" = set; then
3489 withval="$with_dmalloc"
3490
3491 if test "$withval" = yes; then
3492 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3493 else
3494 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3495 fi
3496
3497 else
3498
3499 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x ; then
3501 eval "DEFAULT_$LINE"
3502 else
3503 no_cache=1
3504 fi
3505
3506 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3507
3508 fi;
3509
3510 eval "$ac_cv_use_dmalloc"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3513 fi
3514
3515 if test "$wxUSE_DMALLOC" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3518 else
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3521 fi
3522
3523
3524 echo "$as_me:$LINENO: checking for --with-regex" >&5
3525 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3526 no_cache=0
3527
3528 # Check whether --with-regex or --without-regex was given.
3529 if test "${with_regex+set}" = set; then
3530 withval="$with_regex"
3531
3532 if test "$withval" = yes; then
3533 ac_cv_use_regex='wxUSE_REGEX=yes'
3534 elif test "$withval" = no; then
3535 ac_cv_use_regex='wxUSE_REGEX=no'
3536 elif test "$withval" = sys; then
3537 ac_cv_use_regex='wxUSE_REGEX=sys'
3538 elif test "$withval" = builtin; then
3539 ac_cv_use_regex='wxUSE_REGEX=builtin'
3540 else
3541 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3542 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3543 { (exit 1); exit 1; }; }
3544 fi
3545
3546 else
3547
3548 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3556
3557 fi;
3558
3559 eval "$ac_cv_use_regex"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_REGEX" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 elif test "$wxUSE_REGEX" = no; then
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 elif test "$wxUSE_REGEX" = sys; then
3571 echo "$as_me:$LINENO: result: system version" >&5
3572 echo "${ECHO_T}system version" >&6
3573 elif test "$wxUSE_REGEX" = builtin; then
3574 echo "$as_me:$LINENO: result: builtin version" >&5
3575 echo "${ECHO_T}builtin version" >&6
3576 else
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3580 fi
3581
3582
3583 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3584 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3585 no_cache=0
3586
3587 # Check whether --with-zlib or --without-zlib was given.
3588 if test "${with_zlib+set}" = set; then
3589 withval="$with_zlib"
3590
3591 if test "$withval" = yes; then
3592 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3593 elif test "$withval" = no; then
3594 ac_cv_use_zlib='wxUSE_ZLIB=no'
3595 elif test "$withval" = sys; then
3596 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3597 elif test "$withval" = builtin; then
3598 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3599 else
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3603 fi
3604
3605 else
3606
3607 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x ; then
3609 eval "DEFAULT_$LINE"
3610 else
3611 no_cache=1
3612 fi
3613
3614 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3615
3616 fi;
3617
3618 eval "$ac_cv_use_zlib"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3621 fi
3622
3623 if test "$wxUSE_ZLIB" = yes; then
3624 echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6
3626 elif test "$wxUSE_ZLIB" = no; then
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3629 elif test "$wxUSE_ZLIB" = sys; then
3630 echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6
3632 elif test "$wxUSE_ZLIB" = builtin; then
3633 echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3643 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3644 no_cache=0
3645
3646 # Check whether --with-odbc or --without-odbc was given.
3647 if test "${with_odbc+set}" = set; then
3648 withval="$with_odbc"
3649
3650 if test "$withval" = yes; then
3651 ac_cv_use_odbc='wxUSE_ODBC=yes'
3652 elif test "$withval" = no; then
3653 ac_cv_use_odbc='wxUSE_ODBC=no'
3654 elif test "$withval" = sys; then
3655 ac_cv_use_odbc='wxUSE_ODBC=sys'
3656 elif test "$withval" = builtin; then
3657 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x ; then
3668 eval "DEFAULT_$LINE"
3669 else
3670 no_cache=1
3671 fi
3672
3673 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3674
3675 fi;
3676
3677 eval "$ac_cv_use_odbc"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_ODBC" = yes; then
3683 echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3685 elif test "$wxUSE_ODBC" = no; then
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3688 elif test "$wxUSE_ODBC" = sys; then
3689 echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6
3691 elif test "$wxUSE_ODBC" = builtin; then
3692 echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 echo "$as_me:$LINENO: checking for --with-expat" >&5
3702 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3703 no_cache=0
3704
3705 # Check whether --with-expat or --without-expat was given.
3706 if test "${with_expat+set}" = set; then
3707 withval="$with_expat"
3708
3709 if test "$withval" = yes; then
3710 ac_cv_use_expat='wxUSE_EXPAT=yes'
3711 elif test "$withval" = no; then
3712 ac_cv_use_expat='wxUSE_EXPAT=no'
3713 elif test "$withval" = sys; then
3714 ac_cv_use_expat='wxUSE_EXPAT=sys'
3715 elif test "$withval" = builtin; then
3716 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3717 else
3718 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3719 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3720 { (exit 1); exit 1; }; }
3721 fi
3722
3723 else
3724
3725 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3728 else
3729 no_cache=1
3730 fi
3731
3732 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3733
3734 fi;
3735
3736 eval "$ac_cv_use_expat"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_EXPAT" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3744 elif test "$wxUSE_EXPAT" = no; then
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3747 elif test "$wxUSE_EXPAT" = sys; then
3748 echo "$as_me:$LINENO: result: system version" >&5
3749 echo "${ECHO_T}system version" >&6
3750 elif test "$wxUSE_EXPAT" = builtin; then
3751 echo "$as_me:$LINENO: result: builtin version" >&5
3752 echo "${ECHO_T}builtin version" >&6
3753 else
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3757 fi
3758
3759
3760
3761
3762 enablestring=
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3765 no_cache=0
3766 # Check whether --enable-shared or --disable-shared was given.
3767 if test "${enable_shared+set}" = set; then
3768 enableval="$enable_shared"
3769
3770 if test "$enableval" = yes; then
3771 ac_cv_use_shared='wxUSE_SHARED=yes'
3772 else
3773 ac_cv_use_shared='wxUSE_SHARED=no'
3774 fi
3775
3776 else
3777
3778 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x ; then
3780 eval "DEFAULT_$LINE"
3781 else
3782 no_cache=1
3783 fi
3784
3785 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3786
3787 fi;
3788
3789 eval "$ac_cv_use_shared"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3792 fi
3793
3794 if test "$wxUSE_SHARED" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3797 else
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3800 fi
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-optimise or --disable-optimise was given.
3808 if test "${enable_optimise+set}" = set; then
3809 enableval="$enable_optimise"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3813 else
3814 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3827
3828 fi;
3829
3830 eval "$ac_cv_use_optimise"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$wxUSE_OPTIMISE" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-debug or --disable-debug was given.
3849 if test "${enable_debug+set}" = set; then
3850 enableval="$enable_debug"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_debug='wxUSE_DEBUG=yes'
3854 else
3855 ac_cv_use_debug='wxUSE_DEBUG=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3868
3869 fi;
3870
3871 eval "$ac_cv_use_debug"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$wxUSE_DEBUG" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885 enablestring=
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3888 no_cache=0
3889 # Check whether --enable-stl or --disable-stl was given.
3890 if test "${enable_stl+set}" = set; then
3891 enableval="$enable_stl"
3892
3893 if test "$enableval" = yes; then
3894 ac_cv_use_stl='wxUSE_STL=yes'
3895 else
3896 ac_cv_use_stl='wxUSE_STL=no'
3897 fi
3898
3899 else
3900
3901 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 else
3905 no_cache=1
3906 fi
3907
3908 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3909
3910 fi;
3911
3912 eval "$ac_cv_use_stl"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test "$wxUSE_STL" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3920 else
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3923 fi
3924
3925 if test "$USE_OS2" = "1"; then
3926 DEFAULT_wxUSE_OMF=no
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-omf or --disable-omf was given.
3933 if test "${enable_omf+set}" = set; then
3934 enableval="$enable_omf"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_omf='wxUSE_OMF=yes'
3938 else
3939 ac_cv_use_omf='wxUSE_OMF=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3947 else
3948 no_cache=1
3949 fi
3950
3951 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3952
3953 fi;
3954
3955 eval "$ac_cv_use_omf"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$wxUSE_OMF" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3963 else
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3966 fi
3967
3968 fi
3969
3970 if test "$wxUSE_DEBUG" = "yes"; then
3971 DEFAULT_wxUSE_DEBUG_FLAG=yes
3972 DEFAULT_wxUSE_DEBUG_INFO=yes
3973 BUILD=debug
3974 elif test "$wxUSE_DEBUG" = "no"; then
3975 DEFAULT_wxUSE_DEBUG_FLAG=no
3976 DEFAULT_wxUSE_DEBUG_INFO=no
3977 BUILD=release
3978 fi
3979
3980
3981 enablestring=
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3984 no_cache=0
3985 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3986 if test "${enable_debug_flag+set}" = set; then
3987 enableval="$enable_debug_flag"
3988
3989 if test "$enableval" = yes; then
3990 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3991 else
3992 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3993 fi
3994
3995 else
3996
3997 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4000 else
4001 no_cache=1
4002 fi
4003
4004 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4005
4006 fi;
4007
4008 eval "$ac_cv_use_debug_flag"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4011 fi
4012
4013 if test "$wxUSE_DEBUG_FLAG" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4016 else
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4019 fi
4020
4021
4022 enablestring=
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4025 no_cache=0
4026 # Check whether --enable-debug_info or --disable-debug_info was given.
4027 if test "${enable_debug_info+set}" = set; then
4028 enableval="$enable_debug_info"
4029
4030 if test "$enableval" = yes; then
4031 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4032 else
4033 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4034 fi
4035
4036 else
4037
4038 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4046
4047 fi;
4048
4049 eval "$ac_cv_use_debug_info"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4052 fi
4053
4054 if test "$wxUSE_DEBUG_INFO" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4060 fi
4061
4062
4063 enablestring=
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4066 no_cache=0
4067 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4068 if test "${enable_debug_gdb+set}" = set; then
4069 enableval="$enable_debug_gdb"
4070
4071 if test "$enableval" = yes; then
4072 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4073 else
4074 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4075 fi
4076
4077 else
4078
4079 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 else
4083 no_cache=1
4084 fi
4085
4086 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4087
4088 fi;
4089
4090 eval "$ac_cv_use_debug_gdb"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_DEBUG_GDB" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4101 fi
4102
4103
4104 enablestring=
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4107 no_cache=0
4108 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4109 if test "${enable_debug_cntxt+set}" = set; then
4110 enableval="$enable_debug_cntxt"
4111
4112 if test "$enableval" = yes; then
4113 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4114 else
4115 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4116 fi
4117
4118 else
4119
4120 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4128
4129 fi;
4130
4131 eval "$ac_cv_use_debug_cntxt"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4139 else
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4142 fi
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4150 if test "${enable_mem_tracing+set}" = set; then
4151 enableval="$enable_mem_tracing"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4155 else
4156 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4157 fi
4158
4159 else
4160
4161 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4169
4170 fi;
4171
4172 eval "$ac_cv_use_mem_tracing"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_MEM_TRACING" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-profile or --disable-profile was given.
4191 if test "${enable_profile+set}" = set; then
4192 enableval="$enable_profile"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_profile='wxUSE_PROFILE=yes'
4196 else
4197 ac_cv_use_profile='wxUSE_PROFILE=no'
4198 fi
4199
4200 else
4201
4202 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4210
4211 fi;
4212
4213 eval "$ac_cv_use_profile"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_PROFILE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4232 if test "${enable_no_rtti+set}" = set; then
4233 enableval="$enable_no_rtti"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4237 else
4238 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4239 fi
4240
4241 else
4242
4243 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4251
4252 fi;
4253
4254 eval "$ac_cv_use_no_rtti"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_NO_RTTI" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268 enablestring=
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4271 no_cache=0
4272 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4273 if test "${enable_no_exceptions+set}" = set; then
4274 enableval="$enable_no_exceptions"
4275
4276 if test "$enableval" = yes; then
4277 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4278 else
4279 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4280 fi
4281
4282 else
4283
4284 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 else
4288 no_cache=1
4289 fi
4290
4291 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4292
4293 fi;
4294
4295 eval "$ac_cv_use_no_exceptions"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4303 else
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4306 fi
4307
4308
4309 enablestring=
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4311 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4312 no_cache=0
4313 # Check whether --enable-permissive or --disable-permissive was given.
4314 if test "${enable_permissive+set}" = set; then
4315 enableval="$enable_permissive"
4316
4317 if test "$enableval" = yes; then
4318 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4319 else
4320 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4321 fi
4322
4323 else
4324
4325 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x ; then
4327 eval "DEFAULT_$LINE"
4328 else
4329 no_cache=1
4330 fi
4331
4332 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4333
4334 fi;
4335
4336 eval "$ac_cv_use_permissive"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_PERMISSIVE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6
4344 else
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4347 fi
4348
4349
4350 enablestring=
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4353 no_cache=0
4354 # Check whether --enable-no_deps or --disable-no_deps was given.
4355 if test "${enable_no_deps+set}" = set; then
4356 enableval="$enable_no_deps"
4357
4358 if test "$enableval" = yes; then
4359 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4360 else
4361 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4362 fi
4363
4364 else
4365
4366 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 else
4370 no_cache=1
4371 fi
4372
4373 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4374
4375 fi;
4376
4377 eval "$ac_cv_use_no_deps"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4380 fi
4381
4382 if test "$wxUSE_NO_DEPS" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6
4385 else
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4388 fi
4389
4390
4391 enablestring=
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4394 no_cache=0
4395 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4396 if test "${enable_universal_binary+set}" = set; then
4397 enableval="$enable_universal_binary"
4398
4399 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4400
4401 else
4402
4403 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4406 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4407 else
4408 no_cache=1
4409 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4410 fi
4411
4412 fi;
4413
4414 eval "$wx_cv_use_universal_binary"
4415 if test "$no_cache" != 1; then
4416 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4417 fi
4418
4419 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4420 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4421
4422
4423
4424 enablestring=enable
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4427 no_cache=0
4428 # Check whether --enable-compat24 or --disable-compat24 was given.
4429 if test "${enable_compat24+set}" = set; then
4430 enableval="$enable_compat24"
4431
4432 if test "$enableval" = yes; then
4433 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4434 else
4435 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4436 fi
4437
4438 else
4439
4440 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4443 else
4444 no_cache=1
4445 fi
4446
4447 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4448
4449 fi;
4450
4451 eval "$ac_cv_use_compat24"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4454 fi
4455
4456 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4459 else
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4462 fi
4463
4464
4465 enablestring=disable
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4468 no_cache=0
4469 # Check whether --enable-compat26 or --disable-compat26 was given.
4470 if test "${enable_compat26+set}" = set; then
4471 enableval="$enable_compat26"
4472
4473 if test "$enableval" = yes; then
4474 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4475 else
4476 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4477 fi
4478
4479 else
4480
4481 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x ; then
4483 eval "DEFAULT_$LINE"
4484 else
4485 no_cache=1
4486 fi
4487
4488 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4489
4490 fi;
4491
4492 eval "$ac_cv_use_compat26"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4495 fi
4496
4497 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4500 else
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4503 fi
4504
4505
4506
4507 enablestring=
4508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4510 no_cache=0
4511 # Check whether --enable-rpath or --disable-rpath was given.
4512 if test "${enable_rpath+set}" = set; then
4513 enableval="$enable_rpath"
4514
4515 if test "$enableval" = yes; then
4516 ac_cv_use_rpath='wxUSE_RPATH=yes'
4517 else
4518 ac_cv_use_rpath='wxUSE_RPATH=no'
4519 fi
4520
4521 else
4522
4523 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x ; then
4525 eval "DEFAULT_$LINE"
4526 else
4527 no_cache=1
4528 fi
4529
4530 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4531
4532 fi;
4533
4534 eval "$ac_cv_use_rpath"
4535 if test "$no_cache" != 1; then
4536 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4537 fi
4538
4539 if test "$wxUSE_RPATH" = yes; then
4540 echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6
4542 else
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4545 fi
4546
4547
4548
4549
4550
4551 enablestring=
4552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4554 no_cache=0
4555 # Check whether --enable-intl or --disable-intl was given.
4556 if test "${enable_intl+set}" = set; then
4557 enableval="$enable_intl"
4558
4559 if test "$enableval" = yes; then
4560 ac_cv_use_intl='wxUSE_INTL=yes'
4561 else
4562 ac_cv_use_intl='wxUSE_INTL=no'
4563 fi
4564
4565 else
4566
4567 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x ; then
4569 eval "DEFAULT_$LINE"
4570 else
4571 no_cache=1
4572 fi
4573
4574 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4575
4576 fi;
4577
4578 eval "$ac_cv_use_intl"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4581 fi
4582
4583 if test "$wxUSE_INTL" = yes; then
4584 echo "$as_me:$LINENO: result: yes" >&5
4585 echo "${ECHO_T}yes" >&6
4586 else
4587 echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6
4589 fi
4590
4591
4592 enablestring=
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4595 no_cache=0
4596 # Check whether --enable-config or --disable-config was given.
4597 if test "${enable_config+set}" = set; then
4598 enableval="$enable_config"
4599
4600 if test "$enableval" = yes; then
4601 ac_cv_use_config='wxUSE_CONFIG=yes'
4602 else
4603 ac_cv_use_config='wxUSE_CONFIG=no'
4604 fi
4605
4606 else
4607
4608 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x ; then
4610 eval "DEFAULT_$LINE"
4611 else
4612 no_cache=1
4613 fi
4614
4615 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4616
4617 fi;
4618
4619 eval "$ac_cv_use_config"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4622 fi
4623
4624 if test "$wxUSE_CONFIG" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4627 else
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4630 fi
4631
4632
4633
4634 enablestring=
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4637 no_cache=0
4638 # Check whether --enable-protocols or --disable-protocols was given.
4639 if test "${enable_protocols+set}" = set; then
4640 enableval="$enable_protocols"
4641
4642 if test "$enableval" = yes; then
4643 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4644 else
4645 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4646 fi
4647
4648 else
4649
4650 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4653 else
4654 no_cache=1
4655 fi
4656
4657 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4658
4659 fi;
4660
4661 eval "$ac_cv_use_protocols"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4664 fi
4665
4666 if test "$wxUSE_PROTOCOL" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4669 else
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4672 fi
4673
4674
4675 enablestring=
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4678 no_cache=0
4679 # Check whether --enable-ftp or --disable-ftp was given.
4680 if test "${enable_ftp+set}" = set; then
4681 enableval="$enable_ftp"
4682
4683 if test "$enableval" = yes; then
4684 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4685 else
4686 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4687 fi
4688
4689 else
4690
4691 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4694 else
4695 no_cache=1
4696 fi
4697
4698 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4699
4700 fi;
4701
4702 eval "$ac_cv_use_ftp"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4705 fi
4706
4707 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4710 else
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4713 fi
4714
4715
4716 enablestring=
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4719 no_cache=0
4720 # Check whether --enable-http or --disable-http was given.
4721 if test "${enable_http+set}" = set; then
4722 enableval="$enable_http"
4723
4724 if test "$enableval" = yes; then
4725 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4726 else
4727 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4728 fi
4729
4730 else
4731
4732 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x ; then
4734 eval "DEFAULT_$LINE"
4735 else
4736 no_cache=1
4737 fi
4738
4739 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4740
4741 fi;
4742
4743 eval "$ac_cv_use_http"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4746 fi
4747
4748 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4751 else
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4754 fi
4755
4756
4757 enablestring=
4758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4760 no_cache=0
4761 # Check whether --enable-fileproto or --disable-fileproto was given.
4762 if test "${enable_fileproto+set}" = set; then
4763 enableval="$enable_fileproto"
4764
4765 if test "$enableval" = yes; then
4766 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4767 else
4768 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4769 fi
4770
4771 else
4772
4773 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x ; then
4775 eval "DEFAULT_$LINE"
4776 else
4777 no_cache=1
4778 fi
4779
4780 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4781
4782 fi;
4783
4784 eval "$ac_cv_use_fileproto"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4787 fi
4788
4789 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4790 echo "$as_me:$LINENO: result: yes" >&5
4791 echo "${ECHO_T}yes" >&6
4792 else
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4795 fi
4796
4797
4798 enablestring=
4799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4801 no_cache=0
4802 # Check whether --enable-sockets or --disable-sockets was given.
4803 if test "${enable_sockets+set}" = set; then
4804 enableval="$enable_sockets"
4805
4806 if test "$enableval" = yes; then
4807 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4808 else
4809 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4810 fi
4811
4812 else
4813
4814 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x ; then
4816 eval "DEFAULT_$LINE"
4817 else
4818 no_cache=1
4819 fi
4820
4821 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4822
4823 fi;
4824
4825 eval "$ac_cv_use_sockets"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4828 fi
4829
4830 if test "$wxUSE_SOCKETS" = yes; then
4831 echo "$as_me:$LINENO: result: yes" >&5
4832 echo "${ECHO_T}yes" >&6
4833 else
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4836 fi
4837
4838
4839 enablestring=
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4842 no_cache=0
4843 # Check whether --enable-ole or --disable-ole was given.
4844 if test "${enable_ole+set}" = set; then
4845 enableval="$enable_ole"
4846
4847 if test "$enableval" = yes; then
4848 ac_cv_use_ole='wxUSE_OLE=yes'
4849 else
4850 ac_cv_use_ole='wxUSE_OLE=no'
4851 fi
4852
4853 else
4854
4855 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x ; then
4857 eval "DEFAULT_$LINE"
4858 else
4859 no_cache=1
4860 fi
4861
4862 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4863
4864 fi;
4865
4866 eval "$ac_cv_use_ole"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4869 fi
4870
4871 if test "$wxUSE_OLE" = yes; then
4872 echo "$as_me:$LINENO: result: yes" >&5
4873 echo "${ECHO_T}yes" >&6
4874 else
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4877 fi
4878
4879
4880 enablestring=
4881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4883 no_cache=0
4884 # Check whether --enable-dataobj or --disable-dataobj was given.
4885 if test "${enable_dataobj+set}" = set; then
4886 enableval="$enable_dataobj"
4887
4888 if test "$enableval" = yes; then
4889 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4890 else
4891 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4892 fi
4893
4894 else
4895
4896 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x ; then
4898 eval "DEFAULT_$LINE"
4899 else
4900 no_cache=1
4901 fi
4902
4903 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4904
4905 fi;
4906
4907 eval "$ac_cv_use_dataobj"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4910 fi
4911
4912 if test "$wxUSE_DATAOBJ" = yes; then
4913 echo "$as_me:$LINENO: result: yes" >&5
4914 echo "${ECHO_T}yes" >&6
4915 else
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4918 fi
4919
4920
4921
4922 enablestring=
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4925 no_cache=0
4926 # Check whether --enable-ipc or --disable-ipc was given.
4927 if test "${enable_ipc+set}" = set; then
4928 enableval="$enable_ipc"
4929
4930 if test "$enableval" = yes; then
4931 ac_cv_use_ipc='wxUSE_IPC=yes'
4932 else
4933 ac_cv_use_ipc='wxUSE_IPC=no'
4934 fi
4935
4936 else
4937
4938 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4941 else
4942 no_cache=1
4943 fi
4944
4945 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4946
4947 fi;
4948
4949 eval "$ac_cv_use_ipc"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4952 fi
4953
4954 if test "$wxUSE_IPC" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4957 else
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4960 fi
4961
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4969 if test "${enable_apple_ieee+set}" = set; then
4970 enableval="$enable_apple_ieee"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4974 else
4975 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4988
4989 fi;
4990
4991 eval "$ac_cv_use_apple_ieee"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_APPLE_IEEE" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-arcstream or --disable-arcstream was given.
5010 if test "${enable_arcstream+set}" = set; then
5011 enableval="$enable_arcstream"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5015 else
5016 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5029
5030 fi;
5031
5032 eval "$ac_cv_use_arcstream"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-backtrace or --disable-backtrace was given.
5051 if test "${enable_backtrace+set}" = set; then
5052 enableval="$enable_backtrace"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5056 else
5057 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5070
5071 fi;
5072
5073 eval "$ac_cv_use_backtrace"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_STACKWALKER" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5092 if test "${enable_catch_segvs+set}" = set; then
5093 enableval="$enable_catch_segvs"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5097 else
5098 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5111
5112 fi;
5113
5114 eval "$ac_cv_use_catch_segvs"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-cmdline or --disable-cmdline was given.
5133 if test "${enable_cmdline+set}" = set; then
5134 enableval="$enable_cmdline"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5138 else
5139 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5152
5153 fi;
5154
5155 eval "$ac_cv_use_cmdline"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-datetime or --disable-datetime was given.
5174 if test "${enable_datetime+set}" = set; then
5175 enableval="$enable_datetime"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5179 else
5180 ac_cv_use_datetime='wxUSE_DATETIME=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5193
5194 fi;
5195
5196 eval "$ac_cv_use_datetime"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_DATETIME" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-debugreport or --disable-debugreport was given.
5215 if test "${enable_debugreport+set}" = set; then
5216 enableval="$enable_debugreport"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5220 else
5221 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5234
5235 fi;
5236
5237 eval "$ac_cv_use_debugreport"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_DEBUGREPORT" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-dialupman or --disable-dialupman was given.
5256 if test "${enable_dialupman+set}" = set; then
5257 enableval="$enable_dialupman"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5261 else
5262 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5275
5276 fi;
5277
5278 eval "$ac_cv_use_dialupman"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-dynlib or --disable-dynlib was given.
5297 if test "${enable_dynlib+set}" = set; then
5298 enableval="$enable_dynlib"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5302 else
5303 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5316
5317 fi;
5318
5319 eval "$ac_cv_use_dynlib"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333 enablestring=
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5336 no_cache=0
5337 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5338 if test "${enable_dynamicloader+set}" = set; then
5339 enableval="$enable_dynamicloader"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5343 else
5344 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5357
5358 fi;
5359
5360 eval "$ac_cv_use_dynamicloader"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5368 else
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5371 fi
5372
5373
5374 enablestring=
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5377 no_cache=0
5378 # Check whether --enable-exceptions or --disable-exceptions was given.
5379 if test "${enable_exceptions+set}" = set; then
5380 enableval="$enable_exceptions"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5384 else
5385 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5398
5399 fi;
5400
5401 eval "$ac_cv_use_exceptions"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_EXCEPTIONS" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5412 fi
5413
5414
5415 enablestring=
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5418 no_cache=0
5419 # Check whether --enable-ffile or --disable-ffile was given.
5420 if test "${enable_ffile+set}" = set; then
5421 enableval="$enable_ffile"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_ffile='wxUSE_FFILE=yes'
5425 else
5426 ac_cv_use_ffile='wxUSE_FFILE=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5439
5440 fi;
5441
5442 eval "$ac_cv_use_ffile"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test "$wxUSE_FFILE" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5450 else
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5453 fi
5454
5455
5456 enablestring=
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5459 no_cache=0
5460 # Check whether --enable-file or --disable-file was given.
5461 if test "${enable_file+set}" = set; then
5462 enableval="$enable_file"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_file='wxUSE_FILE=yes'
5466 else
5467 ac_cv_use_file='wxUSE_FILE=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5480
5481 fi;
5482
5483 eval "$ac_cv_use_file"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test "$wxUSE_FILE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5491 else
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5494 fi
5495
5496
5497 enablestring=
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5500 no_cache=0
5501 # Check whether --enable-filesystem or --disable-filesystem was given.
5502 if test "${enable_filesystem+set}" = set; then
5503 enableval="$enable_filesystem"
5504
5505 if test "$enableval" = yes; then
5506 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5507 else
5508 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5521
5522 fi;
5523
5524 eval "$ac_cv_use_filesystem"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5527 fi
5528
5529 if test "$wxUSE_FILESYSTEM" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5532 else
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 fi
5536
5537
5538 enablestring=
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5541 no_cache=0
5542 # Check whether --enable-fontmap or --disable-fontmap was given.
5543 if test "${enable_fontmap+set}" = set; then
5544 enableval="$enable_fontmap"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5548 else
5549 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5562
5563 fi;
5564
5565 eval "$ac_cv_use_fontmap"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_FONTMAP" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5573 else
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5576 fi
5577
5578
5579 enablestring=
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5582 no_cache=0
5583 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5584 if test "${enable_fs_inet+set}" = set; then
5585 enableval="$enable_fs_inet"
5586
5587 if test "$enableval" = yes; then
5588 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5589 else
5590 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5603
5604 fi;
5605
5606 eval "$ac_cv_use_fs_inet"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_FS_INET" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5614 else
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5617 fi
5618
5619
5620 enablestring=
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5623 no_cache=0
5624 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5625 if test "${enable_fs_zip+set}" = set; then
5626 enableval="$enable_fs_zip"
5627
5628 if test "$enableval" = yes; then
5629 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5630 else
5631 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5644
5645 fi;
5646
5647 eval "$ac_cv_use_fs_zip"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_FS_ZIP" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5655 else
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5658 fi
5659
5660
5661 enablestring=
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5664 no_cache=0
5665 # Check whether --enable-geometry or --disable-geometry was given.
5666 if test "${enable_geometry+set}" = set; then
5667 enableval="$enable_geometry"
5668
5669 if test "$enableval" = yes; then
5670 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5671 else
5672 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5685
5686 fi;
5687
5688 eval "$ac_cv_use_geometry"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5691 fi
5692
5693 if test "$wxUSE_GEOMETRY" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5699 fi
5700
5701
5702 enablestring=
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5705 no_cache=0
5706 # Check whether --enable-log or --disable-log was given.
5707 if test "${enable_log+set}" = set; then
5708 enableval="$enable_log"
5709
5710 if test "$enableval" = yes; then
5711 ac_cv_use_log='wxUSE_LOG=yes'
5712 else
5713 ac_cv_use_log='wxUSE_LOG=no'
5714 fi
5715
5716 else
5717
5718 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5721 else
5722 no_cache=1
5723 fi
5724
5725 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5726
5727 fi;
5728
5729 eval "$ac_cv_use_log"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5732 fi
5733
5734 if test "$wxUSE_LOG" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5737 else
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5740 fi
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-longlong or --disable-longlong was given.
5748 if test "${enable_longlong+set}" = set; then
5749 enableval="$enable_longlong"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5753 else
5754 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5767
5768 fi;
5769
5770 eval "$ac_cv_use_longlong"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_LONGLONG" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-mimetype or --disable-mimetype was given.
5789 if test "${enable_mimetype+set}" = set; then
5790 enableval="$enable_mimetype"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5794 else
5795 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5808
5809 fi;
5810
5811 eval "$ac_cv_use_mimetype"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_MIMETYPE" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-mslu or --disable-mslu was given.
5830 if test "${enable_mslu+set}" = set; then
5831 enableval="$enable_mslu"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5835 else
5836 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5849
5850 fi;
5851
5852 eval "$ac_cv_use_mslu"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_UNICODE_MSLU" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-snglinst or --disable-snglinst was given.
5871 if test "${enable_snglinst+set}" = set; then
5872 enableval="$enable_snglinst"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5876 else
5877 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5890
5891 fi;
5892
5893 eval "$ac_cv_use_snglinst"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5912 if test "${enable_std_iostreams+set}" = set; then
5913 enableval="$enable_std_iostreams"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5917 else
5918 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5931
5932 fi;
5933
5934 eval "$ac_cv_use_std_iostreams"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_STD_IOSTREAM" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-std_string or --disable-std_string was given.
5953 if test "${enable_std_string+set}" = set; then
5954 enableval="$enable_std_string"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5958 else
5959 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5972
5973 fi;
5974
5975 eval "$ac_cv_use_std_string"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_STD_STRING" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5994 if test "${enable_stdpaths+set}" = set; then
5995 enableval="$enable_stdpaths"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5999 else
6000 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6013
6014 fi;
6015
6016 eval "$ac_cv_use_stdpaths"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_STDPATHS" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6035 if test "${enable_stopwatch+set}" = set; then
6036 enableval="$enable_stopwatch"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6040 else
6041 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6054
6055 fi;
6056
6057 eval "$ac_cv_use_stopwatch"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_STOPWATCH" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-streams or --disable-streams was given.
6076 if test "${enable_streams+set}" = set; then
6077 enableval="$enable_streams"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_streams='wxUSE_STREAMS=yes'
6081 else
6082 ac_cv_use_streams='wxUSE_STREAMS=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6095
6096 fi;
6097
6098 eval "$ac_cv_use_streams"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_STREAMS" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112 enablestring=
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6115 no_cache=0
6116 # Check whether --enable-system_options or --disable-system_options was given.
6117 if test "${enable_system_options+set}" = set; then
6118 enableval="$enable_system_options"
6119
6120 if test "$enableval" = yes; then
6121 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6122 else
6123 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6124 fi
6125
6126 else
6127
6128 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6131 else
6132 no_cache=1
6133 fi
6134
6135 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6136
6137 fi;
6138
6139 eval "$ac_cv_use_system_options"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6147 else
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6150 fi
6151
6152
6153 enablestring=
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6156 no_cache=0
6157 # Check whether --enable-textbuf or --disable-textbuf was given.
6158 if test "${enable_textbuf+set}" = set; then
6159 enableval="$enable_textbuf"
6160
6161 if test "$enableval" = yes; then
6162 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6163 else
6164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6165 fi
6166
6167 else
6168
6169 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6172 else
6173 no_cache=1
6174 fi
6175
6176 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6177
6178 fi;
6179
6180 eval "$ac_cv_use_textbuf"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6183 fi
6184
6185 if test "$wxUSE_TEXTBUFFER" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6188 else
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6191 fi
6192
6193
6194 enablestring=
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6197 no_cache=0
6198 # Check whether --enable-textfile or --disable-textfile was given.
6199 if test "${enable_textfile+set}" = set; then
6200 enableval="$enable_textfile"
6201
6202 if test "$enableval" = yes; then
6203 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6204 else
6205 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6206 fi
6207
6208 else
6209
6210 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x ; then
6212 eval "DEFAULT_$LINE"
6213 else
6214 no_cache=1
6215 fi
6216
6217 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6218
6219 fi;
6220
6221 eval "$ac_cv_use_textfile"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6224 fi
6225
6226 if test "$wxUSE_TEXTFILE" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6229 else
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6232 fi
6233
6234
6235 enablestring=
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6238 no_cache=0
6239 # Check whether --enable-timer or --disable-timer was given.
6240 if test "${enable_timer+set}" = set; then
6241 enableval="$enable_timer"
6242
6243 if test "$enableval" = yes; then
6244 ac_cv_use_timer='wxUSE_TIMER=yes'
6245 else
6246 ac_cv_use_timer='wxUSE_TIMER=no'
6247 fi
6248
6249 else
6250
6251 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x ; then
6253 eval "DEFAULT_$LINE"
6254 else
6255 no_cache=1
6256 fi
6257
6258 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6259
6260 fi;
6261
6262 eval "$ac_cv_use_timer"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test "$wxUSE_TIMER" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6270 else
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6273 fi
6274
6275
6276 enablestring=
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6279 no_cache=0
6280 # Check whether --enable-unicode or --disable-unicode was given.
6281 if test "${enable_unicode+set}" = set; then
6282 enableval="$enable_unicode"
6283
6284 if test "$enableval" = yes; then
6285 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6286 else
6287 ac_cv_use_unicode='wxUSE_UNICODE=no'
6288 fi
6289
6290 else
6291
6292 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6295 else
6296 no_cache=1
6297 fi
6298
6299 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6300
6301 fi;
6302
6303 eval "$ac_cv_use_unicode"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_UNICODE" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6311 else
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6314 fi
6315
6316
6317 enablestring=
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6320 no_cache=0
6321 # Check whether --enable-sound or --disable-sound was given.
6322 if test "${enable_sound+set}" = set; then
6323 enableval="$enable_sound"
6324
6325 if test "$enableval" = yes; then
6326 ac_cv_use_sound='wxUSE_SOUND=yes'
6327 else
6328 ac_cv_use_sound='wxUSE_SOUND=no'
6329 fi
6330
6331 else
6332
6333 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6336 else
6337 no_cache=1
6338 fi
6339
6340 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6341
6342 fi;
6343
6344 eval "$ac_cv_use_sound"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6347 fi
6348
6349 if test "$wxUSE_SOUND" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6352 else
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6355 fi
6356
6357
6358 enablestring=
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6361 no_cache=0
6362 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6363 if test "${enable_mediactrl+set}" = set; then
6364 enableval="$enable_mediactrl"
6365
6366 if test "$enableval" = yes; then
6367 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6368 else
6369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6370 fi
6371
6372 else
6373
6374 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x ; then
6376 eval "DEFAULT_$LINE"
6377 else
6378 no_cache=1
6379 fi
6380
6381 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6382
6383 fi;
6384
6385 eval "$ac_cv_use_mediactrl"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6388 fi
6389
6390 if test "$wxUSE_MEDIACTRL" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6393 else
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6396 fi
6397
6398
6399 enablestring=
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6402 no_cache=0
6403 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6404 if test "${enable_gstreamer8+set}" = set; then
6405 enableval="$enable_gstreamer8"
6406
6407 if test "$enableval" = yes; then
6408 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6409 else
6410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6411 fi
6412
6413 else
6414
6415 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x ; then
6417 eval "DEFAULT_$LINE"
6418 else
6419 no_cache=1
6420 fi
6421
6422 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6423
6424 fi;
6425
6426 eval "$ac_cv_use_gstreamer8"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6429 fi
6430
6431 if test "$wxUSE_GSTREAMER8" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6434 else
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6437 fi
6438
6439
6440 enablestring=
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6443 no_cache=0
6444 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6445 if test "${enable_printfposparam+set}" = set; then
6446 enableval="$enable_printfposparam"
6447
6448 if test "$enableval" = yes; then
6449 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6450 else
6451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6452 fi
6453
6454 else
6455
6456 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6459 else
6460 no_cache=1
6461 fi
6462
6463 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6464
6465 fi;
6466
6467 eval "$ac_cv_use_printfposparam"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6470 fi
6471
6472 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6475 else
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6478 fi
6479
6480
6481 enablestring=
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6484 no_cache=0
6485 # Check whether --enable-zipstream or --disable-zipstream was given.
6486 if test "${enable_zipstream+set}" = set; then
6487 enableval="$enable_zipstream"
6488
6489 if test "$enableval" = yes; then
6490 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6491 else
6492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6493 fi
6494
6495 else
6496
6497 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x ; then
6499 eval "DEFAULT_$LINE"
6500 else
6501 no_cache=1
6502 fi
6503
6504 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6505
6506 fi;
6507
6508 eval "$ac_cv_use_zipstream"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test "$wxUSE_ZIPSTREAM" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6516 else
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6519 fi
6520
6521
6522
6523 enablestring=
6524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6526 no_cache=0
6527 # Check whether --enable-url or --disable-url was given.
6528 if test "${enable_url+set}" = set; then
6529 enableval="$enable_url"
6530
6531 if test "$enableval" = yes; then
6532 ac_cv_use_url='wxUSE_URL=yes'
6533 else
6534 ac_cv_use_url='wxUSE_URL=no'
6535 fi
6536
6537 else
6538
6539 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6540 if test "x$LINE" != x ; then
6541 eval "DEFAULT_$LINE"
6542 else
6543 no_cache=1
6544 fi
6545
6546 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6547
6548 fi;
6549
6550 eval "$ac_cv_use_url"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6553 fi
6554
6555 if test "$wxUSE_URL" = yes; then
6556 echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6
6558 else
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6561 fi
6562
6563
6564 enablestring=
6565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6567 no_cache=0
6568 # Check whether --enable-variant or --disable-variant was given.
6569 if test "${enable_variant+set}" = set; then
6570 enableval="$enable_variant"
6571
6572 if test "$enableval" = yes; then
6573 ac_cv_use_variant='wxUSE_VARIANT=yes'
6574 else
6575 ac_cv_use_variant='wxUSE_VARIANT=no'
6576 fi
6577
6578 else
6579
6580 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x ; then
6582 eval "DEFAULT_$LINE"
6583 else
6584 no_cache=1
6585 fi
6586
6587 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6588
6589 fi;
6590
6591 eval "$ac_cv_use_variant"
6592 if test "$no_cache" != 1; then
6593 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6594 fi
6595
6596 if test "$wxUSE_VARIANT" = yes; then
6597 echo "$as_me:$LINENO: result: yes" >&5
6598 echo "${ECHO_T}yes" >&6
6599 else
6600 echo "$as_me:$LINENO: result: no" >&5
6601 echo "${ECHO_T}no" >&6
6602 fi
6603
6604
6605 enablestring=
6606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6608 no_cache=0
6609 # Check whether --enable-protocol or --disable-protocol was given.
6610 if test "${enable_protocol+set}" = set; then
6611 enableval="$enable_protocol"
6612
6613 if test "$enableval" = yes; then
6614 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6615 else
6616 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6617 fi
6618
6619 else
6620
6621 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x ; then
6623 eval "DEFAULT_$LINE"
6624 else
6625 no_cache=1
6626 fi
6627
6628 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6629
6630 fi;
6631
6632 eval "$ac_cv_use_protocol"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6635 fi
6636
6637 if test "$wxUSE_PROTOCOL" = yes; then
6638 echo "$as_me:$LINENO: result: yes" >&5
6639 echo "${ECHO_T}yes" >&6
6640 else
6641 echo "$as_me:$LINENO: result: no" >&5
6642 echo "${ECHO_T}no" >&6
6643 fi
6644
6645
6646 enablestring=
6647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6649 no_cache=0
6650 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6651 if test "${enable_protocol_http+set}" = set; then
6652 enableval="$enable_protocol_http"
6653
6654 if test "$enableval" = yes; then
6655 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6656 else
6657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6658 fi
6659
6660 else
6661
6662 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x ; then
6664 eval "DEFAULT_$LINE"
6665 else
6666 no_cache=1
6667 fi
6668
6669 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6670
6671 fi;
6672
6673 eval "$ac_cv_use_protocol_http"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6676 fi
6677
6678 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6679 echo "$as_me:$LINENO: result: yes" >&5
6680 echo "${ECHO_T}yes" >&6
6681 else
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6684 fi
6685
6686
6687 enablestring=
6688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6690 no_cache=0
6691 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6692 if test "${enable_protocol_ftp+set}" = set; then
6693 enableval="$enable_protocol_ftp"
6694
6695 if test "$enableval" = yes; then
6696 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6697 else
6698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6699 fi
6700
6701 else
6702
6703 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x ; then
6705 eval "DEFAULT_$LINE"
6706 else
6707 no_cache=1
6708 fi
6709
6710 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6711
6712 fi;
6713
6714 eval "$ac_cv_use_protocol_ftp"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6717 fi
6718
6719 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6720 echo "$as_me:$LINENO: result: yes" >&5
6721 echo "${ECHO_T}yes" >&6
6722 else
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6725 fi
6726
6727
6728 enablestring=
6729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6731 no_cache=0
6732 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6733 if test "${enable_protocol_file+set}" = set; then
6734 enableval="$enable_protocol_file"
6735
6736 if test "$enableval" = yes; then
6737 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6738 else
6739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6740 fi
6741
6742 else
6743
6744 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6747 else
6748 no_cache=1
6749 fi
6750
6751 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6752
6753 fi;
6754
6755 eval "$ac_cv_use_protocol_file"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6758 fi
6759
6760 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6761 echo "$as_me:$LINENO: result: yes" >&5
6762 echo "${ECHO_T}yes" >&6
6763 else
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6766 fi
6767
6768
6769
6770
6771
6772 enablestring=
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6775 no_cache=0
6776 # Check whether --enable-threads or --disable-threads was given.
6777 if test "${enable_threads+set}" = set; then
6778 enableval="$enable_threads"
6779
6780 if test "$enableval" = yes; then
6781 ac_cv_use_threads='wxUSE_THREADS=yes'
6782 else
6783 ac_cv_use_threads='wxUSE_THREADS=no'
6784 fi
6785
6786 else
6787
6788 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x ; then
6790 eval "DEFAULT_$LINE"
6791 else
6792 no_cache=1
6793 fi
6794
6795 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6796
6797 fi;
6798
6799 eval "$ac_cv_use_threads"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6802 fi
6803
6804 if test "$wxUSE_THREADS" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806 echo "${ECHO_T}yes" >&6
6807 else
6808 echo "$as_me:$LINENO: result: no" >&5
6809 echo "${ECHO_T}no" >&6
6810 fi
6811
6812
6813 if test "$wxUSE_GUI" = "yes"; then
6814
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-docview or --disable-docview was given.
6822 if test "${enable_docview+set}" = set; then
6823 enableval="$enable_docview"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6827 else
6828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6841
6842 fi;
6843
6844 eval "$ac_cv_use_docview"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-help or --disable-help was given.
6863 if test "${enable_help+set}" = set; then
6864 enableval="$enable_help"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_help='wxUSE_HELP=yes'
6868 else
6869 ac_cv_use_help='wxUSE_HELP=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6882
6883 fi;
6884
6885 eval "$ac_cv_use_help"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_HELP" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6904 if test "${enable_mshtmlhelp+set}" = set; then
6905 enableval="$enable_mshtmlhelp"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6909 else
6910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6923
6924 fi;
6925
6926 eval "$ac_cv_use_mshtmlhelp"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_MS_HTML_HELP" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940 enablestring=
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6943 no_cache=0
6944 # Check whether --enable-html or --disable-html was given.
6945 if test "${enable_html+set}" = set; then
6946 enableval="$enable_html"
6947
6948 if test "$enableval" = yes; then
6949 ac_cv_use_html='wxUSE_HTML=yes'
6950 else
6951 ac_cv_use_html='wxUSE_HTML=no'
6952 fi
6953
6954 else
6955
6956 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6959 else
6960 no_cache=1
6961 fi
6962
6963 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6964
6965 fi;
6966
6967 eval "$ac_cv_use_html"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6970 fi
6971
6972 if test "$wxUSE_HTML" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6975 else
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6978 fi
6979
6980
6981 enablestring=
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6984 no_cache=0
6985 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6986 if test "${enable_htmlhelp+set}" = set; then
6987 enableval="$enable_htmlhelp"
6988
6989 if test "$enableval" = yes; then
6990 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6991 else
6992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6993 fi
6994
6995 else
6996
6997 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7000 else
7001 no_cache=1
7002 fi
7003
7004 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7005
7006 fi;
7007
7008 eval "$ac_cv_use_htmlhelp"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test "$wxUSE_WXHTML_HELP" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7016 else
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7019 fi
7020
7021
7022 enablestring=
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7025 no_cache=0
7026 # Check whether --enable-xrc or --disable-xrc was given.
7027 if test "${enable_xrc+set}" = set; then
7028 enableval="$enable_xrc"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_xrc='wxUSE_XRC=yes'
7032 else
7033 ac_cv_use_xrc='wxUSE_XRC=no'
7034 fi
7035
7036 else
7037
7038 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7046
7047 fi;
7048
7049 eval "$ac_cv_use_xrc"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test "$wxUSE_XRC" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7057 else
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7060 fi
7061
7062
7063 enablestring=
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7066 no_cache=0
7067 # Check whether --enable-aui or --disable-aui was given.
7068 if test "${enable_aui+set}" = set; then
7069 enableval="$enable_aui"
7070
7071 if test "$enableval" = yes; then
7072 ac_cv_use_aui='wxUSE_AUI=yes'
7073 else
7074 ac_cv_use_aui='wxUSE_AUI=no'
7075 fi
7076
7077 else
7078
7079 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7082 else
7083 no_cache=1
7084 fi
7085
7086 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7087
7088 fi;
7089
7090 eval "$ac_cv_use_aui"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7093 fi
7094
7095 if test "$wxUSE_AUI" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7098 else
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7101 fi
7102
7103
7104 enablestring=
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7107 no_cache=0
7108 # Check whether --enable-constraints or --disable-constraints was given.
7109 if test "${enable_constraints+set}" = set; then
7110 enableval="$enable_constraints"
7111
7112 if test "$enableval" = yes; then
7113 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7114 else
7115 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7116 fi
7117
7118 else
7119
7120 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7123 else
7124 no_cache=1
7125 fi
7126
7127 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7128
7129 fi;
7130
7131 eval "$ac_cv_use_constraints"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7134 fi
7135
7136 if test "$wxUSE_CONSTRAINTS" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7139 else
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7142 fi
7143
7144
7145 enablestring=
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7147 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7148 no_cache=0
7149 # Check whether --enable-printarch or --disable-printarch was given.
7150 if test "${enable_printarch+set}" = set; then
7151 enableval="$enable_printarch"
7152
7153 if test "$enableval" = yes; then
7154 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7155 else
7156 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7157 fi
7158
7159 else
7160
7161 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7164 else
7165 no_cache=1
7166 fi
7167
7168 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7169
7170 fi;
7171
7172 eval "$ac_cv_use_printarch"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7175 fi
7176
7177 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179 echo "${ECHO_T}yes" >&6
7180 else
7181 echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6
7183 fi
7184
7185
7186 enablestring=
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7189 no_cache=0
7190 # Check whether --enable-mdi or --disable-mdi was given.
7191 if test "${enable_mdi+set}" = set; then
7192 enableval="$enable_mdi"
7193
7194 if test "$enableval" = yes; then
7195 ac_cv_use_mdi='wxUSE_MDI=yes'
7196 else
7197 ac_cv_use_mdi='wxUSE_MDI=no'
7198 fi
7199
7200 else
7201
7202 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7205 else
7206 no_cache=1
7207 fi
7208
7209 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7210
7211 fi;
7212
7213 eval "$ac_cv_use_mdi"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7216 fi
7217
7218 if test "$wxUSE_MDI" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7221 else
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7224 fi
7225
7226
7227 enablestring=
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7230 no_cache=0
7231 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7232 if test "${enable_mdidoc+set}" = set; then
7233 enableval="$enable_mdidoc"
7234
7235 if test "$enableval" = yes; then
7236 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7237 else
7238 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7239 fi
7240
7241 else
7242
7243 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7246 else
7247 no_cache=1
7248 fi
7249
7250 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7251
7252 fi;
7253
7254 eval "$ac_cv_use_mdidoc"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7257 fi
7258
7259 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7262 else
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7265 fi
7266
7267
7268 enablestring=
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7271 no_cache=0
7272 # Check whether --enable-loggui or --disable-loggui was given.
7273 if test "${enable_loggui+set}" = set; then
7274 enableval="$enable_loggui"
7275
7276 if test "$enableval" = yes; then
7277 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7278 else
7279 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7280 fi
7281
7282 else
7283
7284 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7287 else
7288 no_cache=1
7289 fi
7290
7291 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7292
7293 fi;
7294
7295 eval "$ac_cv_use_loggui"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7298 fi
7299
7300 if test "$wxUSE_LOGGUI" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7303 else
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7306 fi
7307
7308
7309 enablestring=
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7312 no_cache=0
7313 # Check whether --enable-logwin or --disable-logwin was given.
7314 if test "${enable_logwin+set}" = set; then
7315 enableval="$enable_logwin"
7316
7317 if test "$enableval" = yes; then
7318 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7319 else
7320 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7321 fi
7322
7323 else
7324
7325 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7328 else
7329 no_cache=1
7330 fi
7331
7332 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7333
7334 fi;
7335
7336 eval "$ac_cv_use_logwin"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test "$wxUSE_LOGWINDOW" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7344 else
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7347 fi
7348
7349
7350 enablestring=
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7353 no_cache=0
7354 # Check whether --enable-logdialog or --disable-logdialog was given.
7355 if test "${enable_logdialog+set}" = set; then
7356 enableval="$enable_logdialog"
7357
7358 if test "$enableval" = yes; then
7359 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7360 else
7361 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7362 fi
7363
7364 else
7365
7366 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x ; then
7368 eval "DEFAULT_$LINE"
7369 else
7370 no_cache=1
7371 fi
7372
7373 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7374
7375 fi;
7376
7377 eval "$ac_cv_use_logdialog"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7380 fi
7381
7382 if test "$wxUSE_LOGDIALOG" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7385 else
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7388 fi
7389
7390
7391 enablestring=
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7394 no_cache=0
7395 # Check whether --enable-webkit or --disable-webkit was given.
7396 if test "${enable_webkit+set}" = set; then
7397 enableval="$enable_webkit"
7398
7399 if test "$enableval" = yes; then
7400 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7401 else
7402 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7403 fi
7404
7405 else
7406
7407 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x ; then
7409 eval "DEFAULT_$LINE"
7410 else
7411 no_cache=1
7412 fi
7413
7414 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7415
7416 fi;
7417
7418 eval "$ac_cv_use_webkit"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7421 fi
7422
7423 if test "$wxUSE_WEBKIT" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7426 else
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7429 fi
7430
7431
7432 enablestring=
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7435 no_cache=0
7436 # Check whether --enable-html or --disable-html was given.
7437 if test "${enable_html+set}" = set; then
7438 enableval="$enable_html"
7439
7440 if test "$enableval" = yes; then
7441 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7442 else
7443 ac_cv_use_html='wxUSE_RICHTEXT=no'
7444 fi
7445
7446 else
7447
7448 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7451 else
7452 no_cache=1
7453 fi
7454
7455 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7456
7457 fi;
7458
7459 eval "$ac_cv_use_html"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7462 fi
7463
7464 if test "$wxUSE_RICHTEXT" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7467 else
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7470 fi
7471
7472
7473 enablestring=
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7476 no_cache=0
7477 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7478 if test "${enable_graphics_ctx+set}" = set; then
7479 enableval="$enable_graphics_ctx"
7480
7481 if test "$enableval" = yes; then
7482 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7483 else
7484 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7485 fi
7486
7487 else
7488
7489 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7497
7498 fi;
7499
7500 eval "$ac_cv_use_graphics_ctx"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7503 fi
7504
7505 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7508 else
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7511 fi
7512
7513
7514
7515 enablestring=
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7518 no_cache=0
7519 # Check whether --enable-postscript or --disable-postscript was given.
7520 if test "${enable_postscript+set}" = set; then
7521 enableval="$enable_postscript"
7522
7523 if test "$enableval" = yes; then
7524 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7525 else
7526 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7527 fi
7528
7529 else
7530
7531 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7534 else
7535 no_cache=1
7536 fi
7537
7538 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7539
7540 fi;
7541
7542 eval "$ac_cv_use_postscript"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7545 fi
7546
7547 if test "$wxUSE_POSTSCRIPT" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7550 else
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7553 fi
7554
7555
7556
7557
7558
7559 enablestring=
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7562 no_cache=0
7563 # Check whether --enable-prologio or --disable-prologio was given.
7564 if test "${enable_prologio+set}" = set; then
7565 enableval="$enable_prologio"
7566
7567 if test "$enableval" = yes; then
7568 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7569 else
7570 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7571 fi
7572
7573 else
7574
7575 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7578 else
7579 no_cache=1
7580 fi
7581
7582 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7583
7584 fi;
7585
7586 eval "$ac_cv_use_prologio"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7589 fi
7590
7591 if test "$wxUSE_PROLOGIO" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7594 else
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7597 fi
7598
7599
7600 enablestring=
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7603 no_cache=0
7604 # Check whether --enable-resources or --disable-resources was given.
7605 if test "${enable_resources+set}" = set; then
7606 enableval="$enable_resources"
7607
7608 if test "$enableval" = yes; then
7609 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7610 else
7611 ac_cv_use_resources='wxUSE_RESOURCES=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7624
7625 fi;
7626
7627 eval "$ac_cv_use_resources"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test "$wxUSE_RESOURCES" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7635 else
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7638 fi
7639
7640
7641
7642
7643 enablestring=
7644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7645 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7646 no_cache=0
7647 # Check whether --enable-clipboard or --disable-clipboard was given.
7648 if test "${enable_clipboard+set}" = set; then
7649 enableval="$enable_clipboard"
7650
7651 if test "$enableval" = yes; then
7652 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7653 else
7654 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7655 fi
7656
7657 else
7658
7659 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x ; then
7661 eval "DEFAULT_$LINE"
7662 else
7663 no_cache=1
7664 fi
7665
7666 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7667
7668 fi;
7669
7670 eval "$ac_cv_use_clipboard"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7673 fi
7674
7675 if test "$wxUSE_CLIPBOARD" = yes; then
7676 echo "$as_me:$LINENO: result: yes" >&5
7677 echo "${ECHO_T}yes" >&6
7678 else
7679 echo "$as_me:$LINENO: result: no" >&5
7680 echo "${ECHO_T}no" >&6
7681 fi
7682
7683
7684 enablestring=
7685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7687 no_cache=0
7688 # Check whether --enable-dnd or --disable-dnd was given.
7689 if test "${enable_dnd+set}" = set; then
7690 enableval="$enable_dnd"
7691
7692 if test "$enableval" = yes; then
7693 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7694 else
7695 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7696 fi
7697
7698 else
7699
7700 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x ; then
7702 eval "DEFAULT_$LINE"
7703 else
7704 no_cache=1
7705 fi
7706
7707 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7708
7709 fi;
7710
7711 eval "$ac_cv_use_dnd"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7714 fi
7715
7716 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7717 echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6
7719 else
7720 echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6
7722 fi
7723
7724
7725 enablestring=
7726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7728 no_cache=0
7729 # Check whether --enable-metafile or --disable-metafile was given.
7730 if test "${enable_metafile+set}" = set; then
7731 enableval="$enable_metafile"
7732
7733 if test "$enableval" = yes; then
7734 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7735 else
7736 ac_cv_use_metafile='wxUSE_METAFILE=no'
7737 fi
7738
7739 else
7740
7741 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7742 if test "x$LINE" != x ; then
7743 eval "DEFAULT_$LINE"
7744 else
7745 no_cache=1
7746 fi
7747
7748 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7749
7750 fi;
7751
7752 eval "$ac_cv_use_metafile"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7755 fi
7756
7757 if test "$wxUSE_METAFILE" = yes; then
7758 echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6
7760 else
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7763 fi
7764
7765
7766
7767
7768
7769 enablestring=
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7772 no_cache=0
7773 # Check whether --enable-controls or --disable-controls was given.
7774 if test "${enable_controls+set}" = set; then
7775 enableval="$enable_controls"
7776
7777 if test "$enableval" = yes; then
7778 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7779 else
7780 ac_cv_use_controls='wxUSE_CONTROLS=no'
7781 fi
7782
7783 else
7784
7785 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7788 else
7789 no_cache=1
7790 fi
7791
7792 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7793
7794 fi;
7795
7796 eval "$ac_cv_use_controls"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7799 fi
7800
7801 if test "$wxUSE_CONTROLS" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7804 else
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7807 fi
7808
7809
7810 if test "$wxUSE_CONTROLS" = "yes"; then
7811 DEFAULT_wxUSE_ACCEL=yes
7812 DEFAULT_wxUSE_BMPBUTTON=yes
7813 DEFAULT_wxUSE_BUTTON=yes
7814 DEFAULT_wxUSE_CALCTRL=yes
7815 DEFAULT_wxUSE_CARET=yes
7816 DEFAULT_wxUSE_COMBOBOX=yes
7817 DEFAULT_wxUSE_CHECKBOX=yes
7818 DEFAULT_wxUSE_CHECKLISTBOX=yes
7819 DEFAULT_wxUSE_CHOICE=yes
7820 DEFAULT_wxUSE_CHOICEBOOK=yes
7821 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7822 DEFAULT_wxUSE_COMBOBOX=yes
7823 DEFAULT_wxUSE_DATEPICKCTRL=yes
7824 DEFAULT_wxUSE_DISPLAY=yes
7825 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7826 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7827 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7828 DEFAULT_wxUSE_GAUGE=yes
7829 DEFAULT_wxUSE_GRID=yes
7830 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7831 DEFAULT_wxUSE_DATAVIEWCTRL=no
7832 DEFAULT_wxUSE_IMAGLIST=yes
7833 DEFAULT_wxUSE_LISTBOOK=yes
7834 DEFAULT_wxUSE_LISTBOX=yes
7835 DEFAULT_wxUSE_LISTCTRL=yes
7836 DEFAULT_wxUSE_NOTEBOOK=yes
7837 DEFAULT_wxUSE_RADIOBOX=yes
7838 DEFAULT_wxUSE_RADIOBTN=yes
7839 DEFAULT_wxUSE_SASH=yes
7840 DEFAULT_wxUSE_SCROLLBAR=yes
7841 DEFAULT_wxUSE_SLIDER=yes
7842 DEFAULT_wxUSE_SPINBTN=yes
7843 DEFAULT_wxUSE_SPINCTRL=yes
7844 DEFAULT_wxUSE_SPLITTER=yes
7845 DEFAULT_wxUSE_STATBMP=yes
7846 DEFAULT_wxUSE_STATBOX=yes
7847 DEFAULT_wxUSE_STATLINE=yes
7848 DEFAULT_wxUSE_STATUSBAR=yes
7849 DEFAULT_wxUSE_TAB_DIALOG=yes
7850 DEFAULT_wxUSE_TOGGLEBTN=yes
7851 DEFAULT_wxUSE_TOOLBAR=yes
7852 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7853 DEFAULT_wxUSE_TOOLTIPS=yes
7854 DEFAULT_wxUSE_TREEBOOK=yes
7855 DEFAULT_wxUSE_TOOLBOOK=yes
7856 DEFAULT_wxUSE_TREECTRL=yes
7857 DEFAULT_wxUSE_POPUPWIN=yes
7858 DEFAULT_wxUSE_TIPWINDOW=yes
7859 elif test "$wxUSE_CONTROLS" = "no"; then
7860 DEFAULT_wxUSE_ACCEL=no
7861 DEFAULT_wxUSE_BMPBUTTON=no
7862 DEFAULT_wxUSE_BUTTON=no
7863 DEFAULT_wxUSE_CALCTRL=no
7864 DEFAULT_wxUSE_CARET=no
7865 DEFAULT_wxUSE_COMBOBOX=no
7866 DEFAULT_wxUSE_CHECKBOX=no
7867 DEFAULT_wxUSE_CHECKLISTBOX=no
7868 DEFAULT_wxUSE_CHOICE=no
7869 DEFAULT_wxUSE_CHOICEBOOK=no
7870 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7871 DEFAULT_wxUSE_COMBOBOX=no
7872 DEFAULT_wxUSE_DATEPICKCTRL=no
7873 DEFAULT_wxUSE_DISPLAY=no
7874 DEFAULT_wxUSE_DIRPICKERCTRL=no
7875 DEFAULT_wxUSE_FILEPICKERCTRL=no
7876 DEFAULT_wxUSE_FONTPICKERCTRL=no
7877 DEFAULT_wxUSE_GAUGE=no
7878 DEFAULT_wxUSE_GRID=no
7879 DEFAULT_wxUSE_HYPERLINKCTRL=no
7880 DEFAULT_wxUSE_DATAVIEWCTRL=no
7881 DEFAULT_wxUSE_IMAGLIST=no
7882 DEFAULT_wxUSE_LISTBOOK=no
7883 DEFAULT_wxUSE_LISTBOX=no
7884 DEFAULT_wxUSE_LISTCTRL=no
7885 DEFAULT_wxUSE_NOTEBOOK=no
7886 DEFAULT_wxUSE_RADIOBOX=no
7887 DEFAULT_wxUSE_RADIOBTN=no
7888 DEFAULT_wxUSE_SASH=no
7889 DEFAULT_wxUSE_SCROLLBAR=no
7890 DEFAULT_wxUSE_SLIDER=no
7891 DEFAULT_wxUSE_SPINBTN=no
7892 DEFAULT_wxUSE_SPINCTRL=no
7893 DEFAULT_wxUSE_SPLITTER=no
7894 DEFAULT_wxUSE_STATBMP=no
7895 DEFAULT_wxUSE_STATBOX=no
7896 DEFAULT_wxUSE_STATLINE=no
7897 DEFAULT_wxUSE_STATUSBAR=no
7898 DEFAULT_wxUSE_TAB_DIALOG=no
7899 DEFAULT_wxUSE_TOGGLEBTN=no
7900 DEFAULT_wxUSE_TOOLBAR=no
7901 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7902 DEFAULT_wxUSE_TOOLTIPS=no
7903 DEFAULT_wxUSE_TREEBOOK=no
7904 DEFAULT_wxUSE_TOOLBOOK=no
7905 DEFAULT_wxUSE_TREECTRL=no
7906 DEFAULT_wxUSE_POPUPWIN=no
7907 DEFAULT_wxUSE_TIPWINDOW=no
7908 fi
7909
7910
7911 enablestring=
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7914 no_cache=0
7915 # Check whether --enable-accel or --disable-accel was given.
7916 if test "${enable_accel+set}" = set; then
7917 enableval="$enable_accel"
7918
7919 if test "$enableval" = yes; then
7920 ac_cv_use_accel='wxUSE_ACCEL=yes'
7921 else
7922 ac_cv_use_accel='wxUSE_ACCEL=no'
7923 fi
7924
7925 else
7926
7927 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x ; then
7929 eval "DEFAULT_$LINE"
7930 else
7931 no_cache=1
7932 fi
7933
7934 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7935
7936 fi;
7937
7938 eval "$ac_cv_use_accel"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7941 fi
7942
7943 if test "$wxUSE_ACCEL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7946 else
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7949 fi
7950
7951
7952 enablestring=
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7955 no_cache=0
7956 # Check whether --enable-button or --disable-button was given.
7957 if test "${enable_button+set}" = set; then
7958 enableval="$enable_button"
7959
7960 if test "$enableval" = yes; then
7961 ac_cv_use_button='wxUSE_BUTTON=yes'
7962 else
7963 ac_cv_use_button='wxUSE_BUTTON=no'
7964 fi
7965
7966 else
7967
7968 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7971 else
7972 no_cache=1
7973 fi
7974
7975 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7976
7977 fi;
7978
7979 eval "$ac_cv_use_button"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7982 fi
7983
7984 if test "$wxUSE_BUTTON" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7987 else
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7990 fi
7991
7992
7993 enablestring=
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7996 no_cache=0
7997 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7998 if test "${enable_bmpbutton+set}" = set; then
7999 enableval="$enable_bmpbutton"
8000
8001 if test "$enableval" = yes; then
8002 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8003 else
8004 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8005 fi
8006
8007 else
8008
8009 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x ; then
8011 eval "DEFAULT_$LINE"
8012 else
8013 no_cache=1
8014 fi
8015
8016 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8017
8018 fi;
8019
8020 eval "$ac_cv_use_bmpbutton"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8023 fi
8024
8025 if test "$wxUSE_BMPBUTTON" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8028 else
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 fi
8032
8033
8034 enablestring=
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8037 no_cache=0
8038 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8039 if test "${enable_bmpcombobox+set}" = set; then
8040 enableval="$enable_bmpcombobox"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8044 else
8045 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8058
8059 fi;
8060
8061 eval "$ac_cv_use_bmpcombobox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8064 fi
8065
8066 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8069 else
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8072 fi
8073
8074
8075 enablestring=
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8078 no_cache=0
8079 # Check whether --enable-calendar or --disable-calendar was given.
8080 if test "${enable_calendar+set}" = set; then
8081 enableval="$enable_calendar"
8082
8083 if test "$enableval" = yes; then
8084 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8085 else
8086 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8087 fi
8088
8089 else
8090
8091 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 else
8095 no_cache=1
8096 fi
8097
8098 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8099
8100 fi;
8101
8102 eval "$ac_cv_use_calendar"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test "$wxUSE_CALCTRL" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8110 else
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8113 fi
8114
8115
8116 enablestring=
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-caret or --disable-caret was given.
8121 if test "${enable_caret+set}" = set; then
8122 enableval="$enable_caret"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_caret='wxUSE_CARET=yes'
8126 else
8127 ac_cv_use_caret='wxUSE_CARET=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8140
8141 fi;
8142
8143 eval "$ac_cv_use_caret"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test "$wxUSE_CARET" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8151 else
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8154 fi
8155
8156
8157 enablestring=
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8160 no_cache=0
8161 # Check whether --enable-checkbox or --disable-checkbox was given.
8162 if test "${enable_checkbox+set}" = set; then
8163 enableval="$enable_checkbox"
8164
8165 if test "$enableval" = yes; then
8166 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8167 else
8168 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8169 fi
8170
8171 else
8172
8173 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x ; then
8175 eval "DEFAULT_$LINE"
8176 else
8177 no_cache=1
8178 fi
8179
8180 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8181
8182 fi;
8183
8184 eval "$ac_cv_use_checkbox"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8187 fi
8188
8189 if test "$wxUSE_CHECKBOX" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8192 else
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8195 fi
8196
8197
8198 enablestring=
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8201 no_cache=0
8202 # Check whether --enable-checklst or --disable-checklst was given.
8203 if test "${enable_checklst+set}" = set; then
8204 enableval="$enable_checklst"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8208 else
8209 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8222
8223 fi;
8224
8225 eval "$ac_cv_use_checklst"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test "$wxUSE_CHECKLST" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8233 else
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8236 fi
8237
8238
8239 enablestring=
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8242 no_cache=0
8243 # Check whether --enable-choice or --disable-choice was given.
8244 if test "${enable_choice+set}" = set; then
8245 enableval="$enable_choice"
8246
8247 if test "$enableval" = yes; then
8248 ac_cv_use_choice='wxUSE_CHOICE=yes'
8249 else
8250 ac_cv_use_choice='wxUSE_CHOICE=no'
8251 fi
8252
8253 else
8254
8255 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 else
8259 no_cache=1
8260 fi
8261
8262 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8263
8264 fi;
8265
8266 eval "$ac_cv_use_choice"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8269 fi
8270
8271 if test "$wxUSE_CHOICE" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8274 else
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8277 fi
8278
8279
8280 enablestring=
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8283 no_cache=0
8284 # Check whether --enable-choicebook or --disable-choicebook was given.
8285 if test "${enable_choicebook+set}" = set; then
8286 enableval="$enable_choicebook"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8290 else
8291 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8292 fi
8293
8294 else
8295
8296 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8304
8305 fi;
8306
8307 eval "$ac_cv_use_choicebook"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8310 fi
8311
8312 if test "$wxUSE_CHOICEBOOK" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8315 else
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8318 fi
8319
8320
8321 enablestring=
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8324 no_cache=0
8325 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8326 if test "${enable_colourpicker+set}" = set; then
8327 enableval="$enable_colourpicker"
8328
8329 if test "$enableval" = yes; then
8330 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8331 else
8332 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8333 fi
8334
8335 else
8336
8337 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x ; then
8339 eval "DEFAULT_$LINE"
8340 else
8341 no_cache=1
8342 fi
8343
8344 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8345
8346 fi;
8347
8348 eval "$ac_cv_use_colourpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8356 else
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8359 fi
8360
8361
8362 enablestring=
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8365 no_cache=0
8366 # Check whether --enable-combobox or --disable-combobox was given.
8367 if test "${enable_combobox+set}" = set; then
8368 enableval="$enable_combobox"
8369
8370 if test "$enableval" = yes; then
8371 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8372 else
8373 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8374 fi
8375
8376 else
8377
8378 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x ; then
8380 eval "DEFAULT_$LINE"
8381 else
8382 no_cache=1
8383 fi
8384
8385 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8386
8387 fi;
8388
8389 eval "$ac_cv_use_combobox"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8392 fi
8393
8394 if test "$wxUSE_COMBOBOX" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8397 else
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8400 fi
8401
8402
8403 enablestring=
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8406 no_cache=0
8407 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8408 if test "${enable_comboctrl+set}" = set; then
8409 enableval="$enable_comboctrl"
8410
8411 if test "$enableval" = yes; then
8412 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8413 else
8414 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8415 fi
8416
8417 else
8418
8419 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x ; then
8421 eval "DEFAULT_$LINE"
8422 else
8423 no_cache=1
8424 fi
8425
8426 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8427
8428 fi;
8429
8430 eval "$ac_cv_use_comboctrl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8433 fi
8434
8435 if test "$wxUSE_COMBOCTRL" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8438 else
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8441 fi
8442
8443
8444 enablestring=
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8447 no_cache=0
8448 # Check whether --enable-datepick or --disable-datepick was given.
8449 if test "${enable_datepick+set}" = set; then
8450 enableval="$enable_datepick"
8451
8452 if test "$enableval" = yes; then
8453 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8454 else
8455 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8456 fi
8457
8458 else
8459
8460 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 else
8464 no_cache=1
8465 fi
8466
8467 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8468
8469 fi;
8470
8471 eval "$ac_cv_use_datepick"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8474 fi
8475
8476 if test "$wxUSE_DATEPICKCTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8479 else
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8482 fi
8483
8484
8485 enablestring=
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8488 no_cache=0
8489 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8490 if test "${enable_dirpicker+set}" = set; then
8491 enableval="$enable_dirpicker"
8492
8493 if test "$enableval" = yes; then
8494 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8495 else
8496 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8497 fi
8498
8499 else
8500
8501 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 else
8505 no_cache=1
8506 fi
8507
8508 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8509
8510 fi;
8511
8512 eval "$ac_cv_use_dirpicker"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8520 else
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8523 fi
8524
8525
8526 enablestring=
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8529 no_cache=0
8530 # Check whether --enable-display or --disable-display was given.
8531 if test "${enable_display+set}" = set; then
8532 enableval="$enable_display"
8533
8534 if test "$enableval" = yes; then
8535 ac_cv_use_display='wxUSE_DISPLAY=yes'
8536 else
8537 ac_cv_use_display='wxUSE_DISPLAY=no'
8538 fi
8539
8540 else
8541
8542 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x ; then
8544 eval "DEFAULT_$LINE"
8545 else
8546 no_cache=1
8547 fi
8548
8549 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8550
8551 fi;
8552
8553 eval "$ac_cv_use_display"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8556 fi
8557
8558 if test "$wxUSE_DISPLAY" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8564 fi
8565
8566
8567 enablestring=
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-filepicker or --disable-filepicker was given.
8572 if test "${enable_filepicker+set}" = set; then
8573 enableval="$enable_filepicker"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8577 else
8578 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8591
8592 fi;
8593
8594 eval "$ac_cv_use_filepicker"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8602 else
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8605 fi
8606
8607
8608 enablestring=
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8611 no_cache=0
8612 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8613 if test "${enable_fontpicker+set}" = set; then
8614 enableval="$enable_fontpicker"
8615
8616 if test "$enableval" = yes; then
8617 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8618 else
8619 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8620 fi
8621
8622 else
8623
8624 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 else
8628 no_cache=1
8629 fi
8630
8631 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8632
8633 fi;
8634
8635 eval "$ac_cv_use_fontpicker"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8638 fi
8639
8640 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8643 else
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8646 fi
8647
8648
8649 enablestring=
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8652 no_cache=0
8653 # Check whether --enable-gauge or --disable-gauge was given.
8654 if test "${enable_gauge+set}" = set; then
8655 enableval="$enable_gauge"
8656
8657 if test "$enableval" = yes; then
8658 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8659 else
8660 ac_cv_use_gauge='wxUSE_GAUGE=no'
8661 fi
8662
8663 else
8664
8665 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x ; then
8667 eval "DEFAULT_$LINE"
8668 else
8669 no_cache=1
8670 fi
8671
8672 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8673
8674 fi;
8675
8676 eval "$ac_cv_use_gauge"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_GAUGE" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8684 else
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8687 fi
8688
8689
8690 enablestring=
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8693 no_cache=0
8694 # Check whether --enable-grid or --disable-grid was given.
8695 if test "${enable_grid+set}" = set; then
8696 enableval="$enable_grid"
8697
8698 if test "$enableval" = yes; then
8699 ac_cv_use_grid='wxUSE_GRID=yes'
8700 else
8701 ac_cv_use_grid='wxUSE_GRID=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8714
8715 fi;
8716
8717 eval "$ac_cv_use_grid"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_GRID" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8725 else
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8728 fi
8729
8730
8731 enablestring=
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8734 no_cache=0
8735 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8736 if test "${enable_dataviewctrl+set}" = set; then
8737 enableval="$enable_dataviewctrl"
8738
8739 if test "$enableval" = yes; then
8740 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8741 else
8742 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8755
8756 fi;
8757
8758 eval "$ac_cv_use_dataviewctrl"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8766 else
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8769 fi
8770
8771
8772 enablestring=
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8775 no_cache=0
8776 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8777 if test "${enable_hyperlink+set}" = set; then
8778 enableval="$enable_hyperlink"
8779
8780 if test "$enableval" = yes; then
8781 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8782 else
8783 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8796
8797 fi;
8798
8799 eval "$ac_cv_use_hyperlink"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8802 fi
8803
8804 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8807 else
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8810 fi
8811
8812
8813 enablestring=
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8816 no_cache=0
8817 # Check whether --enable-imaglist or --disable-imaglist was given.
8818 if test "${enable_imaglist+set}" = set; then
8819 enableval="$enable_imaglist"
8820
8821 if test "$enableval" = yes; then
8822 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8823 else
8824 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8837
8838 fi;
8839
8840 eval "$ac_cv_use_imaglist"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test "$wxUSE_IMAGLIST" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8848 else
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8851 fi
8852
8853
8854 enablestring=
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8857 no_cache=0
8858 # Check whether --enable-listbook or --disable-listbook was given.
8859 if test "${enable_listbook+set}" = set; then
8860 enableval="$enable_listbook"
8861
8862 if test "$enableval" = yes; then
8863 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8864 else
8865 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8878
8879 fi;
8880
8881 eval "$ac_cv_use_listbook"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test "$wxUSE_LISTBOOK" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8889 else
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8892 fi
8893
8894
8895 enablestring=
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8898 no_cache=0
8899 # Check whether --enable-listbox or --disable-listbox was given.
8900 if test "${enable_listbox+set}" = set; then
8901 enableval="$enable_listbox"
8902
8903 if test "$enableval" = yes; then
8904 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8905 else
8906 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8919
8920 fi;
8921
8922 eval "$ac_cv_use_listbox"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8925 fi
8926
8927 if test "$wxUSE_LISTBOX" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8930 else
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8933 fi
8934
8935
8936 enablestring=
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8939 no_cache=0
8940 # Check whether --enable-listctrl or --disable-listctrl was given.
8941 if test "${enable_listctrl+set}" = set; then
8942 enableval="$enable_listctrl"
8943
8944 if test "$enableval" = yes; then
8945 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8946 else
8947 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8960
8961 fi;
8962
8963 eval "$ac_cv_use_listctrl"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8966 fi
8967
8968 if test "$wxUSE_LISTCTRL" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8971 else
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 fi
8975
8976
8977 enablestring=
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8980 no_cache=0
8981 # Check whether --enable-notebook or --disable-notebook was given.
8982 if test "${enable_notebook+set}" = set; then
8983 enableval="$enable_notebook"
8984
8985 if test "$enableval" = yes; then
8986 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8987 else
8988 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9001
9002 fi;
9003
9004 eval "$ac_cv_use_notebook"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test "$wxUSE_NOTEBOOK" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9012 else
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9015 fi
9016
9017
9018 enablestring=
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9021 no_cache=0
9022 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9023 if test "${enable_odcombobox+set}" = set; then
9024 enableval="$enable_odcombobox"
9025
9026 if test "$enableval" = yes; then
9027 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9028 else
9029 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9030 fi
9031
9032 else
9033
9034 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x ; then
9036 eval "DEFAULT_$LINE"
9037 else
9038 no_cache=1
9039 fi
9040
9041 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9042
9043 fi;
9044
9045 eval "$ac_cv_use_odcombobox"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9048 fi
9049
9050 if test "$wxUSE_ODCOMBOBOX" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9053 else
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9056 fi
9057
9058
9059 enablestring=
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9062 no_cache=0
9063 # Check whether --enable-radiobox or --disable-radiobox was given.
9064 if test "${enable_radiobox+set}" = set; then
9065 enableval="$enable_radiobox"
9066
9067 if test "$enableval" = yes; then
9068 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9069 else
9070 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9071 fi
9072
9073 else
9074
9075 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x ; then
9077 eval "DEFAULT_$LINE"
9078 else
9079 no_cache=1
9080 fi
9081
9082 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9083
9084 fi;
9085
9086 eval "$ac_cv_use_radiobox"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9089 fi
9090
9091 if test "$wxUSE_RADIOBOX" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9094 else
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9097 fi
9098
9099
9100 enablestring=
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9103 no_cache=0
9104 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9105 if test "${enable_radiobtn+set}" = set; then
9106 enableval="$enable_radiobtn"
9107
9108 if test "$enableval" = yes; then
9109 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9110 else
9111 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9112 fi
9113
9114 else
9115
9116 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 else
9120 no_cache=1
9121 fi
9122
9123 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9124
9125 fi;
9126
9127 eval "$ac_cv_use_radiobtn"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9130 fi
9131
9132 if test "$wxUSE_RADIOBTN" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9135 else
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9138 fi
9139
9140
9141 enablestring=
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9144 no_cache=0
9145 # Check whether --enable-sash or --disable-sash was given.
9146 if test "${enable_sash+set}" = set; then
9147 enableval="$enable_sash"
9148
9149 if test "$enableval" = yes; then
9150 ac_cv_use_sash='wxUSE_SASH=yes'
9151 else
9152 ac_cv_use_sash='wxUSE_SASH=no'
9153 fi
9154
9155 else
9156
9157 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9160 else
9161 no_cache=1
9162 fi
9163
9164 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9165
9166 fi;
9167
9168 eval "$ac_cv_use_sash"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9171 fi
9172
9173 if test "$wxUSE_SASH" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9176 else
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9179 fi
9180
9181
9182 enablestring=
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9185 no_cache=0
9186 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9187 if test "${enable_scrollbar+set}" = set; then
9188 enableval="$enable_scrollbar"
9189
9190 if test "$enableval" = yes; then
9191 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9192 else
9193 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9194 fi
9195
9196 else
9197
9198 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x ; then
9200 eval "DEFAULT_$LINE"
9201 else
9202 no_cache=1
9203 fi
9204
9205 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9206
9207 fi;
9208
9209 eval "$ac_cv_use_scrollbar"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9212 fi
9213
9214 if test "$wxUSE_SCROLLBAR" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9217 else
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9220 fi
9221
9222
9223 enablestring=
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9226 no_cache=0
9227 # Check whether --enable-slider or --disable-slider was given.
9228 if test "${enable_slider+set}" = set; then
9229 enableval="$enable_slider"
9230
9231 if test "$enableval" = yes; then
9232 ac_cv_use_slider='wxUSE_SLIDER=yes'
9233 else
9234 ac_cv_use_slider='wxUSE_SLIDER=no'
9235 fi
9236
9237 else
9238
9239 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x ; then
9241 eval "DEFAULT_$LINE"
9242 else
9243 no_cache=1
9244 fi
9245
9246 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9247
9248 fi;
9249
9250 eval "$ac_cv_use_slider"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9253 fi
9254
9255 if test "$wxUSE_SLIDER" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9258 else
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9261 fi
9262
9263
9264 enablestring=
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9267 no_cache=0
9268 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9269 if test "${enable_spinbtn+set}" = set; then
9270 enableval="$enable_spinbtn"
9271
9272 if test "$enableval" = yes; then
9273 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9274 else
9275 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9276 fi
9277
9278 else
9279
9280 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9283 else
9284 no_cache=1
9285 fi
9286
9287 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9288
9289 fi;
9290
9291 eval "$ac_cv_use_spinbtn"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9294 fi
9295
9296 if test "$wxUSE_SPINBTN" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9299 else
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9302 fi
9303
9304
9305 enablestring=
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9308 no_cache=0
9309 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9310 if test "${enable_spinctrl+set}" = set; then
9311 enableval="$enable_spinctrl"
9312
9313 if test "$enableval" = yes; then
9314 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9315 else
9316 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9317 fi
9318
9319 else
9320
9321 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 else
9325 no_cache=1
9326 fi
9327
9328 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9329
9330 fi;
9331
9332 eval "$ac_cv_use_spinctrl"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9335 fi
9336
9337 if test "$wxUSE_SPINCTRL" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9340 else
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9343 fi
9344
9345
9346 enablestring=
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9349 no_cache=0
9350 # Check whether --enable-splitter or --disable-splitter was given.
9351 if test "${enable_splitter+set}" = set; then
9352 enableval="$enable_splitter"
9353
9354 if test "$enableval" = yes; then
9355 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9356 else
9357 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9358 fi
9359
9360 else
9361
9362 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9365 else
9366 no_cache=1
9367 fi
9368
9369 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9370
9371 fi;
9372
9373 eval "$ac_cv_use_splitter"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9376 fi
9377
9378 if test "$wxUSE_SPLITTER" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9381 else
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9384 fi
9385
9386
9387 enablestring=
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9390 no_cache=0
9391 # Check whether --enable-statbmp or --disable-statbmp was given.
9392 if test "${enable_statbmp+set}" = set; then
9393 enableval="$enable_statbmp"
9394
9395 if test "$enableval" = yes; then
9396 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9397 else
9398 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9399 fi
9400
9401 else
9402
9403 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9406 else
9407 no_cache=1
9408 fi
9409
9410 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9411
9412 fi;
9413
9414 eval "$ac_cv_use_statbmp"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9417 fi
9418
9419 if test "$wxUSE_STATBMP" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9422 else
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9425 fi
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-statbox or --disable-statbox was given.
9433 if test "${enable_statbox+set}" = set; then
9434 enableval="$enable_statbox"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9438 else
9439 ac_cv_use_statbox='wxUSE_STATBOX=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9452
9453 fi;
9454
9455 eval "$ac_cv_use_statbox"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_STATBOX" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9463 else
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9466 fi
9467
9468
9469 enablestring=
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-statline or --disable-statline was given.
9474 if test "${enable_statline+set}" = set; then
9475 enableval="$enable_statline"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_statline='wxUSE_STATLINE=yes'
9479 else
9480 ac_cv_use_statline='wxUSE_STATLINE=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9493
9494 fi;
9495
9496 eval "$ac_cv_use_statline"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_STATLINE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9504 else
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9507 fi
9508
9509
9510 enablestring=
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9513 no_cache=0
9514 # Check whether --enable-stattext or --disable-stattext was given.
9515 if test "${enable_stattext+set}" = set; then
9516 enableval="$enable_stattext"
9517
9518 if test "$enableval" = yes; then
9519 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9520 else
9521 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9534
9535 fi;
9536
9537 eval "$ac_cv_use_stattext"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9540 fi
9541
9542 if test "$wxUSE_STATTEXT" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9545 else
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9548 fi
9549
9550
9551 enablestring=
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9554 no_cache=0
9555 # Check whether --enable-statusbar or --disable-statusbar was given.
9556 if test "${enable_statusbar+set}" = set; then
9557 enableval="$enable_statusbar"
9558
9559 if test "$enableval" = yes; then
9560 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9561 else
9562 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9575
9576 fi;
9577
9578 eval "$ac_cv_use_statusbar"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9581 fi
9582
9583 if test "$wxUSE_STATUSBAR" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9586 else
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9589 fi
9590
9591
9592 enablestring=
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9595 no_cache=0
9596 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9597 if test "${enable_tabdialog+set}" = set; then
9598 enableval="$enable_tabdialog"
9599
9600 if test "$enableval" = yes; then
9601 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9602 else
9603 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9616
9617 fi;
9618
9619 eval "$ac_cv_use_tabdialog"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test "$wxUSE_TAB_DIALOG" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9627 else
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9630 fi
9631
9632
9633 enablestring=
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9636 no_cache=0
9637 # Check whether --enable-textctrl or --disable-textctrl was given.
9638 if test "${enable_textctrl+set}" = set; then
9639 enableval="$enable_textctrl"
9640
9641 if test "$enableval" = yes; then
9642 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9643 else
9644 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9657
9658 fi;
9659
9660 eval "$ac_cv_use_textctrl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9663 fi
9664
9665 if test "$wxUSE_TEXTCTRL" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9668 else
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9671 fi
9672
9673
9674 enablestring=
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9677 no_cache=0
9678 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9679 if test "${enable_togglebtn+set}" = set; then
9680 enableval="$enable_togglebtn"
9681
9682 if test "$enableval" = yes; then
9683 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9684 else
9685 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9686 fi
9687
9688 else
9689
9690 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9693 else
9694 no_cache=1
9695 fi
9696
9697 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9698
9699 fi;
9700
9701 eval "$ac_cv_use_togglebtn"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9704 fi
9705
9706 if test "$wxUSE_TOGGLEBTN" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9709 else
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9712 fi
9713
9714
9715 enablestring=
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9718 no_cache=0
9719 # Check whether --enable-toolbar or --disable-toolbar was given.
9720 if test "${enable_toolbar+set}" = set; then
9721 enableval="$enable_toolbar"
9722
9723 if test "$enableval" = yes; then
9724 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9725 else
9726 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9727 fi
9728
9729 else
9730
9731 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 else
9735 no_cache=1
9736 fi
9737
9738 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9739
9740 fi;
9741
9742 eval "$ac_cv_use_toolbar"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9745 fi
9746
9747 if test "$wxUSE_TOOLBAR" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9750 else
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9753 fi
9754
9755
9756 enablestring=
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9759 no_cache=0
9760 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9761 if test "${enable_tbarnative+set}" = set; then
9762 enableval="$enable_tbarnative"
9763
9764 if test "$enableval" = yes; then
9765 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9766 else
9767 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9768 fi
9769
9770 else
9771
9772 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x ; then
9774 eval "DEFAULT_$LINE"
9775 else
9776 no_cache=1
9777 fi
9778
9779 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9780
9781 fi;
9782
9783 eval "$ac_cv_use_tbarnative"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9786 fi
9787
9788 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9791 else
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9794 fi
9795
9796
9797 enablestring=
9798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9800 no_cache=0
9801 # Check whether --enable-treebook or --disable-treebook was given.
9802 if test "${enable_treebook+set}" = set; then
9803 enableval="$enable_treebook"
9804
9805 if test "$enableval" = yes; then
9806 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9807 else
9808 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9809 fi
9810
9811 else
9812
9813 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x ; then
9815 eval "DEFAULT_$LINE"
9816 else
9817 no_cache=1
9818 fi
9819
9820 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9821
9822 fi;
9823
9824 eval "$ac_cv_use_treebook"
9825 if test "$no_cache" != 1; then
9826 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9827 fi
9828
9829 if test "$wxUSE_TREEBOOK" = yes; then
9830 echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6
9832 else
9833 echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6
9835 fi
9836
9837
9838 enablestring=
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9841 no_cache=0
9842 # Check whether --enable-toolbook or --disable-toolbook was given.
9843 if test "${enable_toolbook+set}" = set; then
9844 enableval="$enable_toolbook"
9845
9846 if test "$enableval" = yes; then
9847 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9848 else
9849 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9850 fi
9851
9852 else
9853
9854 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x ; then
9856 eval "DEFAULT_$LINE"
9857 else
9858 no_cache=1
9859 fi
9860
9861 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9862
9863 fi;
9864
9865 eval "$ac_cv_use_toolbook"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9868 fi
9869
9870 if test "$wxUSE_TOOLBOOK" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9873 else
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9876 fi
9877
9878
9879 enablestring=
9880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9881 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9882 no_cache=0
9883 # Check whether --enable-treectrl or --disable-treectrl was given.
9884 if test "${enable_treectrl+set}" = set; then
9885 enableval="$enable_treectrl"
9886
9887 if test "$enableval" = yes; then
9888 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9889 else
9890 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9891 fi
9892
9893 else
9894
9895 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9898 else
9899 no_cache=1
9900 fi
9901
9902 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9903
9904 fi;
9905
9906 eval "$ac_cv_use_treectrl"
9907 if test "$no_cache" != 1; then
9908 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9909 fi
9910
9911 if test "$wxUSE_TREECTRL" = yes; then
9912 echo "$as_me:$LINENO: result: yes" >&5
9913 echo "${ECHO_T}yes" >&6
9914 else
9915 echo "$as_me:$LINENO: result: no" >&5
9916 echo "${ECHO_T}no" >&6
9917 fi
9918
9919
9920 enablestring=
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9923 no_cache=0
9924 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9925 if test "${enable_tipwindow+set}" = set; then
9926 enableval="$enable_tipwindow"
9927
9928 if test "$enableval" = yes; then
9929 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9930 else
9931 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9932 fi
9933
9934 else
9935
9936 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x ; then
9938 eval "DEFAULT_$LINE"
9939 else
9940 no_cache=1
9941 fi
9942
9943 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9944
9945 fi;
9946
9947 eval "$ac_cv_use_tipwindow"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9950 fi
9951
9952 if test "$wxUSE_TIPWINDOW" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9955 else
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9958 fi
9959
9960
9961 enablestring=
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9964 no_cache=0
9965 # Check whether --enable-popupwin or --disable-popupwin was given.
9966 if test "${enable_popupwin+set}" = set; then
9967 enableval="$enable_popupwin"
9968
9969 if test "$enableval" = yes; then
9970 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9971 else
9972 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9973 fi
9974
9975 else
9976
9977 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x ; then
9979 eval "DEFAULT_$LINE"
9980 else
9981 no_cache=1
9982 fi
9983
9984 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9985
9986 fi;
9987
9988 eval "$ac_cv_use_popupwin"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9991 fi
9992
9993 if test "$wxUSE_POPUPWIN" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9996 else
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
9999 fi
10000
10001
10002
10003
10004 enablestring=
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10007 no_cache=0
10008 # Check whether --enable-commondlg or --disable-commondlg was given.
10009 if test "${enable_commondlg+set}" = set; then
10010 enableval="$enable_commondlg"
10011
10012 if test "$enableval" = yes; then
10013 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10014 else
10015 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10016 fi
10017
10018 else
10019
10020 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x ; then
10022 eval "DEFAULT_$LINE"
10023 else
10024 no_cache=1
10025 fi
10026
10027 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10028
10029 fi;
10030
10031 eval "$ac_cv_use_commondlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10034 fi
10035
10036 if test "$wxUSE_COMMONDLGS" = yes; then
10037 echo "$as_me:$LINENO: result: yes" >&5
10038 echo "${ECHO_T}yes" >&6
10039 else
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10042 fi
10043
10044
10045 enablestring=
10046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10048 no_cache=0
10049 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10050 if test "${enable_aboutdlg+set}" = set; then
10051 enableval="$enable_aboutdlg"
10052
10053 if test "$enableval" = yes; then
10054 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10055 else
10056 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10057 fi
10058
10059 else
10060
10061 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x ; then
10063 eval "DEFAULT_$LINE"
10064 else
10065 no_cache=1
10066 fi
10067
10068 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10069
10070 fi;
10071
10072 eval "$ac_cv_use_aboutdlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10075 fi
10076
10077 if test "$wxUSE_ABOUTDLG" = yes; then
10078 echo "$as_me:$LINENO: result: yes" >&5
10079 echo "${ECHO_T}yes" >&6
10080 else
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10083 fi
10084
10085
10086 enablestring=
10087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10089 no_cache=0
10090 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10091 if test "${enable_choicedlg+set}" = set; then
10092 enableval="$enable_choicedlg"
10093
10094 if test "$enableval" = yes; then
10095 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10096 else
10097 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10098 fi
10099
10100 else
10101
10102 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x ; then
10104 eval "DEFAULT_$LINE"
10105 else
10106 no_cache=1
10107 fi
10108
10109 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10110
10111 fi;
10112
10113 eval "$ac_cv_use_choicedlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10116 fi
10117
10118 if test "$wxUSE_CHOICEDLG" = yes; then
10119 echo "$as_me:$LINENO: result: yes" >&5
10120 echo "${ECHO_T}yes" >&6
10121 else
10122 echo "$as_me:$LINENO: result: no" >&5
10123 echo "${ECHO_T}no" >&6
10124 fi
10125
10126
10127 enablestring=
10128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10130 no_cache=0
10131 # Check whether --enable-coldlg or --disable-coldlg was given.
10132 if test "${enable_coldlg+set}" = set; then
10133 enableval="$enable_coldlg"
10134
10135 if test "$enableval" = yes; then
10136 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10137 else
10138 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10139 fi
10140
10141 else
10142
10143 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x ; then
10145 eval "DEFAULT_$LINE"
10146 else
10147 no_cache=1
10148 fi
10149
10150 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10151
10152 fi;
10153
10154 eval "$ac_cv_use_coldlg"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10157 fi
10158
10159 if test "$wxUSE_COLOURDLG" = yes; then
10160 echo "$as_me:$LINENO: result: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10162 else
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10165 fi
10166
10167
10168 enablestring=
10169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10171 no_cache=0
10172 # Check whether --enable-filedlg or --disable-filedlg was given.
10173 if test "${enable_filedlg+set}" = set; then
10174 enableval="$enable_filedlg"
10175
10176 if test "$enableval" = yes; then
10177 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10178 else
10179 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10180 fi
10181
10182 else
10183
10184 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x ; then
10186 eval "DEFAULT_$LINE"
10187 else
10188 no_cache=1
10189 fi
10190
10191 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10192
10193 fi;
10194
10195 eval "$ac_cv_use_filedlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10198 fi
10199
10200 if test "$wxUSE_FILEDLG" = yes; then
10201 echo "$as_me:$LINENO: result: yes" >&5
10202 echo "${ECHO_T}yes" >&6
10203 else
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10206 fi
10207
10208
10209 enablestring=
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10212 no_cache=0
10213 # Check whether --enable-finddlg or --disable-finddlg was given.
10214 if test "${enable_finddlg+set}" = set; then
10215 enableval="$enable_finddlg"
10216
10217 if test "$enableval" = yes; then
10218 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10219 else
10220 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10221 fi
10222
10223 else
10224
10225 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x ; then
10227 eval "DEFAULT_$LINE"
10228 else
10229 no_cache=1
10230 fi
10231
10232 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10233
10234 fi;
10235
10236 eval "$ac_cv_use_finddlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10239 fi
10240
10241 if test "$wxUSE_FINDREPLDLG" = yes; then
10242 echo "$as_me:$LINENO: result: yes" >&5
10243 echo "${ECHO_T}yes" >&6
10244 else
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10247 fi
10248
10249
10250 enablestring=
10251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10253 no_cache=0
10254 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10255 if test "${enable_fontdlg+set}" = set; then
10256 enableval="$enable_fontdlg"
10257
10258 if test "$enableval" = yes; then
10259 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10260 else
10261 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10262 fi
10263
10264 else
10265
10266 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x ; then
10268 eval "DEFAULT_$LINE"
10269 else
10270 no_cache=1
10271 fi
10272
10273 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10274
10275 fi;
10276
10277 eval "$ac_cv_use_fontdlg"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10280 fi
10281
10282 if test "$wxUSE_FONTDLG" = yes; then
10283 echo "$as_me:$LINENO: result: yes" >&5
10284 echo "${ECHO_T}yes" >&6
10285 else
10286 echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6
10288 fi
10289
10290
10291 enablestring=
10292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10294 no_cache=0
10295 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10296 if test "${enable_dirdlg+set}" = set; then
10297 enableval="$enable_dirdlg"
10298
10299 if test "$enableval" = yes; then
10300 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10301 else
10302 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10303 fi
10304
10305 else
10306
10307 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x ; then
10309 eval "DEFAULT_$LINE"
10310 else
10311 no_cache=1
10312 fi
10313
10314 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10315
10316 fi;
10317
10318 eval "$ac_cv_use_dirdlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10321 fi
10322
10323 if test "$wxUSE_DIRDLG" = yes; then
10324 echo "$as_me:$LINENO: result: yes" >&5
10325 echo "${ECHO_T}yes" >&6
10326 else
10327 echo "$as_me:$LINENO: result: no" >&5
10328 echo "${ECHO_T}no" >&6
10329 fi
10330
10331
10332 enablestring=
10333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10335 no_cache=0
10336 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10337 if test "${enable_msgdlg+set}" = set; then
10338 enableval="$enable_msgdlg"
10339
10340 if test "$enableval" = yes; then
10341 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10342 else
10343 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10344 fi
10345
10346 else
10347
10348 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10349 if test "x$LINE" != x ; then
10350 eval "DEFAULT_$LINE"
10351 else
10352 no_cache=1
10353 fi
10354
10355 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10356
10357 fi;
10358
10359 eval "$ac_cv_use_msgdlg"
10360 if test "$no_cache" != 1; then
10361 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10362 fi
10363
10364 if test "$wxUSE_MSGDLG" = yes; then
10365 echo "$as_me:$LINENO: result: yes" >&5
10366 echo "${ECHO_T}yes" >&6
10367 else
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10370 fi
10371
10372
10373 enablestring=
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10376 no_cache=0
10377 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10378 if test "${enable_numberdlg+set}" = set; then
10379 enableval="$enable_numberdlg"
10380
10381 if test "$enableval" = yes; then
10382 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10383 else
10384 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10385 fi
10386
10387 else
10388
10389 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x ; then
10391 eval "DEFAULT_$LINE"
10392 else
10393 no_cache=1
10394 fi
10395
10396 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10397
10398 fi;
10399
10400 eval "$ac_cv_use_numberdlg"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10403 fi
10404
10405 if test "$wxUSE_NUMBERDLG" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10408 else
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10411 fi
10412
10413
10414 enablestring=
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10417 no_cache=0
10418 # Check whether --enable-splash or --disable-splash was given.
10419 if test "${enable_splash+set}" = set; then
10420 enableval="$enable_splash"
10421
10422 if test "$enableval" = yes; then
10423 ac_cv_use_splash='wxUSE_SPLASH=yes'
10424 else
10425 ac_cv_use_splash='wxUSE_SPLASH=no'
10426 fi
10427
10428 else
10429
10430 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x ; then
10432 eval "DEFAULT_$LINE"
10433 else
10434 no_cache=1
10435 fi
10436
10437 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10438
10439 fi;
10440
10441 eval "$ac_cv_use_splash"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10444 fi
10445
10446 if test "$wxUSE_SPLASH" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10449 else
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10452 fi
10453
10454
10455 enablestring=
10456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10458 no_cache=0
10459 # Check whether --enable-textdlg or --disable-textdlg was given.
10460 if test "${enable_textdlg+set}" = set; then
10461 enableval="$enable_textdlg"
10462
10463 if test "$enableval" = yes; then
10464 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10465 else
10466 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10467 fi
10468
10469 else
10470
10471 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x ; then
10473 eval "DEFAULT_$LINE"
10474 else
10475 no_cache=1
10476 fi
10477
10478 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10479
10480 fi;
10481
10482 eval "$ac_cv_use_textdlg"
10483 if test "$no_cache" != 1; then
10484 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10485 fi
10486
10487 if test "$wxUSE_TEXTDLG" = yes; then
10488 echo "$as_me:$LINENO: result: yes" >&5
10489 echo "${ECHO_T}yes" >&6
10490 else
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10493 fi
10494
10495
10496 enablestring=
10497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10499 no_cache=0
10500 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10501 if test "${enable_tipdlg+set}" = set; then
10502 enableval="$enable_tipdlg"
10503
10504 if test "$enableval" = yes; then
10505 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10506 else
10507 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10508 fi
10509
10510 else
10511
10512 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x ; then
10514 eval "DEFAULT_$LINE"
10515 else
10516 no_cache=1
10517 fi
10518
10519 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10520
10521 fi;
10522
10523 eval "$ac_cv_use_tipdlg"
10524 if test "$no_cache" != 1; then
10525 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10526 fi
10527
10528 if test "$wxUSE_STARTUP_TIPS" = yes; then
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10531 else
10532 echo "$as_me:$LINENO: result: no" >&5
10533 echo "${ECHO_T}no" >&6
10534 fi
10535
10536
10537 enablestring=
10538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10540 no_cache=0
10541 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10542 if test "${enable_progressdlg+set}" = set; then
10543 enableval="$enable_progressdlg"
10544
10545 if test "$enableval" = yes; then
10546 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10547 else
10548 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10549 fi
10550
10551 else
10552
10553 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10554 if test "x$LINE" != x ; then
10555 eval "DEFAULT_$LINE"
10556 else
10557 no_cache=1
10558 fi
10559
10560 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10561
10562 fi;
10563
10564 eval "$ac_cv_use_progressdlg"
10565 if test "$no_cache" != 1; then
10566 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10567 fi
10568
10569 if test "$wxUSE_PROGRESSDLG" = yes; then
10570 echo "$as_me:$LINENO: result: yes" >&5
10571 echo "${ECHO_T}yes" >&6
10572 else
10573 echo "$as_me:$LINENO: result: no" >&5
10574 echo "${ECHO_T}no" >&6
10575 fi
10576
10577
10578 enablestring=
10579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10581 no_cache=0
10582 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10583 if test "${enable_wizarddlg+set}" = set; then
10584 enableval="$enable_wizarddlg"
10585
10586 if test "$enableval" = yes; then
10587 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10588 else
10589 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10590 fi
10591
10592 else
10593
10594 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x ; then
10596 eval "DEFAULT_$LINE"
10597 else
10598 no_cache=1
10599 fi
10600
10601 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10602
10603 fi;
10604
10605 eval "$ac_cv_use_wizarddlg"
10606 if test "$no_cache" != 1; then
10607 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10608 fi
10609
10610 if test "$wxUSE_WIZARDDLG" = yes; then
10611 echo "$as_me:$LINENO: result: yes" >&5
10612 echo "${ECHO_T}yes" >&6
10613 else
10614 echo "$as_me:$LINENO: result: no" >&5
10615 echo "${ECHO_T}no" >&6
10616 fi
10617
10618
10619
10620
10621 enablestring=
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10624 no_cache=0
10625 # Check whether --enable-menus or --disable-menus was given.
10626 if test "${enable_menus+set}" = set; then
10627 enableval="$enable_menus"
10628
10629 if test "$enableval" = yes; then
10630 ac_cv_use_menus='wxUSE_MENUS=yes'
10631 else
10632 ac_cv_use_menus='wxUSE_MENUS=no'
10633 fi
10634
10635 else
10636
10637 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x ; then
10639 eval "DEFAULT_$LINE"
10640 else
10641 no_cache=1
10642 fi
10643
10644 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10645
10646 fi;
10647
10648 eval "$ac_cv_use_menus"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10651 fi
10652
10653 if test "$wxUSE_MENUS" = yes; then
10654 echo "$as_me:$LINENO: result: yes" >&5
10655 echo "${ECHO_T}yes" >&6
10656 else
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10659 fi
10660
10661
10662 enablestring=
10663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10665 no_cache=0
10666 # Check whether --enable-miniframe or --disable-miniframe was given.
10667 if test "${enable_miniframe+set}" = set; then
10668 enableval="$enable_miniframe"
10669
10670 if test "$enableval" = yes; then
10671 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10672 else
10673 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10674 fi
10675
10676 else
10677
10678 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x ; then
10680 eval "DEFAULT_$LINE"
10681 else
10682 no_cache=1
10683 fi
10684
10685 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10686
10687 fi;
10688
10689 eval "$ac_cv_use_miniframe"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10692 fi
10693
10694 if test "$wxUSE_MINIFRAME" = yes; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10697 else
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10700 fi
10701
10702
10703 enablestring=
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10706 no_cache=0
10707 # Check whether --enable-tooltips or --disable-tooltips was given.
10708 if test "${enable_tooltips+set}" = set; then
10709 enableval="$enable_tooltips"
10710
10711 if test "$enableval" = yes; then
10712 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10713 else
10714 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10715 fi
10716
10717 else
10718
10719 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x ; then
10721 eval "DEFAULT_$LINE"
10722 else
10723 no_cache=1
10724 fi
10725
10726 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10727
10728 fi;
10729
10730 eval "$ac_cv_use_tooltips"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10733 fi
10734
10735 if test "$wxUSE_TOOLTIPS" = yes; then
10736 echo "$as_me:$LINENO: result: yes" >&5
10737 echo "${ECHO_T}yes" >&6
10738 else
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10741 fi
10742
10743
10744 enablestring=
10745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10747 no_cache=0
10748 # Check whether --enable-splines or --disable-splines was given.
10749 if test "${enable_splines+set}" = set; then
10750 enableval="$enable_splines"
10751
10752 if test "$enableval" = yes; then
10753 ac_cv_use_splines='wxUSE_SPLINES=yes'
10754 else
10755 ac_cv_use_splines='wxUSE_SPLINES=no'
10756 fi
10757
10758 else
10759
10760 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x ; then
10762 eval "DEFAULT_$LINE"
10763 else
10764 no_cache=1
10765 fi
10766
10767 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10768
10769 fi;
10770
10771 eval "$ac_cv_use_splines"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10774 fi
10775
10776 if test "$wxUSE_SPLINES" = yes; then
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10779 else
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10782 fi
10783
10784
10785 enablestring=
10786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10788 no_cache=0
10789 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10790 if test "${enable_mousewheel+set}" = set; then
10791 enableval="$enable_mousewheel"
10792
10793 if test "$enableval" = yes; then
10794 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10795 else
10796 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10797 fi
10798
10799 else
10800
10801 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x ; then
10803 eval "DEFAULT_$LINE"
10804 else
10805 no_cache=1
10806 fi
10807
10808 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10809
10810 fi;
10811
10812 eval "$ac_cv_use_mousewheel"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10815 fi
10816
10817 if test "$wxUSE_MOUSEWHEEL" = yes; then
10818 echo "$as_me:$LINENO: result: yes" >&5
10819 echo "${ECHO_T}yes" >&6
10820 else
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10823 fi
10824
10825
10826 enablestring=
10827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10828 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10829 no_cache=0
10830 # Check whether --enable-validators or --disable-validators was given.
10831 if test "${enable_validators+set}" = set; then
10832 enableval="$enable_validators"
10833
10834 if test "$enableval" = yes; then
10835 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10836 else
10837 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10838 fi
10839
10840 else
10841
10842 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10843 if test "x$LINE" != x ; then
10844 eval "DEFAULT_$LINE"
10845 else
10846 no_cache=1
10847 fi
10848
10849 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10850
10851 fi;
10852
10853 eval "$ac_cv_use_validators"
10854 if test "$no_cache" != 1; then
10855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10856 fi
10857
10858 if test "$wxUSE_VALIDATORS" = yes; then
10859 echo "$as_me:$LINENO: result: yes" >&5
10860 echo "${ECHO_T}yes" >&6
10861 else
10862 echo "$as_me:$LINENO: result: no" >&5
10863 echo "${ECHO_T}no" >&6
10864 fi
10865
10866
10867 enablestring=
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10870 no_cache=0
10871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10872 if test "${enable_busyinfo+set}" = set; then
10873 enableval="$enable_busyinfo"
10874
10875 if test "$enableval" = yes; then
10876 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10877 else
10878 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10879 fi
10880
10881 else
10882
10883 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x ; then
10885 eval "DEFAULT_$LINE"
10886 else
10887 no_cache=1
10888 fi
10889
10890 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10891
10892 fi;
10893
10894 eval "$ac_cv_use_busyinfo"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10897 fi
10898
10899 if test "$wxUSE_BUSYINFO" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10902 else
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10905 fi
10906
10907
10908 enablestring=
10909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10911 no_cache=0
10912 # Check whether --enable-joystick or --disable-joystick was given.
10913 if test "${enable_joystick+set}" = set; then
10914 enableval="$enable_joystick"
10915
10916 if test "$enableval" = yes; then
10917 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10918 else
10919 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10920 fi
10921
10922 else
10923
10924 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10925 if test "x$LINE" != x ; then
10926 eval "DEFAULT_$LINE"
10927 else
10928 no_cache=1
10929 fi
10930
10931 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10932
10933 fi;
10934
10935 eval "$ac_cv_use_joystick"
10936 if test "$no_cache" != 1; then
10937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10938 fi
10939
10940 if test "$wxUSE_JOYSTICK" = yes; then
10941 echo "$as_me:$LINENO: result: yes" >&5
10942 echo "${ECHO_T}yes" >&6
10943 else
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10946 fi
10947
10948
10949 enablestring=
10950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10952 no_cache=0
10953 # Check whether --enable-metafile or --disable-metafile was given.
10954 if test "${enable_metafile+set}" = set; then
10955 enableval="$enable_metafile"
10956
10957 if test "$enableval" = yes; then
10958 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10959 else
10960 ac_cv_use_metafile='wxUSE_METAFILE=no'
10961 fi
10962
10963 else
10964
10965 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10966 if test "x$LINE" != x ; then
10967 eval "DEFAULT_$LINE"
10968 else
10969 no_cache=1
10970 fi
10971
10972 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10973
10974 fi;
10975
10976 eval "$ac_cv_use_metafile"
10977 if test "$no_cache" != 1; then
10978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10979 fi
10980
10981 if test "$wxUSE_METAFILE" = yes; then
10982 echo "$as_me:$LINENO: result: yes" >&5
10983 echo "${ECHO_T}yes" >&6
10984 else
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10987 fi
10988
10989
10990 enablestring=
10991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10993 no_cache=0
10994 # Check whether --enable-dragimage or --disable-dragimage was given.
10995 if test "${enable_dragimage+set}" = set; then
10996 enableval="$enable_dragimage"
10997
10998 if test "$enableval" = yes; then
10999 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11000 else
11001 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11002 fi
11003
11004 else
11005
11006 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11007 if test "x$LINE" != x ; then
11008 eval "DEFAULT_$LINE"
11009 else
11010 no_cache=1
11011 fi
11012
11013 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11014
11015 fi;
11016
11017 eval "$ac_cv_use_dragimage"
11018 if test "$no_cache" != 1; then
11019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11020 fi
11021
11022 if test "$wxUSE_DRAGIMAGE" = yes; then
11023 echo "$as_me:$LINENO: result: yes" >&5
11024 echo "${ECHO_T}yes" >&6
11025 else
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11028 fi
11029
11030
11031 enablestring=
11032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11034 no_cache=0
11035 # Check whether --enable-accessibility or --disable-accessibility was given.
11036 if test "${enable_accessibility+set}" = set; then
11037 enableval="$enable_accessibility"
11038
11039 if test "$enableval" = yes; then
11040 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11041 else
11042 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11043 fi
11044
11045 else
11046
11047 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11048 if test "x$LINE" != x ; then
11049 eval "DEFAULT_$LINE"
11050 else
11051 no_cache=1
11052 fi
11053
11054 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11055
11056 fi;
11057
11058 eval "$ac_cv_use_accessibility"
11059 if test "$no_cache" != 1; then
11060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11061 fi
11062
11063 if test "$wxUSE_ACCESSIBILITY" = yes; then
11064 echo "$as_me:$LINENO: result: yes" >&5
11065 echo "${ECHO_T}yes" >&6
11066 else
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11069 fi
11070
11071
11072 if test "$wxUSE_MSW" = "1"; then
11073
11074 enablestring=
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11077 no_cache=0
11078 # Check whether --enable-dccache or --disable-dccache was given.
11079 if test "${enable_dccache+set}" = set; then
11080 enableval="$enable_dccache"
11081
11082 if test "$enableval" = yes; then
11083 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11084 else
11085 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11086 fi
11087
11088 else
11089
11090 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x ; then
11092 eval "DEFAULT_$LINE"
11093 else
11094 no_cache=1
11095 fi
11096
11097 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11098
11099 fi;
11100
11101 eval "$ac_cv_use_dccache"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11104 fi
11105
11106 if test "$wxUSE_DC_CACHEING" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11109 else
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11112 fi
11113
11114 fi
11115
11116
11117
11118 enablestring=
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11121 no_cache=0
11122 # Check whether --enable-palette or --disable-palette was given.
11123 if test "${enable_palette+set}" = set; then
11124 enableval="$enable_palette"
11125
11126 if test "$enableval" = yes; then
11127 ac_cv_use_palette='wxUSE_PALETTE=yes'
11128 else
11129 ac_cv_use_palette='wxUSE_PALETTE=no'
11130 fi
11131
11132 else
11133
11134 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x ; then
11136 eval "DEFAULT_$LINE"
11137 else
11138 no_cache=1
11139 fi
11140
11141 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11142
11143 fi;
11144
11145 eval "$ac_cv_use_palette"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11148 fi
11149
11150 if test "$wxUSE_PALETTE" = yes; then
11151 echo "$as_me:$LINENO: result: yes" >&5
11152 echo "${ECHO_T}yes" >&6
11153 else
11154 echo "$as_me:$LINENO: result: no" >&5
11155 echo "${ECHO_T}no" >&6
11156 fi
11157
11158
11159 enablestring=
11160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11162 no_cache=0
11163 # Check whether --enable-image or --disable-image was given.
11164 if test "${enable_image+set}" = set; then
11165 enableval="$enable_image"
11166
11167 if test "$enableval" = yes; then
11168 ac_cv_use_image='wxUSE_IMAGE=yes'
11169 else
11170 ac_cv_use_image='wxUSE_IMAGE=no'
11171 fi
11172
11173 else
11174
11175 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x ; then
11177 eval "DEFAULT_$LINE"
11178 else
11179 no_cache=1
11180 fi
11181
11182 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11183
11184 fi;
11185
11186 eval "$ac_cv_use_image"
11187 if test "$no_cache" != 1; then
11188 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11189 fi
11190
11191 if test "$wxUSE_IMAGE" = yes; then
11192 echo "$as_me:$LINENO: result: yes" >&5
11193 echo "${ECHO_T}yes" >&6
11194 else
11195 echo "$as_me:$LINENO: result: no" >&5
11196 echo "${ECHO_T}no" >&6
11197 fi
11198
11199
11200 enablestring=
11201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11203 no_cache=0
11204 # Check whether --enable-gif or --disable-gif was given.
11205 if test "${enable_gif+set}" = set; then
11206 enableval="$enable_gif"
11207
11208 if test "$enableval" = yes; then
11209 ac_cv_use_gif='wxUSE_GIF=yes'
11210 else
11211 ac_cv_use_gif='wxUSE_GIF=no'
11212 fi
11213
11214 else
11215
11216 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x ; then
11218 eval "DEFAULT_$LINE"
11219 else
11220 no_cache=1
11221 fi
11222
11223 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11224
11225 fi;
11226
11227 eval "$ac_cv_use_gif"
11228 if test "$no_cache" != 1; then
11229 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11230 fi
11231
11232 if test "$wxUSE_GIF" = yes; then
11233 echo "$as_me:$LINENO: result: yes" >&5
11234 echo "${ECHO_T}yes" >&6
11235 else
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11238 fi
11239
11240
11241 enablestring=
11242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11244 no_cache=0
11245 # Check whether --enable-pcx or --disable-pcx was given.
11246 if test "${enable_pcx+set}" = set; then
11247 enableval="$enable_pcx"
11248
11249 if test "$enableval" = yes; then
11250 ac_cv_use_pcx='wxUSE_PCX=yes'
11251 else
11252 ac_cv_use_pcx='wxUSE_PCX=no'
11253 fi
11254
11255 else
11256
11257 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x ; then
11259 eval "DEFAULT_$LINE"
11260 else
11261 no_cache=1
11262 fi
11263
11264 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11265
11266 fi;
11267
11268 eval "$ac_cv_use_pcx"
11269 if test "$no_cache" != 1; then
11270 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test "$wxUSE_PCX" = yes; then
11274 echo "$as_me:$LINENO: result: yes" >&5
11275 echo "${ECHO_T}yes" >&6
11276 else
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11279 fi
11280
11281
11282 enablestring=
11283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11285 no_cache=0
11286 # Check whether --enable-iff or --disable-iff was given.
11287 if test "${enable_iff+set}" = set; then
11288 enableval="$enable_iff"
11289
11290 if test "$enableval" = yes; then
11291 ac_cv_use_iff='wxUSE_IFF=yes'
11292 else
11293 ac_cv_use_iff='wxUSE_IFF=no'
11294 fi
11295
11296 else
11297
11298 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11301 else
11302 no_cache=1
11303 fi
11304
11305 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11306
11307 fi;
11308
11309 eval "$ac_cv_use_iff"
11310 if test "$no_cache" != 1; then
11311 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11312 fi
11313
11314 if test "$wxUSE_IFF" = yes; then
11315 echo "$as_me:$LINENO: result: yes" >&5
11316 echo "${ECHO_T}yes" >&6
11317 else
11318 echo "$as_me:$LINENO: result: no" >&5
11319 echo "${ECHO_T}no" >&6
11320 fi
11321
11322
11323 enablestring=
11324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11326 no_cache=0
11327 # Check whether --enable-pnm or --disable-pnm was given.
11328 if test "${enable_pnm+set}" = set; then
11329 enableval="$enable_pnm"
11330
11331 if test "$enableval" = yes; then
11332 ac_cv_use_pnm='wxUSE_PNM=yes'
11333 else
11334 ac_cv_use_pnm='wxUSE_PNM=no'
11335 fi
11336
11337 else
11338
11339 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x ; then
11341 eval "DEFAULT_$LINE"
11342 else
11343 no_cache=1
11344 fi
11345
11346 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11347
11348 fi;
11349
11350 eval "$ac_cv_use_pnm"
11351 if test "$no_cache" != 1; then
11352 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11353 fi
11354
11355 if test "$wxUSE_PNM" = yes; then
11356 echo "$as_me:$LINENO: result: yes" >&5
11357 echo "${ECHO_T}yes" >&6
11358 else
11359 echo "$as_me:$LINENO: result: no" >&5
11360 echo "${ECHO_T}no" >&6
11361 fi
11362
11363
11364 enablestring=
11365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11367 no_cache=0
11368 # Check whether --enable-xpm or --disable-xpm was given.
11369 if test "${enable_xpm+set}" = set; then
11370 enableval="$enable_xpm"
11371
11372 if test "$enableval" = yes; then
11373 ac_cv_use_xpm='wxUSE_XPM=yes'
11374 else
11375 ac_cv_use_xpm='wxUSE_XPM=no'
11376 fi
11377
11378 else
11379
11380 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x ; then
11382 eval "DEFAULT_$LINE"
11383 else
11384 no_cache=1
11385 fi
11386
11387 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11388
11389 fi;
11390
11391 eval "$ac_cv_use_xpm"
11392 if test "$no_cache" != 1; then
11393 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11394 fi
11395
11396 if test "$wxUSE_XPM" = yes; then
11397 echo "$as_me:$LINENO: result: yes" >&5
11398 echo "${ECHO_T}yes" >&6
11399 else
11400 echo "$as_me:$LINENO: result: no" >&5
11401 echo "${ECHO_T}no" >&6
11402 fi
11403
11404
11405 enablestring=
11406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11408 no_cache=0
11409 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11410 if test "${enable_ico_cur+set}" = set; then
11411 enableval="$enable_ico_cur"
11412
11413 if test "$enableval" = yes; then
11414 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11415 else
11416 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11417 fi
11418
11419 else
11420
11421 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11424 else
11425 no_cache=1
11426 fi
11427
11428 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11429
11430 fi;
11431
11432 eval "$ac_cv_use_ico_cur"
11433 if test "$no_cache" != 1; then
11434 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11435 fi
11436
11437 if test "$wxUSE_ICO_CUR" = yes; then
11438 echo "$as_me:$LINENO: result: yes" >&5
11439 echo "${ECHO_T}yes" >&6
11440 else
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11443 fi
11444
11445
11446 fi
11447
11448
11449
11450 # Check whether --with-flavour or --without-flavour was given.
11451 if test "${with_flavour+set}" = set; then
11452 withval="$with_flavour"
11453 WX_FLAVOUR="$withval"
11454 fi;
11455
11456
11457
11458 enablestring=
11459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11461 no_cache=0
11462 # Check whether --enable-official_build or --disable-official_build was given.
11463 if test "${enable_official_build+set}" = set; then
11464 enableval="$enable_official_build"
11465
11466 if test "$enableval" = yes; then
11467 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11468 else
11469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11470 fi
11471
11472 else
11473
11474 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x ; then
11476 eval "DEFAULT_$LINE"
11477 else
11478 no_cache=1
11479 fi
11480
11481 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11482
11483 fi;
11484
11485 eval "$ac_cv_use_official_build"
11486 if test "$no_cache" != 1; then
11487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11488 fi
11489
11490 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11491 echo "$as_me:$LINENO: result: yes" >&5
11492 echo "${ECHO_T}yes" >&6
11493 else
11494 echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6
11496 fi
11497
11498 # Check whether --enable-vendor or --disable-vendor was given.
11499 if test "${enable_vendor+set}" = set; then
11500 enableval="$enable_vendor"
11501 VENDOR="$enableval"
11502 fi;
11503 if test "x$VENDOR" = "x"; then
11504 VENDOR="custom"
11505 fi
11506
11507
11508
11509
11510 echo "saving argument cache $wx_arg_cache_file"
11511 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11512
11513
11514
11515 echo "$as_me:$LINENO: checking for toolkit" >&5
11516 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11517
11518 # In Wine, we need to default to MSW, not GTK or MOTIF
11519 if test "$wxUSE_WINE" = "yes"; then
11520 DEFAULT_DEFAULT_wxUSE_GTK=0
11521 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11522 DEFAULT_DEFAULT_wxUSE_MSW=1
11523 wxUSE_SHARED=no
11524 fi
11525
11526
11527 if test "$wxUSE_GUI" = "yes"; then
11528
11529 if test "$USE_BEOS" = 1; then
11530 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11531 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11532 { (exit 1); exit 1; }; }
11533 fi
11534
11535 if test "$TOOLKIT_GIVEN" = 1; then
11536 for toolkit in `echo $ALL_TOOLKITS`; do
11537 var=wxUSE_$toolkit
11538 eval "value=\$${var}"
11539 if test "x$value" = "xno"; then
11540 eval "$var=0"
11541 elif test "x$value" != "x"; then
11542 eval "$var=1"
11543 fi
11544
11545 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11546 eval "wx${toolkit}_VERSION=$value"
11547 fi
11548 done
11549 else
11550 for toolkit in `echo $ALL_TOOLKITS`; do
11551 if test "$has_toolkit_in_cache" != 1; then
11552 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11553 else
11554 var=DEFAULT_wxUSE_$toolkit
11555
11556 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11557 if test "x$version" != "x"; then
11558 eval "wx${toolkit}_VERSION=$version"
11559 fi
11560 fi
11561 eval "wxUSE_$toolkit=\$${var}"
11562 done
11563 fi
11564
11565 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11566 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11567 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11568
11569 case "${host}" in
11570 *-pc-os2_emx | *-pc-os2-emx )
11571 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11572 esac
11573
11574 case "$NUM_TOOLKITS" in
11575 1)
11576 ;;
11577 0)
11578 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11579 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11580 { (exit 1); exit 1; }; }
11581 ;;
11582 *)
11583 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11584 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11585 { (exit 1); exit 1; }; }
11586 esac
11587
11588 # to be removed when --disable-gtk2 isn't needed
11589 if test "x$wxUSE_GTK2" = "xyes"; then
11590 wxGTK_VERSION=2
11591 elif test "x$wxUSE_GTK2" = "xno"; then
11592 wxGTK_VERSION=1
11593 fi
11594
11595 for toolkit in `echo $ALL_TOOLKITS`; do
11596 var=wxUSE_$toolkit
11597 eval "value=\$${var}"
11598 if test "x$value" != x; then
11599 cache_var=CACHE_$toolkit
11600 eval "cache=\$${cache_var}"
11601 if test "$cache" = 1; then
11602 echo "$var=$value" >> ${wx_arg_cache_file}
11603 eval "version=\$wx${toolkit}_VERSION"
11604 if test "x$version" != "x"; then
11605 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11606 fi
11607 fi
11608 if test "$value" = 1; then
11609 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11610 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11611 echo "${ECHO_T}$toolkit_echo" >&6
11612 fi
11613 fi
11614 done
11615 else
11616 if test "x$host_alias" != "x"; then
11617 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11618 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11619 else
11620 echo "$as_me:$LINENO: result: base only" >&5
11621 echo "${ECHO_T}base only" >&6
11622 fi
11623 fi
11624
11625 wants_win32=0
11626 doesnt_want_win32=0
11627 case "${host}" in
11628 *-*-cygwin*)
11629 if test "$wxUSE_MSW" = 1 ; then
11630 wants_win32=1
11631 BAKEFILE_FORCE_PLATFORM=win32
11632 else
11633 doesnt_want_win32=1
11634 fi
11635 ;;
11636 *-*-mingw*)
11637 wants_win32=1
11638 ;;
11639 esac
11640
11641 if test "$wxUSE_WINE" = "yes"; then
11642 wants_win32=1
11643 CC=winegcc
11644 CXX=wineg++
11645 LDFLAGS_GUI="-mwindows"
11646 fi
11647
11648 if test "$wants_win32" = 1 ; then
11649 USE_UNIX=0
11650 USE_WIN32=1
11651 cat >>confdefs.h <<\_ACEOF
11652 #define __WIN32__ 1
11653 _ACEOF
11654
11655 cat >>confdefs.h <<\_ACEOF
11656 #define __WIN95__ 1
11657 _ACEOF
11658
11659 cat >>confdefs.h <<\_ACEOF
11660 #define __WINDOWS__ 1
11661 _ACEOF
11662
11663 cat >>confdefs.h <<\_ACEOF
11664 #define __GNUWIN32__ 1
11665 _ACEOF
11666
11667 cat >>confdefs.h <<\_ACEOF
11668 #define STRICT 1
11669 _ACEOF
11670
11671 cat >>confdefs.h <<\_ACEOF
11672 #define WINVER 0x0400
11673 _ACEOF
11674
11675 fi
11676 if test "$doesnt_want_win32" = 1 ; then
11677 USE_UNIX=1
11678 USE_WIN32=0
11679 fi
11680
11681 if test "$USE_UNIX" = 1 ; then
11682 wxUSE_UNIX=yes
11683 cat >>confdefs.h <<\_ACEOF
11684 #define __UNIX__ 1
11685 _ACEOF
11686
11687 fi
11688
11689
11690 cat >confcache <<\_ACEOF
11691 # This file is a shell script that caches the results of configure
11692 # tests run on this system so they can be shared between configure
11693 # scripts and configure runs, see configure's option --config-cache.
11694 # It is not useful on other systems. If it contains results you don't
11695 # want to keep, you may remove or edit it.
11696 #
11697 # config.status only pays attention to the cache file if you give it
11698 # the --recheck option to rerun configure.
11699 #
11700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11702 # following values.
11703
11704 _ACEOF
11705
11706 # The following way of writing the cache mishandles newlines in values,
11707 # but we know of no workaround that is simple, portable, and efficient.
11708 # So, don't put newlines in cache variables' values.
11709 # Ultrix sh set writes to stderr and can't be redirected directly,
11710 # and sets the high bit in the cache file unless we assign to the vars.
11711 {
11712 (set) 2>&1 |
11713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11714 *ac_space=\ *)
11715 # `set' does not quote correctly, so add quotes (double-quote
11716 # substitution turns \\\\ into \\, and sed turns \\ into \).
11717 sed -n \
11718 "s/'/'\\\\''/g;
11719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11720 ;;
11721 *)
11722 # `set' quotes correctly as required by POSIX, so do not add quotes.
11723 sed -n \
11724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11725 ;;
11726 esac;
11727 } |
11728 sed '
11729 t clear
11730 : clear
11731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11732 t end
11733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11734 : end' >>confcache
11735 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11736 if test -w $cache_file; then
11737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11738 cat confcache >$cache_file
11739 else
11740 echo "not updating unwritable cache $cache_file"
11741 fi
11742 fi
11743 rm -f confcache
11744
11745 CFLAGS=${CFLAGS:=}
11746
11747
11748
11749 ac_ext=c
11750 ac_cpp='$CPP $CPPFLAGS'
11751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11754 if test -n "$ac_tool_prefix"; then
11755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11757 echo "$as_me:$LINENO: checking for $ac_word" >&5
11758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11759 if test "${ac_cv_prog_CC+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11762 if test -n "$CC"; then
11763 ac_cv_prog_CC="$CC" # Let the user override the test.
11764 else
11765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11766 for as_dir in $PATH
11767 do
11768 IFS=$as_save_IFS
11769 test -z "$as_dir" && as_dir=.
11770 for ac_exec_ext in '' $ac_executable_extensions; do
11771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11774 break 2
11775 fi
11776 done
11777 done
11778
11779 fi
11780 fi
11781 CC=$ac_cv_prog_CC
11782 if test -n "$CC"; then
11783 echo "$as_me:$LINENO: result: $CC" >&5
11784 echo "${ECHO_T}$CC" >&6
11785 else
11786 echo "$as_me:$LINENO: result: no" >&5
11787 echo "${ECHO_T}no" >&6
11788 fi
11789
11790 fi
11791 if test -z "$ac_cv_prog_CC"; then
11792 ac_ct_CC=$CC
11793 # Extract the first word of "gcc", so it can be a program name with args.
11794 set dummy gcc; ac_word=$2
11795 echo "$as_me:$LINENO: checking for $ac_word" >&5
11796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 else
11800 if test -n "$ac_ct_CC"; then
11801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11802 else
11803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11804 for as_dir in $PATH
11805 do
11806 IFS=$as_save_IFS
11807 test -z "$as_dir" && as_dir=.
11808 for ac_exec_ext in '' $ac_executable_extensions; do
11809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_prog_ac_ct_CC="gcc"
11811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 break 2
11813 fi
11814 done
11815 done
11816
11817 fi
11818 fi
11819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11820 if test -n "$ac_ct_CC"; then
11821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11822 echo "${ECHO_T}$ac_ct_CC" >&6
11823 else
11824 echo "$as_me:$LINENO: result: no" >&5
11825 echo "${ECHO_T}no" >&6
11826 fi
11827
11828 CC=$ac_ct_CC
11829 else
11830 CC="$ac_cv_prog_CC"
11831 fi
11832
11833 if test -z "$CC"; then
11834 if test -n "$ac_tool_prefix"; then
11835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11836 set dummy ${ac_tool_prefix}cc; ac_word=$2
11837 echo "$as_me:$LINENO: checking for $ac_word" >&5
11838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11839 if test "${ac_cv_prog_CC+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 else
11842 if test -n "$CC"; then
11843 ac_cv_prog_CC="$CC" # Let the user override the test.
11844 else
11845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11846 for as_dir in $PATH
11847 do
11848 IFS=$as_save_IFS
11849 test -z "$as_dir" && as_dir=.
11850 for ac_exec_ext in '' $ac_executable_extensions; do
11851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11852 ac_cv_prog_CC="${ac_tool_prefix}cc"
11853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 break 2
11855 fi
11856 done
11857 done
11858
11859 fi
11860 fi
11861 CC=$ac_cv_prog_CC
11862 if test -n "$CC"; then
11863 echo "$as_me:$LINENO: result: $CC" >&5
11864 echo "${ECHO_T}$CC" >&6
11865 else
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11868 fi
11869
11870 fi
11871 if test -z "$ac_cv_prog_CC"; then
11872 ac_ct_CC=$CC
11873 # Extract the first word of "cc", so it can be a program name with args.
11874 set dummy cc; ac_word=$2
11875 echo "$as_me:$LINENO: checking for $ac_word" >&5
11876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 else
11880 if test -n "$ac_ct_CC"; then
11881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11882 else
11883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11884 for as_dir in $PATH
11885 do
11886 IFS=$as_save_IFS
11887 test -z "$as_dir" && as_dir=.
11888 for ac_exec_ext in '' $ac_executable_extensions; do
11889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11890 ac_cv_prog_ac_ct_CC="cc"
11891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 break 2
11893 fi
11894 done
11895 done
11896
11897 fi
11898 fi
11899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11900 if test -n "$ac_ct_CC"; then
11901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11902 echo "${ECHO_T}$ac_ct_CC" >&6
11903 else
11904 echo "$as_me:$LINENO: result: no" >&5
11905 echo "${ECHO_T}no" >&6
11906 fi
11907
11908 CC=$ac_ct_CC
11909 else
11910 CC="$ac_cv_prog_CC"
11911 fi
11912
11913 fi
11914 if test -z "$CC"; then
11915 # Extract the first word of "cc", so it can be a program name with args.
11916 set dummy cc; ac_word=$2
11917 echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11919 if test "${ac_cv_prog_CC+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 else
11922 if test -n "$CC"; then
11923 ac_cv_prog_CC="$CC" # Let the user override the test.
11924 else
11925 ac_prog_rejected=no
11926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11927 for as_dir in $PATH
11928 do
11929 IFS=$as_save_IFS
11930 test -z "$as_dir" && as_dir=.
11931 for ac_exec_ext in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11934 ac_prog_rejected=yes
11935 continue
11936 fi
11937 ac_cv_prog_CC="cc"
11938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 break 2
11940 fi
11941 done
11942 done
11943
11944 if test $ac_prog_rejected = yes; then
11945 # We found a bogon in the path, so make sure we never use it.
11946 set dummy $ac_cv_prog_CC
11947 shift
11948 if test $# != 0; then
11949 # We chose a different compiler from the bogus one.
11950 # However, it has the same basename, so the bogon will be chosen
11951 # first if we set CC to just the basename; use the full file name.
11952 shift
11953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11954 fi
11955 fi
11956 fi
11957 fi
11958 CC=$ac_cv_prog_CC
11959 if test -n "$CC"; then
11960 echo "$as_me:$LINENO: result: $CC" >&5
11961 echo "${ECHO_T}$CC" >&6
11962 else
11963 echo "$as_me:$LINENO: result: no" >&5
11964 echo "${ECHO_T}no" >&6
11965 fi
11966
11967 fi
11968 if test -z "$CC"; then
11969 if test -n "$ac_tool_prefix"; then
11970 for ac_prog in cl
11971 do
11972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_CC+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 else
11979 if test -n "$CC"; then
11980 ac_cv_prog_CC="$CC" # Let the user override the test.
11981 else
11982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11984 do
11985 IFS=$as_save_IFS
11986 test -z "$as_dir" && as_dir=.
11987 for ac_exec_ext in '' $ac_executable_extensions; do
11988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 break 2
11992 fi
11993 done
11994 done
11995
11996 fi
11997 fi
11998 CC=$ac_cv_prog_CC
11999 if test -n "$CC"; then
12000 echo "$as_me:$LINENO: result: $CC" >&5
12001 echo "${ECHO_T}$CC" >&6
12002 else
12003 echo "$as_me:$LINENO: result: no" >&5
12004 echo "${ECHO_T}no" >&6
12005 fi
12006
12007 test -n "$CC" && break
12008 done
12009 fi
12010 if test -z "$CC"; then
12011 ac_ct_CC=$CC
12012 for ac_prog in cl
12013 do
12014 # Extract the first word of "$ac_prog", so it can be a program name with args.
12015 set dummy $ac_prog; ac_word=$2
12016 echo "$as_me:$LINENO: checking for $ac_word" >&5
12017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 else
12021 if test -n "$ac_ct_CC"; then
12022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12023 else
12024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025 for as_dir in $PATH
12026 do
12027 IFS=$as_save_IFS
12028 test -z "$as_dir" && as_dir=.
12029 for ac_exec_ext in '' $ac_executable_extensions; do
12030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12031 ac_cv_prog_ac_ct_CC="$ac_prog"
12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 break 2
12034 fi
12035 done
12036 done
12037
12038 fi
12039 fi
12040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12041 if test -n "$ac_ct_CC"; then
12042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12043 echo "${ECHO_T}$ac_ct_CC" >&6
12044 else
12045 echo "$as_me:$LINENO: result: no" >&5
12046 echo "${ECHO_T}no" >&6
12047 fi
12048
12049 test -n "$ac_ct_CC" && break
12050 done
12051
12052 CC=$ac_ct_CC
12053 fi
12054
12055 fi
12056
12057
12058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12059 See \`config.log' for more details." >&5
12060 echo "$as_me: error: no acceptable C compiler found in \$PATH
12061 See \`config.log' for more details." >&2;}
12062 { (exit 1); exit 1; }; }
12063
12064 # Provide some information about the compiler.
12065 echo "$as_me:$LINENO:" \
12066 "checking for C compiler version" >&5
12067 ac_compiler=`set X $ac_compile; echo $2`
12068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12069 (eval $ac_compiler --version </dev/null >&5) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }
12073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12074 (eval $ac_compiler -v </dev/null >&5) 2>&5
12075 ac_status=$?
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }
12078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12079 (eval $ac_compiler -V </dev/null >&5) 2>&5
12080 ac_status=$?
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }
12083
12084 cat >conftest.$ac_ext <<_ACEOF
12085 /* confdefs.h. */
12086 _ACEOF
12087 cat confdefs.h >>conftest.$ac_ext
12088 cat >>conftest.$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12090
12091 int
12092 main ()
12093 {
12094
12095 ;
12096 return 0;
12097 }
12098 _ACEOF
12099 ac_clean_files_save=$ac_clean_files
12100 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12101 # Try to create an executable without -o first, disregard a.out.
12102 # It will help us diagnose broken compilers, and finding out an intuition
12103 # of exeext.
12104 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12105 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12106 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12108 (eval $ac_link_default) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; then
12112 # Find the output, starting from the most likely. This scheme is
12113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12114 # resort.
12115
12116 # Be careful to initialize this variable, since it used to be cached.
12117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12118 ac_cv_exeext=
12119 # b.out is created by i960 compilers.
12120 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12121 do
12122 test -f "$ac_file" || continue
12123 case $ac_file in
12124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12125 ;;
12126 conftest.$ac_ext )
12127 # This is the source file.
12128 ;;
12129 [ab].out )
12130 # We found the default executable, but exeext='' is most
12131 # certainly right.
12132 break;;
12133 *.* )
12134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12135 # FIXME: I believe we export ac_cv_exeext for Libtool,
12136 # but it would be cool to find out if it's true. Does anybody
12137 # maintain Libtool? --akim.
12138 export ac_cv_exeext
12139 break;;
12140 * )
12141 break;;
12142 esac
12143 done
12144 else
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12147
12148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12149 See \`config.log' for more details." >&5
12150 echo "$as_me: error: C compiler cannot create executables
12151 See \`config.log' for more details." >&2;}
12152 { (exit 77); exit 77; }; }
12153 fi
12154
12155 ac_exeext=$ac_cv_exeext
12156 echo "$as_me:$LINENO: result: $ac_file" >&5
12157 echo "${ECHO_T}$ac_file" >&6
12158
12159 # Check the compiler produces executables we can run. If not, either
12160 # the compiler is broken, or we cross compile.
12161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12164 # If not cross compiling, check that we can run a simple program.
12165 if test "$cross_compiling" != yes; then
12166 if { ac_try='./$ac_file'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12169 ac_status=$?
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then
12172 cross_compiling=no
12173 else
12174 if test "$cross_compiling" = maybe; then
12175 cross_compiling=yes
12176 else
12177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12178 If you meant to cross compile, use \`--host'.
12179 See \`config.log' for more details." >&5
12180 echo "$as_me: error: cannot run C compiled programs.
12181 If you meant to cross compile, use \`--host'.
12182 See \`config.log' for more details." >&2;}
12183 { (exit 1); exit 1; }; }
12184 fi
12185 fi
12186 fi
12187 echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6
12189
12190 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12191 ac_clean_files=$ac_clean_files_save
12192 # Check the compiler produces executables we can run. If not, either
12193 # the compiler is broken, or we cross compile.
12194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12197 echo "${ECHO_T}$cross_compiling" >&6
12198
12199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12202 (eval $ac_link) 2>&5
12203 ac_status=$?
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; then
12206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12208 # work properly (i.e., refer to `conftest.exe'), while it won't with
12209 # `rm'.
12210 for ac_file in conftest.exe conftest conftest.*; do
12211 test -f "$ac_file" || continue
12212 case $ac_file in
12213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12214 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12215 export ac_cv_exeext
12216 break;;
12217 * ) break;;
12218 esac
12219 done
12220 else
12221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12222 See \`config.log' for more details." >&5
12223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12224 See \`config.log' for more details." >&2;}
12225 { (exit 1); exit 1; }; }
12226 fi
12227
12228 rm -f conftest$ac_cv_exeext
12229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12230 echo "${ECHO_T}$ac_cv_exeext" >&6
12231
12232 rm -f conftest.$ac_ext
12233 EXEEXT=$ac_cv_exeext
12234 ac_exeext=$EXEEXT
12235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12237 if test "${ac_cv_objext+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 else
12240 cat >conftest.$ac_ext <<_ACEOF
12241 /* confdefs.h. */
12242 _ACEOF
12243 cat confdefs.h >>conftest.$ac_ext
12244 cat >>conftest.$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12246
12247 int
12248 main ()
12249 {
12250
12251 ;
12252 return 0;
12253 }
12254 _ACEOF
12255 rm -f conftest.o conftest.obj
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>&5
12258 ac_status=$?
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); }; then
12261 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12262 case $ac_file in
12263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12264 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12265 break;;
12266 esac
12267 done
12268 else
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.$ac_ext >&5
12271
12272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12273 See \`config.log' for more details." >&5
12274 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12275 See \`config.log' for more details." >&2;}
12276 { (exit 1); exit 1; }; }
12277 fi
12278
12279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12280 fi
12281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12282 echo "${ECHO_T}$ac_cv_objext" >&6
12283 OBJEXT=$ac_cv_objext
12284 ac_objext=$OBJEXT
12285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 else
12290 cat >conftest.$ac_ext <<_ACEOF
12291 /* confdefs.h. */
12292 _ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296
12297 int
12298 main ()
12299 {
12300 #ifndef __GNUC__
12301 choke me
12302 #endif
12303
12304 ;
12305 return 0;
12306 }
12307 _ACEOF
12308 rm -f conftest.$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>conftest.er1
12311 ac_status=$?
12312 grep -v '^ *+' conftest.er1 >conftest.err
12313 rm -f conftest.er1
12314 cat conftest.err >&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try='test -z "$ac_c_werror_flag"
12318 || test ! -s conftest.err'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12321 ac_status=$?
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; } &&
12324 { ac_try='test -s conftest.$ac_objext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 ac_compiler_gnu=yes
12331 else
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.$ac_ext >&5
12334
12335 ac_compiler_gnu=no
12336 fi
12337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12338 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12339
12340 fi
12341 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12342 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12343 GCC=`test $ac_compiler_gnu = yes && echo yes`
12344 ac_test_CFLAGS=${CFLAGS+set}
12345 ac_save_CFLAGS=$CFLAGS
12346 CFLAGS="-g"
12347 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12348 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12349 if test "${ac_cv_prog_cc_g+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 else
12352 cat >conftest.$ac_ext <<_ACEOF
12353 /* confdefs.h. */
12354 _ACEOF
12355 cat confdefs.h >>conftest.$ac_ext
12356 cat >>conftest.$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12358
12359 int
12360 main ()
12361 {
12362
12363 ;
12364 return 0;
12365 }
12366 _ACEOF
12367 rm -f conftest.$ac_objext
12368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12369 (eval $ac_compile) 2>conftest.er1
12370 ac_status=$?
12371 grep -v '^ *+' conftest.er1 >conftest.err
12372 rm -f conftest.er1
12373 cat conftest.err >&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); } &&
12376 { ac_try='test -z "$ac_c_werror_flag"
12377 || test ! -s conftest.err'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12380 ac_status=$?
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; } &&
12383 { ac_try='test -s conftest.$ac_objext'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12386 ac_status=$?
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; }; then
12389 ac_cv_prog_cc_g=yes
12390 else
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12393
12394 ac_cv_prog_cc_g=no
12395 fi
12396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12397 fi
12398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12399 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12400 if test "$ac_test_CFLAGS" = set; then
12401 CFLAGS=$ac_save_CFLAGS
12402 elif test $ac_cv_prog_cc_g = yes; then
12403 if test "$GCC" = yes; then
12404 CFLAGS="-g -O2"
12405 else
12406 CFLAGS="-g"
12407 fi
12408 else
12409 if test "$GCC" = yes; then
12410 CFLAGS="-O2"
12411 else
12412 CFLAGS=
12413 fi
12414 fi
12415 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12416 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12417 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 else
12420 ac_cv_prog_cc_stdc=no
12421 ac_save_CC=$CC
12422 cat >conftest.$ac_ext <<_ACEOF
12423 /* confdefs.h. */
12424 _ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428 #include <stdarg.h>
12429 #include <stdio.h>
12430 #include <sys/types.h>
12431 #include <sys/stat.h>
12432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12433 struct buf { int x; };
12434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12435 static char *e (p, i)
12436 char **p;
12437 int i;
12438 {
12439 return p[i];
12440 }
12441 static char *f (char * (*g) (char **, int), char **p, ...)
12442 {
12443 char *s;
12444 va_list v;
12445 va_start (v,p);
12446 s = g (p, va_arg (v,int));
12447 va_end (v);
12448 return s;
12449 }
12450
12451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12452 function prototypes and stuff, but not '\xHH' hex character constants.
12453 These don't provoke an error unfortunately, instead are silently treated
12454 as 'x'. The following induces an error, until -std1 is added to get
12455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12456 array size at least. It's necessary to write '\x00'==0 to get something
12457 that's true only with -std1. */
12458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12459
12460 int test (int i, double x);
12461 struct s1 {int (*f) (int a);};
12462 struct s2 {int (*f) (double a);};
12463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12464 int argc;
12465 char **argv;
12466 int
12467 main ()
12468 {
12469 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12470 ;
12471 return 0;
12472 }
12473 _ACEOF
12474 # Don't try gcc -ansi; that turns off useful extensions and
12475 # breaks some systems' header files.
12476 # AIX -qlanglvl=ansi
12477 # Ultrix and OSF/1 -std1
12478 # HP-UX 10.20 and later -Ae
12479 # HP-UX older versions -Aa -D_HPUX_SOURCE
12480 # SVR4 -Xc -D__EXTENSIONS__
12481 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12482 do
12483 CC="$ac_save_CC $ac_arg"
12484 rm -f conftest.$ac_objext
12485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12486 (eval $ac_compile) 2>conftest.er1
12487 ac_status=$?
12488 grep -v '^ *+' conftest.er1 >conftest.err
12489 rm -f conftest.er1
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } &&
12493 { ac_try='test -z "$ac_c_werror_flag"
12494 || test ! -s conftest.err'
12495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12496 (eval $ac_try) 2>&5
12497 ac_status=$?
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); }; } &&
12500 { ac_try='test -s conftest.$ac_objext'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12503 ac_status=$?
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; }; then
12506 ac_cv_prog_cc_stdc=$ac_arg
12507 break
12508 else
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.$ac_ext >&5
12511
12512 fi
12513 rm -f conftest.err conftest.$ac_objext
12514 done
12515 rm -f conftest.$ac_ext conftest.$ac_objext
12516 CC=$ac_save_CC
12517
12518 fi
12519
12520 case "x$ac_cv_prog_cc_stdc" in
12521 x|xno)
12522 echo "$as_me:$LINENO: result: none needed" >&5
12523 echo "${ECHO_T}none needed" >&6 ;;
12524 *)
12525 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12526 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12527 CC="$CC $ac_cv_prog_cc_stdc" ;;
12528 esac
12529
12530 # Some people use a C++ compiler to compile C. Since we use `exit',
12531 # in C++ we need to declare it. In case someone uses the same compiler
12532 # for both compiling C and C++ we need to have the C++ compiler decide
12533 # the declaration of exit, since it's the most demanding environment.
12534 cat >conftest.$ac_ext <<_ACEOF
12535 #ifndef __cplusplus
12536 choke me
12537 #endif
12538 _ACEOF
12539 rm -f conftest.$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -z "$ac_c_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12552 ac_status=$?
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12558 ac_status=$?
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 for ac_declaration in \
12562 '' \
12563 'extern "C" void std::exit (int) throw (); using std::exit;' \
12564 'extern "C" void std::exit (int); using std::exit;' \
12565 'extern "C" void exit (int) throw ();' \
12566 'extern "C" void exit (int);' \
12567 'void exit (int);'
12568 do
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 $ac_declaration
12576 #include <stdlib.h>
12577 int
12578 main ()
12579 {
12580 exit (42);
12581 ;
12582 return 0;
12583 }
12584 _ACEOF
12585 rm -f conftest.$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>conftest.er1
12588 ac_status=$?
12589 grep -v '^ *+' conftest.er1 >conftest.err
12590 rm -f conftest.er1
12591 cat conftest.err >&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try='test -z "$ac_c_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12604 ac_status=$?
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 :
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12611
12612 continue
12613 fi
12614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 $ac_declaration
12622 int
12623 main ()
12624 {
12625 exit (42);
12626 ;
12627 return 0;
12628 }
12629 _ACEOF
12630 rm -f conftest.$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12633 ac_status=$?
12634 grep -v '^ *+' conftest.er1 >conftest.err
12635 rm -f conftest.er1
12636 cat conftest.err >&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try='test -z "$ac_c_werror_flag"
12640 || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12649 ac_status=$?
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 break
12653 else
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12656
12657 fi
12658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12659 done
12660 rm -f conftest*
12661 if test -n "$ac_declaration"; then
12662 echo '#ifdef __cplusplus' >>confdefs.h
12663 echo $ac_declaration >>confdefs.h
12664 echo '#endif' >>confdefs.h
12665 fi
12666
12667 else
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.$ac_ext >&5
12670
12671 fi
12672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12673 ac_ext=c
12674 ac_cpp='$CPP $CPPFLAGS'
12675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12678
12679
12680
12681 ac_ext=c
12682 ac_cpp='$CPP $CPPFLAGS'
12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12686
12687 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12688 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12689 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12691 else
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698
12699 int
12700 main ()
12701 {
12702
12703 #ifndef __INTEL_COMPILER
12704 choke me
12705 #endif
12706
12707 ;
12708 return 0;
12709 }
12710 _ACEOF
12711 rm -f conftest.$ac_objext
12712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12713 (eval $ac_compile) 2>conftest.er1
12714 ac_status=$?
12715 grep -v '^ *+' conftest.er1 >conftest.err
12716 rm -f conftest.er1
12717 cat conftest.err >&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } &&
12720 { ac_try='test -z "$ac_c_werror_flag"
12721 || test ! -s conftest.err'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12724 ac_status=$?
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; } &&
12727 { ac_try='test -s conftest.$ac_objext'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12730 ac_status=$?
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; }; then
12733 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12734 else
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.$ac_ext >&5
12737
12738 bakefile_cv_c_compiler___INTEL_COMPILER=no
12739
12740 fi
12741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12742
12743
12744 fi
12745 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12746 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12747 ac_ext=c
12748 ac_cpp='$CPP $CPPFLAGS'
12749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12752
12753 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12754 :; INTELCC=yes
12755 else
12756 :;
12757 fi
12758
12759
12760 if test "x$GCC" != "xyes"; then
12761 if test "xCC" = "xC"; then
12762 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12763 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12764 if test "${bakefile_cv_c_exto+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 cat >conftest.$ac_ext <<_ACEOF
12768 /* confdefs.h. */
12769 _ACEOF
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773
12774 int
12775 main ()
12776 {
12777
12778 ;
12779 return 0;
12780 }
12781 _ACEOF
12782 rm -f conftest.$ac_objext conftest.$ac_ext.o
12783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12784 (eval $ac_compile) 2>&5
12785 ac_status=$?
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; then
12788 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12789 case $ac_file in
12790 conftest.$ac_ext.o)
12791 bakefile_cv_c_exto="-ext o"
12792 ;;
12793 *)
12794 ;;
12795 esac
12796 done
12797 else
12798 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12799 See \`config.log' for more details." >&5
12800 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12801 See \`config.log' for more details." >&2;}
12802 { (exit 1); exit 1; }; }
12803
12804 fi
12805
12806 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12807
12808 fi
12809 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12810 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12811 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12812 if test "c" = "c"; then
12813 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12814 fi
12815 if test "c" = "cxx"; then
12816 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12817 fi
12818 fi
12819
12820 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12821 unset ac_cv_prog_cc_g
12822 ac_test_CFLAGS=${CFLAGS+set}
12823 ac_save_CFLAGS=$CFLAGS
12824 CFLAGS="-g"
12825 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12827 if test "${ac_cv_prog_cc_g+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 else
12830 cat >conftest.$ac_ext <<_ACEOF
12831 /* confdefs.h. */
12832 _ACEOF
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836
12837 int
12838 main ()
12839 {
12840
12841 ;
12842 return 0;
12843 }
12844 _ACEOF
12845 rm -f conftest.$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12848 ac_status=$?
12849 grep -v '^ *+' conftest.er1 >conftest.err
12850 rm -f conftest.er1
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try='test -z "$ac_c_werror_flag"
12855 || test ! -s conftest.err'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12858 ac_status=$?
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try='test -s conftest.$ac_objext'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 ac_cv_prog_cc_g=yes
12868 else
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.$ac_ext >&5
12871
12872 ac_cv_prog_cc_g=no
12873 fi
12874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12875 fi
12876 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12877 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12878 if test "$ac_test_CFLAGS" = set; then
12879 CFLAGS=$ac_save_CFLAGS
12880 elif test $ac_cv_prog_cc_g = yes; then
12881 if test "$GCC" = yes; then
12882 CFLAGS="-g -O2"
12883 else
12884 CFLAGS="-g"
12885 fi
12886 else
12887 if test "$GCC" = yes; then
12888 CFLAGS="-O2"
12889 else
12890 CFLAGS=
12891 fi
12892 fi
12893 fi
12894 fi
12895
12896 case `uname -s` in
12897 AIX*)
12898 ac_ext=c
12899 ac_cpp='$CPP $CPPFLAGS'
12900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12903
12904 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12905 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12906 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 else
12909 cat >conftest.$ac_ext <<_ACEOF
12910 /* confdefs.h. */
12911 _ACEOF
12912 cat confdefs.h >>conftest.$ac_ext
12913 cat >>conftest.$ac_ext <<_ACEOF
12914 /* end confdefs.h. */
12915
12916 int
12917 main ()
12918 {
12919 #ifndef __xlC__
12920 choke me
12921 #endif
12922
12923 ;
12924 return 0;
12925 }
12926 _ACEOF
12927 rm -f conftest.$ac_objext
12928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12929 (eval $ac_compile) 2>conftest.er1
12930 ac_status=$?
12931 grep -v '^ *+' conftest.er1 >conftest.err
12932 rm -f conftest.er1
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } &&
12936 { ac_try='test -z "$ac_c_werror_flag"
12937 || test ! -s conftest.err'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; } &&
12943 { ac_try='test -s conftest.$ac_objext'
12944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12945 (eval $ac_try) 2>&5
12946 ac_status=$?
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); }; }; then
12949 bakefile_compiler_xlc=yes
12950 else
12951 echo "$as_me: failed program was:" >&5
12952 sed 's/^/| /' conftest.$ac_ext >&5
12953
12954 bakefile_compiler_xlc=no
12955 fi
12956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12957 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12958
12959 fi
12960 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12961 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12962
12963 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12964 ac_ext=c
12965 ac_cpp='$CPP $CPPFLAGS'
12966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12969
12970
12971 ;;
12972
12973 Darwin)
12974 ac_ext=c
12975 ac_cpp='$CPP $CPPFLAGS'
12976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12979
12980 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12981 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12982 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 else
12985 cat >conftest.$ac_ext <<_ACEOF
12986 /* confdefs.h. */
12987 _ACEOF
12988 cat confdefs.h >>conftest.$ac_ext
12989 cat >>conftest.$ac_ext <<_ACEOF
12990 /* end confdefs.h. */
12991
12992 int
12993 main ()
12994 {
12995 #ifndef __MWERKS__
12996 choke me
12997 #endif
12998
12999 ;
13000 return 0;
13001 }
13002 _ACEOF
13003 rm -f conftest.$ac_objext
13004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13005 (eval $ac_compile) 2>conftest.er1
13006 ac_status=$?
13007 grep -v '^ *+' conftest.er1 >conftest.err
13008 rm -f conftest.er1
13009 cat conftest.err >&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); } &&
13012 { ac_try='test -z "$ac_c_werror_flag"
13013 || test ! -s conftest.err'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13016 ac_status=$?
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; } &&
13019 { ac_try='test -s conftest.$ac_objext'
13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13021 (eval $ac_try) 2>&5
13022 ac_status=$?
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); }; }; then
13025 bakefile_compiler_mwerks=yes
13026 else
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13029
13030 bakefile_compiler_mwerks=no
13031 fi
13032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13033 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13034
13035 fi
13036 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13037 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13038
13039 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13040 ac_ext=c
13041 ac_cpp='$CPP $CPPFLAGS'
13042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13045
13046
13047 ac_ext=c
13048 ac_cpp='$CPP $CPPFLAGS'
13049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13052
13053 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13055 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13057 else
13058 cat >conftest.$ac_ext <<_ACEOF
13059 /* confdefs.h. */
13060 _ACEOF
13061 cat confdefs.h >>conftest.$ac_ext
13062 cat >>conftest.$ac_ext <<_ACEOF
13063 /* end confdefs.h. */
13064
13065 int
13066 main ()
13067 {
13068 #ifndef __xlC__
13069 choke me
13070 #endif
13071
13072 ;
13073 return 0;
13074 }
13075 _ACEOF
13076 rm -f conftest.$ac_objext
13077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13078 (eval $ac_compile) 2>conftest.er1
13079 ac_status=$?
13080 grep -v '^ *+' conftest.er1 >conftest.err
13081 rm -f conftest.er1
13082 cat conftest.err >&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } &&
13085 { ac_try='test -z "$ac_c_werror_flag"
13086 || test ! -s conftest.err'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13089 ac_status=$?
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; } &&
13092 { ac_try='test -s conftest.$ac_objext'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 bakefile_compiler_xlc=yes
13099 else
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.$ac_ext >&5
13102
13103 bakefile_compiler_xlc=no
13104 fi
13105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13106 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13107
13108 fi
13109 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13110 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13111
13112 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13113 ac_ext=c
13114 ac_cpp='$CPP $CPPFLAGS'
13115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13118
13119
13120 ;;
13121
13122 IRIX*)
13123
13124
13125 ac_ext=c
13126 ac_cpp='$CPP $CPPFLAGS'
13127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13130
13131 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13132 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13133 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 else
13136 cat >conftest.$ac_ext <<_ACEOF
13137 /* confdefs.h. */
13138 _ACEOF
13139 cat confdefs.h >>conftest.$ac_ext
13140 cat >>conftest.$ac_ext <<_ACEOF
13141 /* end confdefs.h. */
13142
13143 int
13144 main ()
13145 {
13146
13147 #ifndef _SGI_COMPILER_VERSION
13148 choke me
13149 #endif
13150
13151 ;
13152 return 0;
13153 }
13154 _ACEOF
13155 rm -f conftest.$ac_objext
13156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157 (eval $ac_compile) 2>conftest.er1
13158 ac_status=$?
13159 grep -v '^ *+' conftest.er1 >conftest.err
13160 rm -f conftest.er1
13161 cat conftest.err >&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); } &&
13164 { ac_try='test -z "$ac_c_werror_flag"
13165 || test ! -s conftest.err'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13168 ac_status=$?
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; } &&
13171 { ac_try='test -s conftest.$ac_objext'
13172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 (eval $ac_try) 2>&5
13174 ac_status=$?
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; }; then
13177 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13178 else
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13181
13182 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13183
13184 fi
13185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13186
13187
13188 fi
13189 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13190 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13191 ac_ext=c
13192 ac_cpp='$CPP $CPPFLAGS'
13193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13196
13197 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13198 :; SGICC=yes
13199 else
13200 :;
13201 fi
13202
13203
13204 ;;
13205
13206 HP-UX*)
13207
13208
13209 ac_ext=c
13210 ac_cpp='$CPP $CPPFLAGS'
13211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13214
13215 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13216 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13217 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 else
13220 cat >conftest.$ac_ext <<_ACEOF
13221 /* confdefs.h. */
13222 _ACEOF
13223 cat confdefs.h >>conftest.$ac_ext
13224 cat >>conftest.$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226
13227 int
13228 main ()
13229 {
13230
13231 #ifndef __HP_cc
13232 choke me
13233 #endif
13234
13235 ;
13236 return 0;
13237 }
13238 _ACEOF
13239 rm -f conftest.$ac_objext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>conftest.er1
13242 ac_status=$?
13243 grep -v '^ *+' conftest.er1 >conftest.err
13244 rm -f conftest.er1
13245 cat conftest.err >&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try='test -s conftest.$ac_objext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13258 ac_status=$?
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 bakefile_cv_c_compiler___HP_cc=yes
13262 else
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13265
13266 bakefile_cv_c_compiler___HP_cc=no
13267
13268 fi
13269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13270
13271
13272 fi
13273 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13274 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13275 ac_ext=c
13276 ac_cpp='$CPP $CPPFLAGS'
13277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13280
13281 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13282 :; HPCC=yes
13283 else
13284 :;
13285 fi
13286
13287
13288 ;;
13289
13290 OSF1)
13291
13292
13293 ac_ext=c
13294 ac_cpp='$CPP $CPPFLAGS'
13295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13298
13299 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13300 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13301 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 else
13304 cat >conftest.$ac_ext <<_ACEOF
13305 /* confdefs.h. */
13306 _ACEOF
13307 cat confdefs.h >>conftest.$ac_ext
13308 cat >>conftest.$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13310
13311 int
13312 main ()
13313 {
13314
13315 #ifndef __DECC
13316 choke me
13317 #endif
13318
13319 ;
13320 return 0;
13321 }
13322 _ACEOF
13323 rm -f conftest.$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>conftest.er1
13326 ac_status=$?
13327 grep -v '^ *+' conftest.er1 >conftest.err
13328 rm -f conftest.er1
13329 cat conftest.err >&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } &&
13332 { ac_try='test -z "$ac_c_werror_flag"
13333 || test ! -s conftest.err'
13334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13335 (eval $ac_try) 2>&5
13336 ac_status=$?
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }; } &&
13339 { ac_try='test -s conftest.$ac_objext'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13342 ac_status=$?
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; }; then
13345 bakefile_cv_c_compiler___DECC=yes
13346 else
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13349
13350 bakefile_cv_c_compiler___DECC=no
13351
13352 fi
13353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13354
13355
13356 fi
13357 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13358 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13359 ac_ext=c
13360 ac_cpp='$CPP $CPPFLAGS'
13361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13364
13365 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13366 :; COMPAQCC=yes
13367 else
13368 :;
13369 fi
13370
13371
13372 ;;
13373
13374 SunOS)
13375
13376
13377 ac_ext=c
13378 ac_cpp='$CPP $CPPFLAGS'
13379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13382
13383 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13384 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13385 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 else
13388 cat >conftest.$ac_ext <<_ACEOF
13389 /* confdefs.h. */
13390 _ACEOF
13391 cat confdefs.h >>conftest.$ac_ext
13392 cat >>conftest.$ac_ext <<_ACEOF
13393 /* end confdefs.h. */
13394
13395 int
13396 main ()
13397 {
13398
13399 #ifndef __SUNPRO_C
13400 choke me
13401 #endif
13402
13403 ;
13404 return 0;
13405 }
13406 _ACEOF
13407 rm -f conftest.$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>conftest.er1
13410 ac_status=$?
13411 grep -v '^ *+' conftest.er1 >conftest.err
13412 rm -f conftest.er1
13413 cat conftest.err >&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -z "$ac_c_werror_flag"
13417 || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13426 ac_status=$?
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 bakefile_cv_c_compiler___SUNPRO_C=yes
13430 else
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13433
13434 bakefile_cv_c_compiler___SUNPRO_C=no
13435
13436 fi
13437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13438
13439
13440 fi
13441 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13442 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13443 ac_ext=c
13444 ac_cpp='$CPP $CPPFLAGS'
13445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13448
13449 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13450 :; SUNCC=yes
13451 else
13452 :;
13453 fi
13454
13455
13456 ;;
13457 esac
13458 fi
13459
13460
13461
13462 ac_ext=c
13463 ac_cpp='$CPP $CPPFLAGS'
13464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13467 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13468 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13469 # On Suns, sometimes $CPP names a directory.
13470 if test -n "$CPP" && test -d "$CPP"; then
13471 CPP=
13472 fi
13473 if test -z "$CPP"; then
13474 if test "${ac_cv_prog_CPP+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 # Double quotes because CPP needs to be expanded
13478 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13479 do
13480 ac_preproc_ok=false
13481 for ac_c_preproc_warn_flag in '' yes
13482 do
13483 # Use a header file that comes with gcc, so configuring glibc
13484 # with a fresh cross-compiler works.
13485 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13486 # <limits.h> exists even on freestanding compilers.
13487 # On the NeXT, cc -E runs the code through the compiler's parser,
13488 # not just through cpp. "Syntax error" is here to catch this case.
13489 cat >conftest.$ac_ext <<_ACEOF
13490 /* confdefs.h. */
13491 _ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13495 #ifdef __STDC__
13496 # include <limits.h>
13497 #else
13498 # include <assert.h>
13499 #endif
13500 Syntax error
13501 _ACEOF
13502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13504 ac_status=$?
13505 grep -v '^ *+' conftest.er1 >conftest.err
13506 rm -f conftest.er1
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } >/dev/null; then
13510 if test -s conftest.err; then
13511 ac_cpp_err=$ac_c_preproc_warn_flag
13512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13513 else
13514 ac_cpp_err=
13515 fi
13516 else
13517 ac_cpp_err=yes
13518 fi
13519 if test -z "$ac_cpp_err"; then
13520 :
13521 else
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13524
13525 # Broken: fails on valid input.
13526 continue
13527 fi
13528 rm -f conftest.err conftest.$ac_ext
13529
13530 # OK, works on sane cases. Now check whether non-existent headers
13531 # can be detected and how.
13532 cat >conftest.$ac_ext <<_ACEOF
13533 /* confdefs.h. */
13534 _ACEOF
13535 cat confdefs.h >>conftest.$ac_ext
13536 cat >>conftest.$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13538 #include <ac_nonexistent.h>
13539 _ACEOF
13540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13542 ac_status=$?
13543 grep -v '^ *+' conftest.er1 >conftest.err
13544 rm -f conftest.er1
13545 cat conftest.err >&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } >/dev/null; then
13548 if test -s conftest.err; then
13549 ac_cpp_err=$ac_c_preproc_warn_flag
13550 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13551 else
13552 ac_cpp_err=
13553 fi
13554 else
13555 ac_cpp_err=yes
13556 fi
13557 if test -z "$ac_cpp_err"; then
13558 # Broken: success on invalid input.
13559 continue
13560 else
13561 echo "$as_me: failed program was:" >&5
13562 sed 's/^/| /' conftest.$ac_ext >&5
13563
13564 # Passes both tests.
13565 ac_preproc_ok=:
13566 break
13567 fi
13568 rm -f conftest.err conftest.$ac_ext
13569
13570 done
13571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13572 rm -f conftest.err conftest.$ac_ext
13573 if $ac_preproc_ok; then
13574 break
13575 fi
13576
13577 done
13578 ac_cv_prog_CPP=$CPP
13579
13580 fi
13581 CPP=$ac_cv_prog_CPP
13582 else
13583 ac_cv_prog_CPP=$CPP
13584 fi
13585 echo "$as_me:$LINENO: result: $CPP" >&5
13586 echo "${ECHO_T}$CPP" >&6
13587 ac_preproc_ok=false
13588 for ac_c_preproc_warn_flag in '' yes
13589 do
13590 # Use a header file that comes with gcc, so configuring glibc
13591 # with a fresh cross-compiler works.
13592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13593 # <limits.h> exists even on freestanding compilers.
13594 # On the NeXT, cc -E runs the code through the compiler's parser,
13595 # not just through cpp. "Syntax error" is here to catch this case.
13596 cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h. */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 #ifdef __STDC__
13603 # include <limits.h>
13604 #else
13605 # include <assert.h>
13606 #endif
13607 Syntax error
13608 _ACEOF
13609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13611 ac_status=$?
13612 grep -v '^ *+' conftest.er1 >conftest.err
13613 rm -f conftest.er1
13614 cat conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } >/dev/null; then
13617 if test -s conftest.err; then
13618 ac_cpp_err=$ac_c_preproc_warn_flag
13619 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13620 else
13621 ac_cpp_err=
13622 fi
13623 else
13624 ac_cpp_err=yes
13625 fi
13626 if test -z "$ac_cpp_err"; then
13627 :
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 # Broken: fails on valid input.
13633 continue
13634 fi
13635 rm -f conftest.err conftest.$ac_ext
13636
13637 # OK, works on sane cases. Now check whether non-existent headers
13638 # can be detected and how.
13639 cat >conftest.$ac_ext <<_ACEOF
13640 /* confdefs.h. */
13641 _ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13645 #include <ac_nonexistent.h>
13646 _ACEOF
13647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13649 ac_status=$?
13650 grep -v '^ *+' conftest.er1 >conftest.err
13651 rm -f conftest.er1
13652 cat conftest.err >&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } >/dev/null; then
13655 if test -s conftest.err; then
13656 ac_cpp_err=$ac_c_preproc_warn_flag
13657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13658 else
13659 ac_cpp_err=
13660 fi
13661 else
13662 ac_cpp_err=yes
13663 fi
13664 if test -z "$ac_cpp_err"; then
13665 # Broken: success on invalid input.
13666 continue
13667 else
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13670
13671 # Passes both tests.
13672 ac_preproc_ok=:
13673 break
13674 fi
13675 rm -f conftest.err conftest.$ac_ext
13676
13677 done
13678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13679 rm -f conftest.err conftest.$ac_ext
13680 if $ac_preproc_ok; then
13681 :
13682 else
13683 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13684 See \`config.log' for more details." >&5
13685 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13686 See \`config.log' for more details." >&2;}
13687 { (exit 1); exit 1; }; }
13688 fi
13689
13690 ac_ext=c
13691 ac_cpp='$CPP $CPPFLAGS'
13692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13695
13696
13697 echo "$as_me:$LINENO: checking for egrep" >&5
13698 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13699 if test "${ac_cv_prog_egrep+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 else
13702 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13703 then ac_cv_prog_egrep='grep -E'
13704 else ac_cv_prog_egrep='egrep'
13705 fi
13706 fi
13707 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13708 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13709 EGREP=$ac_cv_prog_egrep
13710
13711
13712 if test $ac_cv_c_compiler_gnu = yes; then
13713 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13714 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13715 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 else
13718 ac_pattern="Autoconf.*'x'"
13719 cat >conftest.$ac_ext <<_ACEOF
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 #include <sgtty.h>
13726 Autoconf TIOCGETP
13727 _ACEOF
13728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13729 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13730 ac_cv_prog_gcc_traditional=yes
13731 else
13732 ac_cv_prog_gcc_traditional=no
13733 fi
13734 rm -f conftest*
13735
13736
13737 if test $ac_cv_prog_gcc_traditional = no; then
13738 cat >conftest.$ac_ext <<_ACEOF
13739 /* confdefs.h. */
13740 _ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13744 #include <termio.h>
13745 Autoconf TCGETA
13746 _ACEOF
13747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13748 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13749 ac_cv_prog_gcc_traditional=yes
13750 fi
13751 rm -f conftest*
13752
13753 fi
13754 fi
13755 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13756 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13757 if test $ac_cv_prog_gcc_traditional = yes; then
13758 CC="$CC -traditional"
13759 fi
13760 fi
13761
13762
13763 ac_ext=cc
13764 ac_cpp='$CXXCPP $CPPFLAGS'
13765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13768
13769
13770 CXXFLAGS=${CXXFLAGS:=}
13771
13772
13773
13774 ac_ext=cc
13775 ac_cpp='$CXXCPP $CPPFLAGS'
13776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13779 if test -n "$ac_tool_prefix"; then
13780 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13781 do
13782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13784 echo "$as_me:$LINENO: checking for $ac_word" >&5
13785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13786 if test "${ac_cv_prog_CXX+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 else
13789 if test -n "$CXX"; then
13790 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13791 else
13792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13793 for as_dir in $PATH
13794 do
13795 IFS=$as_save_IFS
13796 test -z "$as_dir" && as_dir=.
13797 for ac_exec_ext in '' $ac_executable_extensions; do
13798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13799 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13801 break 2
13802 fi
13803 done
13804 done
13805
13806 fi
13807 fi
13808 CXX=$ac_cv_prog_CXX
13809 if test -n "$CXX"; then
13810 echo "$as_me:$LINENO: result: $CXX" >&5
13811 echo "${ECHO_T}$CXX" >&6
13812 else
13813 echo "$as_me:$LINENO: result: no" >&5
13814 echo "${ECHO_T}no" >&6
13815 fi
13816
13817 test -n "$CXX" && break
13818 done
13819 fi
13820 if test -z "$CXX"; then
13821 ac_ct_CXX=$CXX
13822 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13823 do
13824 # Extract the first word of "$ac_prog", so it can be a program name with args.
13825 set dummy $ac_prog; ac_word=$2
13826 echo "$as_me:$LINENO: checking for $ac_word" >&5
13827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13828 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13830 else
13831 if test -n "$ac_ct_CXX"; then
13832 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13833 else
13834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13835 for as_dir in $PATH
13836 do
13837 IFS=$as_save_IFS
13838 test -z "$as_dir" && as_dir=.
13839 for ac_exec_ext in '' $ac_executable_extensions; do
13840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13841 ac_cv_prog_ac_ct_CXX="$ac_prog"
13842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13843 break 2
13844 fi
13845 done
13846 done
13847
13848 fi
13849 fi
13850 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13851 if test -n "$ac_ct_CXX"; then
13852 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13853 echo "${ECHO_T}$ac_ct_CXX" >&6
13854 else
13855 echo "$as_me:$LINENO: result: no" >&5
13856 echo "${ECHO_T}no" >&6
13857 fi
13858
13859 test -n "$ac_ct_CXX" && break
13860 done
13861 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13862
13863 CXX=$ac_ct_CXX
13864 fi
13865
13866
13867 # Provide some information about the compiler.
13868 echo "$as_me:$LINENO:" \
13869 "checking for C++ compiler version" >&5
13870 ac_compiler=`set X $ac_compile; echo $2`
13871 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13872 (eval $ac_compiler --version </dev/null >&5) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }
13876 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13877 (eval $ac_compiler -v </dev/null >&5) 2>&5
13878 ac_status=$?
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }
13881 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13882 (eval $ac_compiler -V </dev/null >&5) 2>&5
13883 ac_status=$?
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }
13886
13887 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13888 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13889 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 else
13892 cat >conftest.$ac_ext <<_ACEOF
13893 /* confdefs.h. */
13894 _ACEOF
13895 cat confdefs.h >>conftest.$ac_ext
13896 cat >>conftest.$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898
13899 int
13900 main ()
13901 {
13902 #ifndef __GNUC__
13903 choke me
13904 #endif
13905
13906 ;
13907 return 0;
13908 }
13909 _ACEOF
13910 rm -f conftest.$ac_objext
13911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try='test -z "$ac_cxx_werror_flag"
13920 || test ! -s conftest.err'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; } &&
13926 { ac_try='test -s conftest.$ac_objext'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13932 ac_compiler_gnu=yes
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13936
13937 ac_compiler_gnu=no
13938 fi
13939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13940 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13941
13942 fi
13943 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13944 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13945 GXX=`test $ac_compiler_gnu = yes && echo yes`
13946 ac_test_CXXFLAGS=${CXXFLAGS+set}
13947 ac_save_CXXFLAGS=$CXXFLAGS
13948 CXXFLAGS="-g"
13949 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13950 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13951 if test "${ac_cv_prog_cxx_g+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 else
13954 cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960
13961 int
13962 main ()
13963 {
13964
13965 ;
13966 return 0;
13967 }
13968 _ACEOF
13969 rm -f conftest.$ac_objext
13970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13971 (eval $ac_compile) 2>conftest.er1
13972 ac_status=$?
13973 grep -v '^ *+' conftest.er1 >conftest.err
13974 rm -f conftest.er1
13975 cat conftest.err >&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); } &&
13978 { ac_try='test -z "$ac_cxx_werror_flag"
13979 || test ! -s conftest.err'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13982 ac_status=$?
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; } &&
13985 { ac_try='test -s conftest.$ac_objext'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13988 ac_status=$?
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; }; then
13991 ac_cv_prog_cxx_g=yes
13992 else
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.$ac_ext >&5
13995
13996 ac_cv_prog_cxx_g=no
13997 fi
13998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13999 fi
14000 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14001 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14002 if test "$ac_test_CXXFLAGS" = set; then
14003 CXXFLAGS=$ac_save_CXXFLAGS
14004 elif test $ac_cv_prog_cxx_g = yes; then
14005 if test "$GXX" = yes; then
14006 CXXFLAGS="-g -O2"
14007 else
14008 CXXFLAGS="-g"
14009 fi
14010 else
14011 if test "$GXX" = yes; then
14012 CXXFLAGS="-O2"
14013 else
14014 CXXFLAGS=
14015 fi
14016 fi
14017 for ac_declaration in \
14018 '' \
14019 'extern "C" void std::exit (int) throw (); using std::exit;' \
14020 'extern "C" void std::exit (int); using std::exit;' \
14021 'extern "C" void exit (int) throw ();' \
14022 'extern "C" void exit (int);' \
14023 'void exit (int);'
14024 do
14025 cat >conftest.$ac_ext <<_ACEOF
14026 /* confdefs.h. */
14027 _ACEOF
14028 cat confdefs.h >>conftest.$ac_ext
14029 cat >>conftest.$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14031 $ac_declaration
14032 #include <stdlib.h>
14033 int
14034 main ()
14035 {
14036 exit (42);
14037 ;
14038 return 0;
14039 }
14040 _ACEOF
14041 rm -f conftest.$ac_objext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>conftest.er1
14044 ac_status=$?
14045 grep -v '^ *+' conftest.er1 >conftest.err
14046 rm -f conftest.er1
14047 cat conftest.err >&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } &&
14050 { ac_try='test -z "$ac_cxx_werror_flag"
14051 || test ! -s conftest.err'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; } &&
14057 { ac_try='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14060 ac_status=$?
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 :
14064 else
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14067
14068 continue
14069 fi
14070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14077 $ac_declaration
14078 int
14079 main ()
14080 {
14081 exit (42);
14082 ;
14083 return 0;
14084 }
14085 _ACEOF
14086 rm -f conftest.$ac_objext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14088 (eval $ac_compile) 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try='test -z "$ac_cxx_werror_flag"
14096 || test ! -s conftest.err'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try='test -s conftest.$ac_objext'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14105 ac_status=$?
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; }; then
14108 break
14109 else
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.$ac_ext >&5
14112
14113 fi
14114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14115 done
14116 rm -f conftest*
14117 if test -n "$ac_declaration"; then
14118 echo '#ifdef __cplusplus' >>confdefs.h
14119 echo $ac_declaration >>confdefs.h
14120 echo '#endif' >>confdefs.h
14121 fi
14122
14123 ac_ext=cc
14124 ac_cpp='$CXXCPP $CPPFLAGS'
14125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14128
14129
14130
14131 ac_ext=cc
14132 ac_cpp='$CXXCPP $CPPFLAGS'
14133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14136
14137 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14138 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14139 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 else
14142 cat >conftest.$ac_ext <<_ACEOF
14143 /* confdefs.h. */
14144 _ACEOF
14145 cat confdefs.h >>conftest.$ac_ext
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148
14149 int
14150 main ()
14151 {
14152
14153 #ifndef __INTEL_COMPILER
14154 choke me
14155 #endif
14156
14157 ;
14158 return 0;
14159 }
14160 _ACEOF
14161 rm -f conftest.$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>conftest.er1
14164 ac_status=$?
14165 grep -v '^ *+' conftest.er1 >conftest.err
14166 rm -f conftest.er1
14167 cat conftest.err >&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); } &&
14170 { ac_try='test -z "$ac_cxx_werror_flag"
14171 || test ! -s conftest.err'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14174 ac_status=$?
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; } &&
14177 { ac_try='test -s conftest.$ac_objext'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14180 ac_status=$?
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; }; then
14183 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14184 else
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14187
14188 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14189
14190 fi
14191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14192
14193
14194 fi
14195 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14197 ac_ext=cc
14198 ac_cpp='$CXXCPP $CPPFLAGS'
14199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14202
14203 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14204 :; INTELCXX=yes
14205 else
14206 :;
14207 fi
14208
14209
14210 if test "x$GCXX" != "xyes"; then
14211 if test "xCXX" = "xC"; then
14212 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14213 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14214 if test "${bakefile_cv_cxx_exto+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 cat >conftest.$ac_ext <<_ACEOF
14218 /* confdefs.h. */
14219 _ACEOF
14220 cat confdefs.h >>conftest.$ac_ext
14221 cat >>conftest.$ac_ext <<_ACEOF
14222 /* end confdefs.h. */
14223
14224 int
14225 main ()
14226 {
14227
14228 ;
14229 return 0;
14230 }
14231 _ACEOF
14232 rm -f conftest.$ac_objext conftest.$ac_ext.o
14233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234 (eval $ac_compile) 2>&5
14235 ac_status=$?
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; then
14238 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14239 case $ac_file in
14240 conftest.$ac_ext.o)
14241 bakefile_cv_cxx_exto="-ext o"
14242 ;;
14243 *)
14244 ;;
14245 esac
14246 done
14247 else
14248 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14249 See \`config.log' for more details." >&5
14250 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14251 See \`config.log' for more details." >&2;}
14252 { (exit 1); exit 1; }; }
14253
14254 fi
14255
14256 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14257
14258 fi
14259 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14260 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14261 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14262 if test "cxx" = "c"; then
14263 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14264 fi
14265 if test "cxx" = "cxx"; then
14266 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14267 fi
14268 fi
14269
14270 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14271 unset ac_cv_prog_cc_g
14272 ac_test_CFLAGS=${CFLAGS+set}
14273 ac_save_CFLAGS=$CFLAGS
14274 CFLAGS="-g"
14275 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14276 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14277 if test "${ac_cv_prog_cc_g+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 cat >conftest.$ac_ext <<_ACEOF
14281 /* confdefs.h. */
14282 _ACEOF
14283 cat confdefs.h >>conftest.$ac_ext
14284 cat >>conftest.$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14286
14287 int
14288 main ()
14289 {
14290
14291 ;
14292 return 0;
14293 }
14294 _ACEOF
14295 rm -f conftest.$ac_objext
14296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14297 (eval $ac_compile) 2>conftest.er1
14298 ac_status=$?
14299 grep -v '^ *+' conftest.er1 >conftest.err
14300 rm -f conftest.er1
14301 cat conftest.err >&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); } &&
14304 { ac_try='test -z "$ac_cxx_werror_flag"
14305 || test ! -s conftest.err'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; } &&
14311 { ac_try='test -s conftest.$ac_objext'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; }; then
14317 ac_cv_prog_cc_g=yes
14318 else
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14321
14322 ac_cv_prog_cc_g=no
14323 fi
14324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14325 fi
14326 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14327 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14328 if test "$ac_test_CFLAGS" = set; then
14329 CFLAGS=$ac_save_CFLAGS
14330 elif test $ac_cv_prog_cc_g = yes; then
14331 if test "$GCC" = yes; then
14332 CFLAGS="-g -O2"
14333 else
14334 CFLAGS="-g"
14335 fi
14336 else
14337 if test "$GCC" = yes; then
14338 CFLAGS="-O2"
14339 else
14340 CFLAGS=
14341 fi
14342 fi
14343 fi
14344 fi
14345
14346 case `uname -s` in
14347 AIX*)
14348 ac_ext=cc
14349 ac_cpp='$CXXCPP $CPPFLAGS'
14350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14353
14354 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14355 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14356 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 else
14359 cat >conftest.$ac_ext <<_ACEOF
14360 /* confdefs.h. */
14361 _ACEOF
14362 cat confdefs.h >>conftest.$ac_ext
14363 cat >>conftest.$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14365
14366 int
14367 main ()
14368 {
14369 #ifndef __xlC__
14370 choke me
14371 #endif
14372
14373 ;
14374 return 0;
14375 }
14376 _ACEOF
14377 rm -f conftest.$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>conftest.er1
14380 ac_status=$?
14381 grep -v '^ *+' conftest.er1 >conftest.err
14382 rm -f conftest.er1
14383 cat conftest.err >&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try='test -z "$ac_cxx_werror_flag"
14387 || test ! -s conftest.err'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try='test -s conftest.$ac_objext'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14396 ac_status=$?
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 bakefile_compiler_xlc=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 bakefile_compiler_xlc=no
14405 fi
14406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14407 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14408
14409 fi
14410 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14411 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14412
14413 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14414 ac_ext=cc
14415 ac_cpp='$CXXCPP $CPPFLAGS'
14416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14419
14420
14421 ;;
14422
14423 Darwin)
14424 ac_ext=cc
14425 ac_cpp='$CXXCPP $CPPFLAGS'
14426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14429
14430 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14431 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14432 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 else
14435 cat >conftest.$ac_ext <<_ACEOF
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441
14442 int
14443 main ()
14444 {
14445 #ifndef __MWERKS__
14446 choke me
14447 #endif
14448
14449 ;
14450 return 0;
14451 }
14452 _ACEOF
14453 rm -f conftest.$ac_objext
14454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14455 (eval $ac_compile) 2>conftest.er1
14456 ac_status=$?
14457 grep -v '^ *+' conftest.er1 >conftest.err
14458 rm -f conftest.er1
14459 cat conftest.err >&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -z "$ac_cxx_werror_flag"
14463 || test ! -s conftest.err'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14466 ac_status=$?
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; } &&
14469 { ac_try='test -s conftest.$ac_objext'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14472 ac_status=$?
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; }; then
14475 bakefile_compiler_mwerks=yes
14476 else
14477 echo "$as_me: failed program was:" >&5
14478 sed 's/^/| /' conftest.$ac_ext >&5
14479
14480 bakefile_compiler_mwerks=no
14481 fi
14482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14483 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14484
14485 fi
14486 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14487 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14488
14489 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14490 ac_ext=cc
14491 ac_cpp='$CXXCPP $CPPFLAGS'
14492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14495
14496
14497 ac_ext=cc
14498 ac_cpp='$CXXCPP $CPPFLAGS'
14499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14502
14503 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14504 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14505 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14506 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 else
14508 cat >conftest.$ac_ext <<_ACEOF
14509 /* confdefs.h. */
14510 _ACEOF
14511 cat confdefs.h >>conftest.$ac_ext
14512 cat >>conftest.$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14514
14515 int
14516 main ()
14517 {
14518 #ifndef __xlC__
14519 choke me
14520 #endif
14521
14522 ;
14523 return 0;
14524 }
14525 _ACEOF
14526 rm -f conftest.$ac_objext
14527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14528 (eval $ac_compile) 2>conftest.er1
14529 ac_status=$?
14530 grep -v '^ *+' conftest.er1 >conftest.err
14531 rm -f conftest.er1
14532 cat conftest.err >&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -z "$ac_cxx_werror_flag"
14536 || test ! -s conftest.err'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 bakefile_compiler_xlc=yes
14549 else
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14552
14553 bakefile_compiler_xlc=no
14554 fi
14555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14556 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14557
14558 fi
14559 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14560 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14561
14562 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14563 ac_ext=cc
14564 ac_cpp='$CXXCPP $CPPFLAGS'
14565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14568
14569
14570 ;;
14571
14572 IRIX*)
14573
14574
14575 ac_ext=cc
14576 ac_cpp='$CXXCPP $CPPFLAGS'
14577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14580
14581 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14582 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14583 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14584 echo $ECHO_N "(cached) $ECHO_C" >&6
14585 else
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h. */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592
14593 int
14594 main ()
14595 {
14596
14597 #ifndef _SGI_COMPILER_VERSION
14598 choke me
14599 #endif
14600
14601 ;
14602 return 0;
14603 }
14604 _ACEOF
14605 rm -f conftest.$ac_objext
14606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14607 (eval $ac_compile) 2>conftest.er1
14608 ac_status=$?
14609 grep -v '^ *+' conftest.er1 >conftest.err
14610 rm -f conftest.er1
14611 cat conftest.err >&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } &&
14614 { ac_try='test -z "$ac_cxx_werror_flag"
14615 || test ! -s conftest.err'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; } &&
14621 { ac_try='test -s conftest.$ac_objext'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; }; then
14627 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14628 else
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5
14631
14632 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14633
14634 fi
14635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14636
14637
14638 fi
14639 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14640 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14641 ac_ext=cc
14642 ac_cpp='$CXXCPP $CPPFLAGS'
14643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14646
14647 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14648 :; SGICXX=yes
14649 else
14650 :;
14651 fi
14652
14653
14654 ;;
14655
14656 HP-UX*)
14657
14658
14659 ac_ext=cc
14660 ac_cpp='$CXXCPP $CPPFLAGS'
14661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14664
14665 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14666 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14667 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 else
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676
14677 int
14678 main ()
14679 {
14680
14681 #ifndef __HP_aCC
14682 choke me
14683 #endif
14684
14685 ;
14686 return 0;
14687 }
14688 _ACEOF
14689 rm -f conftest.$ac_objext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14691 (eval $ac_compile) 2>conftest.er1
14692 ac_status=$?
14693 grep -v '^ *+' conftest.er1 >conftest.err
14694 rm -f conftest.er1
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try='test -z "$ac_cxx_werror_flag"
14699 || test ! -s conftest.err'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try='test -s conftest.$ac_objext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14708 ac_status=$?
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 bakefile_cv_cxx_compiler___HP_aCC=yes
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14715
14716 bakefile_cv_cxx_compiler___HP_aCC=no
14717
14718 fi
14719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14720
14721
14722 fi
14723 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14724 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14725 ac_ext=cc
14726 ac_cpp='$CXXCPP $CPPFLAGS'
14727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14730
14731 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14732 :; HPCXX=yes
14733 else
14734 :;
14735 fi
14736
14737
14738 ;;
14739
14740 OSF1)
14741
14742
14743 ac_ext=cc
14744 ac_cpp='$CXXCPP $CPPFLAGS'
14745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14748
14749 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14750 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14751 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14752 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 else
14754 cat >conftest.$ac_ext <<_ACEOF
14755 /* confdefs.h. */
14756 _ACEOF
14757 cat confdefs.h >>conftest.$ac_ext
14758 cat >>conftest.$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14760
14761 int
14762 main ()
14763 {
14764
14765 #ifndef __DECCXX
14766 choke me
14767 #endif
14768
14769 ;
14770 return 0;
14771 }
14772 _ACEOF
14773 rm -f conftest.$ac_objext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>conftest.er1
14776 ac_status=$?
14777 grep -v '^ *+' conftest.er1 >conftest.err
14778 rm -f conftest.er1
14779 cat conftest.err >&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); } &&
14782 { ac_try='test -z "$ac_cxx_werror_flag"
14783 || test ! -s conftest.err'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14786 ac_status=$?
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; } &&
14789 { ac_try='test -s conftest.$ac_objext'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14792 ac_status=$?
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; }; then
14795 bakefile_cv_cxx_compiler___DECCXX=yes
14796 else
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14799
14800 bakefile_cv_cxx_compiler___DECCXX=no
14801
14802 fi
14803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14804
14805
14806 fi
14807 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14809 ac_ext=cc
14810 ac_cpp='$CXXCPP $CPPFLAGS'
14811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14814
14815 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14816 :; COMPAQCXX=yes
14817 else
14818 :;
14819 fi
14820
14821
14822 ;;
14823
14824 SunOS)
14825
14826
14827 ac_ext=cc
14828 ac_cpp='$CXXCPP $CPPFLAGS'
14829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14832
14833 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14834 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14835 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 else
14838 cat >conftest.$ac_ext <<_ACEOF
14839 /* confdefs.h. */
14840 _ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844
14845 int
14846 main ()
14847 {
14848
14849 #ifndef __SUNPRO_CC
14850 choke me
14851 #endif
14852
14853 ;
14854 return 0;
14855 }
14856 _ACEOF
14857 rm -f conftest.$ac_objext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14859 (eval $ac_compile) 2>conftest.er1
14860 ac_status=$?
14861 grep -v '^ *+' conftest.er1 >conftest.err
14862 rm -f conftest.er1
14863 cat conftest.err >&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try='test -z "$ac_cxx_werror_flag"
14867 || test ! -s conftest.err'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; } &&
14873 { ac_try='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14880 else
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.$ac_ext >&5
14883
14884 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14885
14886 fi
14887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14888
14889
14890 fi
14891 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14892 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14893 ac_ext=cc
14894 ac_cpp='$CXXCPP $CPPFLAGS'
14895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14898
14899 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14900 :; SUNCXX=yes
14901 else
14902 :;
14903 fi
14904
14905
14906 ;;
14907 esac
14908 fi
14909
14910
14911
14912 if test -n "$ac_tool_prefix"; then
14913 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14914 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14915 echo "$as_me:$LINENO: checking for $ac_word" >&5
14916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14917 if test "${ac_cv_prog_RANLIB+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14919 else
14920 if test -n "$RANLIB"; then
14921 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14922 else
14923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14924 for as_dir in $PATH
14925 do
14926 IFS=$as_save_IFS
14927 test -z "$as_dir" && as_dir=.
14928 for ac_exec_ext in '' $ac_executable_extensions; do
14929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14930 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14932 break 2
14933 fi
14934 done
14935 done
14936
14937 fi
14938 fi
14939 RANLIB=$ac_cv_prog_RANLIB
14940 if test -n "$RANLIB"; then
14941 echo "$as_me:$LINENO: result: $RANLIB" >&5
14942 echo "${ECHO_T}$RANLIB" >&6
14943 else
14944 echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6
14946 fi
14947
14948 fi
14949 if test -z "$ac_cv_prog_RANLIB"; then
14950 ac_ct_RANLIB=$RANLIB
14951 # Extract the first word of "ranlib", so it can be a program name with args.
14952 set dummy ranlib; ac_word=$2
14953 echo "$as_me:$LINENO: checking for $ac_word" >&5
14954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14955 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14956 echo $ECHO_N "(cached) $ECHO_C" >&6
14957 else
14958 if test -n "$ac_ct_RANLIB"; then
14959 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14960 else
14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14962 for as_dir in $PATH
14963 do
14964 IFS=$as_save_IFS
14965 test -z "$as_dir" && as_dir=.
14966 for ac_exec_ext in '' $ac_executable_extensions; do
14967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14968 ac_cv_prog_ac_ct_RANLIB="ranlib"
14969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14970 break 2
14971 fi
14972 done
14973 done
14974
14975 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14976 fi
14977 fi
14978 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14979 if test -n "$ac_ct_RANLIB"; then
14980 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14981 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14982 else
14983 echo "$as_me:$LINENO: result: no" >&5
14984 echo "${ECHO_T}no" >&6
14985 fi
14986
14987 RANLIB=$ac_ct_RANLIB
14988 else
14989 RANLIB="$ac_cv_prog_RANLIB"
14990 fi
14991
14992
14993 if test -n "$ac_tool_prefix"; then
14994 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14995 set dummy ${ac_tool_prefix}ar; ac_word=$2
14996 echo "$as_me:$LINENO: checking for $ac_word" >&5
14997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14998 if test "${ac_cv_prog_AR+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 if test -n "$AR"; then
15002 ac_cv_prog_AR="$AR" # Let the user override the test.
15003 else
15004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15005 for as_dir in $PATH
15006 do
15007 IFS=$as_save_IFS
15008 test -z "$as_dir" && as_dir=.
15009 for ac_exec_ext in '' $ac_executable_extensions; do
15010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15011 ac_cv_prog_AR="${ac_tool_prefix}ar"
15012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15013 break 2
15014 fi
15015 done
15016 done
15017
15018 fi
15019 fi
15020 AR=$ac_cv_prog_AR
15021 if test -n "$AR"; then
15022 echo "$as_me:$LINENO: result: $AR" >&5
15023 echo "${ECHO_T}$AR" >&6
15024 else
15025 echo "$as_me:$LINENO: result: no" >&5
15026 echo "${ECHO_T}no" >&6
15027 fi
15028
15029 fi
15030 if test -z "$ac_cv_prog_AR"; then
15031 ac_ct_AR=$AR
15032 # Extract the first word of "ar", so it can be a program name with args.
15033 set dummy ar; ac_word=$2
15034 echo "$as_me:$LINENO: checking for $ac_word" >&5
15035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15036 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 else
15039 if test -n "$ac_ct_AR"; then
15040 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15041 else
15042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15043 for as_dir in $PATH
15044 do
15045 IFS=$as_save_IFS
15046 test -z "$as_dir" && as_dir=.
15047 for ac_exec_ext in '' $ac_executable_extensions; do
15048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15049 ac_cv_prog_ac_ct_AR="ar"
15050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15051 break 2
15052 fi
15053 done
15054 done
15055
15056 fi
15057 fi
15058 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15059 if test -n "$ac_ct_AR"; then
15060 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15061 echo "${ECHO_T}$ac_ct_AR" >&6
15062 else
15063 echo "$as_me:$LINENO: result: no" >&5
15064 echo "${ECHO_T}no" >&6
15065 fi
15066
15067 AR=$ac_ct_AR
15068 else
15069 AR="$ac_cv_prog_AR"
15070 fi
15071
15072 if test "x$AR" = "x" ; then
15073 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15074 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15075 { (exit 1); exit 1; }; }
15076 fi
15077
15078 # Find a good install program. We prefer a C program (faster),
15079 # so one script is as good as another. But avoid the broken or
15080 # incompatible versions:
15081 # SysV /etc/install, /usr/sbin/install
15082 # SunOS /usr/etc/install
15083 # IRIX /sbin/install
15084 # AIX /bin/install
15085 # AmigaOS /C/install, which installs bootblocks on floppy discs
15086 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15087 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15088 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15089 # OS/2's system install, which has a completely different semantic
15090 # ./install, which can be erroneously created by make from ./install.sh.
15091 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15092 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15093 if test -z "$INSTALL"; then
15094 if test "${ac_cv_path_install+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 else
15097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15098 for as_dir in $PATH
15099 do
15100 IFS=$as_save_IFS
15101 test -z "$as_dir" && as_dir=.
15102 # Account for people who put trailing slashes in PATH elements.
15103 case $as_dir/ in
15104 ./ | .// | /cC/* | \
15105 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15106 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15107 /usr/ucb/* ) ;;
15108 *)
15109 # OSF1 and SCO ODT 3.0 have their own names for install.
15110 # Don't use installbsd from OSF since it installs stuff as root
15111 # by default.
15112 for ac_prog in ginstall scoinst install; do
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15115 if test $ac_prog = install &&
15116 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15117 # AIX install. It has an incompatible calling convention.
15118 :
15119 elif test $ac_prog = install &&
15120 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15121 # program-specific install script used by HP pwplus--don't use.
15122 :
15123 else
15124 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15125 break 3
15126 fi
15127 fi
15128 done
15129 done
15130 ;;
15131 esac
15132 done
15133
15134
15135 fi
15136 if test "${ac_cv_path_install+set}" = set; then
15137 INSTALL=$ac_cv_path_install
15138 else
15139 # As a last resort, use the slow shell script. We don't cache a
15140 # path for INSTALL within a source directory, because that will
15141 # break other packages using the cache if that directory is
15142 # removed, or if the path is relative.
15143 INSTALL=$ac_install_sh
15144 fi
15145 fi
15146 echo "$as_me:$LINENO: result: $INSTALL" >&5
15147 echo "${ECHO_T}$INSTALL" >&6
15148
15149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15150 # It thinks the first close brace ends the variable substitution.
15151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15152
15153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15154
15155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15156
15157
15158 case ${INSTALL} in
15159 /* ) # Absolute
15160 ;;
15161 ?:* ) # Drive letter, considered as absolute.
15162 ;;
15163 *)
15164 INSTALL=`pwd`/${INSTALL} ;;
15165 esac
15166
15167
15168 case "${host}" in
15169
15170 *-*-darwin* )
15171 INSTALL_PROGRAM="cp -fp"
15172 INSTALL_DATA="cp -fp"
15173 ;;
15174 *)
15175 ;;
15176 esac
15177
15178 if test -n "$ac_tool_prefix"; then
15179 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15180 set dummy ${ac_tool_prefix}strip; ac_word=$2
15181 echo "$as_me:$LINENO: checking for $ac_word" >&5
15182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15183 if test "${ac_cv_prog_STRIP+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 if test -n "$STRIP"; then
15187 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15188 else
15189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15190 for as_dir in $PATH
15191 do
15192 IFS=$as_save_IFS
15193 test -z "$as_dir" && as_dir=.
15194 for ac_exec_ext in '' $ac_executable_extensions; do
15195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15196 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15198 break 2
15199 fi
15200 done
15201 done
15202
15203 fi
15204 fi
15205 STRIP=$ac_cv_prog_STRIP
15206 if test -n "$STRIP"; then
15207 echo "$as_me:$LINENO: result: $STRIP" >&5
15208 echo "${ECHO_T}$STRIP" >&6
15209 else
15210 echo "$as_me:$LINENO: result: no" >&5
15211 echo "${ECHO_T}no" >&6
15212 fi
15213
15214 fi
15215 if test -z "$ac_cv_prog_STRIP"; then
15216 ac_ct_STRIP=$STRIP
15217 # Extract the first word of "strip", so it can be a program name with args.
15218 set dummy strip; ac_word=$2
15219 echo "$as_me:$LINENO: checking for $ac_word" >&5
15220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15221 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 else
15224 if test -n "$ac_ct_STRIP"; then
15225 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15226 else
15227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15228 for as_dir in $PATH
15229 do
15230 IFS=$as_save_IFS
15231 test -z "$as_dir" && as_dir=.
15232 for ac_exec_ext in '' $ac_executable_extensions; do
15233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15234 ac_cv_prog_ac_ct_STRIP="strip"
15235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15236 break 2
15237 fi
15238 done
15239 done
15240
15241 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15242 fi
15243 fi
15244 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15245 if test -n "$ac_ct_STRIP"; then
15246 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15247 echo "${ECHO_T}$ac_ct_STRIP" >&6
15248 else
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15251 fi
15252
15253 STRIP=$ac_ct_STRIP
15254 else
15255 STRIP="$ac_cv_prog_STRIP"
15256 fi
15257
15258
15259 if test "$wxUSE_WINE" = "yes"; then
15260 if test -n "$ac_tool_prefix"; then
15261 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15262 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15263 echo "$as_me:$LINENO: checking for $ac_word" >&5
15264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15265 if test "${ac_cv_prog_WINDRES+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 else
15268 if test -n "$WINDRES"; then
15269 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15270 else
15271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15272 for as_dir in $PATH
15273 do
15274 IFS=$as_save_IFS
15275 test -z "$as_dir" && as_dir=.
15276 for ac_exec_ext in '' $ac_executable_extensions; do
15277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15278 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15280 break 2
15281 fi
15282 done
15283 done
15284
15285 fi
15286 fi
15287 WINDRES=$ac_cv_prog_WINDRES
15288 if test -n "$WINDRES"; then
15289 echo "$as_me:$LINENO: result: $WINDRES" >&5
15290 echo "${ECHO_T}$WINDRES" >&6
15291 else
15292 echo "$as_me:$LINENO: result: no" >&5
15293 echo "${ECHO_T}no" >&6
15294 fi
15295
15296 fi
15297 if test -z "$ac_cv_prog_WINDRES"; then
15298 ac_ct_WINDRES=$WINDRES
15299 # Extract the first word of "wrc", so it can be a program name with args.
15300 set dummy wrc; ac_word=$2
15301 echo "$as_me:$LINENO: checking for $ac_word" >&5
15302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15303 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 else
15306 if test -n "$ac_ct_WINDRES"; then
15307 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15308 else
15309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15310 for as_dir in $PATH
15311 do
15312 IFS=$as_save_IFS
15313 test -z "$as_dir" && as_dir=.
15314 for ac_exec_ext in '' $ac_executable_extensions; do
15315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15316 ac_cv_prog_ac_ct_WINDRES="wrc"
15317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15318 break 2
15319 fi
15320 done
15321 done
15322
15323 fi
15324 fi
15325 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15326 if test -n "$ac_ct_WINDRES"; then
15327 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15328 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15329 else
15330 echo "$as_me:$LINENO: result: no" >&5
15331 echo "${ECHO_T}no" >&6
15332 fi
15333
15334 WINDRES=$ac_ct_WINDRES
15335 else
15336 WINDRES="$ac_cv_prog_WINDRES"
15337 fi
15338
15339 RESCOMP="$WINDRES"
15340 else
15341 case "${host}" in
15342 *-*-cygwin* | *-*-mingw32* )
15343 if test -n "$ac_tool_prefix"; then
15344 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15345 set dummy ${ac_tool_prefix}windres; ac_word=$2
15346 echo "$as_me:$LINENO: checking for $ac_word" >&5
15347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15348 if test "${ac_cv_prog_WINDRES+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 else
15351 if test -n "$WINDRES"; then
15352 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15353 else
15354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15355 for as_dir in $PATH
15356 do
15357 IFS=$as_save_IFS
15358 test -z "$as_dir" && as_dir=.
15359 for ac_exec_ext in '' $ac_executable_extensions; do
15360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15361 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15363 break 2
15364 fi
15365 done
15366 done
15367
15368 fi
15369 fi
15370 WINDRES=$ac_cv_prog_WINDRES
15371 if test -n "$WINDRES"; then
15372 echo "$as_me:$LINENO: result: $WINDRES" >&5
15373 echo "${ECHO_T}$WINDRES" >&6
15374 else
15375 echo "$as_me:$LINENO: result: no" >&5
15376 echo "${ECHO_T}no" >&6
15377 fi
15378
15379 fi
15380 if test -z "$ac_cv_prog_WINDRES"; then
15381 ac_ct_WINDRES=$WINDRES
15382 # Extract the first word of "windres", so it can be a program name with args.
15383 set dummy windres; ac_word=$2
15384 echo "$as_me:$LINENO: checking for $ac_word" >&5
15385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15386 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15387 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 else
15389 if test -n "$ac_ct_WINDRES"; then
15390 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15391 else
15392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15393 for as_dir in $PATH
15394 do
15395 IFS=$as_save_IFS
15396 test -z "$as_dir" && as_dir=.
15397 for ac_exec_ext in '' $ac_executable_extensions; do
15398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15399 ac_cv_prog_ac_ct_WINDRES="windres"
15400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15401 break 2
15402 fi
15403 done
15404 done
15405
15406 fi
15407 fi
15408 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15409 if test -n "$ac_ct_WINDRES"; then
15410 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15411 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15412 else
15413 echo "$as_me:$LINENO: result: no" >&5
15414 echo "${ECHO_T}no" >&6
15415 fi
15416
15417 WINDRES=$ac_ct_WINDRES
15418 else
15419 WINDRES="$ac_cv_prog_WINDRES"
15420 fi
15421
15422 RESCOMP="$WINDRES"
15423 if test -n "$ac_tool_prefix"; then
15424 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15425 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15426 echo "$as_me:$LINENO: checking for $ac_word" >&5
15427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15428 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15429 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 else
15431 if test -n "$DLLTOOL"; then
15432 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15433 else
15434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15435 for as_dir in $PATH
15436 do
15437 IFS=$as_save_IFS
15438 test -z "$as_dir" && as_dir=.
15439 for ac_exec_ext in '' $ac_executable_extensions; do
15440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15441 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15443 break 2
15444 fi
15445 done
15446 done
15447
15448 fi
15449 fi
15450 DLLTOOL=$ac_cv_prog_DLLTOOL
15451 if test -n "$DLLTOOL"; then
15452 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15453 echo "${ECHO_T}$DLLTOOL" >&6
15454 else
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15457 fi
15458
15459 fi
15460 if test -z "$ac_cv_prog_DLLTOOL"; then
15461 ac_ct_DLLTOOL=$DLLTOOL
15462 # Extract the first word of "dlltool", so it can be a program name with args.
15463 set dummy dlltool; ac_word=$2
15464 echo "$as_me:$LINENO: checking for $ac_word" >&5
15465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15466 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 else
15469 if test -n "$ac_ct_DLLTOOL"; then
15470 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15471 else
15472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15473 for as_dir in $PATH
15474 do
15475 IFS=$as_save_IFS
15476 test -z "$as_dir" && as_dir=.
15477 for ac_exec_ext in '' $ac_executable_extensions; do
15478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15479 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15481 break 2
15482 fi
15483 done
15484 done
15485
15486 fi
15487 fi
15488 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15489 if test -n "$ac_ct_DLLTOOL"; then
15490 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15491 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15492 else
15493 echo "$as_me:$LINENO: result: no" >&5
15494 echo "${ECHO_T}no" >&6
15495 fi
15496
15497 DLLTOOL=$ac_ct_DLLTOOL
15498 else
15499 DLLTOOL="$ac_cv_prog_DLLTOOL"
15500 fi
15501
15502 ;;
15503 esac
15504 fi
15505
15506 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15507 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15508 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 else
15511
15512 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15513 egrep -s GNU > /dev/null); then
15514 wx_cv_prog_makeisgnu="yes"
15515 else
15516 wx_cv_prog_makeisgnu="no"
15517 fi
15518
15519 fi
15520 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15521 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15522
15523 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15524 IF_GNU_MAKE=""
15525 else
15526 IF_GNU_MAKE="#"
15527 fi
15528
15529
15530
15531 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15532 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15533 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15534 if test "${wx_cv_prog_makevpath+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537
15538 cat - << EOF > confMake
15539 check : file
15540 cp \$? \$@
15541 cp \$? final_file
15542 EOF
15543
15544 if test ! -d sub ; then
15545 mkdir sub
15546 fi
15547 echo dummy > sub/file
15548 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15549 RESULT=$?
15550 rm -f sub/file check final_file confMake
15551 rmdir sub
15552 if test "$RESULT" = 0; then
15553 wx_cv_prog_makevpath="yes"
15554 else
15555 wx_cv_prog_makevpath="no"
15556 fi
15557
15558 fi
15559 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15560 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15561
15562 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15563 { { echo "$as_me:$LINENO: error:
15564 You need a make-utility that is able to use the variable
15565 VPATH correctly.
15566 If your version of make does not support VPATH correctly,
15567 please install GNU-make (possibly as gmake), and start
15568 configure with the following command:
15569 export MAKE=gmake; ./configure for sh-type shells
15570 setenv MAKE gmake; ./configure for csh-type shells
15571 Also please do remember to use gmake in this case every time
15572 you are trying to compile.
15573 " >&5
15574 echo "$as_me: error:
15575 You need a make-utility that is able to use the variable
15576 VPATH correctly.
15577 If your version of make does not support VPATH correctly,
15578 please install GNU-make (possibly as gmake), and start
15579 configure with the following command:
15580 export MAKE=gmake; ./configure for sh-type shells
15581 setenv MAKE gmake; ./configure for csh-type shells
15582 Also please do remember to use gmake in this case every time
15583 you are trying to compile.
15584 " >&2;}
15585 { (exit 1); exit 1; }; }
15586 fi fi
15587 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15588 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15589 LN_S=$as_ln_s
15590 if test "$LN_S" = "ln -s"; then
15591 echo "$as_me:$LINENO: result: yes" >&5
15592 echo "${ECHO_T}yes" >&6
15593 else
15594 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15595 echo "${ECHO_T}no, using $LN_S" >&6
15596 fi
15597
15598
15599
15600
15601 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15602 CXXFLAGS="-qunique $CXXFLAGS"
15603 fi
15604
15605 case "${host}" in
15606 powerpc-*-darwin* )
15607 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15608 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15609 cat >conftest.$ac_ext <<_ACEOF
15610 /* confdefs.h. */
15611 _ACEOF
15612 cat confdefs.h >>conftest.$ac_ext
15613 cat >>conftest.$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15615
15616 int
15617 main ()
15618 {
15619 #ifndef __POWERPC__
15620 choke me for lack of PowerPC
15621 #endif
15622
15623 ;
15624 return 0;
15625 }
15626 _ACEOF
15627 rm -f conftest.$ac_objext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15629 (eval $ac_compile) 2>conftest.er1
15630 ac_status=$?
15631 grep -v '^ *+' conftest.er1 >conftest.err
15632 rm -f conftest.er1
15633 cat conftest.err >&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } &&
15636 { ac_try='test -z "$ac_cxx_werror_flag"
15637 || test ! -s conftest.err'
15638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 (eval $ac_try) 2>&5
15640 ac_status=$?
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15646 ac_status=$?
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 echo "$as_me:$LINENO: result: yes" >&5
15650 echo "${ECHO_T}yes" >&6
15651 else
15652 echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.$ac_ext >&5
15654
15655 echo "$as_me:$LINENO: result: no" >&5
15656 echo "${ECHO_T}no" >&6
15657 cat >>confdefs.h <<\_ACEOF
15658 #define __POWERPC__ 1
15659 _ACEOF
15660
15661
15662 fi
15663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15664 ;;
15665 esac
15666
15667 case "${host}" in
15668 *-*-darwin* )
15669 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15670 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15671 cat >conftest.$ac_ext <<_ACEOF
15672 /* confdefs.h. */
15673 _ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15677 #include <CoreFoundation/CFBase.h>
15678
15679 int
15680 main ()
15681 {
15682
15683 ;
15684 return 0;
15685 }
15686 _ACEOF
15687 rm -f conftest.$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_cxx_werror_flag"
15697 || test ! -s conftest.err'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15700 ac_status=$?
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; } &&
15703 { ac_try='test -s conftest.$ac_objext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 echo "$as_me:$LINENO: result: yes" >&5
15710 echo "${ECHO_T}yes" >&6
15711 else
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.$ac_ext >&5
15714
15715 echo "$as_me:$LINENO: result: no" >&5
15716 echo "${ECHO_T}no" >&6
15717 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15718 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15725 #define __CF_USE_FRAMEWORK_INCLUDES__
15726 #include <CoreFoundation/CFBase.h>
15727
15728 int
15729 main ()
15730 {
15731
15732 ;
15733 return 0;
15734 }
15735 _ACEOF
15736 rm -f conftest.$ac_objext
15737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15738 (eval $ac_compile) 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } &&
15745 { ac_try='test -z "$ac_cxx_werror_flag"
15746 || test ! -s conftest.err'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15749 ac_status=$?
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; } &&
15752 { ac_try='test -s conftest.$ac_objext'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15755 ac_status=$?
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; }; then
15758 echo "$as_me:$LINENO: result: yes" >&5
15759 echo "${ECHO_T}yes" >&6
15760 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15764
15765 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15766 See \`config.log' for more details." >&5
15767 echo "$as_me: error: no. CoreFoundation not available.
15768 See \`config.log' for more details." >&2;}
15769 { (exit 1); exit 1; }; }
15770
15771 fi
15772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15773
15774
15775 fi
15776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15777 ;;
15778 esac
15779
15780 case "${host}" in
15781 *-pc-os2_emx | *-pc-os2-emx )
15782 ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15787
15788 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15789 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15790 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15791 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 else
15794 ac_check_lib_save_LIBS=$LIBS
15795 LIBS="-lcExt $LIBS"
15796 cat >conftest.$ac_ext <<_ACEOF
15797 /* confdefs.h. */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802
15803 /* Override any gcc2 internal prototype to avoid an error. */
15804 #ifdef __cplusplus
15805 extern "C"
15806 #endif
15807 /* We use char because int might match the return type of a gcc2
15808 builtin and then its argument prototype would still apply. */
15809 char drand48 ();
15810 int
15811 main ()
15812 {
15813 drand48 ();
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 rm -f conftest.$ac_objext conftest$ac_exeext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15820 (eval $ac_link) 2>conftest.er1
15821 ac_status=$?
15822 grep -v '^ *+' conftest.er1 >conftest.err
15823 rm -f conftest.er1
15824 cat conftest.err >&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try='test -s conftest$ac_exeext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_lib_cExt_drand48=yes
15841 else
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845 ac_cv_lib_cExt_drand48=no
15846 fi
15847 rm -f conftest.err conftest.$ac_objext \
15848 conftest$ac_exeext conftest.$ac_ext
15849 LIBS=$ac_check_lib_save_LIBS
15850 fi
15851 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15852 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15853 if test $ac_cv_lib_cExt_drand48 = yes; then
15854 LIBS="$LIBS -lcExt"
15855 fi
15856
15857 else
15858 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15859 fi
15860 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15861 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15862 if test "${wx_cv_gccversion+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865
15866 if test "$cross_compiling" = yes; then
15867 wx_cv_gccversion="EMX2"
15868
15869 else
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876
15877 #include <stdio.h>
15878
15879 int main()
15880 {
15881 FILE *f=fopen("conftestval", "w");
15882 if (!f) exit(1);
15883 fprintf(f,
15884 #if (__GNUC__ < 3)
15885 "EMX2"
15886 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15887 "EMX3"
15888 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15889 "Innotek5"
15890 #else
15891 "Innotek6"
15892 #endif
15893 );
15894 exit(0);
15895 }
15896
15897 _ACEOF
15898 rm -f conftest$ac_exeext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15900 (eval $ac_link) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 wx_cv_gccversion=`cat conftestval`
15910 else
15911 echo "$as_me: program exited with status $ac_status" >&5
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15914
15915 ( exit $ac_status )
15916 wx_cv_gccversion="EMX2"
15917 fi
15918 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15919 fi
15920
15921 fi
15922 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15923 echo "${ECHO_T}$wx_cv_gccversion" >&6
15924 ac_ext=cc
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15929
15930 if test "$wx_cv_gccversion" = "EMX2"; then
15931 LIBS="$LIBS -lstdcpp"
15932 LDFLAGS="$LDFLAGS -Zsysv-signals"
15933 else
15934 if test "$wx_cv_gccversion" = "EMX3"; then
15935 LIBS="$LIBS -lstdcxx -lgcc"
15936 LDFLAGS="$LDFLAGS -Zsysv-signals"
15937 else
15938 LIBS="$LIBS -lstdc++"
15939 fi
15940 fi
15941 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15942 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15943 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15944 wxUSE_OMF=yes
15945 enable_omf=yes
15946 fi
15947 ;;
15948 *)
15949
15950 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15951 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15952 if test "${ac_cv_string_strcasecmp+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955
15956 cat >conftest.$ac_ext <<_ACEOF
15957 /* confdefs.h. */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962
15963 #include <string.h>
15964
15965 int
15966 main ()
15967 {
15968
15969 strcasecmp("foo", "bar");
15970
15971 ;
15972 return 0;
15973 }
15974 _ACEOF
15975 rm -f conftest.$ac_objext conftest$ac_exeext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15977 (eval $ac_link) 2>conftest.er1
15978 ac_status=$?
15979 grep -v '^ *+' conftest.er1 >conftest.err
15980 rm -f conftest.er1
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -z "$ac_cxx_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15988 ac_status=$?
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try='test -s conftest$ac_exeext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15994 ac_status=$?
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_cv_string_strcasecmp=yes
15998 else
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 ac_cv_string_strcasecmp=no
16003
16004 fi
16005 rm -f conftest.err conftest.$ac_objext \
16006 conftest$ac_exeext conftest.$ac_ext
16007
16008 fi
16009 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16010 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16011
16012 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16013 cat >>confdefs.h <<\_ACEOF
16014 #define HAVE_STRCASECMP_IN_STRING_H 1
16015 _ACEOF
16016
16017 else
16018 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16019 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16020 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 else
16023
16024 cat >conftest.$ac_ext <<_ACEOF
16025 /* confdefs.h. */
16026 _ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030
16031 #include <strings.h>
16032
16033 int
16034 main ()
16035 {
16036
16037 strcasecmp("foo", "bar");
16038
16039 ;
16040 return 0;
16041 }
16042 _ACEOF
16043 rm -f conftest.$ac_objext conftest$ac_exeext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16045 (eval $ac_link) 2>conftest.er1
16046 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try='test -z "$ac_cxx_werror_flag"
16053 || test ! -s conftest.err'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16056 ac_status=$?
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; } &&
16059 { ac_try='test -s conftest$ac_exeext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16062 ac_status=$?
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 ac_cv_strings_strcasecmp=yes
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16069
16070 ac_cv_strings_strcasecmp=no
16071
16072 fi
16073 rm -f conftest.err conftest.$ac_objext \
16074 conftest$ac_exeext conftest.$ac_ext
16075
16076 fi
16077 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16078 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16079
16080 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16081 cat >>confdefs.h <<\_ACEOF
16082 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16083 _ACEOF
16084
16085 else
16086 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16087 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16088 { (exit 1); exit 1; }; }
16089 fi
16090 fi
16091
16092 ;;
16093 esac
16094
16095
16096 ac_ext=cc
16097 ac_cpp='$CXXCPP $CPPFLAGS'
16098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16101 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16102 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16103 if test -z "$CXXCPP"; then
16104 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 else
16107 # Double quotes because CXXCPP needs to be expanded
16108 for CXXCPP in "$CXX -E" "/lib/cpp"
16109 do
16110 ac_preproc_ok=false
16111 for ac_cxx_preproc_warn_flag in '' yes
16112 do
16113 # Use a header file that comes with gcc, so configuring glibc
16114 # with a fresh cross-compiler works.
16115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16116 # <limits.h> exists even on freestanding compilers.
16117 # On the NeXT, cc -E runs the code through the compiler's parser,
16118 # not just through cpp. "Syntax error" is here to catch this case.
16119 cat >conftest.$ac_ext <<_ACEOF
16120 /* confdefs.h. */
16121 _ACEOF
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 #ifdef __STDC__
16126 # include <limits.h>
16127 #else
16128 # include <assert.h>
16129 #endif
16130 Syntax error
16131 _ACEOF
16132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev/null; then
16140 if test -s conftest.err; then
16141 ac_cpp_err=$ac_cxx_preproc_warn_flag
16142 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16143 else
16144 ac_cpp_err=
16145 fi
16146 else
16147 ac_cpp_err=yes
16148 fi
16149 if test -z "$ac_cpp_err"; then
16150 :
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 # Broken: fails on valid input.
16156 continue
16157 fi
16158 rm -f conftest.err conftest.$ac_ext
16159
16160 # OK, works on sane cases. Now check whether non-existent headers
16161 # can be detected and how.
16162 cat >conftest.$ac_ext <<_ACEOF
16163 /* confdefs.h. */
16164 _ACEOF
16165 cat confdefs.h >>conftest.$ac_ext
16166 cat >>conftest.$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 #include <ac_nonexistent.h>
16169 _ACEOF
16170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } >/dev/null; then
16178 if test -s conftest.err; then
16179 ac_cpp_err=$ac_cxx_preproc_warn_flag
16180 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16181 else
16182 ac_cpp_err=
16183 fi
16184 else
16185 ac_cpp_err=yes
16186 fi
16187 if test -z "$ac_cpp_err"; then
16188 # Broken: success on invalid input.
16189 continue
16190 else
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16193
16194 # Passes both tests.
16195 ac_preproc_ok=:
16196 break
16197 fi
16198 rm -f conftest.err conftest.$ac_ext
16199
16200 done
16201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16202 rm -f conftest.err conftest.$ac_ext
16203 if $ac_preproc_ok; then
16204 break
16205 fi
16206
16207 done
16208 ac_cv_prog_CXXCPP=$CXXCPP
16209
16210 fi
16211 CXXCPP=$ac_cv_prog_CXXCPP
16212 else
16213 ac_cv_prog_CXXCPP=$CXXCPP
16214 fi
16215 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16216 echo "${ECHO_T}$CXXCPP" >&6
16217 ac_preproc_ok=false
16218 for ac_cxx_preproc_warn_flag in '' yes
16219 do
16220 # Use a header file that comes with gcc, so configuring glibc
16221 # with a fresh cross-compiler works.
16222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16223 # <limits.h> exists even on freestanding compilers.
16224 # On the NeXT, cc -E runs the code through the compiler's parser,
16225 # not just through cpp. "Syntax error" is here to catch this case.
16226 cat >conftest.$ac_ext <<_ACEOF
16227 /* confdefs.h. */
16228 _ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16232 #ifdef __STDC__
16233 # include <limits.h>
16234 #else
16235 # include <assert.h>
16236 #endif
16237 Syntax error
16238 _ACEOF
16239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16241 ac_status=$?
16242 grep -v '^ *+' conftest.er1 >conftest.err
16243 rm -f conftest.er1
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } >/dev/null; then
16247 if test -s conftest.err; then
16248 ac_cpp_err=$ac_cxx_preproc_warn_flag
16249 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16250 else
16251 ac_cpp_err=
16252 fi
16253 else
16254 ac_cpp_err=yes
16255 fi
16256 if test -z "$ac_cpp_err"; then
16257 :
16258 else
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16261
16262 # Broken: fails on valid input.
16263 continue
16264 fi
16265 rm -f conftest.err conftest.$ac_ext
16266
16267 # OK, works on sane cases. Now check whether non-existent headers
16268 # can be detected and how.
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 #include <ac_nonexistent.h>
16276 _ACEOF
16277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16279 ac_status=$?
16280 grep -v '^ *+' conftest.er1 >conftest.err
16281 rm -f conftest.er1
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } >/dev/null; then
16285 if test -s conftest.err; then
16286 ac_cpp_err=$ac_cxx_preproc_warn_flag
16287 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16288 else
16289 ac_cpp_err=
16290 fi
16291 else
16292 ac_cpp_err=yes
16293 fi
16294 if test -z "$ac_cpp_err"; then
16295 # Broken: success on invalid input.
16296 continue
16297 else
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.$ac_ext >&5
16300
16301 # Passes both tests.
16302 ac_preproc_ok=:
16303 break
16304 fi
16305 rm -f conftest.err conftest.$ac_ext
16306
16307 done
16308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16309 rm -f conftest.err conftest.$ac_ext
16310 if $ac_preproc_ok; then
16311 :
16312 else
16313 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16314 See \`config.log' for more details." >&5
16315 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16316 See \`config.log' for more details." >&2;}
16317 { (exit 1); exit 1; }; }
16318 fi
16319
16320 ac_ext=cc
16321 ac_cpp='$CXXCPP $CPPFLAGS'
16322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16325
16326
16327 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16328 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16329 if test "${ac_cv_header_stdc+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16332 cat >conftest.$ac_ext <<_ACEOF
16333 /* confdefs.h. */
16334 _ACEOF
16335 cat confdefs.h >>conftest.$ac_ext
16336 cat >>conftest.$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <stdlib.h>
16339 #include <stdarg.h>
16340 #include <string.h>
16341 #include <float.h>
16342
16343 int
16344 main ()
16345 {
16346
16347 ;
16348 return 0;
16349 }
16350 _ACEOF
16351 rm -f conftest.$ac_objext
16352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>conftest.er1
16354 ac_status=$?
16355 grep -v '^ *+' conftest.er1 >conftest.err
16356 rm -f conftest.er1
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } &&
16360 { ac_try='test -z "$ac_cxx_werror_flag"
16361 || test ! -s conftest.err'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16364 ac_status=$?
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; } &&
16367 { ac_try='test -s conftest.$ac_objext'
16368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369 (eval $ac_try) 2>&5
16370 ac_status=$?
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); }; }; then
16373 ac_cv_header_stdc=yes
16374 else
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16377
16378 ac_cv_header_stdc=no
16379 fi
16380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16381
16382 if test $ac_cv_header_stdc = yes; then
16383 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 #include <string.h>
16391
16392 _ACEOF
16393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16394 $EGREP "memchr" >/dev/null 2>&1; then
16395 :
16396 else
16397 ac_cv_header_stdc=no
16398 fi
16399 rm -f conftest*
16400
16401 fi
16402
16403 if test $ac_cv_header_stdc = yes; then
16404 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 #include <stdlib.h>
16412
16413 _ACEOF
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "free" >/dev/null 2>&1; then
16416 :
16417 else
16418 ac_cv_header_stdc=no
16419 fi
16420 rm -f conftest*
16421
16422 fi
16423
16424 if test $ac_cv_header_stdc = yes; then
16425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16426 if test "$cross_compiling" = yes; then
16427 :
16428 else
16429 cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h. */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435 #include <ctype.h>
16436 #if ((' ' & 0x0FF) == 0x020)
16437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16439 #else
16440 # define ISLOWER(c) \
16441 (('a' <= (c) && (c) <= 'i') \
16442 || ('j' <= (c) && (c) <= 'r') \
16443 || ('s' <= (c) && (c) <= 'z'))
16444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16445 #endif
16446
16447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16448 int
16449 main ()
16450 {
16451 int i;
16452 for (i = 0; i < 256; i++)
16453 if (XOR (islower (i), ISLOWER (i))
16454 || toupper (i) != TOUPPER (i))
16455 exit(2);
16456 exit (0);
16457 }
16458 _ACEOF
16459 rm -f conftest$ac_exeext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16461 (eval $ac_link) 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 :
16471 else
16472 echo "$as_me: program exited with status $ac_status" >&5
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 ( exit $ac_status )
16477 ac_cv_header_stdc=no
16478 fi
16479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16480 fi
16481 fi
16482 fi
16483 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16484 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16485 if test $ac_cv_header_stdc = yes; then
16486
16487 cat >>confdefs.h <<\_ACEOF
16488 #define STDC_HEADERS 1
16489 _ACEOF
16490
16491 fi
16492
16493 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16504 inttypes.h stdint.h unistd.h
16505 do
16506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16507 echo "$as_me:$LINENO: checking for $ac_header" >&5
16508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 else
16512 cat >conftest.$ac_ext <<_ACEOF
16513 /* confdefs.h. */
16514 _ACEOF
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16518 $ac_includes_default
16519
16520 #include <$ac_header>
16521 _ACEOF
16522 rm -f conftest.$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_cxx_werror_flag"
16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try='test -s conftest.$ac_objext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 eval "$as_ac_Header=yes"
16545 else
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.$ac_ext >&5
16548
16549 eval "$as_ac_Header=no"
16550 fi
16551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16552 fi
16553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16556 cat >>confdefs.h <<_ACEOF
16557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16558 _ACEOF
16559
16560 fi
16561
16562 done
16563
16564
16565
16566 for ac_header in stdlib.h
16567 do
16568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo "$as_me:$LINENO: checking for $ac_header" >&5
16571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 fi
16575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16577 else
16578 # Is the header compilable?
16579 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16580 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 $ac_includes_default
16588 #include <$ac_header>
16589 _ACEOF
16590 rm -f conftest.$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>conftest.er1
16593 ac_status=$?
16594 grep -v '^ *+' conftest.er1 >conftest.err
16595 rm -f conftest.er1
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try='test -z "$ac_cxx_werror_flag"
16600 || test ! -s conftest.err'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16603 ac_status=$?
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try='test -s conftest.$ac_objext'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16612 ac_header_compiler=yes
16613 else
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16616
16617 ac_header_compiler=no
16618 fi
16619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16621 echo "${ECHO_T}$ac_header_compiler" >&6
16622
16623 # Is the header present?
16624 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 #include <$ac_header>
16633 _ACEOF
16634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16636 ac_status=$?
16637 grep -v '^ *+' conftest.er1 >conftest.err
16638 rm -f conftest.er1
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } >/dev/null; then
16642 if test -s conftest.err; then
16643 ac_cpp_err=$ac_cxx_preproc_warn_flag
16644 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16645 else
16646 ac_cpp_err=
16647 fi
16648 else
16649 ac_cpp_err=yes
16650 fi
16651 if test -z "$ac_cpp_err"; then
16652 ac_header_preproc=yes
16653 else
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16656
16657 ac_header_preproc=no
16658 fi
16659 rm -f conftest.err conftest.$ac_ext
16660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16661 echo "${ECHO_T}$ac_header_preproc" >&6
16662
16663 # So? What about this header?
16664 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16665 yes:no: )
16666 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16667 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16669 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16670 ac_header_preproc=yes
16671 ;;
16672 no:yes:* )
16673 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16674 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16675 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16676 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16677 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16678 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16679 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16680 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16683 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16684 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16685 (
16686 cat <<\_ASBOX
16687 ## ----------------------------------------- ##
16688 ## Report this to wx-dev@lists.wxwidgets.org ##
16689 ## ----------------------------------------- ##
16690 _ASBOX
16691 ) |
16692 sed "s/^/$as_me: WARNING: /" >&2
16693 ;;
16694 esac
16695 echo "$as_me:$LINENO: checking for $ac_header" >&5
16696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 else
16700 eval "$as_ac_Header=\$ac_header_preproc"
16701 fi
16702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16704
16705 fi
16706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16707 cat >>confdefs.h <<_ACEOF
16708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16709 _ACEOF
16710
16711 fi
16712
16713 done
16714
16715
16716 for ac_header in malloc.h
16717 do
16718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16720 echo "$as_me:$LINENO: checking for $ac_header" >&5
16721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 fi
16725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16727 else
16728 # Is the header compilable?
16729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16731 cat >conftest.$ac_ext <<_ACEOF
16732 /* confdefs.h. */
16733 _ACEOF
16734 cat confdefs.h >>conftest.$ac_ext
16735 cat >>conftest.$ac_ext <<_ACEOF
16736 /* end confdefs.h. */
16737 $ac_includes_default
16738 #include <$ac_header>
16739 _ACEOF
16740 rm -f conftest.$ac_objext
16741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>conftest.er1
16743 ac_status=$?
16744 grep -v '^ *+' conftest.er1 >conftest.err
16745 rm -f conftest.er1
16746 cat conftest.err >&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } &&
16749 { ac_try='test -z "$ac_cxx_werror_flag"
16750 || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16753 ac_status=$?
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16759 ac_status=$?
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_header_compiler=yes
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16766
16767 ac_header_compiler=no
16768 fi
16769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16771 echo "${ECHO_T}$ac_header_compiler" >&6
16772
16773 # Is the header present?
16774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16776 cat >conftest.$ac_ext <<_ACEOF
16777 /* confdefs.h. */
16778 _ACEOF
16779 cat confdefs.h >>conftest.$ac_ext
16780 cat >>conftest.$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 #include <$ac_header>
16783 _ACEOF
16784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16786 ac_status=$?
16787 grep -v '^ *+' conftest.er1 >conftest.err
16788 rm -f conftest.er1
16789 cat conftest.err >&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } >/dev/null; then
16792 if test -s conftest.err; then
16793 ac_cpp_err=$ac_cxx_preproc_warn_flag
16794 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16795 else
16796 ac_cpp_err=
16797 fi
16798 else
16799 ac_cpp_err=yes
16800 fi
16801 if test -z "$ac_cpp_err"; then
16802 ac_header_preproc=yes
16803 else
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16806
16807 ac_header_preproc=no
16808 fi
16809 rm -f conftest.err conftest.$ac_ext
16810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16811 echo "${ECHO_T}$ac_header_preproc" >&6
16812
16813 # So? What about this header?
16814 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16815 yes:no: )
16816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16820 ac_header_preproc=yes
16821 ;;
16822 no:yes:* )
16823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16835 (
16836 cat <<\_ASBOX
16837 ## ----------------------------------------- ##
16838 ## Report this to wx-dev@lists.wxwidgets.org ##
16839 ## ----------------------------------------- ##
16840 _ASBOX
16841 ) |
16842 sed "s/^/$as_me: WARNING: /" >&2
16843 ;;
16844 esac
16845 echo "$as_me:$LINENO: checking for $ac_header" >&5
16846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 else
16850 eval "$as_ac_Header=\$ac_header_preproc"
16851 fi
16852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16854
16855 fi
16856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16857 cat >>confdefs.h <<_ACEOF
16858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16859 _ACEOF
16860
16861 fi
16862
16863 done
16864
16865
16866 for ac_header in unistd.h
16867 do
16868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16870 echo "$as_me:$LINENO: checking for $ac_header" >&5
16871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 fi
16875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16877 else
16878 # Is the header compilable?
16879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16881 cat >conftest.$ac_ext <<_ACEOF
16882 /* confdefs.h. */
16883 _ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16888 #include <$ac_header>
16889 _ACEOF
16890 rm -f conftest.$ac_objext
16891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16892 (eval $ac_compile) 2>conftest.er1
16893 ac_status=$?
16894 grep -v '^ *+' conftest.er1 >conftest.err
16895 rm -f conftest.er1
16896 cat conftest.err >&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } &&
16899 { ac_try='test -z "$ac_cxx_werror_flag"
16900 || test ! -s conftest.err'
16901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902 (eval $ac_try) 2>&5
16903 ac_status=$?
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }; } &&
16906 { ac_try='test -s conftest.$ac_objext'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; }; then
16912 ac_header_compiler=yes
16913 else
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16916
16917 ac_header_compiler=no
16918 fi
16919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16921 echo "${ECHO_T}$ac_header_compiler" >&6
16922
16923 # Is the header present?
16924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932 #include <$ac_header>
16933 _ACEOF
16934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16936 ac_status=$?
16937 grep -v '^ *+' conftest.er1 >conftest.err
16938 rm -f conftest.er1
16939 cat conftest.err >&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } >/dev/null; then
16942 if test -s conftest.err; then
16943 ac_cpp_err=$ac_cxx_preproc_warn_flag
16944 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16945 else
16946 ac_cpp_err=
16947 fi
16948 else
16949 ac_cpp_err=yes
16950 fi
16951 if test -z "$ac_cpp_err"; then
16952 ac_header_preproc=yes
16953 else
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16956
16957 ac_header_preproc=no
16958 fi
16959 rm -f conftest.err conftest.$ac_ext
16960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16961 echo "${ECHO_T}$ac_header_preproc" >&6
16962
16963 # So? What about this header?
16964 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16965 yes:no: )
16966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16969 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16970 ac_header_preproc=yes
16971 ;;
16972 no:yes:* )
16973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16977 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16978 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16979 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16980 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16984 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16985 (
16986 cat <<\_ASBOX
16987 ## ----------------------------------------- ##
16988 ## Report this to wx-dev@lists.wxwidgets.org ##
16989 ## ----------------------------------------- ##
16990 _ASBOX
16991 ) |
16992 sed "s/^/$as_me: WARNING: /" >&2
16993 ;;
16994 esac
16995 echo "$as_me:$LINENO: checking for $ac_header" >&5
16996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
16999 else
17000 eval "$as_ac_Header=\$ac_header_preproc"
17001 fi
17002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17004
17005 fi
17006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17007 cat >>confdefs.h <<_ACEOF
17008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17009 _ACEOF
17010
17011 fi
17012
17013 done
17014
17015
17016 for ac_header in wchar.h
17017 do
17018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17020 echo "$as_me:$LINENO: checking for $ac_header" >&5
17021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 fi
17025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17027 else
17028 # Is the header compilable?
17029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 #include <$ac_header>
17039 _ACEOF
17040 rm -f conftest.$ac_objext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17042 (eval $ac_compile) 2>conftest.er1
17043 ac_status=$?
17044 grep -v '^ *+' conftest.er1 >conftest.err
17045 rm -f conftest.er1
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } &&
17049 { ac_try='test -z "$ac_cxx_werror_flag"
17050 || test ! -s conftest.err'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17053 ac_status=$?
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; } &&
17056 { ac_try='test -s conftest.$ac_objext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_header_compiler=yes
17063 else
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17066
17067 ac_header_compiler=no
17068 fi
17069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17071 echo "${ECHO_T}$ac_header_compiler" >&6
17072
17073 # Is the header present?
17074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17076 cat >conftest.$ac_ext <<_ACEOF
17077 /* confdefs.h. */
17078 _ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 #include <$ac_header>
17083 _ACEOF
17084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17086 ac_status=$?
17087 grep -v '^ *+' conftest.er1 >conftest.err
17088 rm -f conftest.er1
17089 cat conftest.err >&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } >/dev/null; then
17092 if test -s conftest.err; then
17093 ac_cpp_err=$ac_cxx_preproc_warn_flag
17094 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17095 else
17096 ac_cpp_err=
17097 fi
17098 else
17099 ac_cpp_err=yes
17100 fi
17101 if test -z "$ac_cpp_err"; then
17102 ac_header_preproc=yes
17103 else
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17106
17107 ac_header_preproc=no
17108 fi
17109 rm -f conftest.err conftest.$ac_ext
17110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17111 echo "${ECHO_T}$ac_header_preproc" >&6
17112
17113 # So? What about this header?
17114 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17115 yes:no: )
17116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17120 ac_header_preproc=yes
17121 ;;
17122 no:yes:* )
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17135 (
17136 cat <<\_ASBOX
17137 ## ----------------------------------------- ##
17138 ## Report this to wx-dev@lists.wxwidgets.org ##
17139 ## ----------------------------------------- ##
17140 _ASBOX
17141 ) |
17142 sed "s/^/$as_me: WARNING: /" >&2
17143 ;;
17144 esac
17145 echo "$as_me:$LINENO: checking for $ac_header" >&5
17146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17149 else
17150 eval "$as_ac_Header=\$ac_header_preproc"
17151 fi
17152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17154
17155 fi
17156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17157 cat >>confdefs.h <<_ACEOF
17158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17159 _ACEOF
17160
17161 fi
17162
17163 done
17164
17165
17166 if test "$ac_cv_header_wchar_h" != "yes"; then
17167
17168 for ac_header in wcstr.h
17169 do
17170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17172 echo "$as_me:$LINENO: checking for $ac_header" >&5
17173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 fi
17177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17179 else
17180 # Is the header compilable?
17181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 #include <$ac_header>
17191 _ACEOF
17192 rm -f conftest.$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try='test -z "$ac_cxx_werror_flag"
17202 || test ! -s conftest.err'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17205 ac_status=$?
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_header_compiler=yes
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 ac_header_compiler=no
17220 fi
17221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17223 echo "${ECHO_T}$ac_header_compiler" >&6
17224
17225 # Is the header present?
17226 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17227 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 #include <$ac_header>
17235 _ACEOF
17236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } >/dev/null; then
17244 if test -s conftest.err; then
17245 ac_cpp_err=$ac_cxx_preproc_warn_flag
17246 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17247 else
17248 ac_cpp_err=
17249 fi
17250 else
17251 ac_cpp_err=yes
17252 fi
17253 if test -z "$ac_cpp_err"; then
17254 ac_header_preproc=yes
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17258
17259 ac_header_preproc=no
17260 fi
17261 rm -f conftest.err conftest.$ac_ext
17262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17263 echo "${ECHO_T}$ac_header_preproc" >&6
17264
17265 # So? What about this header?
17266 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17267 yes:no: )
17268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17271 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17272 ac_header_preproc=yes
17273 ;;
17274 no:yes:* )
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17278 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17280 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17282 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17286 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17287 (
17288 cat <<\_ASBOX
17289 ## ----------------------------------------- ##
17290 ## Report this to wx-dev@lists.wxwidgets.org ##
17291 ## ----------------------------------------- ##
17292 _ASBOX
17293 ) |
17294 sed "s/^/$as_me: WARNING: /" >&2
17295 ;;
17296 esac
17297 echo "$as_me:$LINENO: checking for $ac_header" >&5
17298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 else
17302 eval "$as_ac_Header=\$ac_header_preproc"
17303 fi
17304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17306
17307 fi
17308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17309 cat >>confdefs.h <<_ACEOF
17310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17311 _ACEOF
17312
17313 fi
17314
17315 done
17316
17317 fi
17318
17319
17320 for ac_header in fnmatch.h
17321 do
17322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17324 echo "$as_me:$LINENO: checking for $ac_header" >&5
17325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 fi
17329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17331 else
17332 # Is the header compilable?
17333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17335 cat >conftest.$ac_ext <<_ACEOF
17336 /* confdefs.h. */
17337 _ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17342 #include <$ac_header>
17343 _ACEOF
17344 rm -f conftest.$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>conftest.er1
17347 ac_status=$?
17348 grep -v '^ *+' conftest.er1 >conftest.err
17349 rm -f conftest.er1
17350 cat conftest.err >&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try='test -z "$ac_cxx_werror_flag"
17354 || test ! -s conftest.err'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; } &&
17360 { ac_try='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_header_compiler=yes
17367 else
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.$ac_ext >&5
17370
17371 ac_header_compiler=no
17372 fi
17373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17375 echo "${ECHO_T}$ac_header_compiler" >&6
17376
17377 # Is the header present?
17378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17380 cat >conftest.$ac_ext <<_ACEOF
17381 /* confdefs.h. */
17382 _ACEOF
17383 cat confdefs.h >>conftest.$ac_ext
17384 cat >>conftest.$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17386 #include <$ac_header>
17387 _ACEOF
17388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17389 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
17396 if test -s conftest.err; then
17397 ac_cpp_err=$ac_cxx_preproc_warn_flag
17398 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17399 else
17400 ac_cpp_err=
17401 fi
17402 else
17403 ac_cpp_err=yes
17404 fi
17405 if test -z "$ac_cpp_err"; then
17406 ac_header_preproc=yes
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17410
17411 ac_header_preproc=no
17412 fi
17413 rm -f conftest.err conftest.$ac_ext
17414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17415 echo "${ECHO_T}$ac_header_preproc" >&6
17416
17417 # So? What about this header?
17418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17419 yes:no: )
17420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17424 ac_header_preproc=yes
17425 ;;
17426 no:yes:* )
17427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17439 (
17440 cat <<\_ASBOX
17441 ## ----------------------------------------- ##
17442 ## Report this to wx-dev@lists.wxwidgets.org ##
17443 ## ----------------------------------------- ##
17444 _ASBOX
17445 ) |
17446 sed "s/^/$as_me: WARNING: /" >&2
17447 ;;
17448 esac
17449 echo "$as_me:$LINENO: checking for $ac_header" >&5
17450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 else
17454 eval "$as_ac_Header=\$ac_header_preproc"
17455 fi
17456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17458
17459 fi
17460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17461 cat >>confdefs.h <<_ACEOF
17462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17463 _ACEOF
17464
17465 fi
17466
17467 done
17468
17469
17470
17471 for ac_header in langinfo.h
17472 do
17473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17475 echo "$as_me:$LINENO: checking for $ac_header" >&5
17476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 fi
17480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17482 else
17483 # Is the header compilable?
17484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17486 cat >conftest.$ac_ext <<_ACEOF
17487 /* confdefs.h. */
17488 _ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 $ac_includes_default
17493 #include <$ac_header>
17494 _ACEOF
17495 rm -f conftest.$ac_objext
17496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17497 (eval $ac_compile) 2>conftest.er1
17498 ac_status=$?
17499 grep -v '^ *+' conftest.er1 >conftest.err
17500 rm -f conftest.er1
17501 cat conftest.err >&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try='test -z "$ac_cxx_werror_flag"
17505 || test ! -s conftest.err'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17508 ac_status=$?
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; } &&
17511 { ac_try='test -s conftest.$ac_objext'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17514 ac_status=$?
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17517 ac_header_compiler=yes
17518 else
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17521
17522 ac_header_compiler=no
17523 fi
17524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17526 echo "${ECHO_T}$ac_header_compiler" >&6
17527
17528 # Is the header present?
17529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537 #include <$ac_header>
17538 _ACEOF
17539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17541 ac_status=$?
17542 grep -v '^ *+' conftest.er1 >conftest.err
17543 rm -f conftest.er1
17544 cat conftest.err >&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } >/dev/null; then
17547 if test -s conftest.err; then
17548 ac_cpp_err=$ac_cxx_preproc_warn_flag
17549 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17550 else
17551 ac_cpp_err=
17552 fi
17553 else
17554 ac_cpp_err=yes
17555 fi
17556 if test -z "$ac_cpp_err"; then
17557 ac_header_preproc=yes
17558 else
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.$ac_ext >&5
17561
17562 ac_header_preproc=no
17563 fi
17564 rm -f conftest.err conftest.$ac_ext
17565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17566 echo "${ECHO_T}$ac_header_preproc" >&6
17567
17568 # So? What about this header?
17569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17570 yes:no: )
17571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17575 ac_header_preproc=yes
17576 ;;
17577 no:yes:* )
17578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17590 (
17591 cat <<\_ASBOX
17592 ## ----------------------------------------- ##
17593 ## Report this to wx-dev@lists.wxwidgets.org ##
17594 ## ----------------------------------------- ##
17595 _ASBOX
17596 ) |
17597 sed "s/^/$as_me: WARNING: /" >&2
17598 ;;
17599 esac
17600 echo "$as_me:$LINENO: checking for $ac_header" >&5
17601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17604 else
17605 eval "$as_ac_Header=\$ac_header_preproc"
17606 fi
17607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17609
17610 fi
17611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17612 cat >>confdefs.h <<_ACEOF
17613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17614 _ACEOF
17615
17616 fi
17617
17618 done
17619
17620
17621 case "${host}" in
17622 *-pc-os2_emx | *-pc-os2-emx )
17623 if test $ac_cv_header_langinfo_h = "yes" \
17624 -a \( "$wx_cv_gccversion" = "EMX2" \
17625 -o "$wx_cv_gccversion" = "EMX3" \
17626 -o "$wx_cv_gccversion" = "Innotek5" \); then
17627 LIBS="$LIBS -lintl"
17628 fi
17629 ;;
17630 esac
17631
17632 if test "$USE_UNIX" = 1 ; then
17633
17634 for ac_header in sys/select.h
17635 do
17636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17638 echo "$as_me:$LINENO: checking for $ac_header" >&5
17639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 fi
17643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17645 else
17646 # Is the header compilable?
17647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17656 #include <$ac_header>
17657 _ACEOF
17658 rm -f conftest.$ac_objext
17659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17660 (eval $ac_compile) 2>conftest.er1
17661 ac_status=$?
17662 grep -v '^ *+' conftest.er1 >conftest.err
17663 rm -f conftest.er1
17664 cat conftest.err >&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } &&
17667 { ac_try='test -z "$ac_cxx_werror_flag"
17668 || test ! -s conftest.err'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17671 ac_status=$?
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; } &&
17674 { ac_try='test -s conftest.$ac_objext'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17677 ac_status=$?
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; }; then
17680 ac_header_compiler=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 ac_header_compiler=no
17686 fi
17687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17689 echo "${ECHO_T}$ac_header_compiler" >&6
17690
17691 # Is the header present?
17692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17694 cat >conftest.$ac_ext <<_ACEOF
17695 /* confdefs.h. */
17696 _ACEOF
17697 cat confdefs.h >>conftest.$ac_ext
17698 cat >>conftest.$ac_ext <<_ACEOF
17699 /* end confdefs.h. */
17700 #include <$ac_header>
17701 _ACEOF
17702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17704 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } >/dev/null; then
17710 if test -s conftest.err; then
17711 ac_cpp_err=$ac_cxx_preproc_warn_flag
17712 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17713 else
17714 ac_cpp_err=
17715 fi
17716 else
17717 ac_cpp_err=yes
17718 fi
17719 if test -z "$ac_cpp_err"; then
17720 ac_header_preproc=yes
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17724
17725 ac_header_preproc=no
17726 fi
17727 rm -f conftest.err conftest.$ac_ext
17728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17729 echo "${ECHO_T}$ac_header_preproc" >&6
17730
17731 # So? What about this header?
17732 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17733 yes:no: )
17734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17738 ac_header_preproc=yes
17739 ;;
17740 no:yes:* )
17741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17753 (
17754 cat <<\_ASBOX
17755 ## ----------------------------------------- ##
17756 ## Report this to wx-dev@lists.wxwidgets.org ##
17757 ## ----------------------------------------- ##
17758 _ASBOX
17759 ) |
17760 sed "s/^/$as_me: WARNING: /" >&2
17761 ;;
17762 esac
17763 echo "$as_me:$LINENO: checking for $ac_header" >&5
17764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17767 else
17768 eval "$as_ac_Header=\$ac_header_preproc"
17769 fi
17770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17772
17773 fi
17774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17775 cat >>confdefs.h <<_ACEOF
17776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17777 _ACEOF
17778
17779 fi
17780
17781 done
17782
17783 fi
17784
17785
17786 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17787 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17788 if test "${ac_cv_c_const+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 else
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797
17798 int
17799 main ()
17800 {
17801 /* FIXME: Include the comments suggested by Paul. */
17802 #ifndef __cplusplus
17803 /* Ultrix mips cc rejects this. */
17804 typedef int charset[2];
17805 const charset x;
17806 /* SunOS 4.1.1 cc rejects this. */
17807 char const *const *ccp;
17808 char **p;
17809 /* NEC SVR4.0.2 mips cc rejects this. */
17810 struct point {int x, y;};
17811 static struct point const zero = {0,0};
17812 /* AIX XL C 1.02.0.0 rejects this.
17813 It does not let you subtract one const X* pointer from another in
17814 an arm of an if-expression whose if-part is not a constant
17815 expression */
17816 const char *g = "string";
17817 ccp = &g + (g ? g-g : 0);
17818 /* HPUX 7.0 cc rejects these. */
17819 ++ccp;
17820 p = (char**) ccp;
17821 ccp = (char const *const *) p;
17822 { /* SCO 3.2v4 cc rejects this. */
17823 char *t;
17824 char const *s = 0 ? (char *) 0 : (char const *) 0;
17825
17826 *t++ = 0;
17827 }
17828 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17829 int x[] = {25, 17};
17830 const int *foo = &x[0];
17831 ++foo;
17832 }
17833 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17834 typedef const int *iptr;
17835 iptr p = 0;
17836 ++p;
17837 }
17838 { /* AIX XL C 1.02.0.0 rejects this saying
17839 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17840 struct s { int j; const int *ap[3]; };
17841 struct s *b; b->j = 5;
17842 }
17843 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17844 const int foo = 10;
17845 }
17846 #endif
17847
17848 ;
17849 return 0;
17850 }
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try='test -z "$ac_cxx_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17874 ac_cv_c_const=yes
17875 else
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17878
17879 ac_cv_c_const=no
17880 fi
17881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17882 fi
17883 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17884 echo "${ECHO_T}$ac_cv_c_const" >&6
17885 if test $ac_cv_c_const = no; then
17886
17887 cat >>confdefs.h <<\_ACEOF
17888 #define const
17889 _ACEOF
17890
17891 fi
17892
17893 echo "$as_me:$LINENO: checking for inline" >&5
17894 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17895 if test "${ac_cv_c_inline+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 else
17898 ac_cv_c_inline=no
17899 for ac_kw in inline __inline__ __inline; do
17900 cat >conftest.$ac_ext <<_ACEOF
17901 /* confdefs.h. */
17902 _ACEOF
17903 cat confdefs.h >>conftest.$ac_ext
17904 cat >>conftest.$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17906 #ifndef __cplusplus
17907 typedef int foo_t;
17908 static $ac_kw foo_t static_foo () {return 0; }
17909 $ac_kw foo_t foo () {return 0; }
17910 #endif
17911
17912 _ACEOF
17913 rm -f conftest.$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try='test -z "$ac_cxx_werror_flag"
17923 || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17926 ac_status=$?
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try='test -s conftest.$ac_objext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17932 ac_status=$?
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 ac_cv_c_inline=$ac_kw; break
17936 else
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17939
17940 fi
17941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17942 done
17943
17944 fi
17945 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17946 echo "${ECHO_T}$ac_cv_c_inline" >&6
17947
17948
17949 case $ac_cv_c_inline in
17950 inline | yes) ;;
17951 *)
17952 case $ac_cv_c_inline in
17953 no) ac_val=;;
17954 *) ac_val=$ac_cv_c_inline;;
17955 esac
17956 cat >>confdefs.h <<_ACEOF
17957 #ifndef __cplusplus
17958 #define inline $ac_val
17959 #endif
17960 _ACEOF
17961 ;;
17962 esac
17963
17964
17965 echo "$as_me:$LINENO: checking for char" >&5
17966 echo $ECHO_N "checking for char... $ECHO_C" >&6
17967 if test "${ac_cv_type_char+set}" = set; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 else
17970 cat >conftest.$ac_ext <<_ACEOF
17971 /* confdefs.h. */
17972 _ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 $ac_includes_default
17977 int
17978 main ()
17979 {
17980 if ((char *) 0)
17981 return 0;
17982 if (sizeof (char))
17983 return 0;
17984 ;
17985 return 0;
17986 }
17987 _ACEOF
17988 rm -f conftest.$ac_objext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17990 (eval $ac_compile) 2>conftest.er1
17991 ac_status=$?
17992 grep -v '^ *+' conftest.er1 >conftest.err
17993 rm -f conftest.er1
17994 cat conftest.err >&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } &&
17997 { ac_try='test -z "$ac_cxx_werror_flag"
17998 || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18001 ac_status=$?
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try='test -s conftest.$ac_objext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18007 ac_status=$?
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_type_char=yes
18011 else
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18014
18015 ac_cv_type_char=no
18016 fi
18017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18018 fi
18019 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18020 echo "${ECHO_T}$ac_cv_type_char" >&6
18021
18022 echo "$as_me:$LINENO: checking size of char" >&5
18023 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18024 if test "${ac_cv_sizeof_char+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 else
18027 if test "$ac_cv_type_char" = yes; then
18028 # The cast to unsigned long works around a bug in the HP C Compiler
18029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18031 # This bug is HP SR number 8606223364.
18032 if test "$cross_compiling" = yes; then
18033 # Depending upon the size, compute the lo and hi bounds.
18034 cat >conftest.$ac_ext <<_ACEOF
18035 /* confdefs.h. */
18036 _ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040 $ac_includes_default
18041 int
18042 main ()
18043 {
18044 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18045 test_array [0] = 0
18046
18047 ;
18048 return 0;
18049 }
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>conftest.er1
18054 ac_status=$?
18055 grep -v '^ *+' conftest.er1 >conftest.err
18056 rm -f conftest.er1
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -z "$ac_cxx_werror_flag"
18061 || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 ac_lo=0 ac_mid=0
18074 while :; do
18075 cat >conftest.$ac_ext <<_ACEOF
18076 /* confdefs.h. */
18077 _ACEOF
18078 cat confdefs.h >>conftest.$ac_ext
18079 cat >>conftest.$ac_ext <<_ACEOF
18080 /* end confdefs.h. */
18081 $ac_includes_default
18082 int
18083 main ()
18084 {
18085 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18086 test_array [0] = 0
18087
18088 ;
18089 return 0;
18090 }
18091 _ACEOF
18092 rm -f conftest.$ac_objext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18094 (eval $ac_compile) 2>conftest.er1
18095 ac_status=$?
18096 grep -v '^ *+' conftest.er1 >conftest.err
18097 rm -f conftest.er1
18098 cat conftest.err >&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } &&
18101 { ac_try='test -z "$ac_cxx_werror_flag"
18102 || test ! -s conftest.err'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; } &&
18108 { ac_try='test -s conftest.$ac_objext'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; }; then
18114 ac_hi=$ac_mid; break
18115 else
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.$ac_ext >&5
18118
18119 ac_lo=`expr $ac_mid + 1`
18120 if test $ac_lo -le $ac_mid; then
18121 ac_lo= ac_hi=
18122 break
18123 fi
18124 ac_mid=`expr 2 '*' $ac_mid + 1`
18125 fi
18126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18127 done
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18131
18132 cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h. */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18139 int
18140 main ()
18141 {
18142 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18143 test_array [0] = 0
18144
18145 ;
18146 return 0;
18147 }
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18152 ac_status=$?
18153 grep -v '^ *+' conftest.er1 >conftest.err
18154 rm -f conftest.er1
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try='test -z "$ac_cxx_werror_flag"
18159 || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18162 ac_status=$?
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_hi=-1 ac_mid=-1
18172 while :; do
18173 cat >conftest.$ac_ext <<_ACEOF
18174 /* confdefs.h. */
18175 _ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18180 int
18181 main ()
18182 {
18183 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18184 test_array [0] = 0
18185
18186 ;
18187 return 0;
18188 }
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192 (eval $ac_compile) 2>conftest.er1
18193 ac_status=$?
18194 grep -v '^ *+' conftest.er1 >conftest.err
18195 rm -f conftest.er1
18196 cat conftest.err >&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try='test -z "$ac_cxx_werror_flag"
18200 || test ! -s conftest.err'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18203 ac_status=$?
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; } &&
18206 { ac_try='test -s conftest.$ac_objext'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18209 ac_status=$?
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; }; then
18212 ac_lo=$ac_mid; break
18213 else
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.$ac_ext >&5
18216
18217 ac_hi=`expr '(' $ac_mid ')' - 1`
18218 if test $ac_mid -le $ac_hi; then
18219 ac_lo= ac_hi=
18220 break
18221 fi
18222 ac_mid=`expr 2 '*' $ac_mid`
18223 fi
18224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18225 done
18226 else
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18229
18230 ac_lo= ac_hi=
18231 fi
18232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 fi
18234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18235 # Binary search between lo and hi bounds.
18236 while test "x$ac_lo" != "x$ac_hi"; do
18237 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 $ac_includes_default
18245 int
18246 main ()
18247 {
18248 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18249 test_array [0] = 0
18250
18251 ;
18252 return 0;
18253 }
18254 _ACEOF
18255 rm -f conftest.$ac_objext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>conftest.er1
18258 ac_status=$?
18259 grep -v '^ *+' conftest.er1 >conftest.err
18260 rm -f conftest.er1
18261 cat conftest.err >&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } &&
18264 { ac_try='test -z "$ac_cxx_werror_flag"
18265 || test ! -s conftest.err'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18268 ac_status=$?
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; } &&
18271 { ac_try='test -s conftest.$ac_objext'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18274 ac_status=$?
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18277 ac_hi=$ac_mid
18278 else
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.$ac_ext >&5
18281
18282 ac_lo=`expr '(' $ac_mid ')' + 1`
18283 fi
18284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18285 done
18286 case $ac_lo in
18287 ?*) ac_cv_sizeof_char=$ac_lo;;
18288 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18289 See \`config.log' for more details." >&5
18290 echo "$as_me: error: cannot compute sizeof (char), 77
18291 See \`config.log' for more details." >&2;}
18292 { (exit 1); exit 1; }; } ;;
18293 esac
18294 else
18295 if test "$cross_compiling" = yes; then
18296 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18297 See \`config.log' for more details." >&5
18298 echo "$as_me: error: cannot run test program while cross compiling
18299 See \`config.log' for more details." >&2;}
18300 { (exit 1); exit 1; }; }
18301 else
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 $ac_includes_default
18309 long longval () { return (long) (sizeof (char)); }
18310 unsigned long ulongval () { return (long) (sizeof (char)); }
18311 #include <stdio.h>
18312 #include <stdlib.h>
18313 int
18314 main ()
18315 {
18316
18317 FILE *f = fopen ("conftest.val", "w");
18318 if (! f)
18319 exit (1);
18320 if (((long) (sizeof (char))) < 0)
18321 {
18322 long i = longval ();
18323 if (i != ((long) (sizeof (char))))
18324 exit (1);
18325 fprintf (f, "%ld\n", i);
18326 }
18327 else
18328 {
18329 unsigned long i = ulongval ();
18330 if (i != ((long) (sizeof (char))))
18331 exit (1);
18332 fprintf (f, "%lu\n", i);
18333 }
18334 exit (ferror (f) || fclose (f) != 0);
18335
18336 ;
18337 return 0;
18338 }
18339 _ACEOF
18340 rm -f conftest$ac_exeext
18341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18342 (eval $ac_link) 2>&5
18343 ac_status=$?
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18348 ac_status=$?
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_cv_sizeof_char=`cat conftest.val`
18352 else
18353 echo "$as_me: program exited with status $ac_status" >&5
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18356
18357 ( exit $ac_status )
18358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18359 See \`config.log' for more details." >&5
18360 echo "$as_me: error: cannot compute sizeof (char), 77
18361 See \`config.log' for more details." >&2;}
18362 { (exit 1); exit 1; }; }
18363 fi
18364 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18365 fi
18366 fi
18367 rm -f conftest.val
18368 else
18369 ac_cv_sizeof_char=0
18370 fi
18371 fi
18372 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18373 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18374 cat >>confdefs.h <<_ACEOF
18375 #define SIZEOF_CHAR $ac_cv_sizeof_char
18376 _ACEOF
18377
18378
18379 echo "$as_me:$LINENO: checking for short" >&5
18380 echo $ECHO_N "checking for short... $ECHO_C" >&6
18381 if test "${ac_cv_type_short+set}" = set; then
18382 echo $ECHO_N "(cached) $ECHO_C" >&6
18383 else
18384 cat >conftest.$ac_ext <<_ACEOF
18385 /* confdefs.h. */
18386 _ACEOF
18387 cat confdefs.h >>conftest.$ac_ext
18388 cat >>conftest.$ac_ext <<_ACEOF
18389 /* end confdefs.h. */
18390 $ac_includes_default
18391 int
18392 main ()
18393 {
18394 if ((short *) 0)
18395 return 0;
18396 if (sizeof (short))
18397 return 0;
18398 ;
18399 return 0;
18400 }
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -z "$ac_cxx_werror_flag"
18412 || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 ac_cv_type_short=yes
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 ac_cv_type_short=no
18430 fi
18431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18432 fi
18433 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18434 echo "${ECHO_T}$ac_cv_type_short" >&6
18435
18436 echo "$as_me:$LINENO: checking size of short" >&5
18437 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18438 if test "${ac_cv_sizeof_short+set}" = set; then
18439 echo $ECHO_N "(cached) $ECHO_C" >&6
18440 else
18441 if test "$ac_cv_type_short" = yes; then
18442 # The cast to unsigned long works around a bug in the HP C Compiler
18443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18445 # This bug is HP SR number 8606223364.
18446 if test "$cross_compiling" = yes; then
18447 # Depending upon the size, compute the lo and hi bounds.
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 $ac_includes_default
18455 int
18456 main ()
18457 {
18458 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18459 test_array [0] = 0
18460
18461 ;
18462 return 0;
18463 }
18464 _ACEOF
18465 rm -f conftest.$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18468 ac_status=$?
18469 grep -v '^ *+' conftest.er1 >conftest.err
18470 rm -f conftest.er1
18471 cat conftest.err >&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try='test -z "$ac_cxx_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_lo=0 ac_mid=0
18488 while :; do
18489 cat >conftest.$ac_ext <<_ACEOF
18490 /* confdefs.h. */
18491 _ACEOF
18492 cat confdefs.h >>conftest.$ac_ext
18493 cat >>conftest.$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495 $ac_includes_default
18496 int
18497 main ()
18498 {
18499 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18500 test_array [0] = 0
18501
18502 ;
18503 return 0;
18504 }
18505 _ACEOF
18506 rm -f conftest.$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>conftest.er1
18509 ac_status=$?
18510 grep -v '^ *+' conftest.er1 >conftest.err
18511 rm -f conftest.er1
18512 cat conftest.err >&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try='test -z "$ac_cxx_werror_flag"
18516 || test ! -s conftest.err'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; } &&
18522 { ac_try='test -s conftest.$ac_objext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 ac_hi=$ac_mid; break
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18532
18533 ac_lo=`expr $ac_mid + 1`
18534 if test $ac_lo -le $ac_mid; then
18535 ac_lo= ac_hi=
18536 break
18537 fi
18538 ac_mid=`expr 2 '*' $ac_mid + 1`
18539 fi
18540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18541 done
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18553 int
18554 main ()
18555 {
18556 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18557 test_array [0] = 0
18558
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rm -f conftest.$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18566 ac_status=$?
18567 grep -v '^ *+' conftest.er1 >conftest.err
18568 rm -f conftest.er1
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try='test -z "$ac_cxx_werror_flag"
18573 || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18582 ac_status=$?
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18585 ac_hi=-1 ac_mid=-1
18586 while :; do
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594 int
18595 main ()
18596 {
18597 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18598 test_array [0] = 0
18599
18600 ;
18601 return 0;
18602 }
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18606 (eval $ac_compile) 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try='test -z "$ac_cxx_werror_flag"
18614 || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_lo=$ac_mid; break
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 ac_hi=`expr '(' $ac_mid ')' - 1`
18632 if test $ac_mid -le $ac_hi; then
18633 ac_lo= ac_hi=
18634 break
18635 fi
18636 ac_mid=`expr 2 '*' $ac_mid`
18637 fi
18638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18639 done
18640 else
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18643
18644 ac_lo= ac_hi=
18645 fi
18646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 # Binary search between lo and hi bounds.
18650 while test "x$ac_lo" != "x$ac_hi"; do
18651 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18652 cat >conftest.$ac_ext <<_ACEOF
18653 /* confdefs.h. */
18654 _ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 $ac_includes_default
18659 int
18660 main ()
18661 {
18662 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18663 test_array [0] = 0
18664
18665 ;
18666 return 0;
18667 }
18668 _ACEOF
18669 rm -f conftest.$ac_objext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18671 (eval $ac_compile) 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try='test -z "$ac_cxx_werror_flag"
18679 || test ! -s conftest.err'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18682 ac_status=$?
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; } &&
18685 { ac_try='test -s conftest.$ac_objext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18688 ac_status=$?
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 ac_hi=$ac_mid
18692 else
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.$ac_ext >&5
18695
18696 ac_lo=`expr '(' $ac_mid ')' + 1`
18697 fi
18698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18699 done
18700 case $ac_lo in
18701 ?*) ac_cv_sizeof_short=$ac_lo;;
18702 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18703 See \`config.log' for more details." >&5
18704 echo "$as_me: error: cannot compute sizeof (short), 77
18705 See \`config.log' for more details." >&2;}
18706 { (exit 1); exit 1; }; } ;;
18707 esac
18708 else
18709 if test "$cross_compiling" = yes; then
18710 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18711 See \`config.log' for more details." >&5
18712 echo "$as_me: error: cannot run test program while cross compiling
18713 See \`config.log' for more details." >&2;}
18714 { (exit 1); exit 1; }; }
18715 else
18716 cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h. */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 $ac_includes_default
18723 long longval () { return (long) (sizeof (short)); }
18724 unsigned long ulongval () { return (long) (sizeof (short)); }
18725 #include <stdio.h>
18726 #include <stdlib.h>
18727 int
18728 main ()
18729 {
18730
18731 FILE *f = fopen ("conftest.val", "w");
18732 if (! f)
18733 exit (1);
18734 if (((long) (sizeof (short))) < 0)
18735 {
18736 long i = longval ();
18737 if (i != ((long) (sizeof (short))))
18738 exit (1);
18739 fprintf (f, "%ld\n", i);
18740 }
18741 else
18742 {
18743 unsigned long i = ulongval ();
18744 if (i != ((long) (sizeof (short))))
18745 exit (1);
18746 fprintf (f, "%lu\n", i);
18747 }
18748 exit (ferror (f) || fclose (f) != 0);
18749
18750 ;
18751 return 0;
18752 }
18753 _ACEOF
18754 rm -f conftest$ac_exeext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18756 (eval $ac_link) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18762 ac_status=$?
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18765 ac_cv_sizeof_short=`cat conftest.val`
18766 else
18767 echo "$as_me: program exited with status $ac_status" >&5
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18770
18771 ( exit $ac_status )
18772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18773 See \`config.log' for more details." >&5
18774 echo "$as_me: error: cannot compute sizeof (short), 77
18775 See \`config.log' for more details." >&2;}
18776 { (exit 1); exit 1; }; }
18777 fi
18778 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18779 fi
18780 fi
18781 rm -f conftest.val
18782 else
18783 ac_cv_sizeof_short=0
18784 fi
18785 fi
18786 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18787 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18788 cat >>confdefs.h <<_ACEOF
18789 #define SIZEOF_SHORT $ac_cv_sizeof_short
18790 _ACEOF
18791
18792
18793 echo "$as_me:$LINENO: checking for void *" >&5
18794 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18795 if test "${ac_cv_type_void_p+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 else
18798 cat >conftest.$ac_ext <<_ACEOF
18799 /* confdefs.h. */
18800 _ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 $ac_includes_default
18805 int
18806 main ()
18807 {
18808 if ((void * *) 0)
18809 return 0;
18810 if (sizeof (void *))
18811 return 0;
18812 ;
18813 return 0;
18814 }
18815 _ACEOF
18816 rm -f conftest.$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18819 ac_status=$?
18820 grep -v '^ *+' conftest.er1 >conftest.err
18821 rm -f conftest.er1
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try='test -z "$ac_cxx_werror_flag"
18826 || test ! -s conftest.err'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18829 ac_status=$?
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; } &&
18832 { ac_try='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18835 ac_status=$?
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18838 ac_cv_type_void_p=yes
18839 else
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18842
18843 ac_cv_type_void_p=no
18844 fi
18845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18846 fi
18847 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18848 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18849
18850 echo "$as_me:$LINENO: checking size of void *" >&5
18851 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18852 if test "${ac_cv_sizeof_void_p+set}" = set; then
18853 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 else
18855 if test "$ac_cv_type_void_p" = yes; then
18856 # The cast to unsigned long works around a bug in the HP C Compiler
18857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18859 # This bug is HP SR number 8606223364.
18860 if test "$cross_compiling" = yes; then
18861 # Depending upon the size, compute the lo and hi bounds.
18862 cat >conftest.$ac_ext <<_ACEOF
18863 /* confdefs.h. */
18864 _ACEOF
18865 cat confdefs.h >>conftest.$ac_ext
18866 cat >>conftest.$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 $ac_includes_default
18869 int
18870 main ()
18871 {
18872 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18873 test_array [0] = 0
18874
18875 ;
18876 return 0;
18877 }
18878 _ACEOF
18879 rm -f conftest.$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try='test -z "$ac_cxx_werror_flag"
18889 || test ! -s conftest.err'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18892 ac_status=$?
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_lo=0 ac_mid=0
18902 while :; do
18903 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 $ac_includes_default
18910 int
18911 main ()
18912 {
18913 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18914 test_array [0] = 0
18915
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 rm -f conftest.$ac_objext
18921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18922 (eval $ac_compile) 2>conftest.er1
18923 ac_status=$?
18924 grep -v '^ *+' conftest.er1 >conftest.err
18925 rm -f conftest.er1
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } &&
18929 { ac_try='test -z "$ac_cxx_werror_flag"
18930 || test ! -s conftest.err'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; } &&
18936 { ac_try='test -s conftest.$ac_objext'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; }; then
18942 ac_hi=$ac_mid; break
18943 else
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18946
18947 ac_lo=`expr $ac_mid + 1`
18948 if test $ac_lo -le $ac_mid; then
18949 ac_lo= ac_hi=
18950 break
18951 fi
18952 ac_mid=`expr 2 '*' $ac_mid + 1`
18953 fi
18954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18955 done
18956 else
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18959
18960 cat >conftest.$ac_ext <<_ACEOF
18961 /* confdefs.h. */
18962 _ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18967 int
18968 main ()
18969 {
18970 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18971 test_array [0] = 0
18972
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try='test -z "$ac_cxx_werror_flag"
18987 || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_hi=-1 ac_mid=-1
19000 while :; do
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19008 int
19009 main ()
19010 {
19011 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19012 test_array [0] = 0
19013
19014 ;
19015 return 0;
19016 }
19017 _ACEOF
19018 rm -f conftest.$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19021 ac_status=$?
19022 grep -v '^ *+' conftest.er1 >conftest.err
19023 rm -f conftest.er1
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try='test -z "$ac_cxx_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_lo=$ac_mid; break
19041 else
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19044
19045 ac_hi=`expr '(' $ac_mid ')' - 1`
19046 if test $ac_mid -le $ac_hi; then
19047 ac_lo= ac_hi=
19048 break
19049 fi
19050 ac_mid=`expr 2 '*' $ac_mid`
19051 fi
19052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19053 done
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 ac_lo= ac_hi=
19059 fi
19060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19061 fi
19062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19063 # Binary search between lo and hi bounds.
19064 while test "x$ac_lo" != "x$ac_hi"; do
19065 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 $ac_includes_default
19073 int
19074 main ()
19075 {
19076 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19077 test_array [0] = 0
19078
19079 ;
19080 return 0;
19081 }
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19085 (eval $ac_compile) 2>conftest.er1
19086 ac_status=$?
19087 grep -v '^ *+' conftest.er1 >conftest.err
19088 rm -f conftest.er1
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try='test -z "$ac_cxx_werror_flag"
19093 || test ! -s conftest.err'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19096 ac_status=$?
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; } &&
19099 { ac_try='test -s conftest.$ac_objext'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; }; then
19105 ac_hi=$ac_mid
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19109
19110 ac_lo=`expr '(' $ac_mid ')' + 1`
19111 fi
19112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19113 done
19114 case $ac_lo in
19115 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19116 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19117 See \`config.log' for more details." >&5
19118 echo "$as_me: error: cannot compute sizeof (void *), 77
19119 See \`config.log' for more details." >&2;}
19120 { (exit 1); exit 1; }; } ;;
19121 esac
19122 else
19123 if test "$cross_compiling" = yes; then
19124 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19125 See \`config.log' for more details." >&5
19126 echo "$as_me: error: cannot run test program while cross compiling
19127 See \`config.log' for more details." >&2;}
19128 { (exit 1); exit 1; }; }
19129 else
19130 cat >conftest.$ac_ext <<_ACEOF
19131 /* confdefs.h. */
19132 _ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 $ac_includes_default
19137 long longval () { return (long) (sizeof (void *)); }
19138 unsigned long ulongval () { return (long) (sizeof (void *)); }
19139 #include <stdio.h>
19140 #include <stdlib.h>
19141 int
19142 main ()
19143 {
19144
19145 FILE *f = fopen ("conftest.val", "w");
19146 if (! f)
19147 exit (1);
19148 if (((long) (sizeof (void *))) < 0)
19149 {
19150 long i = longval ();
19151 if (i != ((long) (sizeof (void *))))
19152 exit (1);
19153 fprintf (f, "%ld\n", i);
19154 }
19155 else
19156 {
19157 unsigned long i = ulongval ();
19158 if (i != ((long) (sizeof (void *))))
19159 exit (1);
19160 fprintf (f, "%lu\n", i);
19161 }
19162 exit (ferror (f) || fclose (f) != 0);
19163
19164 ;
19165 return 0;
19166 }
19167 _ACEOF
19168 rm -f conftest$ac_exeext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19170 (eval $ac_link) 2>&5
19171 ac_status=$?
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_cv_sizeof_void_p=`cat conftest.val`
19180 else
19181 echo "$as_me: program exited with status $ac_status" >&5
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19184
19185 ( exit $ac_status )
19186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19187 See \`config.log' for more details." >&5
19188 echo "$as_me: error: cannot compute sizeof (void *), 77
19189 See \`config.log' for more details." >&2;}
19190 { (exit 1); exit 1; }; }
19191 fi
19192 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19193 fi
19194 fi
19195 rm -f conftest.val
19196 else
19197 ac_cv_sizeof_void_p=0
19198 fi
19199 fi
19200 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19201 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19202 cat >>confdefs.h <<_ACEOF
19203 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19204 _ACEOF
19205
19206
19207 echo "$as_me:$LINENO: checking for int" >&5
19208 echo $ECHO_N "checking for int... $ECHO_C" >&6
19209 if test "${ac_cv_type_int+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 else
19212 cat >conftest.$ac_ext <<_ACEOF
19213 /* confdefs.h. */
19214 _ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 $ac_includes_default
19219 int
19220 main ()
19221 {
19222 if ((int *) 0)
19223 return 0;
19224 if (sizeof (int))
19225 return 0;
19226 ;
19227 return 0;
19228 }
19229 _ACEOF
19230 rm -f conftest.$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -z "$ac_cxx_werror_flag"
19240 || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19249 ac_status=$?
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 ac_cv_type_int=yes
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 ac_cv_type_int=no
19258 fi
19259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19260 fi
19261 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19262 echo "${ECHO_T}$ac_cv_type_int" >&6
19263
19264 echo "$as_me:$LINENO: checking size of int" >&5
19265 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19266 if test "${ac_cv_sizeof_int+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 else
19269 if test "$ac_cv_type_int" = yes; then
19270 # The cast to unsigned long works around a bug in the HP C Compiler
19271 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19272 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19273 # This bug is HP SR number 8606223364.
19274 if test "$cross_compiling" = yes; then
19275 # Depending upon the size, compute the lo and hi bounds.
19276 cat >conftest.$ac_ext <<_ACEOF
19277 /* confdefs.h. */
19278 _ACEOF
19279 cat confdefs.h >>conftest.$ac_ext
19280 cat >>conftest.$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 $ac_includes_default
19283 int
19284 main ()
19285 {
19286 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19287 test_array [0] = 0
19288
19289 ;
19290 return 0;
19291 }
19292 _ACEOF
19293 rm -f conftest.$ac_objext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19295 (eval $ac_compile) 2>conftest.er1
19296 ac_status=$?
19297 grep -v '^ *+' conftest.er1 >conftest.err
19298 rm -f conftest.er1
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try='test -z "$ac_cxx_werror_flag"
19303 || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19306 ac_status=$?
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try='test -s conftest.$ac_objext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_lo=0 ac_mid=0
19316 while :; do
19317 cat >conftest.$ac_ext <<_ACEOF
19318 /* confdefs.h. */
19319 _ACEOF
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 $ac_includes_default
19324 int
19325 main ()
19326 {
19327 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19328 test_array [0] = 0
19329
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_cxx_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 ac_hi=$ac_mid; break
19357 else
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19360
19361 ac_lo=`expr $ac_mid + 1`
19362 if test $ac_lo -le $ac_mid; then
19363 ac_lo= ac_hi=
19364 break
19365 fi
19366 ac_mid=`expr 2 '*' $ac_mid + 1`
19367 fi
19368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19369 done
19370 else
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19373
19374 cat >conftest.$ac_ext <<_ACEOF
19375 /* confdefs.h. */
19376 _ACEOF
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380 $ac_includes_default
19381 int
19382 main ()
19383 {
19384 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19385 test_array [0] = 0
19386
19387 ;
19388 return 0;
19389 }
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19394 ac_status=$?
19395 grep -v '^ *+' conftest.er1 >conftest.err
19396 rm -f conftest.er1
19397 cat conftest.err >&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try='test -z "$ac_cxx_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19410 ac_status=$?
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 ac_hi=-1 ac_mid=-1
19414 while :; do
19415 cat >conftest.$ac_ext <<_ACEOF
19416 /* confdefs.h. */
19417 _ACEOF
19418 cat confdefs.h >>conftest.$ac_ext
19419 cat >>conftest.$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 $ac_includes_default
19422 int
19423 main ()
19424 {
19425 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19426 test_array [0] = 0
19427
19428 ;
19429 return 0;
19430 }
19431 _ACEOF
19432 rm -f conftest.$ac_objext
19433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19434 (eval $ac_compile) 2>conftest.er1
19435 ac_status=$?
19436 grep -v '^ *+' conftest.er1 >conftest.err
19437 rm -f conftest.er1
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try='test -z "$ac_cxx_werror_flag"
19442 || test ! -s conftest.err'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; } &&
19448 { ac_try='test -s conftest.$ac_objext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_lo=$ac_mid; break
19455 else
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19458
19459 ac_hi=`expr '(' $ac_mid ')' - 1`
19460 if test $ac_mid -le $ac_hi; then
19461 ac_lo= ac_hi=
19462 break
19463 fi
19464 ac_mid=`expr 2 '*' $ac_mid`
19465 fi
19466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19467 done
19468 else
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.$ac_ext >&5
19471
19472 ac_lo= ac_hi=
19473 fi
19474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19475 fi
19476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19477 # Binary search between lo and hi bounds.
19478 while test "x$ac_lo" != "x$ac_hi"; do
19479 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h. */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 int
19488 main ()
19489 {
19490 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19491 test_array [0] = 0
19492
19493 ;
19494 return 0;
19495 }
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19499 (eval $ac_compile) 2>conftest.er1
19500 ac_status=$?
19501 grep -v '^ *+' conftest.er1 >conftest.err
19502 rm -f conftest.er1
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try='test -z "$ac_cxx_werror_flag"
19507 || test ! -s conftest.err'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19510 ac_status=$?
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; } &&
19513 { ac_try='test -s conftest.$ac_objext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19516 ac_status=$?
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 ac_hi=$ac_mid
19520 else
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 ac_lo=`expr '(' $ac_mid ')' + 1`
19525 fi
19526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19527 done
19528 case $ac_lo in
19529 ?*) ac_cv_sizeof_int=$ac_lo;;
19530 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19531 See \`config.log' for more details." >&5
19532 echo "$as_me: error: cannot compute sizeof (int), 77
19533 See \`config.log' for more details." >&2;}
19534 { (exit 1); exit 1; }; } ;;
19535 esac
19536 else
19537 if test "$cross_compiling" = yes; then
19538 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19539 See \`config.log' for more details." >&5
19540 echo "$as_me: error: cannot run test program while cross compiling
19541 See \`config.log' for more details." >&2;}
19542 { (exit 1); exit 1; }; }
19543 else
19544 cat >conftest.$ac_ext <<_ACEOF
19545 /* confdefs.h. */
19546 _ACEOF
19547 cat confdefs.h >>conftest.$ac_ext
19548 cat >>conftest.$ac_ext <<_ACEOF
19549 /* end confdefs.h. */
19550 $ac_includes_default
19551 long longval () { return (long) (sizeof (int)); }
19552 unsigned long ulongval () { return (long) (sizeof (int)); }
19553 #include <stdio.h>
19554 #include <stdlib.h>
19555 int
19556 main ()
19557 {
19558
19559 FILE *f = fopen ("conftest.val", "w");
19560 if (! f)
19561 exit (1);
19562 if (((long) (sizeof (int))) < 0)
19563 {
19564 long i = longval ();
19565 if (i != ((long) (sizeof (int))))
19566 exit (1);
19567 fprintf (f, "%ld\n", i);
19568 }
19569 else
19570 {
19571 unsigned long i = ulongval ();
19572 if (i != ((long) (sizeof (int))))
19573 exit (1);
19574 fprintf (f, "%lu\n", i);
19575 }
19576 exit (ferror (f) || fclose (f) != 0);
19577
19578 ;
19579 return 0;
19580 }
19581 _ACEOF
19582 rm -f conftest$ac_exeext
19583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19584 (eval $ac_link) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19590 ac_status=$?
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_cv_sizeof_int=`cat conftest.val`
19594 else
19595 echo "$as_me: program exited with status $ac_status" >&5
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19598
19599 ( exit $ac_status )
19600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19601 See \`config.log' for more details." >&5
19602 echo "$as_me: error: cannot compute sizeof (int), 77
19603 See \`config.log' for more details." >&2;}
19604 { (exit 1); exit 1; }; }
19605 fi
19606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19607 fi
19608 fi
19609 rm -f conftest.val
19610 else
19611 ac_cv_sizeof_int=0
19612 fi
19613 fi
19614 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19615 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19616 cat >>confdefs.h <<_ACEOF
19617 #define SIZEOF_INT $ac_cv_sizeof_int
19618 _ACEOF
19619
19620
19621 echo "$as_me:$LINENO: checking for long" >&5
19622 echo $ECHO_N "checking for long... $ECHO_C" >&6
19623 if test "${ac_cv_type_long+set}" = set; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 else
19626 cat >conftest.$ac_ext <<_ACEOF
19627 /* confdefs.h. */
19628 _ACEOF
19629 cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19632 $ac_includes_default
19633 int
19634 main ()
19635 {
19636 if ((long *) 0)
19637 return 0;
19638 if (sizeof (long))
19639 return 0;
19640 ;
19641 return 0;
19642 }
19643 _ACEOF
19644 rm -f conftest.$ac_objext
19645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19646 (eval $ac_compile) 2>conftest.er1
19647 ac_status=$?
19648 grep -v '^ *+' conftest.er1 >conftest.err
19649 rm -f conftest.er1
19650 cat conftest.err >&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } &&
19653 { ac_try='test -z "$ac_cxx_werror_flag"
19654 || test ! -s conftest.err'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; } &&
19660 { ac_try='test -s conftest.$ac_objext'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19663 ac_status=$?
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; }; then
19666 ac_cv_type_long=yes
19667 else
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19670
19671 ac_cv_type_long=no
19672 fi
19673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19674 fi
19675 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19676 echo "${ECHO_T}$ac_cv_type_long" >&6
19677
19678 echo "$as_me:$LINENO: checking size of long" >&5
19679 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19680 if test "${ac_cv_sizeof_long+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 else
19683 if test "$ac_cv_type_long" = yes; then
19684 # The cast to unsigned long works around a bug in the HP C Compiler
19685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19687 # This bug is HP SR number 8606223364.
19688 if test "$cross_compiling" = yes; then
19689 # Depending upon the size, compute the lo and hi bounds.
19690 cat >conftest.$ac_ext <<_ACEOF
19691 /* confdefs.h. */
19692 _ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19697 int
19698 main ()
19699 {
19700 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19701 test_array [0] = 0
19702
19703 ;
19704 return 0;
19705 }
19706 _ACEOF
19707 rm -f conftest.$ac_objext
19708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19709 (eval $ac_compile) 2>conftest.er1
19710 ac_status=$?
19711 grep -v '^ *+' conftest.er1 >conftest.err
19712 rm -f conftest.er1
19713 cat conftest.err >&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); } &&
19716 { ac_try='test -z "$ac_cxx_werror_flag"
19717 || test ! -s conftest.err'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19720 ac_status=$?
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; } &&
19723 { ac_try='test -s conftest.$ac_objext'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19726 ac_status=$?
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; }; then
19729 ac_lo=0 ac_mid=0
19730 while :; do
19731 cat >conftest.$ac_ext <<_ACEOF
19732 /* confdefs.h. */
19733 _ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 int
19739 main ()
19740 {
19741 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19742 test_array [0] = 0
19743
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19750 (eval $ac_compile) 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try='test -z "$ac_cxx_werror_flag"
19758 || test ! -s conftest.err'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19761 ac_status=$?
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; } &&
19764 { ac_try='test -s conftest.$ac_objext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19767 ac_status=$?
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_hi=$ac_mid; break
19771 else
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19774
19775 ac_lo=`expr $ac_mid + 1`
19776 if test $ac_lo -le $ac_mid; then
19777 ac_lo= ac_hi=
19778 break
19779 fi
19780 ac_mid=`expr 2 '*' $ac_mid + 1`
19781 fi
19782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19783 done
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19787
19788 cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h. */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 $ac_includes_default
19795 int
19796 main ()
19797 {
19798 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19799 test_array [0] = 0
19800
19801 ;
19802 return 0;
19803 }
19804 _ACEOF
19805 rm -f conftest.$ac_objext
19806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19807 (eval $ac_compile) 2>conftest.er1
19808 ac_status=$?
19809 grep -v '^ *+' conftest.er1 >conftest.err
19810 rm -f conftest.er1
19811 cat conftest.err >&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); } &&
19814 { ac_try='test -z "$ac_cxx_werror_flag"
19815 || test ! -s conftest.err'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; } &&
19821 { ac_try='test -s conftest.$ac_objext'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19824 ac_status=$?
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; }; then
19827 ac_hi=-1 ac_mid=-1
19828 while :; do
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 int
19837 main ()
19838 {
19839 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19840 test_array [0] = 0
19841
19842 ;
19843 return 0;
19844 }
19845 _ACEOF
19846 rm -f conftest.$ac_objext
19847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19848 (eval $ac_compile) 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } &&
19855 { ac_try='test -z "$ac_cxx_werror_flag"
19856 || test ! -s conftest.err'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19859 ac_status=$?
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; } &&
19862 { ac_try='test -s conftest.$ac_objext'
19863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19864 (eval $ac_try) 2>&5
19865 ac_status=$?
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 ac_lo=$ac_mid; break
19869 else
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19872
19873 ac_hi=`expr '(' $ac_mid ')' - 1`
19874 if test $ac_mid -le $ac_hi; then
19875 ac_lo= ac_hi=
19876 break
19877 fi
19878 ac_mid=`expr 2 '*' $ac_mid`
19879 fi
19880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19881 done
19882 else
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19885
19886 ac_lo= ac_hi=
19887 fi
19888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19889 fi
19890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19891 # Binary search between lo and hi bounds.
19892 while test "x$ac_lo" != "x$ac_hi"; do
19893 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19894 cat >conftest.$ac_ext <<_ACEOF
19895 /* confdefs.h. */
19896 _ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19901 int
19902 main ()
19903 {
19904 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19905 test_array [0] = 0
19906
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_cxx_werror_flag"
19921 || test ! -s conftest.err'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19924 ac_status=$?
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try='test -s conftest.$ac_objext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_hi=$ac_mid
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19937
19938 ac_lo=`expr '(' $ac_mid ')' + 1`
19939 fi
19940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19941 done
19942 case $ac_lo in
19943 ?*) ac_cv_sizeof_long=$ac_lo;;
19944 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19945 See \`config.log' for more details." >&5
19946 echo "$as_me: error: cannot compute sizeof (long), 77
19947 See \`config.log' for more details." >&2;}
19948 { (exit 1); exit 1; }; } ;;
19949 esac
19950 else
19951 if test "$cross_compiling" = yes; then
19952 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19953 See \`config.log' for more details." >&5
19954 echo "$as_me: error: cannot run test program while cross compiling
19955 See \`config.log' for more details." >&2;}
19956 { (exit 1); exit 1; }; }
19957 else
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 long longval () { return (long) (sizeof (long)); }
19966 unsigned long ulongval () { return (long) (sizeof (long)); }
19967 #include <stdio.h>
19968 #include <stdlib.h>
19969 int
19970 main ()
19971 {
19972
19973 FILE *f = fopen ("conftest.val", "w");
19974 if (! f)
19975 exit (1);
19976 if (((long) (sizeof (long))) < 0)
19977 {
19978 long i = longval ();
19979 if (i != ((long) (sizeof (long))))
19980 exit (1);
19981 fprintf (f, "%ld\n", i);
19982 }
19983 else
19984 {
19985 unsigned long i = ulongval ();
19986 if (i != ((long) (sizeof (long))))
19987 exit (1);
19988 fprintf (f, "%lu\n", i);
19989 }
19990 exit (ferror (f) || fclose (f) != 0);
19991
19992 ;
19993 return 0;
19994 }
19995 _ACEOF
19996 rm -f conftest$ac_exeext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19998 (eval $ac_link) 2>&5
19999 ac_status=$?
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20004 ac_status=$?
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 ac_cv_sizeof_long=`cat conftest.val`
20008 else
20009 echo "$as_me: program exited with status $ac_status" >&5
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.$ac_ext >&5
20012
20013 ( exit $ac_status )
20014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20015 See \`config.log' for more details." >&5
20016 echo "$as_me: error: cannot compute sizeof (long), 77
20017 See \`config.log' for more details." >&2;}
20018 { (exit 1); exit 1; }; }
20019 fi
20020 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20021 fi
20022 fi
20023 rm -f conftest.val
20024 else
20025 ac_cv_sizeof_long=0
20026 fi
20027 fi
20028 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20029 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20030 cat >>confdefs.h <<_ACEOF
20031 #define SIZEOF_LONG $ac_cv_sizeof_long
20032 _ACEOF
20033
20034
20035 echo "$as_me:$LINENO: checking for size_t" >&5
20036 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20037 if test "${ac_cv_type_size_t+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 int
20048 main ()
20049 {
20050 if ((size_t *) 0)
20051 return 0;
20052 if (sizeof (size_t))
20053 return 0;
20054 ;
20055 return 0;
20056 }
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20060 (eval $ac_compile) 2>conftest.er1
20061 ac_status=$?
20062 grep -v '^ *+' conftest.er1 >conftest.err
20063 rm -f conftest.er1
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } &&
20067 { ac_try='test -z "$ac_cxx_werror_flag"
20068 || test ! -s conftest.err'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20071 ac_status=$?
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; } &&
20074 { ac_try='test -s conftest.$ac_objext'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20077 ac_status=$?
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; }; then
20080 ac_cv_type_size_t=yes
20081 else
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20084
20085 ac_cv_type_size_t=no
20086 fi
20087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20088 fi
20089 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20090 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20091
20092 echo "$as_me:$LINENO: checking size of size_t" >&5
20093 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20094 if test "${ac_cv_sizeof_size_t+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 else
20097 if test "$ac_cv_type_size_t" = yes; then
20098 # The cast to unsigned long works around a bug in the HP C Compiler
20099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20101 # This bug is HP SR number 8606223364.
20102 if test "$cross_compiling" = yes; then
20103 # Depending upon the size, compute the lo and hi bounds.
20104 cat >conftest.$ac_ext <<_ACEOF
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 int
20112 main ()
20113 {
20114 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20115 test_array [0] = 0
20116
20117 ;
20118 return 0;
20119 }
20120 _ACEOF
20121 rm -f conftest.$ac_objext
20122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20123 (eval $ac_compile) 2>conftest.er1
20124 ac_status=$?
20125 grep -v '^ *+' conftest.er1 >conftest.err
20126 rm -f conftest.er1
20127 cat conftest.err >&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try='test -z "$ac_cxx_werror_flag"
20131 || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try='test -s conftest.$ac_objext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 ac_lo=0 ac_mid=0
20144 while :; do
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h. */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 $ac_includes_default
20152 int
20153 main ()
20154 {
20155 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20156 test_array [0] = 0
20157
20158 ;
20159 return 0;
20160 }
20161 _ACEOF
20162 rm -f conftest.$ac_objext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20164 (eval $ac_compile) 2>conftest.er1
20165 ac_status=$?
20166 grep -v '^ *+' conftest.er1 >conftest.err
20167 rm -f conftest.er1
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try='test -z "$ac_cxx_werror_flag"
20172 || test ! -s conftest.err'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20175 ac_status=$?
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; } &&
20178 { ac_try='test -s conftest.$ac_objext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20184 ac_hi=$ac_mid; break
20185 else
20186 echo "$as_me: failed program was:" >&5
20187 sed 's/^/| /' conftest.$ac_ext >&5
20188
20189 ac_lo=`expr $ac_mid + 1`
20190 if test $ac_lo -le $ac_mid; then
20191 ac_lo= ac_hi=
20192 break
20193 fi
20194 ac_mid=`expr 2 '*' $ac_mid + 1`
20195 fi
20196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20197 done
20198 else
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20201
20202 cat >conftest.$ac_ext <<_ACEOF
20203 /* confdefs.h. */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 int
20210 main ()
20211 {
20212 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20213 test_array [0] = 0
20214
20215 ;
20216 return 0;
20217 }
20218 _ACEOF
20219 rm -f conftest.$ac_objext
20220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20221 (eval $ac_compile) 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } &&
20228 { ac_try='test -z "$ac_cxx_werror_flag"
20229 || test ! -s conftest.err'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try='test -s conftest.$ac_objext'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20238 ac_status=$?
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20241 ac_hi=-1 ac_mid=-1
20242 while :; do
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 int
20251 main ()
20252 {
20253 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20254 test_array [0] = 0
20255
20256 ;
20257 return 0;
20258 }
20259 _ACEOF
20260 rm -f conftest.$ac_objext
20261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20262 (eval $ac_compile) 2>conftest.er1
20263 ac_status=$?
20264 grep -v '^ *+' conftest.er1 >conftest.err
20265 rm -f conftest.er1
20266 cat conftest.err >&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } &&
20269 { ac_try='test -z "$ac_cxx_werror_flag"
20270 || test ! -s conftest.err'
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); }; } &&
20276 { ac_try='test -s conftest.$ac_objext'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20279 ac_status=$?
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 ac_lo=$ac_mid; break
20283 else
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20286
20287 ac_hi=`expr '(' $ac_mid ')' - 1`
20288 if test $ac_mid -le $ac_hi; then
20289 ac_lo= ac_hi=
20290 break
20291 fi
20292 ac_mid=`expr 2 '*' $ac_mid`
20293 fi
20294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20295 done
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 ac_lo= ac_hi=
20301 fi
20302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20303 fi
20304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20305 # Binary search between lo and hi bounds.
20306 while test "x$ac_lo" != "x$ac_hi"; do
20307 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20308 cat >conftest.$ac_ext <<_ACEOF
20309 /* confdefs.h. */
20310 _ACEOF
20311 cat confdefs.h >>conftest.$ac_ext
20312 cat >>conftest.$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 $ac_includes_default
20315 int
20316 main ()
20317 {
20318 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20319 test_array [0] = 0
20320
20321 ;
20322 return 0;
20323 }
20324 _ACEOF
20325 rm -f conftest.$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20328 ac_status=$?
20329 grep -v '^ *+' conftest.er1 >conftest.err
20330 rm -f conftest.er1
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try='test -z "$ac_cxx_werror_flag"
20335 || test ! -s conftest.err'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20338 ac_status=$?
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; } &&
20341 { ac_try='test -s conftest.$ac_objext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_hi=$ac_mid
20348 else
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20351
20352 ac_lo=`expr '(' $ac_mid ')' + 1`
20353 fi
20354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20355 done
20356 case $ac_lo in
20357 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20358 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20359 See \`config.log' for more details." >&5
20360 echo "$as_me: error: cannot compute sizeof (size_t), 77
20361 See \`config.log' for more details." >&2;}
20362 { (exit 1); exit 1; }; } ;;
20363 esac
20364 else
20365 if test "$cross_compiling" = yes; then
20366 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20367 See \`config.log' for more details." >&5
20368 echo "$as_me: error: cannot run test program while cross compiling
20369 See \`config.log' for more details." >&2;}
20370 { (exit 1); exit 1; }; }
20371 else
20372 cat >conftest.$ac_ext <<_ACEOF
20373 /* confdefs.h. */
20374 _ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 $ac_includes_default
20379 long longval () { return (long) (sizeof (size_t)); }
20380 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20381 #include <stdio.h>
20382 #include <stdlib.h>
20383 int
20384 main ()
20385 {
20386
20387 FILE *f = fopen ("conftest.val", "w");
20388 if (! f)
20389 exit (1);
20390 if (((long) (sizeof (size_t))) < 0)
20391 {
20392 long i = longval ();
20393 if (i != ((long) (sizeof (size_t))))
20394 exit (1);
20395 fprintf (f, "%ld\n", i);
20396 }
20397 else
20398 {
20399 unsigned long i = ulongval ();
20400 if (i != ((long) (sizeof (size_t))))
20401 exit (1);
20402 fprintf (f, "%lu\n", i);
20403 }
20404 exit (ferror (f) || fclose (f) != 0);
20405
20406 ;
20407 return 0;
20408 }
20409 _ACEOF
20410 rm -f conftest$ac_exeext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20412 (eval $ac_link) 2>&5
20413 ac_status=$?
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20418 ac_status=$?
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_cv_sizeof_size_t=`cat conftest.val`
20422 else
20423 echo "$as_me: program exited with status $ac_status" >&5
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20426
20427 ( exit $ac_status )
20428 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20429 See \`config.log' for more details." >&5
20430 echo "$as_me: error: cannot compute sizeof (size_t), 77
20431 See \`config.log' for more details." >&2;}
20432 { (exit 1); exit 1; }; }
20433 fi
20434 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20435 fi
20436 fi
20437 rm -f conftest.val
20438 else
20439 ac_cv_sizeof_size_t=0
20440 fi
20441 fi
20442 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20443 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20444 cat >>confdefs.h <<_ACEOF
20445 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20446 _ACEOF
20447
20448
20449
20450 case "${host}" in
20451 arm-*-linux* )
20452 echo "$as_me:$LINENO: checking for long long" >&5
20453 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20454 if test "${ac_cv_type_long_long+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 else
20457 cat >conftest.$ac_ext <<_ACEOF
20458 /* confdefs.h. */
20459 _ACEOF
20460 cat confdefs.h >>conftest.$ac_ext
20461 cat >>conftest.$ac_ext <<_ACEOF
20462 /* end confdefs.h. */
20463 $ac_includes_default
20464 int
20465 main ()
20466 {
20467 if ((long long *) 0)
20468 return 0;
20469 if (sizeof (long long))
20470 return 0;
20471 ;
20472 return 0;
20473 }
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -z "$ac_cxx_werror_flag"
20485 || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_type_long_long=yes
20498 else
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ac_cv_type_long_long=no
20503 fi
20504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20505 fi
20506 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20507 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20508
20509 echo "$as_me:$LINENO: checking size of long long" >&5
20510 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20511 if test "${ac_cv_sizeof_long_long+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20513 else
20514 if test "$ac_cv_type_long_long" = yes; then
20515 # The cast to unsigned long works around a bug in the HP C Compiler
20516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20518 # This bug is HP SR number 8606223364.
20519 if test "$cross_compiling" = yes; then
20520 # Depending upon the size, compute the lo and hi bounds.
20521 cat >conftest.$ac_ext <<_ACEOF
20522 /* confdefs.h. */
20523 _ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20528 int
20529 main ()
20530 {
20531 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20532 test_array [0] = 0
20533
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20540 (eval $ac_compile) 2>conftest.er1
20541 ac_status=$?
20542 grep -v '^ *+' conftest.er1 >conftest.err
20543 rm -f conftest.er1
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try='test -z "$ac_cxx_werror_flag"
20548 || test ! -s conftest.err'
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); }; } &&
20554 { ac_try='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20560 ac_lo=0 ac_mid=0
20561 while :; do
20562 cat >conftest.$ac_ext <<_ACEOF
20563 /* confdefs.h. */
20564 _ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20569 int
20570 main ()
20571 {
20572 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20573 test_array [0] = 0
20574
20575 ;
20576 return 0;
20577 }
20578 _ACEOF
20579 rm -f conftest.$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try='test -z "$ac_cxx_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try='test -s conftest.$ac_objext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_hi=$ac_mid; break
20602 else
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20605
20606 ac_lo=`expr $ac_mid + 1`
20607 if test $ac_lo -le $ac_mid; then
20608 ac_lo= ac_hi=
20609 break
20610 fi
20611 ac_mid=`expr 2 '*' $ac_mid + 1`
20612 fi
20613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20614 done
20615 else
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20618
20619 cat >conftest.$ac_ext <<_ACEOF
20620 /* confdefs.h. */
20621 _ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20626 int
20627 main ()
20628 {
20629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20630 test_array [0] = 0
20631
20632 ;
20633 return 0;
20634 }
20635 _ACEOF
20636 rm -f conftest.$ac_objext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20638 (eval $ac_compile) 2>conftest.er1
20639 ac_status=$?
20640 grep -v '^ *+' conftest.er1 >conftest.err
20641 rm -f conftest.er1
20642 cat conftest.err >&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try='test -z "$ac_cxx_werror_flag"
20646 || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_hi=-1 ac_mid=-1
20659 while :; do
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h. */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 int
20668 main ()
20669 {
20670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20671 test_array [0] = 0
20672
20673 ;
20674 return 0;
20675 }
20676 _ACEOF
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20680 ac_status=$?
20681 grep -v '^ *+' conftest.er1 >conftest.err
20682 rm -f conftest.er1
20683 cat conftest.err >&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try='test -z "$ac_cxx_werror_flag"
20687 || test ! -s conftest.err'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20690 ac_status=$?
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; } &&
20693 { ac_try='test -s conftest.$ac_objext'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20696 ac_status=$?
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; }; then
20699 ac_lo=$ac_mid; break
20700 else
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20703
20704 ac_hi=`expr '(' $ac_mid ')' - 1`
20705 if test $ac_mid -le $ac_hi; then
20706 ac_lo= ac_hi=
20707 break
20708 fi
20709 ac_mid=`expr 2 '*' $ac_mid`
20710 fi
20711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20712 done
20713 else
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.$ac_ext >&5
20716
20717 ac_lo= ac_hi=
20718 fi
20719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20720 fi
20721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20722 # Binary search between lo and hi bounds.
20723 while test "x$ac_lo" != "x$ac_hi"; do
20724 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20732 int
20733 main ()
20734 {
20735 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20736 test_array [0] = 0
20737
20738 ;
20739 return 0;
20740 }
20741 _ACEOF
20742 rm -f conftest.$ac_objext
20743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20744 (eval $ac_compile) 2>conftest.er1
20745 ac_status=$?
20746 grep -v '^ *+' conftest.er1 >conftest.err
20747 rm -f conftest.er1
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } &&
20751 { ac_try='test -z "$ac_cxx_werror_flag"
20752 || test ! -s conftest.err'
20753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20754 (eval $ac_try) 2>&5
20755 ac_status=$?
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); }; } &&
20758 { ac_try='test -s conftest.$ac_objext'
20759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760 (eval $ac_try) 2>&5
20761 ac_status=$?
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; }; then
20764 ac_hi=$ac_mid
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20768
20769 ac_lo=`expr '(' $ac_mid ')' + 1`
20770 fi
20771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20772 done
20773 case $ac_lo in
20774 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20775 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20776 See \`config.log' for more details." >&5
20777 echo "$as_me: error: cannot compute sizeof (long long), 77
20778 See \`config.log' for more details." >&2;}
20779 { (exit 1); exit 1; }; } ;;
20780 esac
20781 else
20782 if test "$cross_compiling" = yes; then
20783 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20784 See \`config.log' for more details." >&5
20785 echo "$as_me: error: cannot run test program while cross compiling
20786 See \`config.log' for more details." >&2;}
20787 { (exit 1); exit 1; }; }
20788 else
20789 cat >conftest.$ac_ext <<_ACEOF
20790 /* confdefs.h. */
20791 _ACEOF
20792 cat confdefs.h >>conftest.$ac_ext
20793 cat >>conftest.$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 long longval () { return (long) (sizeof (long long)); }
20797 unsigned long ulongval () { return (long) (sizeof (long long)); }
20798 #include <stdio.h>
20799 #include <stdlib.h>
20800 int
20801 main ()
20802 {
20803
20804 FILE *f = fopen ("conftest.val", "w");
20805 if (! f)
20806 exit (1);
20807 if (((long) (sizeof (long long))) < 0)
20808 {
20809 long i = longval ();
20810 if (i != ((long) (sizeof (long long))))
20811 exit (1);
20812 fprintf (f, "%ld\n", i);
20813 }
20814 else
20815 {
20816 unsigned long i = ulongval ();
20817 if (i != ((long) (sizeof (long long))))
20818 exit (1);
20819 fprintf (f, "%lu\n", i);
20820 }
20821 exit (ferror (f) || fclose (f) != 0);
20822
20823 ;
20824 return 0;
20825 }
20826 _ACEOF
20827 rm -f conftest$ac_exeext
20828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20829 (eval $ac_link) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20835 ac_status=$?
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_cv_sizeof_long_long=`cat conftest.val`
20839 else
20840 echo "$as_me: program exited with status $ac_status" >&5
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 ( exit $ac_status )
20845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20846 See \`config.log' for more details." >&5
20847 echo "$as_me: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&2;}
20849 { (exit 1); exit 1; }; }
20850 fi
20851 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20852 fi
20853 fi
20854 rm -f conftest.val
20855 else
20856 ac_cv_sizeof_long_long=0
20857 fi
20858 fi
20859 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20860 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20861 cat >>confdefs.h <<_ACEOF
20862 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20863 _ACEOF
20864
20865
20866 ;;
20867 *-hp-hpux* )
20868 echo "$as_me:$LINENO: checking for long long" >&5
20869 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20870 if test "${ac_cv_type_long_long+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20872 else
20873 cat >conftest.$ac_ext <<_ACEOF
20874 /* confdefs.h. */
20875 _ACEOF
20876 cat confdefs.h >>conftest.$ac_ext
20877 cat >>conftest.$ac_ext <<_ACEOF
20878 /* end confdefs.h. */
20879 $ac_includes_default
20880 int
20881 main ()
20882 {
20883 if ((long long *) 0)
20884 return 0;
20885 if (sizeof (long long))
20886 return 0;
20887 ;
20888 return 0;
20889 }
20890 _ACEOF
20891 rm -f conftest.$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try='test -z "$ac_cxx_werror_flag"
20901 || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20910 ac_status=$?
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 ac_cv_type_long_long=yes
20914 else
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.$ac_ext >&5
20917
20918 ac_cv_type_long_long=no
20919 fi
20920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20921 fi
20922 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20923 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20924
20925 echo "$as_me:$LINENO: checking size of long long" >&5
20926 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20927 if test "${ac_cv_sizeof_long_long+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 else
20930 if test "$ac_cv_type_long_long" = yes; then
20931 # The cast to unsigned long works around a bug in the HP C Compiler
20932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20934 # This bug is HP SR number 8606223364.
20935 if test "$cross_compiling" = yes; then
20936 # Depending upon the size, compute the lo and hi bounds.
20937 cat >conftest.$ac_ext <<_ACEOF
20938 /* confdefs.h. */
20939 _ACEOF
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 int
20945 main ()
20946 {
20947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20948 test_array [0] = 0
20949
20950 ;
20951 return 0;
20952 }
20953 _ACEOF
20954 rm -f conftest.$ac_objext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20956 (eval $ac_compile) 2>conftest.er1
20957 ac_status=$?
20958 grep -v '^ *+' conftest.er1 >conftest.err
20959 rm -f conftest.er1
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try='test -z "$ac_cxx_werror_flag"
20964 || test ! -s conftest.err'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; } &&
20970 { ac_try='test -s conftest.$ac_objext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_lo=0 ac_mid=0
20977 while :; do
20978 cat >conftest.$ac_ext <<_ACEOF
20979 /* confdefs.h. */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 int
20986 main ()
20987 {
20988 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20989 test_array [0] = 0
20990
20991 ;
20992 return 0;
20993 }
20994 _ACEOF
20995 rm -f conftest.$ac_objext
20996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20997 (eval $ac_compile) 2>conftest.er1
20998 ac_status=$?
20999 grep -v '^ *+' conftest.er1 >conftest.err
21000 rm -f conftest.er1
21001 cat conftest.err >&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } &&
21004 { ac_try='test -z "$ac_cxx_werror_flag"
21005 || test ! -s conftest.err'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; } &&
21011 { ac_try='test -s conftest.$ac_objext'
21012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21013 (eval $ac_try) 2>&5
21014 ac_status=$?
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); }; }; then
21017 ac_hi=$ac_mid; break
21018 else
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 ac_lo=`expr $ac_mid + 1`
21023 if test $ac_lo -le $ac_mid; then
21024 ac_lo= ac_hi=
21025 break
21026 fi
21027 ac_mid=`expr 2 '*' $ac_mid + 1`
21028 fi
21029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21030 done
21031 else
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 cat >conftest.$ac_ext <<_ACEOF
21036 /* confdefs.h. */
21037 _ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 $ac_includes_default
21042 int
21043 main ()
21044 {
21045 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21046 test_array [0] = 0
21047
21048 ;
21049 return 0;
21050 }
21051 _ACEOF
21052 rm -f conftest.$ac_objext
21053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21054 (eval $ac_compile) 2>conftest.er1
21055 ac_status=$?
21056 grep -v '^ *+' conftest.er1 >conftest.err
21057 rm -f conftest.er1
21058 cat conftest.err >&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); } &&
21061 { ac_try='test -z "$ac_cxx_werror_flag"
21062 || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21071 ac_status=$?
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_hi=-1 ac_mid=-1
21075 while :; do
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21083 int
21084 main ()
21085 {
21086 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21087 test_array [0] = 0
21088
21089 ;
21090 return 0;
21091 }
21092 _ACEOF
21093 rm -f conftest.$ac_objext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21095 (eval $ac_compile) 2>conftest.er1
21096 ac_status=$?
21097 grep -v '^ *+' conftest.er1 >conftest.err
21098 rm -f conftest.er1
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } &&
21102 { ac_try='test -z "$ac_cxx_werror_flag"
21103 || test ! -s conftest.err'
21104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21105 (eval $ac_try) 2>&5
21106 ac_status=$?
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); }; } &&
21109 { ac_try='test -s conftest.$ac_objext'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21112 ac_status=$?
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; }; then
21115 ac_lo=$ac_mid; break
21116 else
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21119
21120 ac_hi=`expr '(' $ac_mid ')' - 1`
21121 if test $ac_mid -le $ac_hi; then
21122 ac_lo= ac_hi=
21123 break
21124 fi
21125 ac_mid=`expr 2 '*' $ac_mid`
21126 fi
21127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21128 done
21129 else
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21132
21133 ac_lo= ac_hi=
21134 fi
21135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21136 fi
21137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21138 # Binary search between lo and hi bounds.
21139 while test "x$ac_lo" != "x$ac_hi"; do
21140 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21141 cat >conftest.$ac_ext <<_ACEOF
21142 /* confdefs.h. */
21143 _ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21148 int
21149 main ()
21150 {
21151 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21152 test_array [0] = 0
21153
21154 ;
21155 return 0;
21156 }
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21161 ac_status=$?
21162 grep -v '^ *+' conftest.er1 >conftest.err
21163 rm -f conftest.er1
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -z "$ac_cxx_werror_flag"
21168 || test ! -s conftest.err'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21171 ac_status=$?
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; } &&
21174 { ac_try='test -s conftest.$ac_objext'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; }; then
21180 ac_hi=$ac_mid
21181 else
21182 echo "$as_me: failed program was:" >&5
21183 sed 's/^/| /' conftest.$ac_ext >&5
21184
21185 ac_lo=`expr '(' $ac_mid ')' + 1`
21186 fi
21187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21188 done
21189 case $ac_lo in
21190 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21191 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21192 See \`config.log' for more details." >&5
21193 echo "$as_me: error: cannot compute sizeof (long long), 77
21194 See \`config.log' for more details." >&2;}
21195 { (exit 1); exit 1; }; } ;;
21196 esac
21197 else
21198 if test "$cross_compiling" = yes; then
21199 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21200 See \`config.log' for more details." >&5
21201 echo "$as_me: error: cannot run test program while cross compiling
21202 See \`config.log' for more details." >&2;}
21203 { (exit 1); exit 1; }; }
21204 else
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21212 long longval () { return (long) (sizeof (long long)); }
21213 unsigned long ulongval () { return (long) (sizeof (long long)); }
21214 #include <stdio.h>
21215 #include <stdlib.h>
21216 int
21217 main ()
21218 {
21219
21220 FILE *f = fopen ("conftest.val", "w");
21221 if (! f)
21222 exit (1);
21223 if (((long) (sizeof (long long))) < 0)
21224 {
21225 long i = longval ();
21226 if (i != ((long) (sizeof (long long))))
21227 exit (1);
21228 fprintf (f, "%ld\n", i);
21229 }
21230 else
21231 {
21232 unsigned long i = ulongval ();
21233 if (i != ((long) (sizeof (long long))))
21234 exit (1);
21235 fprintf (f, "%lu\n", i);
21236 }
21237 exit (ferror (f) || fclose (f) != 0);
21238
21239 ;
21240 return 0;
21241 }
21242 _ACEOF
21243 rm -f conftest$ac_exeext
21244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21245 (eval $ac_link) 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 (eval $ac_try) 2>&5
21251 ac_status=$?
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_cv_sizeof_long_long=`cat conftest.val`
21255 else
21256 echo "$as_me: program exited with status $ac_status" >&5
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ( exit $ac_status )
21261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21262 See \`config.log' for more details." >&5
21263 echo "$as_me: error: cannot compute sizeof (long long), 77
21264 See \`config.log' for more details." >&2;}
21265 { (exit 1); exit 1; }; }
21266 fi
21267 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21268 fi
21269 fi
21270 rm -f conftest.val
21271 else
21272 ac_cv_sizeof_long_long=0
21273 fi
21274 fi
21275 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21276 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21277 cat >>confdefs.h <<_ACEOF
21278 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21279 _ACEOF
21280
21281
21282 if test "$ac_cv_sizeof_long_long" != "0"; then
21283 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21284 fi
21285 ;;
21286 * )
21287 echo "$as_me:$LINENO: checking for long long" >&5
21288 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21289 if test "${ac_cv_type_long_long+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21291 else
21292 cat >conftest.$ac_ext <<_ACEOF
21293 /* confdefs.h. */
21294 _ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 int
21300 main ()
21301 {
21302 if ((long long *) 0)
21303 return 0;
21304 if (sizeof (long long))
21305 return 0;
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21312 (eval $ac_compile) 2>conftest.er1
21313 ac_status=$?
21314 grep -v '^ *+' conftest.er1 >conftest.err
21315 rm -f conftest.er1
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try='test -z "$ac_cxx_werror_flag"
21320 || test ! -s conftest.err'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21323 ac_status=$?
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; } &&
21326 { ac_try='test -s conftest.$ac_objext'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; }; then
21332 ac_cv_type_long_long=yes
21333 else
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.$ac_ext >&5
21336
21337 ac_cv_type_long_long=no
21338 fi
21339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21340 fi
21341 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21342 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21343
21344 echo "$as_me:$LINENO: checking size of long long" >&5
21345 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21346 if test "${ac_cv_sizeof_long_long+set}" = set; then
21347 echo $ECHO_N "(cached) $ECHO_C" >&6
21348 else
21349 if test "$ac_cv_type_long_long" = yes; then
21350 # The cast to unsigned long works around a bug in the HP C Compiler
21351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21353 # This bug is HP SR number 8606223364.
21354 if test "$cross_compiling" = yes; then
21355 # Depending upon the size, compute the lo and hi bounds.
21356 cat >conftest.$ac_ext <<_ACEOF
21357 /* confdefs.h. */
21358 _ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21363 int
21364 main ()
21365 {
21366 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21367 test_array [0] = 0
21368
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 rm -f conftest.$ac_objext
21374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21375 (eval $ac_compile) 2>conftest.er1
21376 ac_status=$?
21377 grep -v '^ *+' conftest.er1 >conftest.err
21378 rm -f conftest.er1
21379 cat conftest.err >&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); } &&
21382 { ac_try='test -z "$ac_cxx_werror_flag"
21383 || test ! -s conftest.err'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21386 ac_status=$?
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; } &&
21389 { ac_try='test -s conftest.$ac_objext'
21390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391 (eval $ac_try) 2>&5
21392 ac_status=$?
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21395 ac_lo=0 ac_mid=0
21396 while :; do
21397 cat >conftest.$ac_ext <<_ACEOF
21398 /* confdefs.h. */
21399 _ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 $ac_includes_default
21404 int
21405 main ()
21406 {
21407 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21408 test_array [0] = 0
21409
21410 ;
21411 return 0;
21412 }
21413 _ACEOF
21414 rm -f conftest.$ac_objext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21416 (eval $ac_compile) 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try='test -z "$ac_cxx_werror_flag"
21424 || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21433 ac_status=$?
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 ac_hi=$ac_mid; break
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ac_lo=`expr $ac_mid + 1`
21442 if test $ac_lo -le $ac_mid; then
21443 ac_lo= ac_hi=
21444 break
21445 fi
21446 ac_mid=`expr 2 '*' $ac_mid + 1`
21447 fi
21448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21449 done
21450 else
21451 echo "$as_me: failed program was:" >&5
21452 sed 's/^/| /' conftest.$ac_ext >&5
21453
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 int
21462 main ()
21463 {
21464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21465 test_array [0] = 0
21466
21467 ;
21468 return 0;
21469 }
21470 _ACEOF
21471 rm -f conftest.$ac_objext
21472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21473 (eval $ac_compile) 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try='test -z "$ac_cxx_werror_flag"
21481 || test ! -s conftest.err'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21484 ac_status=$?
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; } &&
21487 { ac_try='test -s conftest.$ac_objext'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; }; then
21493 ac_hi=-1 ac_mid=-1
21494 while :; do
21495 cat >conftest.$ac_ext <<_ACEOF
21496 /* confdefs.h. */
21497 _ACEOF
21498 cat confdefs.h >>conftest.$ac_ext
21499 cat >>conftest.$ac_ext <<_ACEOF
21500 /* end confdefs.h. */
21501 $ac_includes_default
21502 int
21503 main ()
21504 {
21505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21506 test_array [0] = 0
21507
21508 ;
21509 return 0;
21510 }
21511 _ACEOF
21512 rm -f conftest.$ac_objext
21513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21514 (eval $ac_compile) 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } &&
21521 { ac_try='test -z "$ac_cxx_werror_flag"
21522 || test ! -s conftest.err'
21523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21524 (eval $ac_try) 2>&5
21525 ac_status=$?
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; } &&
21528 { ac_try='test -s conftest.$ac_objext'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21531 ac_status=$?
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; }; then
21534 ac_lo=$ac_mid; break
21535 else
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.$ac_ext >&5
21538
21539 ac_hi=`expr '(' $ac_mid ')' - 1`
21540 if test $ac_mid -le $ac_hi; then
21541 ac_lo= ac_hi=
21542 break
21543 fi
21544 ac_mid=`expr 2 '*' $ac_mid`
21545 fi
21546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21547 done
21548 else
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21551
21552 ac_lo= ac_hi=
21553 fi
21554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21555 fi
21556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21557 # Binary search between lo and hi bounds.
21558 while test "x$ac_lo" != "x$ac_hi"; do
21559 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21560 cat >conftest.$ac_ext <<_ACEOF
21561 /* confdefs.h. */
21562 _ACEOF
21563 cat confdefs.h >>conftest.$ac_ext
21564 cat >>conftest.$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 $ac_includes_default
21567 int
21568 main ()
21569 {
21570 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21571 test_array [0] = 0
21572
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_cxx_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_hi=$ac_mid
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 ac_lo=`expr '(' $ac_mid ')' + 1`
21605 fi
21606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21607 done
21608 case $ac_lo in
21609 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21610 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21611 See \`config.log' for more details." >&5
21612 echo "$as_me: error: cannot compute sizeof (long long), 77
21613 See \`config.log' for more details." >&2;}
21614 { (exit 1); exit 1; }; } ;;
21615 esac
21616 else
21617 if test "$cross_compiling" = yes; then
21618 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21619 See \`config.log' for more details." >&5
21620 echo "$as_me: error: cannot run test program while cross compiling
21621 See \`config.log' for more details." >&2;}
21622 { (exit 1); exit 1; }; }
21623 else
21624 cat >conftest.$ac_ext <<_ACEOF
21625 /* confdefs.h. */
21626 _ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 $ac_includes_default
21631 long longval () { return (long) (sizeof (long long)); }
21632 unsigned long ulongval () { return (long) (sizeof (long long)); }
21633 #include <stdio.h>
21634 #include <stdlib.h>
21635 int
21636 main ()
21637 {
21638
21639 FILE *f = fopen ("conftest.val", "w");
21640 if (! f)
21641 exit (1);
21642 if (((long) (sizeof (long long))) < 0)
21643 {
21644 long i = longval ();
21645 if (i != ((long) (sizeof (long long))))
21646 exit (1);
21647 fprintf (f, "%ld\n", i);
21648 }
21649 else
21650 {
21651 unsigned long i = ulongval ();
21652 if (i != ((long) (sizeof (long long))))
21653 exit (1);
21654 fprintf (f, "%lu\n", i);
21655 }
21656 exit (ferror (f) || fclose (f) != 0);
21657
21658 ;
21659 return 0;
21660 }
21661 _ACEOF
21662 rm -f conftest$ac_exeext
21663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21664 (eval $ac_link) 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21670 ac_status=$?
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21673 ac_cv_sizeof_long_long=`cat conftest.val`
21674 else
21675 echo "$as_me: program exited with status $ac_status" >&5
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.$ac_ext >&5
21678
21679 ( exit $ac_status )
21680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21681 See \`config.log' for more details." >&5
21682 echo "$as_me: error: cannot compute sizeof (long long), 77
21683 See \`config.log' for more details." >&2;}
21684 { (exit 1); exit 1; }; }
21685 fi
21686 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21687 fi
21688 fi
21689 rm -f conftest.val
21690 else
21691 ac_cv_sizeof_long_long=0
21692 fi
21693 fi
21694 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21695 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21696 cat >>confdefs.h <<_ACEOF
21697 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21698 _ACEOF
21699
21700
21701 esac
21702
21703 echo "$as_me:$LINENO: checking for wchar_t" >&5
21704 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21705 if test "${ac_cv_type_wchar_t+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714
21715 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21717 # error "fake wchar_t"
21718 #endif
21719 #ifdef HAVE_WCHAR_H
21720 # ifdef __CYGWIN__
21721 # include <stddef.h>
21722 # endif
21723 # include <wchar.h>
21724 #endif
21725 #ifdef HAVE_STDLIB_H
21726 # include <stdlib.h>
21727 #endif
21728 #include <stdio.h>
21729
21730
21731
21732 int
21733 main ()
21734 {
21735 if ((wchar_t *) 0)
21736 return 0;
21737 if (sizeof (wchar_t))
21738 return 0;
21739 ;
21740 return 0;
21741 }
21742 _ACEOF
21743 rm -f conftest.$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>conftest.er1
21746 ac_status=$?
21747 grep -v '^ *+' conftest.er1 >conftest.err
21748 rm -f conftest.er1
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try='test -z "$ac_cxx_werror_flag"
21753 || test ! -s conftest.err'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21756 ac_status=$?
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; } &&
21759 { ac_try='test -s conftest.$ac_objext'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21762 ac_status=$?
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; }; then
21765 ac_cv_type_wchar_t=yes
21766 else
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21769
21770 ac_cv_type_wchar_t=no
21771 fi
21772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21773 fi
21774 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21775 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21776
21777 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21778 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21779 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 else
21782 if test "$ac_cv_type_wchar_t" = yes; then
21783 # The cast to unsigned long works around a bug in the HP C Compiler
21784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21786 # This bug is HP SR number 8606223364.
21787 if test "$cross_compiling" = yes; then
21788 # Depending upon the size, compute the lo and hi bounds.
21789 cat >conftest.$ac_ext <<_ACEOF
21790 /* confdefs.h. */
21791 _ACEOF
21792 cat confdefs.h >>conftest.$ac_ext
21793 cat >>conftest.$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21795
21796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21798 # error "fake wchar_t"
21799 #endif
21800 #ifdef HAVE_WCHAR_H
21801 # ifdef __CYGWIN__
21802 # include <stddef.h>
21803 # endif
21804 # include <wchar.h>
21805 #endif
21806 #ifdef HAVE_STDLIB_H
21807 # include <stdlib.h>
21808 #endif
21809 #include <stdio.h>
21810
21811
21812
21813 int
21814 main ()
21815 {
21816 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21817 test_array [0] = 0
21818
21819 ;
21820 return 0;
21821 }
21822 _ACEOF
21823 rm -f conftest.$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try='test -z "$ac_cxx_werror_flag"
21833 || test ! -s conftest.err'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21836 ac_status=$?
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; } &&
21839 { ac_try='test -s conftest.$ac_objext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21842 ac_status=$?
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_lo=0 ac_mid=0
21846 while :; do
21847 cat >conftest.$ac_ext <<_ACEOF
21848 /* confdefs.h. */
21849 _ACEOF
21850 cat confdefs.h >>conftest.$ac_ext
21851 cat >>conftest.$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21853
21854 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21855 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21856 # error "fake wchar_t"
21857 #endif
21858 #ifdef HAVE_WCHAR_H
21859 # ifdef __CYGWIN__
21860 # include <stddef.h>
21861 # endif
21862 # include <wchar.h>
21863 #endif
21864 #ifdef HAVE_STDLIB_H
21865 # include <stdlib.h>
21866 #endif
21867 #include <stdio.h>
21868
21869
21870
21871 int
21872 main ()
21873 {
21874 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21875 test_array [0] = 0
21876
21877 ;
21878 return 0;
21879 }
21880 _ACEOF
21881 rm -f conftest.$ac_objext
21882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21883 (eval $ac_compile) 2>conftest.er1
21884 ac_status=$?
21885 grep -v '^ *+' conftest.er1 >conftest.err
21886 rm -f conftest.er1
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } &&
21890 { ac_try='test -z "$ac_cxx_werror_flag"
21891 || test ! -s conftest.err'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21894 ac_status=$?
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; } &&
21897 { ac_try='test -s conftest.$ac_objext'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21900 ac_status=$?
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; }; then
21903 ac_hi=$ac_mid; break
21904 else
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21907
21908 ac_lo=`expr $ac_mid + 1`
21909 if test $ac_lo -le $ac_mid; then
21910 ac_lo= ac_hi=
21911 break
21912 fi
21913 ac_mid=`expr 2 '*' $ac_mid + 1`
21914 fi
21915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21916 done
21917 else
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21920
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927
21928 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21929 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21930 # error "fake wchar_t"
21931 #endif
21932 #ifdef HAVE_WCHAR_H
21933 # ifdef __CYGWIN__
21934 # include <stddef.h>
21935 # endif
21936 # include <wchar.h>
21937 #endif
21938 #ifdef HAVE_STDLIB_H
21939 # include <stdlib.h>
21940 #endif
21941 #include <stdio.h>
21942
21943
21944
21945 int
21946 main ()
21947 {
21948 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21949 test_array [0] = 0
21950
21951 ;
21952 return 0;
21953 }
21954 _ACEOF
21955 rm -f conftest.$ac_objext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21957 (eval $ac_compile) 2>conftest.er1
21958 ac_status=$?
21959 grep -v '^ *+' conftest.er1 >conftest.err
21960 rm -f conftest.er1
21961 cat conftest.err >&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); } &&
21964 { ac_try='test -z "$ac_cxx_werror_flag"
21965 || test ! -s conftest.err'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; } &&
21971 { ac_try='test -s conftest.$ac_objext'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; }; then
21977 ac_hi=-1 ac_mid=-1
21978 while :; do
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985
21986 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21987 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21988 # error "fake wchar_t"
21989 #endif
21990 #ifdef HAVE_WCHAR_H
21991 # ifdef __CYGWIN__
21992 # include <stddef.h>
21993 # endif
21994 # include <wchar.h>
21995 #endif
21996 #ifdef HAVE_STDLIB_H
21997 # include <stdlib.h>
21998 #endif
21999 #include <stdio.h>
22000
22001
22002
22003 int
22004 main ()
22005 {
22006 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22007 test_array [0] = 0
22008
22009 ;
22010 return 0;
22011 }
22012 _ACEOF
22013 rm -f conftest.$ac_objext
22014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22015 (eval $ac_compile) 2>conftest.er1
22016 ac_status=$?
22017 grep -v '^ *+' conftest.er1 >conftest.err
22018 rm -f conftest.er1
22019 cat conftest.err >&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } &&
22022 { ac_try='test -z "$ac_cxx_werror_flag"
22023 || test ! -s conftest.err'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22026 ac_status=$?
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; } &&
22029 { ac_try='test -s conftest.$ac_objext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 ac_lo=$ac_mid; break
22036 else
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22039
22040 ac_hi=`expr '(' $ac_mid ')' - 1`
22041 if test $ac_mid -le $ac_hi; then
22042 ac_lo= ac_hi=
22043 break
22044 fi
22045 ac_mid=`expr 2 '*' $ac_mid`
22046 fi
22047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22048 done
22049 else
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22052
22053 ac_lo= ac_hi=
22054 fi
22055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22056 fi
22057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22058 # Binary search between lo and hi bounds.
22059 while test "x$ac_lo" != "x$ac_hi"; do
22060 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22061 cat >conftest.$ac_ext <<_ACEOF
22062 /* confdefs.h. */
22063 _ACEOF
22064 cat confdefs.h >>conftest.$ac_ext
22065 cat >>conftest.$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067
22068 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22069 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22070 # error "fake wchar_t"
22071 #endif
22072 #ifdef HAVE_WCHAR_H
22073 # ifdef __CYGWIN__
22074 # include <stddef.h>
22075 # endif
22076 # include <wchar.h>
22077 #endif
22078 #ifdef HAVE_STDLIB_H
22079 # include <stdlib.h>
22080 #endif
22081 #include <stdio.h>
22082
22083
22084
22085 int
22086 main ()
22087 {
22088 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22089 test_array [0] = 0
22090
22091 ;
22092 return 0;
22093 }
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22097 (eval $ac_compile) 2>conftest.er1
22098 ac_status=$?
22099 grep -v '^ *+' conftest.er1 >conftest.err
22100 rm -f conftest.er1
22101 cat conftest.err >&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } &&
22104 { ac_try='test -z "$ac_cxx_werror_flag"
22105 || test ! -s conftest.err'
22106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107 (eval $ac_try) 2>&5
22108 ac_status=$?
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); }; } &&
22111 { ac_try='test -s conftest.$ac_objext'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22114 ac_status=$?
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; }; then
22117 ac_hi=$ac_mid
22118 else
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.$ac_ext >&5
22121
22122 ac_lo=`expr '(' $ac_mid ')' + 1`
22123 fi
22124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22125 done
22126 case $ac_lo in
22127 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22128 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22129 See \`config.log' for more details." >&5
22130 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22131 See \`config.log' for more details." >&2;}
22132 { (exit 1); exit 1; }; } ;;
22133 esac
22134 else
22135 if test "$cross_compiling" = yes; then
22136 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22137 See \`config.log' for more details." >&5
22138 echo "$as_me: error: cannot run test program while cross compiling
22139 See \`config.log' for more details." >&2;}
22140 { (exit 1); exit 1; }; }
22141 else
22142 cat >conftest.$ac_ext <<_ACEOF
22143 /* confdefs.h. */
22144 _ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148
22149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22151 # error "fake wchar_t"
22152 #endif
22153 #ifdef HAVE_WCHAR_H
22154 # ifdef __CYGWIN__
22155 # include <stddef.h>
22156 # endif
22157 # include <wchar.h>
22158 #endif
22159 #ifdef HAVE_STDLIB_H
22160 # include <stdlib.h>
22161 #endif
22162 #include <stdio.h>
22163
22164
22165
22166 long longval () { return (long) (sizeof (wchar_t)); }
22167 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22168 #include <stdio.h>
22169 #include <stdlib.h>
22170 int
22171 main ()
22172 {
22173
22174 FILE *f = fopen ("conftest.val", "w");
22175 if (! f)
22176 exit (1);
22177 if (((long) (sizeof (wchar_t))) < 0)
22178 {
22179 long i = longval ();
22180 if (i != ((long) (sizeof (wchar_t))))
22181 exit (1);
22182 fprintf (f, "%ld\n", i);
22183 }
22184 else
22185 {
22186 unsigned long i = ulongval ();
22187 if (i != ((long) (sizeof (wchar_t))))
22188 exit (1);
22189 fprintf (f, "%lu\n", i);
22190 }
22191 exit (ferror (f) || fclose (f) != 0);
22192
22193 ;
22194 return 0;
22195 }
22196 _ACEOF
22197 rm -f conftest$ac_exeext
22198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22199 (eval $ac_link) 2>&5
22200 ac_status=$?
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22204 (eval $ac_try) 2>&5
22205 ac_status=$?
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); }; }; then
22208 ac_cv_sizeof_wchar_t=`cat conftest.val`
22209 else
22210 echo "$as_me: program exited with status $ac_status" >&5
22211 echo "$as_me: failed program was:" >&5
22212 sed 's/^/| /' conftest.$ac_ext >&5
22213
22214 ( exit $ac_status )
22215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22216 See \`config.log' for more details." >&5
22217 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22218 See \`config.log' for more details." >&2;}
22219 { (exit 1); exit 1; }; }
22220 fi
22221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22222 fi
22223 fi
22224 rm -f conftest.val
22225 else
22226 ac_cv_sizeof_wchar_t=0
22227 fi
22228 fi
22229 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22230 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22231 cat >>confdefs.h <<_ACEOF
22232 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22233 _ACEOF
22234
22235
22236 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22237 wxUSE_WCHAR_T=yes
22238 else
22239 wxUSE_WCHAR_T=no
22240 fi
22241
22242 echo "$as_me:$LINENO: checking for va_copy" >&5
22243 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22244 if test "${wx_cv_func_va_copy+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 else
22247
22248 cat >conftest.$ac_ext <<_ACEOF
22249
22250 #include <stdarg.h>
22251 void foo(char *f, ...)
22252 {
22253 va_list ap1, ap2;
22254 va_start(ap1, f);
22255 va_copy(ap2, ap1);
22256 va_end(ap2);
22257 va_end(ap1);
22258 }
22259 int main()
22260 {
22261 foo("hi", 17);
22262 return 0;
22263 }
22264 _ACEOF
22265 rm -f conftest.$ac_objext conftest$ac_exeext
22266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22267 (eval $ac_link) 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try='test -z "$ac_cxx_werror_flag"
22275 || test ! -s conftest.err'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22278 ac_status=$?
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; } &&
22281 { ac_try='test -s conftest$ac_exeext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 wx_cv_func_va_copy=yes
22288 else
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22291
22292 wx_cv_func_va_copy=no
22293
22294 fi
22295 rm -f conftest.err conftest.$ac_objext \
22296 conftest$ac_exeext conftest.$ac_ext
22297
22298
22299 fi
22300 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22301 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22302
22303 if test $wx_cv_func_va_copy = "yes"; then
22304 cat >>confdefs.h <<\_ACEOF
22305 #define HAVE_VA_COPY 1
22306 _ACEOF
22307
22308 else
22309 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22310 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22311 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 else
22314
22315 if test "$cross_compiling" = yes; then
22316 wx_cv_type_va_list_lvalue=yes
22317
22318 else
22319 cat >conftest.$ac_ext <<_ACEOF
22320
22321 #include <stdarg.h>
22322 int foo(char *f, ...)
22323 {
22324 va_list ap1, ap2;
22325 va_start(ap1, f);
22326 ap2 = ap1;
22327 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22328 return 1;
22329 va_end(ap2);
22330 va_end(ap1);
22331 return 0;
22332 }
22333 int main()
22334 {
22335 return foo("hi", 17);
22336 }
22337 _ACEOF
22338 rm -f conftest$ac_exeext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22340 (eval $ac_link) 2>&5
22341 ac_status=$?
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 wx_cv_type_va_list_lvalue=yes
22350 else
22351 echo "$as_me: program exited with status $ac_status" >&5
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22354
22355 ( exit $ac_status )
22356 wx_cv_type_va_list_lvalue=no
22357 fi
22358 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22359 fi
22360
22361
22362 fi
22363 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22364 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22365
22366 if test $wx_cv_type_va_list_lvalue != "yes"; then
22367 cat >>confdefs.h <<\_ACEOF
22368 #define VA_LIST_IS_ARRAY 1
22369 _ACEOF
22370
22371 fi
22372 fi
22373
22374 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22375 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22376 if test "${wx_cv_have_variadic_macros+set}" = set; then
22377 echo $ECHO_N "(cached) $ECHO_C" >&6
22378 else
22379
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386
22387 #include <stdio.h>
22388 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22389
22390 int
22391 main ()
22392 {
22393
22394 test("%s %d %p", "test", 1, 0);
22395
22396
22397 ;
22398 return 0;
22399 }
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403 (eval $ac_compile) 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try='test -z "$ac_cxx_werror_flag"
22411 || test ! -s conftest.err'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22414 ac_status=$?
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; } &&
22417 { ac_try='test -s conftest.$ac_objext'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 wx_cv_have_variadic_macros=yes
22424 else
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.$ac_ext >&5
22427
22428 wx_cv_have_variadic_macros=no
22429
22430 fi
22431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22432
22433
22434 fi
22435 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22436 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22437
22438 if test $wx_cv_have_variadic_macros = "yes"; then
22439 cat >>confdefs.h <<\_ACEOF
22440 #define HAVE_VARIADIC_MACROS 1
22441 _ACEOF
22442
22443 fi
22444
22445 # Check whether --enable-largefile or --disable-largefile was given.
22446 if test "${enable_largefile+set}" = set; then
22447 enableval="$enable_largefile"
22448
22449 fi;
22450 if test "$enable_largefile" != no; then
22451 wx_largefile=no
22452
22453 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22454 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22455 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22456 echo $ECHO_N "(cached) $ECHO_C" >&6
22457 else
22458
22459 cat >conftest.$ac_ext <<_ACEOF
22460 /* confdefs.h. */
22461 _ACEOF
22462 cat confdefs.h >>conftest.$ac_ext
22463 cat >>conftest.$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 #define _FILE_OFFSET_BITS 64
22466 #include <sys/types.h>
22467 int
22468 main ()
22469 {
22470 typedef struct {
22471 unsigned int field: sizeof(off_t) == 8;
22472 } wxlf;
22473
22474 ;
22475 return 0;
22476 }
22477 _ACEOF
22478 rm -f conftest.$ac_objext
22479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22480 (eval $ac_compile) 2>conftest.er1
22481 ac_status=$?
22482 grep -v '^ *+' conftest.er1 >conftest.err
22483 rm -f conftest.er1
22484 cat conftest.err >&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); } &&
22487 { ac_try='test -z "$ac_cxx_werror_flag"
22488 || test ! -s conftest.err'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22491 ac_status=$?
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; } &&
22494 { ac_try='test -s conftest.$ac_objext'
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496 (eval $ac_try) 2>&5
22497 ac_status=$?
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; }; then
22500 ac_cv_sys_file_offset_bits=64
22501 else
22502 echo "$as_me: failed program was:" >&5
22503 sed 's/^/| /' conftest.$ac_ext >&5
22504
22505 ac_cv_sys_file_offset_bits=no
22506 fi
22507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22508
22509
22510 fi
22511 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22512 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22513
22514 if test "$ac_cv_sys_file_offset_bits" != no; then
22515 wx_largefile=yes
22516 cat >>confdefs.h <<_ACEOF
22517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22518 _ACEOF
22519
22520 fi
22521
22522 if test "x$wx_largefile" != "xyes"; then
22523
22524 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22525 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22526 if test "${ac_cv_sys_large_files+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22528 else
22529
22530 cat >conftest.$ac_ext <<_ACEOF
22531 /* confdefs.h. */
22532 _ACEOF
22533 cat confdefs.h >>conftest.$ac_ext
22534 cat >>conftest.$ac_ext <<_ACEOF
22535 /* end confdefs.h. */
22536 #define _LARGE_FILES 1
22537 #include <sys/types.h>
22538 int
22539 main ()
22540 {
22541 typedef struct {
22542 unsigned int field: sizeof(off_t) == 8;
22543 } wxlf;
22544
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551 (eval $ac_compile) 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -z "$ac_cxx_werror_flag"
22559 || test ! -s conftest.err'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22562 ac_status=$?
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; } &&
22565 { ac_try='test -s conftest.$ac_objext'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 ac_cv_sys_large_files=1
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 ac_cv_sys_large_files=no
22577 fi
22578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22579
22580
22581 fi
22582 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22583 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22584
22585 if test "$ac_cv_sys_large_files" != no; then
22586 wx_largefile=yes
22587 cat >>confdefs.h <<_ACEOF
22588 #define _LARGE_FILES $ac_cv_sys_large_files
22589 _ACEOF
22590
22591 fi
22592
22593 fi
22594
22595 echo "$as_me:$LINENO: checking if large file support is available" >&5
22596 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22597 if test "x$wx_largefile" = "xyes"; then
22598 cat >>confdefs.h <<\_ACEOF
22599 #define HAVE_LARGEFILE_SUPPORT 1
22600 _ACEOF
22601
22602 fi
22603 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22604 echo "${ECHO_T}$wx_largefile" >&6
22605 fi
22606
22607
22608 if test "x$wx_largefile" = "xyes"; then
22609 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22610 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22611
22612 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22613 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22614 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22615 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22616 echo $ECHO_N "(cached) $ECHO_C" >&6
22617 else
22618
22619 cat >conftest.$ac_ext <<_ACEOF
22620 /* confdefs.h. */
22621 _ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625
22626 int
22627 main ()
22628 {
22629
22630 #ifndef __STDC_EXT__
22631 choke me
22632 #endif
22633
22634 ;
22635 return 0;
22636 }
22637 _ACEOF
22638 rm -f conftest.$ac_objext
22639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22640 (eval $ac_compile) 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try='test -z "$ac_cxx_werror_flag"
22648 || test ! -s conftest.err'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; } &&
22654 { ac_try='test -s conftest.$ac_objext'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22657 ac_status=$?
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; }; then
22660 wx_cv_STDC_EXT_required=no
22661 else
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22664
22665 wx_cv_STDC_EXT_required=yes
22666
22667 fi
22668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22669
22670
22671 fi
22672 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22673 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22674 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22675 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22676 fi
22677 fi
22678 else
22679 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22680 fi
22681 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22682 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22683 if test "${ac_cv_sys_largefile_source+set}" = set; then
22684 echo $ECHO_N "(cached) $ECHO_C" >&6
22685 else
22686 while :; do
22687 ac_cv_sys_largefile_source=no
22688 cat >conftest.$ac_ext <<_ACEOF
22689 /* confdefs.h. */
22690 _ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 #include <stdio.h>
22695 int
22696 main ()
22697 {
22698 return !fseeko;
22699 ;
22700 return 0;
22701 }
22702 _ACEOF
22703 rm -f conftest.$ac_objext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22705 (eval $ac_compile) 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try='test -z "$ac_cxx_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try='test -s conftest.$ac_objext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22722 ac_status=$?
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22725 break
22726 else
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.$ac_ext >&5
22729
22730 fi
22731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 #define _LARGEFILE_SOURCE 1
22739 #include <stdio.h>
22740 int
22741 main ()
22742 {
22743 return !fseeko;
22744 ;
22745 return 0;
22746 }
22747 _ACEOF
22748 rm -f conftest.$ac_objext
22749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22750 (eval $ac_compile) 2>conftest.er1
22751 ac_status=$?
22752 grep -v '^ *+' conftest.er1 >conftest.err
22753 rm -f conftest.er1
22754 cat conftest.err >&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); } &&
22757 { ac_try='test -z "$ac_cxx_werror_flag"
22758 || test ! -s conftest.err'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try='test -s conftest.$ac_objext'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22767 ac_status=$?
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; }; then
22770 ac_cv_sys_largefile_source=1; break
22771 else
22772 echo "$as_me: failed program was:" >&5
22773 sed 's/^/| /' conftest.$ac_ext >&5
22774
22775 fi
22776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22777 break
22778 done
22779 fi
22780 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22781 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22782 if test "$ac_cv_sys_largefile_source" != no; then
22783
22784 cat >>confdefs.h <<_ACEOF
22785 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22786 _ACEOF
22787
22788 fi
22789 rm -f conftest*
22790
22791 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22792 # in glibc 2.1.3, but that breaks too many other things.
22793 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22794 echo "$as_me:$LINENO: checking for fseeko" >&5
22795 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22796 if test "${ac_cv_func_fseeko+set}" = set; then
22797 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 else
22799 cat >conftest.$ac_ext <<_ACEOF
22800 /* confdefs.h. */
22801 _ACEOF
22802 cat confdefs.h >>conftest.$ac_ext
22803 cat >>conftest.$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22805 #include <stdio.h>
22806 int
22807 main ()
22808 {
22809 return fseeko && fseeko (stdin, 0, 0);
22810 ;
22811 return 0;
22812 }
22813 _ACEOF
22814 rm -f conftest.$ac_objext conftest$ac_exeext
22815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22816 (eval $ac_link) 2>conftest.er1
22817 ac_status=$?
22818 grep -v '^ *+' conftest.er1 >conftest.err
22819 rm -f conftest.er1
22820 cat conftest.err >&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } &&
22823 { ac_try='test -z "$ac_cxx_werror_flag"
22824 || test ! -s conftest.err'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; } &&
22830 { ac_try='test -s conftest$ac_exeext'
22831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 (eval $ac_try) 2>&5
22833 ac_status=$?
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); }; }; then
22836 ac_cv_func_fseeko=yes
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 ac_cv_func_fseeko=no
22842 fi
22843 rm -f conftest.err conftest.$ac_objext \
22844 conftest$ac_exeext conftest.$ac_ext
22845 fi
22846 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22847 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22848 if test $ac_cv_func_fseeko = yes; then
22849
22850 cat >>confdefs.h <<\_ACEOF
22851 #define HAVE_FSEEKO 1
22852 _ACEOF
22853
22854 fi
22855
22856 if test "$ac_cv_sys_largefile_source" != no; then
22857 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22858 fi
22859 fi
22860
22861 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22862 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22863 if test "${ac_cv_c_bigendian+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 else
22866 ac_cv_c_bigendian=unknown
22867 # See if sys/param.h defines the BYTE_ORDER macro.
22868 cat >conftest.$ac_ext <<_ACEOF
22869 /* confdefs.h. */
22870 _ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874 #include <sys/types.h>
22875 #include <sys/param.h>
22876 int
22877 main ()
22878 {
22879
22880 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22881 bogus endian macros
22882 #endif
22883 ;
22884 return 0;
22885 }
22886 _ACEOF
22887 rm -f conftest.$ac_objext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22889 (eval $ac_compile) 2>conftest.er1
22890 ac_status=$?
22891 grep -v '^ *+' conftest.er1 >conftest.err
22892 rm -f conftest.er1
22893 cat conftest.err >&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } &&
22896 { ac_try='test -z "$ac_cxx_werror_flag"
22897 || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22900 ac_status=$?
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try='test -s conftest.$ac_objext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22906 ac_status=$?
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22909 # It does; now see whether it defined to BIG_ENDIAN or not.
22910 cat >conftest.$ac_ext <<_ACEOF
22911 /* confdefs.h. */
22912 _ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 #include <sys/types.h>
22917 #include <sys/param.h>
22918 int
22919 main ()
22920 {
22921
22922 #if BYTE_ORDER != BIG_ENDIAN
22923 not big endian
22924 #endif
22925 ;
22926 return 0;
22927 }
22928 _ACEOF
22929 rm -f conftest.$ac_objext
22930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22931 (eval $ac_compile) 2>conftest.er1
22932 ac_status=$?
22933 grep -v '^ *+' conftest.er1 >conftest.err
22934 rm -f conftest.er1
22935 cat conftest.err >&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -z "$ac_cxx_werror_flag"
22939 || test ! -s conftest.err'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22942 ac_status=$?
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; } &&
22945 { ac_try='test -s conftest.$ac_objext'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; }; then
22951 ac_cv_c_bigendian=yes
22952 else
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22955
22956 ac_cv_c_bigendian=no
22957 fi
22958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22959 else
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22962
22963 fi
22964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22965 if test $ac_cv_c_bigendian = unknown; then
22966 if test "$cross_compiling" = yes; then
22967 ac_cv_c_bigendian=unknown
22968 else
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h. */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 main () {
22976 /* Are we little or big endian? From Harbison&Steele. */
22977 union
22978 {
22979 long l;
22980 char c[sizeof (long)];
22981 } u;
22982 u.l = 1;
22983 exit (u.c[sizeof (long) - 1] == 1);
22984 }
22985 _ACEOF
22986 rm -f conftest$ac_exeext
22987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22988 (eval $ac_link) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22993 (eval $ac_try) 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); }; }; then
22997 ac_cv_c_bigendian=no
22998 else
22999 echo "$as_me: program exited with status $ac_status" >&5
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 ( exit $ac_status )
23004 ac_cv_c_bigendian=yes
23005 fi
23006 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23007 fi
23008 fi
23009 fi
23010 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23011 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23012 if test $ac_cv_c_bigendian = unknown; then
23013 { 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
23014 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;}
23015 fi
23016 if test $ac_cv_c_bigendian = yes; then
23017 cat >>confdefs.h <<\_ACEOF
23018 #define WORDS_BIGENDIAN 1
23019 _ACEOF
23020
23021 fi
23022
23023
23024
23025
23026
23027 ac_ext=cc
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032
23033
23034
23035 for ac_header in iostream
23036 do
23037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23039 echo "$as_me:$LINENO: checking for $ac_header" >&5
23040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 fi
23044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23046 else
23047 # Is the header compilable?
23048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23050 cat >conftest.$ac_ext <<_ACEOF
23051 /* confdefs.h. */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 $ac_includes_default
23057 #include <$ac_header>
23058 _ACEOF
23059 rm -f conftest.$ac_objext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061 (eval $ac_compile) 2>conftest.er1
23062 ac_status=$?
23063 grep -v '^ *+' conftest.er1 >conftest.err
23064 rm -f conftest.er1
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_cxx_werror_flag"
23069 || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23072 ac_status=$?
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23078 ac_status=$?
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 ac_header_compiler=yes
23082 else
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23085
23086 ac_header_compiler=no
23087 fi
23088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23090 echo "${ECHO_T}$ac_header_compiler" >&6
23091
23092 # Is the header present?
23093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 #include <$ac_header>
23102 _ACEOF
23103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23105 ac_status=$?
23106 grep -v '^ *+' conftest.er1 >conftest.err
23107 rm -f conftest.er1
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } >/dev/null; then
23111 if test -s conftest.err; then
23112 ac_cpp_err=$ac_cxx_preproc_warn_flag
23113 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23114 else
23115 ac_cpp_err=
23116 fi
23117 else
23118 ac_cpp_err=yes
23119 fi
23120 if test -z "$ac_cpp_err"; then
23121 ac_header_preproc=yes
23122 else
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.$ac_ext >&5
23125
23126 ac_header_preproc=no
23127 fi
23128 rm -f conftest.err conftest.$ac_ext
23129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23130 echo "${ECHO_T}$ac_header_preproc" >&6
23131
23132 # So? What about this header?
23133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23134 yes:no: )
23135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23139 ac_header_preproc=yes
23140 ;;
23141 no:yes:* )
23142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23154 (
23155 cat <<\_ASBOX
23156 ## ----------------------------------------- ##
23157 ## Report this to wx-dev@lists.wxwidgets.org ##
23158 ## ----------------------------------------- ##
23159 _ASBOX
23160 ) |
23161 sed "s/^/$as_me: WARNING: /" >&2
23162 ;;
23163 esac
23164 echo "$as_me:$LINENO: checking for $ac_header" >&5
23165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23167 echo $ECHO_N "(cached) $ECHO_C" >&6
23168 else
23169 eval "$as_ac_Header=\$ac_header_preproc"
23170 fi
23171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23173
23174 fi
23175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23176 cat >>confdefs.h <<_ACEOF
23177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23178 _ACEOF
23179
23180 fi
23181
23182 done
23183
23184
23185 if test "$ac_cv_header_iostream" = "yes" ; then
23186 :
23187 else
23188 cat >>confdefs.h <<\_ACEOF
23189 #define wxUSE_IOSTREAMH 1
23190 _ACEOF
23191
23192 fi
23193
23194 ac_ext=cc
23195 ac_cpp='$CXXCPP $CPPFLAGS'
23196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23199
23200
23201
23202
23203 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23204 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23205 if test "${wx_cv_cpp_bool+set}" = set; then
23206 echo $ECHO_N "(cached) $ECHO_C" >&6
23207 else
23208
23209
23210
23211 ac_ext=cc
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216
23217
23218 cat >conftest.$ac_ext <<_ACEOF
23219 /* confdefs.h. */
23220 _ACEOF
23221 cat confdefs.h >>conftest.$ac_ext
23222 cat >>conftest.$ac_ext <<_ACEOF
23223 /* end confdefs.h. */
23224
23225
23226 int
23227 main ()
23228 {
23229
23230 bool b = true;
23231
23232 return 0;
23233
23234 ;
23235 return 0;
23236 }
23237 _ACEOF
23238 rm -f conftest.$ac_objext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23240 (eval $ac_compile) 2>conftest.er1
23241 ac_status=$?
23242 grep -v '^ *+' conftest.er1 >conftest.err
23243 rm -f conftest.er1
23244 cat conftest.err >&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try='test -z "$ac_cxx_werror_flag"
23248 || test ! -s conftest.err'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23251 ac_status=$?
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; } &&
23254 { ac_try='test -s conftest.$ac_objext'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23257 ac_status=$?
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; }; then
23260
23261 wx_cv_cpp_bool=yes
23262
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23266
23267
23268 wx_cv_cpp_bool=no
23269
23270
23271 fi
23272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23273
23274 ac_ext=cc
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
23280
23281 fi
23282 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23283 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23284
23285 if test "$wx_cv_cpp_bool" = "yes"; then
23286 cat >>confdefs.h <<\_ACEOF
23287 #define HAVE_BOOL 1
23288 _ACEOF
23289
23290 fi
23291
23292
23293
23294 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23295 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23296 if test "${wx_cv_explicit+set}" = set; then
23297 echo $ECHO_N "(cached) $ECHO_C" >&6
23298 else
23299
23300
23301
23302 ac_ext=cc
23303 ac_cpp='$CXXCPP $CPPFLAGS'
23304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23307
23308
23309 cat >conftest.$ac_ext <<_ACEOF
23310 /* confdefs.h. */
23311 _ACEOF
23312 cat confdefs.h >>conftest.$ac_ext
23313 cat >>conftest.$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23315
23316 class Foo { public: explicit Foo(int) {} };
23317
23318 int
23319 main ()
23320 {
23321
23322 return 0;
23323
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23330 (eval $ac_compile) 2>conftest.er1
23331 ac_status=$?
23332 grep -v '^ *+' conftest.er1 >conftest.err
23333 rm -f conftest.er1
23334 cat conftest.err >&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } &&
23337 { ac_try='test -z "$ac_cxx_werror_flag"
23338 || test ! -s conftest.err'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23341 ac_status=$?
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; } &&
23344 { ac_try='test -s conftest.$ac_objext'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; }; then
23350
23351 cat >conftest.$ac_ext <<_ACEOF
23352 /* confdefs.h. */
23353 _ACEOF
23354 cat confdefs.h >>conftest.$ac_ext
23355 cat >>conftest.$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357
23358 class Foo { public: explicit Foo(int) {} };
23359 static void TakeFoo(const Foo& foo) { }
23360
23361 int
23362 main ()
23363 {
23364
23365 TakeFoo(17);
23366 return 0;
23367
23368 ;
23369 return 0;
23370 }
23371 _ACEOF
23372 rm -f conftest.$ac_objext
23373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23374 (eval $ac_compile) 2>conftest.er1
23375 ac_status=$?
23376 grep -v '^ *+' conftest.er1 >conftest.err
23377 rm -f conftest.er1
23378 cat conftest.err >&5
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); } &&
23381 { ac_try='test -z "$ac_cxx_werror_flag"
23382 || test ! -s conftest.err'
23383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23384 (eval $ac_try) 2>&5
23385 ac_status=$?
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); }; } &&
23388 { ac_try='test -s conftest.$ac_objext'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23391 ac_status=$?
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; }; then
23394 wx_cv_explicit=no
23395 else
23396 echo "$as_me: failed program was:" >&5
23397 sed 's/^/| /' conftest.$ac_ext >&5
23398
23399 wx_cv_explicit=yes
23400
23401 fi
23402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23403
23404 else
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408 wx_cv_explicit=no
23409
23410 fi
23411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23412
23413 ac_ext=cc
23414 ac_cpp='$CXXCPP $CPPFLAGS'
23415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23418
23419
23420 fi
23421 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23422 echo "${ECHO_T}$wx_cv_explicit" >&6
23423
23424 if test "$wx_cv_explicit" = "yes"; then
23425 cat >>confdefs.h <<\_ACEOF
23426 #define HAVE_EXPLICIT 1
23427 _ACEOF
23428
23429 fi
23430
23431
23432 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23433 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23434 if test "${ac_cv_cxx_const_cast+set}" = set; then
23435 echo $ECHO_N "(cached) $ECHO_C" >&6
23436 else
23437
23438
23439 ac_ext=cc
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23444
23445 cat >conftest.$ac_ext <<_ACEOF
23446 /* confdefs.h. */
23447 _ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451
23452 int
23453 main ()
23454 {
23455 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23456 ;
23457 return 0;
23458 }
23459 _ACEOF
23460 rm -f conftest.$ac_objext
23461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23462 (eval $ac_compile) 2>conftest.er1
23463 ac_status=$?
23464 grep -v '^ *+' conftest.er1 >conftest.err
23465 rm -f conftest.er1
23466 cat conftest.err >&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } &&
23469 { ac_try='test -z "$ac_cxx_werror_flag"
23470 || test ! -s conftest.err'
23471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472 (eval $ac_try) 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); }; } &&
23476 { ac_try='test -s conftest.$ac_objext'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; }; then
23482 ac_cv_cxx_const_cast=yes
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 ac_cv_cxx_const_cast=no
23488 fi
23489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23490 ac_ext=cc
23491 ac_cpp='$CXXCPP $CPPFLAGS'
23492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23495
23496
23497 fi
23498 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23499 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23500 if test "$ac_cv_cxx_const_cast" = yes; then
23501
23502 cat >>confdefs.h <<\_ACEOF
23503 #define HAVE_CONST_CAST
23504 _ACEOF
23505
23506 fi
23507
23508 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23509 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23510 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23513
23514
23515 ac_ext=cc
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520
23521 cat >conftest.$ac_ext <<_ACEOF
23522 /* confdefs.h. */
23523 _ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527 #include <typeinfo>
23528 class Base { public : Base () {} virtual void f () = 0;};
23529 class Derived : public Base { public : Derived () {} virtual void f () {} };
23530 class Unrelated { public : Unrelated () {} };
23531 int g (Unrelated&) { return 0; }
23532 int
23533 main ()
23534 {
23535
23536 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23537 ;
23538 return 0;
23539 }
23540 _ACEOF
23541 rm -f conftest.$ac_objext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23543 (eval $ac_compile) 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } &&
23550 { ac_try='test -z "$ac_cxx_werror_flag"
23551 || test ! -s conftest.err'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23554 ac_status=$?
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; } &&
23557 { ac_try='test -s conftest.$ac_objext'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23560 ac_status=$?
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; }; then
23563 ac_cv_cxx_reinterpret_cast=yes
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 ac_cv_cxx_reinterpret_cast=no
23569 fi
23570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23571 ac_ext=cc
23572 ac_cpp='$CXXCPP $CPPFLAGS'
23573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23576
23577
23578 fi
23579 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23580 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23581 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23582
23583 cat >>confdefs.h <<\_ACEOF
23584 #define HAVE_REINTERPRET_CAST
23585 _ACEOF
23586
23587 fi
23588
23589 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23590 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23591 if test "${ac_cv_cxx_static_cast+set}" = set; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23593 else
23594
23595
23596 ac_ext=cc
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23601
23602 cat >conftest.$ac_ext <<_ACEOF
23603 /* confdefs.h. */
23604 _ACEOF
23605 cat confdefs.h >>conftest.$ac_ext
23606 cat >>conftest.$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23608 #include <typeinfo>
23609 class Base { public : Base () {} virtual void f () = 0; };
23610 class Derived : public Base { public : Derived () {} virtual void f () {} };
23611 int g (Derived&) { return 0; }
23612 int
23613 main ()
23614 {
23615
23616 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23617 ;
23618 return 0;
23619 }
23620 _ACEOF
23621 rm -f conftest.$ac_objext
23622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23623 (eval $ac_compile) 2>conftest.er1
23624 ac_status=$?
23625 grep -v '^ *+' conftest.er1 >conftest.err
23626 rm -f conftest.er1
23627 cat conftest.err >&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } &&
23630 { ac_try='test -z "$ac_cxx_werror_flag"
23631 || test ! -s conftest.err'
23632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23633 (eval $ac_try) 2>&5
23634 ac_status=$?
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); }; } &&
23637 { ac_try='test -s conftest.$ac_objext'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23640 ac_status=$?
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; }; then
23643 ac_cv_cxx_static_cast=yes
23644 else
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.$ac_ext >&5
23647
23648 ac_cv_cxx_static_cast=no
23649 fi
23650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23651 ac_ext=cc
23652 ac_cpp='$CXXCPP $CPPFLAGS'
23653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23656
23657
23658 fi
23659 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23660 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23661 if test "$ac_cv_cxx_static_cast" = yes; then
23662
23663 cat >>confdefs.h <<\_ACEOF
23664 #define HAVE_STATIC_CAST
23665 _ACEOF
23666
23667 fi
23668
23669
23670 if test "x$SUNCXX" = xyes; then
23671 CXXFLAGS="-features=tmplife $CXXFLAGS"
23672 fi
23673
23674 if test "x$SUNCC" = xyes; then
23675 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23676 fi
23677
23678 if test "x$SGICC" = "xyes"; then
23679 CFLAGS="-woff 3970 $CFLAGS"
23680 fi
23681 if test "x$SGICXX" = "xyes"; then
23682 CXXFLAGS="-woff 3970 $CXXFLAGS"
23683 fi
23684
23685 if test "x$HPCC" = "xyes"; then
23686 CFLAGS="+W 2011,2450 $CFLAGS"
23687 fi
23688 if test "x$HPCXX" = "xyes"; then
23689 CXXFLAGS="+W 2340 $CXXFLAGS"
23690 fi
23691
23692 if test "x$COMPAQCXX" = "xyes"; then
23693 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23694 fi
23695
23696 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23697 if test "$wxUSE_UNICODE" = "yes"; then
23698 std_string="std::wstring"
23699 char_type="wchar_t"
23700 else
23701 std_string="std::string"
23702 char_type="char"
23703 fi
23704
23705 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23706 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23707 cat >conftest.$ac_ext <<_ACEOF
23708 /* confdefs.h. */
23709 _ACEOF
23710 cat confdefs.h >>conftest.$ac_ext
23711 cat >>conftest.$ac_ext <<_ACEOF
23712 /* end confdefs.h. */
23713 #include <string>
23714 int
23715 main ()
23716 {
23717 $std_string foo;
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest.$ac_objext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23724 (eval $ac_compile) 2>conftest.er1
23725 ac_status=$?
23726 grep -v '^ *+' conftest.er1 >conftest.err
23727 rm -f conftest.er1
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } &&
23731 { ac_try='test -z "$ac_cxx_werror_flag"
23732 || test ! -s conftest.err'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; } &&
23738 { ac_try='test -s conftest.$ac_objext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23741 ac_status=$?
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 echo "$as_me:$LINENO: result: yes" >&5
23745 echo "${ECHO_T}yes" >&6
23746 cat >>confdefs.h <<\_ACEOF
23747 #define HAVE_STD_WSTRING 1
23748 _ACEOF
23749
23750 else
23751 echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23753
23754 echo "$as_me:$LINENO: result: no" >&5
23755 echo "${ECHO_T}no" >&6
23756 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23757 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23758 cat >conftest.$ac_ext <<_ACEOF
23759 /* confdefs.h. */
23760 _ACEOF
23761 cat confdefs.h >>conftest.$ac_ext
23762 cat >>conftest.$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23764
23765 #ifdef HAVE_WCHAR_H
23766 # ifdef __CYGWIN__
23767 # include <stddef.h>
23768 # endif
23769 # include <wchar.h>
23770 #endif
23771 #ifdef HAVE_STDLIB_H
23772 # include <stdlib.h>
23773 #endif
23774 #include <stdio.h>
23775 #include <string>
23776
23777 int
23778 main ()
23779 {
23780 std::basic_string<$char_type> foo;
23781 const $char_type* dummy = foo.c_str();
23782 ;
23783 return 0;
23784 }
23785 _ACEOF
23786 rm -f conftest.$ac_objext
23787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23788 (eval $ac_compile) 2>conftest.er1
23789 ac_status=$?
23790 grep -v '^ *+' conftest.er1 >conftest.err
23791 rm -f conftest.er1
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } &&
23795 { ac_try='test -z "$ac_cxx_werror_flag"
23796 || test ! -s conftest.err'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23799 ac_status=$?
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; } &&
23802 { ac_try='test -s conftest.$ac_objext'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 echo "$as_me:$LINENO: result: yes" >&5
23809 echo "${ECHO_T}yes" >&6
23810 else
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5
23813
23814 echo "$as_me:$LINENO: result: no" >&5
23815 echo "${ECHO_T}no" >&6
23816 if test "$wxUSE_STL" = "yes"; then
23817 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23818 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23819 { (exit 1); exit 1; }; }
23820 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23821 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23822 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23823 { (exit 1); exit 1; }; }
23824 else
23825 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23826 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23827 wxUSE_STD_STRING=no
23828 fi
23829
23830
23831 fi
23832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23833
23834 fi
23835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23836 fi
23837
23838 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23839 echo "$as_me:$LINENO: checking for std::istream" >&5
23840 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23841 if test "${ac_cv_type_std__istream+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 else
23844 cat >conftest.$ac_ext <<_ACEOF
23845 /* confdefs.h. */
23846 _ACEOF
23847 cat confdefs.h >>conftest.$ac_ext
23848 cat >>conftest.$ac_ext <<_ACEOF
23849 /* end confdefs.h. */
23850 #include <iostream>
23851
23852 int
23853 main ()
23854 {
23855 if ((std::istream *) 0)
23856 return 0;
23857 if (sizeof (std::istream))
23858 return 0;
23859 ;
23860 return 0;
23861 }
23862 _ACEOF
23863 rm -f conftest.$ac_objext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23865 (eval $ac_compile) 2>conftest.er1
23866 ac_status=$?
23867 grep -v '^ *+' conftest.er1 >conftest.err
23868 rm -f conftest.er1
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } &&
23872 { ac_try='test -z "$ac_cxx_werror_flag"
23873 || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23885 ac_cv_type_std__istream=yes
23886 else
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890 ac_cv_type_std__istream=no
23891 fi
23892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23893 fi
23894 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23895 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23896 if test $ac_cv_type_std__istream = yes; then
23897
23898 cat >>confdefs.h <<_ACEOF
23899 #define HAVE_STD__ISTREAM 1
23900 _ACEOF
23901
23902
23903 else
23904 wxUSE_STD_IOSTREAM=no
23905 fi
23906 echo "$as_me:$LINENO: checking for std::ostream" >&5
23907 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23908 if test "${ac_cv_type_std__ostream+set}" = set; then
23909 echo $ECHO_N "(cached) $ECHO_C" >&6
23910 else
23911 cat >conftest.$ac_ext <<_ACEOF
23912 /* confdefs.h. */
23913 _ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917 #include <iostream>
23918
23919 int
23920 main ()
23921 {
23922 if ((std::ostream *) 0)
23923 return 0;
23924 if (sizeof (std::ostream))
23925 return 0;
23926 ;
23927 return 0;
23928 }
23929 _ACEOF
23930 rm -f conftest.$ac_objext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23932 (eval $ac_compile) 2>conftest.er1
23933 ac_status=$?
23934 grep -v '^ *+' conftest.er1 >conftest.err
23935 rm -f conftest.er1
23936 cat conftest.err >&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try='test -z "$ac_cxx_werror_flag"
23940 || test ! -s conftest.err'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23943 ac_status=$?
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try='test -s conftest.$ac_objext'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23949 ac_status=$?
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 ac_cv_type_std__ostream=yes
23953 else
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23956
23957 ac_cv_type_std__ostream=no
23958 fi
23959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23960 fi
23961 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23962 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23963 if test $ac_cv_type_std__ostream = yes; then
23964
23965 cat >>confdefs.h <<_ACEOF
23966 #define HAVE_STD__OSTREAM 1
23967 _ACEOF
23968
23969
23970 else
23971 wxUSE_STD_IOSTREAM=no
23972 fi
23973
23974
23975 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23976 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23977 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23978 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23979 { (exit 1); exit 1; }; }
23980 else
23981 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23982 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23983 fi
23984 fi
23985 fi
23986
23987 if test "$wxUSE_STL" = "yes"; then
23988 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23989 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23990 cat >conftest.$ac_ext <<_ACEOF
23991 /* confdefs.h. */
23992 _ACEOF
23993 cat confdefs.h >>conftest.$ac_ext
23994 cat >>conftest.$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23996 #include <string>
23997 #include <functional>
23998 #include <algorithm>
23999 #include <vector>
24000 #include <list>
24001 int
24002 main ()
24003 {
24004 std::vector<int> moo;
24005 std::list<int> foo;
24006 std::vector<int>::iterator it =
24007 std::find_if(moo.begin(), moo.end(),
24008 std::bind2nd(std::less<int>(), 3));
24009 ;
24010 return 0;
24011 }
24012 _ACEOF
24013 rm -f conftest.$ac_objext
24014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24015 (eval $ac_compile) 2>conftest.er1
24016 ac_status=$?
24017 grep -v '^ *+' conftest.er1 >conftest.err
24018 rm -f conftest.er1
24019 cat conftest.err >&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } &&
24022 { ac_try='test -z "$ac_cxx_werror_flag"
24023 || test ! -s conftest.err'
24024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24025 (eval $ac_try) 2>&5
24026 ac_status=$?
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; } &&
24029 { ac_try='test -s conftest.$ac_objext'
24030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24031 (eval $ac_try) 2>&5
24032 ac_status=$?
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); }; }; then
24035 echo "$as_me:$LINENO: result: yes" >&5
24036 echo "${ECHO_T}yes" >&6
24037 else
24038 echo "$as_me: failed program was:" >&5
24039 sed 's/^/| /' conftest.$ac_ext >&5
24040
24041 echo "$as_me:$LINENO: result: no" >&5
24042 echo "${ECHO_T}no" >&6
24043 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24044 echo "$as_me: error: Basic STL functionality missing" >&2;}
24045 { (exit 1); exit 1; }; }
24046 fi
24047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24048
24049 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24050 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24051 cat >conftest.$ac_ext <<_ACEOF
24052 /* confdefs.h. */
24053 _ACEOF
24054 cat confdefs.h >>conftest.$ac_ext
24055 cat >>conftest.$ac_ext <<_ACEOF
24056 /* end confdefs.h. */
24057 #include <string>
24058 int
24059 main ()
24060 {
24061 std::string foo, bar;
24062 foo.compare(bar);
24063 foo.compare(1, 1, bar);
24064 foo.compare(1, 1, bar, 1, 1);
24065 foo.compare("");
24066 foo.compare(1, 1, "");
24067 foo.compare(1, 1, "", 2);
24068 ;
24069 return 0;
24070 }
24071 _ACEOF
24072 rm -f conftest.$ac_objext
24073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24074 (eval $ac_compile) 2>conftest.er1
24075 ac_status=$?
24076 grep -v '^ *+' conftest.er1 >conftest.err
24077 rm -f conftest.er1
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try='test -z "$ac_cxx_werror_flag"
24082 || test ! -s conftest.err'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24085 ac_status=$?
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; } &&
24088 { ac_try='test -s conftest.$ac_objext'
24089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24090 (eval $ac_try) 2>&5
24091 ac_status=$?
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); }; }; then
24094 echo "$as_me:$LINENO: result: yes" >&5
24095 echo "${ECHO_T}yes" >&6
24096 cat >>confdefs.h <<\_ACEOF
24097 #define HAVE_STD_STRING_COMPARE 1
24098 _ACEOF
24099
24100 else
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.$ac_ext >&5
24103
24104 echo "$as_me:$LINENO: result: no" >&5
24105 echo "${ECHO_T}no" >&6
24106 fi
24107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24108
24109 if test "${ac_cv_header_hash_map+set}" = set; then
24110 echo "$as_me:$LINENO: checking for hash_map" >&5
24111 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24112 if test "${ac_cv_header_hash_map+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 fi
24115 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24116 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24117 else
24118 # Is the header compilable?
24119 echo "$as_me:$LINENO: checking hash_map usability" >&5
24120 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24121 cat >conftest.$ac_ext <<_ACEOF
24122 /* confdefs.h. */
24123 _ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127 $ac_includes_default
24128 #include <hash_map>
24129 _ACEOF
24130 rm -f conftest.$ac_objext
24131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24132 (eval $ac_compile) 2>conftest.er1
24133 ac_status=$?
24134 grep -v '^ *+' conftest.er1 >conftest.err
24135 rm -f conftest.er1
24136 cat conftest.err >&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } &&
24139 { ac_try='test -z "$ac_cxx_werror_flag"
24140 || test ! -s conftest.err'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24143 ac_status=$?
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; } &&
24146 { ac_try='test -s conftest.$ac_objext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24149 ac_status=$?
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 ac_header_compiler=yes
24153 else
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.$ac_ext >&5
24156
24157 ac_header_compiler=no
24158 fi
24159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24161 echo "${ECHO_T}$ac_header_compiler" >&6
24162
24163 # Is the header present?
24164 echo "$as_me:$LINENO: checking hash_map presence" >&5
24165 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24166 cat >conftest.$ac_ext <<_ACEOF
24167 /* confdefs.h. */
24168 _ACEOF
24169 cat confdefs.h >>conftest.$ac_ext
24170 cat >>conftest.$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172 #include <hash_map>
24173 _ACEOF
24174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24176 ac_status=$?
24177 grep -v '^ *+' conftest.er1 >conftest.err
24178 rm -f conftest.er1
24179 cat conftest.err >&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); } >/dev/null; then
24182 if test -s conftest.err; then
24183 ac_cpp_err=$ac_cxx_preproc_warn_flag
24184 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24185 else
24186 ac_cpp_err=
24187 fi
24188 else
24189 ac_cpp_err=yes
24190 fi
24191 if test -z "$ac_cpp_err"; then
24192 ac_header_preproc=yes
24193 else
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24196
24197 ac_header_preproc=no
24198 fi
24199 rm -f conftest.err conftest.$ac_ext
24200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24201 echo "${ECHO_T}$ac_header_preproc" >&6
24202
24203 # So? What about this header?
24204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24205 yes:no: )
24206 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24207 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24208 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24209 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24210 ac_header_preproc=yes
24211 ;;
24212 no:yes:* )
24213 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24214 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24216 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24217 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24218 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24219 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24220 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24221 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24222 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24223 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24224 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24225 (
24226 cat <<\_ASBOX
24227 ## ----------------------------------------- ##
24228 ## Report this to wx-dev@lists.wxwidgets.org ##
24229 ## ----------------------------------------- ##
24230 _ASBOX
24231 ) |
24232 sed "s/^/$as_me: WARNING: /" >&2
24233 ;;
24234 esac
24235 echo "$as_me:$LINENO: checking for hash_map" >&5
24236 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24237 if test "${ac_cv_header_hash_map+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24239 else
24240 ac_cv_header_hash_map=$ac_header_preproc
24241 fi
24242 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24243 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24244
24245 fi
24246 if test $ac_cv_header_hash_map = yes; then
24247 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24248 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24249 cat >conftest.$ac_ext <<_ACEOF
24250 /* confdefs.h. */
24251 _ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24255 #include <hash_map>
24256 #include <hash_set>
24257 int
24258 main ()
24259 {
24260 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24261 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>conftest.er1
24269 ac_status=$?
24270 grep -v '^ *+' conftest.er1 >conftest.err
24271 rm -f conftest.er1
24272 cat conftest.err >&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); } &&
24275 { ac_try='test -z "$ac_cxx_werror_flag"
24276 || test ! -s conftest.err'
24277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278 (eval $ac_try) 2>&5
24279 ac_status=$?
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); }; } &&
24282 { ac_try='test -s conftest.$ac_objext'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24285 ac_status=$?
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; }; then
24288 echo "$as_me:$LINENO: result: yes" >&5
24289 echo "${ECHO_T}yes" >&6
24290 cat >>confdefs.h <<\_ACEOF
24291 #define HAVE_HASH_MAP 1
24292 _ACEOF
24293
24294 cat >>confdefs.h <<\_ACEOF
24295 #define HAVE_STD_HASH_MAP 1
24296 _ACEOF
24297
24298 else
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24301
24302 echo "$as_me:$LINENO: result: no" >&5
24303 echo "${ECHO_T}no" >&6
24304 fi
24305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24306
24307 fi
24308
24309
24310
24311 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24312 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24313 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24314 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 fi
24317 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24318 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24319 else
24320 # Is the header compilable?
24321 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24322 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24323 cat >conftest.$ac_ext <<_ACEOF
24324 /* confdefs.h. */
24325 _ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 $ac_includes_default
24330 #include <ext/hash_map>
24331 _ACEOF
24332 rm -f conftest.$ac_objext
24333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24334 (eval $ac_compile) 2>conftest.er1
24335 ac_status=$?
24336 grep -v '^ *+' conftest.er1 >conftest.err
24337 rm -f conftest.er1
24338 cat conftest.err >&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); } &&
24341 { ac_try='test -z "$ac_cxx_werror_flag"
24342 || test ! -s conftest.err'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24345 ac_status=$?
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; } &&
24348 { ac_try='test -s conftest.$ac_objext'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24351 ac_status=$?
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; }; then
24354 ac_header_compiler=yes
24355 else
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.$ac_ext >&5
24358
24359 ac_header_compiler=no
24360 fi
24361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24363 echo "${ECHO_T}$ac_header_compiler" >&6
24364
24365 # Is the header present?
24366 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24367 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24368 cat >conftest.$ac_ext <<_ACEOF
24369 /* confdefs.h. */
24370 _ACEOF
24371 cat confdefs.h >>conftest.$ac_ext
24372 cat >>conftest.$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24374 #include <ext/hash_map>
24375 _ACEOF
24376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24378 ac_status=$?
24379 grep -v '^ *+' conftest.er1 >conftest.err
24380 rm -f conftest.er1
24381 cat conftest.err >&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); } >/dev/null; then
24384 if test -s conftest.err; then
24385 ac_cpp_err=$ac_cxx_preproc_warn_flag
24386 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24387 else
24388 ac_cpp_err=
24389 fi
24390 else
24391 ac_cpp_err=yes
24392 fi
24393 if test -z "$ac_cpp_err"; then
24394 ac_header_preproc=yes
24395 else
24396 echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.$ac_ext >&5
24398
24399 ac_header_preproc=no
24400 fi
24401 rm -f conftest.err conftest.$ac_ext
24402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24403 echo "${ECHO_T}$ac_header_preproc" >&6
24404
24405 # So? What about this header?
24406 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24407 yes:no: )
24408 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24409 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24410 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24411 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24412 ac_header_preproc=yes
24413 ;;
24414 no:yes:* )
24415 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24416 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24418 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24419 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24420 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24421 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24422 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24423 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24424 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24425 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24426 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24427 (
24428 cat <<\_ASBOX
24429 ## ----------------------------------------- ##
24430 ## Report this to wx-dev@lists.wxwidgets.org ##
24431 ## ----------------------------------------- ##
24432 _ASBOX
24433 ) |
24434 sed "s/^/$as_me: WARNING: /" >&2
24435 ;;
24436 esac
24437 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24438 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24439 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24440 echo $ECHO_N "(cached) $ECHO_C" >&6
24441 else
24442 ac_cv_header_ext_hash_map=$ac_header_preproc
24443 fi
24444 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24445 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24446
24447 fi
24448 if test $ac_cv_header_ext_hash_map = yes; then
24449 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24450 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24451 cat >conftest.$ac_ext <<_ACEOF
24452 /* confdefs.h. */
24453 _ACEOF
24454 cat confdefs.h >>conftest.$ac_ext
24455 cat >>conftest.$ac_ext <<_ACEOF
24456 /* end confdefs.h. */
24457 #include <ext/hash_map>
24458 #include <ext/hash_set>
24459 int
24460 main ()
24461 {
24462 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24463 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24464 ;
24465 return 0;
24466 }
24467 _ACEOF
24468 rm -f conftest.$ac_objext
24469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24470 (eval $ac_compile) 2>conftest.er1
24471 ac_status=$?
24472 grep -v '^ *+' conftest.er1 >conftest.err
24473 rm -f conftest.er1
24474 cat conftest.err >&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } &&
24477 { ac_try='test -z "$ac_cxx_werror_flag"
24478 || test ! -s conftest.err'
24479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480 (eval $ac_try) 2>&5
24481 ac_status=$?
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); }; } &&
24484 { ac_try='test -s conftest.$ac_objext'
24485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24486 (eval $ac_try) 2>&5
24487 ac_status=$?
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); }; }; then
24490 echo "$as_me:$LINENO: result: yes" >&5
24491 echo "${ECHO_T}yes" >&6
24492 cat >>confdefs.h <<\_ACEOF
24493 #define HAVE_EXT_HASH_MAP 1
24494 _ACEOF
24495
24496 cat >>confdefs.h <<\_ACEOF
24497 #define HAVE_GNU_CXX_HASH_MAP 1
24498 _ACEOF
24499
24500 else
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.$ac_ext >&5
24503
24504 echo "$as_me:$LINENO: result: no" >&5
24505 echo "${ECHO_T}no" >&6
24506 fi
24507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24508
24509 fi
24510
24511
24512 fi
24513
24514
24515 SEARCH_INCLUDE="\
24516 /usr/local/include \
24517 \
24518 /usr/Motif-2.1/include \
24519 /usr/Motif-1.2/include \
24520 /usr/include/Motif1.2 \
24521 \
24522 /usr/dt/include \
24523 /usr/openwin/include \
24524 \
24525 /usr/include/Xm \
24526 \
24527 /usr/X11R6/include \
24528 /usr/X11R6.4/include \
24529 /usr/X11R5/include \
24530 /usr/X11R4/include \
24531 \
24532 /usr/include/X11R6 \
24533 /usr/include/X11R5 \
24534 /usr/include/X11R4 \
24535 \
24536 /usr/local/X11R6/include \
24537 /usr/local/X11R5/include \
24538 /usr/local/X11R4/include \
24539 \
24540 /usr/local/include/X11R6 \
24541 /usr/local/include/X11R5 \
24542 /usr/local/include/X11R4 \
24543 \
24544 /usr/X11/include \
24545 /usr/include/X11 \
24546 /usr/local/X11/include \
24547 /usr/local/include/X11 \
24548 \
24549 /usr/XFree86/include/X11 \
24550 /usr/pkg/include \
24551 \
24552 /usr/openwin/share/include"
24553
24554 echo "$as_me:$LINENO: checking for libraries directory" >&5
24555 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24556
24557 case "${host}" in
24558 *-*-irix6* )
24559 if test "${wx_cv_std_libpath+set}" = set; then
24560 echo $ECHO_N "(cached) $ECHO_C" >&6
24561 else
24562
24563 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24564 for e in a so sl dylib dll.a; do
24565 libc="$d/libc.$e"
24566 if test -f $libc; then
24567 save_LIBS="$LIBS"
24568 LIBS="$libc"
24569 cat >conftest.$ac_ext <<_ACEOF
24570 int main() { return 0; }
24571 _ACEOF
24572 rm -f conftest.$ac_objext conftest$ac_exeext
24573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24574 (eval $ac_link) 2>conftest.er1
24575 ac_status=$?
24576 grep -v '^ *+' conftest.er1 >conftest.err
24577 rm -f conftest.er1
24578 cat conftest.err >&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } &&
24581 { ac_try='test -z "$ac_cxx_werror_flag"
24582 || test ! -s conftest.err'
24583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24584 (eval $ac_try) 2>&5
24585 ac_status=$?
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); }; } &&
24588 { ac_try='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24595 else
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24598
24599 fi
24600 rm -f conftest.err conftest.$ac_objext \
24601 conftest$ac_exeext conftest.$ac_ext
24602 LIBS="$save_LIBS"
24603 if test "x$wx_cv_std_libpath" != "x"; then
24604 break 2
24605 fi
24606 fi
24607 done
24608 done
24609 if test "x$wx_cv_std_libpath" = "x"; then
24610 wx_cv_std_libpath="lib"
24611 fi
24612
24613
24614 fi
24615
24616 ;;
24617
24618 *-*-solaris2* )
24619 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24620 wx_cv_std_libpath="lib/64"
24621 else
24622 wx_cv_std_libpath="lib"
24623 fi
24624 ;;
24625
24626 *-*-linux* )
24627 if test "$ac_cv_sizeof_void_p" = 8 -a \
24628 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24629 wx_cv_std_libpath="lib64"
24630 else
24631 wx_cv_std_libpath="lib"
24632 fi
24633 ;;
24634
24635 *)
24636 wx_cv_std_libpath="lib";
24637 ;;
24638 esac
24639
24640 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24641 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24642
24643 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24644
24645 if test "$build" != "$host" -a "$GCC" = yes; then
24646 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24647 cross_root=`dirname $cross_root`
24648 cross_root=`dirname $cross_root`
24649
24650 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24651 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24652 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24653
24654 if test -z "$PKG_CONFIG_PATH"; then
24655 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24656 export PKG_CONFIG_PATH
24657 fi
24658
24659 if test -z "$x_includes" -o "$x_includes" = NONE; then
24660
24661 ac_find_includes=
24662 for ac_dir in $SEARCH_INCLUDE /usr/include;
24663 do
24664 if test -f "$ac_dir/X11/Intrinsic.h"; then
24665 ac_find_includes=$ac_dir
24666 break
24667 fi
24668 done
24669
24670 x_includes=$ac_find_includes
24671 fi
24672 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24673
24674 ac_find_libraries=
24675 for ac_dir in $SEARCH_LIB;
24676 do
24677 for ac_extension in a so sl dylib dll.a; do
24678 if test -f "$ac_dir/libXt.$ac_extension"; then
24679 ac_find_libraries=$ac_dir
24680 break 2
24681 fi
24682 done
24683 done
24684
24685 x_libraries=$ac_find_libraries
24686 fi
24687 fi
24688 fi
24689
24690
24691 cat >confcache <<\_ACEOF
24692 # This file is a shell script that caches the results of configure
24693 # tests run on this system so they can be shared between configure
24694 # scripts and configure runs, see configure's option --config-cache.
24695 # It is not useful on other systems. If it contains results you don't
24696 # want to keep, you may remove or edit it.
24697 #
24698 # config.status only pays attention to the cache file if you give it
24699 # the --recheck option to rerun configure.
24700 #
24701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24703 # following values.
24704
24705 _ACEOF
24706
24707 # The following way of writing the cache mishandles newlines in values,
24708 # but we know of no workaround that is simple, portable, and efficient.
24709 # So, don't put newlines in cache variables' values.
24710 # Ultrix sh set writes to stderr and can't be redirected directly,
24711 # and sets the high bit in the cache file unless we assign to the vars.
24712 {
24713 (set) 2>&1 |
24714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24715 *ac_space=\ *)
24716 # `set' does not quote correctly, so add quotes (double-quote
24717 # substitution turns \\\\ into \\, and sed turns \\ into \).
24718 sed -n \
24719 "s/'/'\\\\''/g;
24720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24721 ;;
24722 *)
24723 # `set' quotes correctly as required by POSIX, so do not add quotes.
24724 sed -n \
24725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24726 ;;
24727 esac;
24728 } |
24729 sed '
24730 t clear
24731 : clear
24732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24733 t end
24734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24735 : end' >>confcache
24736 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24737 if test -w $cache_file; then
24738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24739 cat confcache >$cache_file
24740 else
24741 echo "not updating unwritable cache $cache_file"
24742 fi
24743 fi
24744 rm -f confcache
24745
24746 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24747 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24748 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24749 if test "${wx_cv_lib_glibc21+set}" = set; then
24750 echo $ECHO_N "(cached) $ECHO_C" >&6
24751 else
24752
24753 cat >conftest.$ac_ext <<_ACEOF
24754 /* confdefs.h. */
24755 _ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759 #include <features.h>
24760 int
24761 main ()
24762 {
24763
24764 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24765 not glibc 2.1
24766 #endif
24767
24768 ;
24769 return 0;
24770 }
24771 _ACEOF
24772 rm -f conftest.$ac_objext
24773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24774 (eval $ac_compile) 2>conftest.er1
24775 ac_status=$?
24776 grep -v '^ *+' conftest.er1 >conftest.err
24777 rm -f conftest.er1
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } &&
24781 { ac_try='test -z "$ac_cxx_werror_flag"
24782 || test ! -s conftest.err'
24783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784 (eval $ac_try) 2>&5
24785 ac_status=$?
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); }; } &&
24788 { ac_try='test -s conftest.$ac_objext'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24791 ac_status=$?
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; }; then
24794
24795 wx_cv_lib_glibc21=yes
24796
24797 else
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.$ac_ext >&5
24800
24801
24802 wx_cv_lib_glibc21=no
24803
24804
24805 fi
24806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24807
24808 fi
24809 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24810 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24811 if test "$wx_cv_lib_glibc21" = "yes"; then
24812 cat >>confdefs.h <<\_ACEOF
24813 #define wxHAVE_GLIBC2 1
24814 _ACEOF
24815
24816 fi
24817 fi
24818
24819 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24820 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define _GNU_SOURCE 1
24823 _ACEOF
24824
24825 fi
24826 fi
24827
24828 have_cos=0
24829 have_floor=0
24830
24831 for ac_func in cos
24832 do
24833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24834 echo "$as_me:$LINENO: checking for $ac_func" >&5
24835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24836 if eval "test \"\${$as_ac_var+set}\" = set"; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 else
24839 cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h. */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24847 #define $ac_func innocuous_$ac_func
24848
24849 /* System header to define __stub macros and hopefully few prototypes,
24850 which can conflict with char $ac_func (); below.
24851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24852 <limits.h> exists even on freestanding compilers. */
24853
24854 #ifdef __STDC__
24855 # include <limits.h>
24856 #else
24857 # include <assert.h>
24858 #endif
24859
24860 #undef $ac_func
24861
24862 /* Override any gcc2 internal prototype to avoid an error. */
24863 #ifdef __cplusplus
24864 extern "C"
24865 {
24866 #endif
24867 /* We use char because int might match the return type of a gcc2
24868 builtin and then its argument prototype would still apply. */
24869 char $ac_func ();
24870 /* The GNU C library defines this for functions which it implements
24871 to always fail with ENOSYS. Some functions are actually named
24872 something starting with __ and the normal name is an alias. */
24873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24874 choke me
24875 #else
24876 char (*f) () = $ac_func;
24877 #endif
24878 #ifdef __cplusplus
24879 }
24880 #endif
24881
24882 int
24883 main ()
24884 {
24885 return f != $ac_func;
24886 ;
24887 return 0;
24888 }
24889 _ACEOF
24890 rm -f conftest.$ac_objext conftest$ac_exeext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24892 (eval $ac_link) 2>conftest.er1
24893 ac_status=$?
24894 grep -v '^ *+' conftest.er1 >conftest.err
24895 rm -f conftest.er1
24896 cat conftest.err >&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try='test -z "$ac_cxx_werror_flag"
24900 || test ! -s conftest.err'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24903 ac_status=$?
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; } &&
24906 { ac_try='test -s conftest$ac_exeext'
24907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908 (eval $ac_try) 2>&5
24909 ac_status=$?
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); }; }; then
24912 eval "$as_ac_var=yes"
24913 else
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24916
24917 eval "$as_ac_var=no"
24918 fi
24919 rm -f conftest.err conftest.$ac_objext \
24920 conftest$ac_exeext conftest.$ac_ext
24921 fi
24922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24924 if test `eval echo '${'$as_ac_var'}'` = yes; then
24925 cat >>confdefs.h <<_ACEOF
24926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24927 _ACEOF
24928 have_cos=1
24929 fi
24930 done
24931
24932
24933 for ac_func in floor
24934 do
24935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24936 echo "$as_me:$LINENO: checking for $ac_func" >&5
24937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24938 if eval "test \"\${$as_ac_var+set}\" = set"; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 else
24941 cat >conftest.$ac_ext <<_ACEOF
24942 /* confdefs.h. */
24943 _ACEOF
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24949 #define $ac_func innocuous_$ac_func
24950
24951 /* System header to define __stub macros and hopefully few prototypes,
24952 which can conflict with char $ac_func (); below.
24953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24954 <limits.h> exists even on freestanding compilers. */
24955
24956 #ifdef __STDC__
24957 # include <limits.h>
24958 #else
24959 # include <assert.h>
24960 #endif
24961
24962 #undef $ac_func
24963
24964 /* Override any gcc2 internal prototype to avoid an error. */
24965 #ifdef __cplusplus
24966 extern "C"
24967 {
24968 #endif
24969 /* We use char because int might match the return type of a gcc2
24970 builtin and then its argument prototype would still apply. */
24971 char $ac_func ();
24972 /* The GNU C library defines this for functions which it implements
24973 to always fail with ENOSYS. Some functions are actually named
24974 something starting with __ and the normal name is an alias. */
24975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24976 choke me
24977 #else
24978 char (*f) () = $ac_func;
24979 #endif
24980 #ifdef __cplusplus
24981 }
24982 #endif
24983
24984 int
24985 main ()
24986 {
24987 return f != $ac_func;
24988 ;
24989 return 0;
24990 }
24991 _ACEOF
24992 rm -f conftest.$ac_objext conftest$ac_exeext
24993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24994 (eval $ac_link) 2>conftest.er1
24995 ac_status=$?
24996 grep -v '^ *+' conftest.er1 >conftest.err
24997 rm -f conftest.er1
24998 cat conftest.err >&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } &&
25001 { ac_try='test -z "$ac_cxx_werror_flag"
25002 || test ! -s conftest.err'
25003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004 (eval $ac_try) 2>&5
25005 ac_status=$?
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); }; } &&
25008 { ac_try='test -s conftest$ac_exeext'
25009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010 (eval $ac_try) 2>&5
25011 ac_status=$?
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); }; }; then
25014 eval "$as_ac_var=yes"
25015 else
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25018
25019 eval "$as_ac_var=no"
25020 fi
25021 rm -f conftest.err conftest.$ac_objext \
25022 conftest$ac_exeext conftest.$ac_ext
25023 fi
25024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25026 if test `eval echo '${'$as_ac_var'}'` = yes; then
25027 cat >>confdefs.h <<_ACEOF
25028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25029 _ACEOF
25030 have_floor=1
25031 fi
25032 done
25033
25034 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25035 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25036 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25037 echo "$as_me:$LINENO: result: yes" >&5
25038 echo "${ECHO_T}yes" >&6
25039 else
25040 echo "$as_me:$LINENO: result: no" >&5
25041 echo "${ECHO_T}no" >&6
25042 LIBS="$LIBS -lm"
25043 # use different functions to avoid configure caching
25044 have_sin=0
25045 have_ceil=0
25046
25047 for ac_func in sin
25048 do
25049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25050 echo "$as_me:$LINENO: checking for $ac_func" >&5
25051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25052 if eval "test \"\${$as_ac_var+set}\" = set"; then
25053 echo $ECHO_N "(cached) $ECHO_C" >&6
25054 else
25055 cat >conftest.$ac_ext <<_ACEOF
25056 /* confdefs.h. */
25057 _ACEOF
25058 cat confdefs.h >>conftest.$ac_ext
25059 cat >>conftest.$ac_ext <<_ACEOF
25060 /* end confdefs.h. */
25061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25063 #define $ac_func innocuous_$ac_func
25064
25065 /* System header to define __stub macros and hopefully few prototypes,
25066 which can conflict with char $ac_func (); below.
25067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25068 <limits.h> exists even on freestanding compilers. */
25069
25070 #ifdef __STDC__
25071 # include <limits.h>
25072 #else
25073 # include <assert.h>
25074 #endif
25075
25076 #undef $ac_func
25077
25078 /* Override any gcc2 internal prototype to avoid an error. */
25079 #ifdef __cplusplus
25080 extern "C"
25081 {
25082 #endif
25083 /* We use char because int might match the return type of a gcc2
25084 builtin and then its argument prototype would still apply. */
25085 char $ac_func ();
25086 /* The GNU C library defines this for functions which it implements
25087 to always fail with ENOSYS. Some functions are actually named
25088 something starting with __ and the normal name is an alias. */
25089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25090 choke me
25091 #else
25092 char (*f) () = $ac_func;
25093 #endif
25094 #ifdef __cplusplus
25095 }
25096 #endif
25097
25098 int
25099 main ()
25100 {
25101 return f != $ac_func;
25102 ;
25103 return 0;
25104 }
25105 _ACEOF
25106 rm -f conftest.$ac_objext conftest$ac_exeext
25107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25108 (eval $ac_link) 2>conftest.er1
25109 ac_status=$?
25110 grep -v '^ *+' conftest.er1 >conftest.err
25111 rm -f conftest.er1
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } &&
25115 { ac_try='test -z "$ac_cxx_werror_flag"
25116 || test ! -s conftest.err'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25119 ac_status=$?
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; } &&
25122 { ac_try='test -s conftest$ac_exeext'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25125 ac_status=$?
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; }; then
25128 eval "$as_ac_var=yes"
25129 else
25130 echo "$as_me: failed program was:" >&5
25131 sed 's/^/| /' conftest.$ac_ext >&5
25132
25133 eval "$as_ac_var=no"
25134 fi
25135 rm -f conftest.err conftest.$ac_objext \
25136 conftest$ac_exeext conftest.$ac_ext
25137 fi
25138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25140 if test `eval echo '${'$as_ac_var'}'` = yes; then
25141 cat >>confdefs.h <<_ACEOF
25142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25143 _ACEOF
25144 have_sin=1
25145 fi
25146 done
25147
25148
25149 for ac_func in ceil
25150 do
25151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25152 echo "$as_me:$LINENO: checking for $ac_func" >&5
25153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25154 if eval "test \"\${$as_ac_var+set}\" = set"; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 else
25157 cat >conftest.$ac_ext <<_ACEOF
25158 /* confdefs.h. */
25159 _ACEOF
25160 cat confdefs.h >>conftest.$ac_ext
25161 cat >>conftest.$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25165 #define $ac_func innocuous_$ac_func
25166
25167 /* System header to define __stub macros and hopefully few prototypes,
25168 which can conflict with char $ac_func (); below.
25169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25170 <limits.h> exists even on freestanding compilers. */
25171
25172 #ifdef __STDC__
25173 # include <limits.h>
25174 #else
25175 # include <assert.h>
25176 #endif
25177
25178 #undef $ac_func
25179
25180 /* Override any gcc2 internal prototype to avoid an error. */
25181 #ifdef __cplusplus
25182 extern "C"
25183 {
25184 #endif
25185 /* We use char because int might match the return type of a gcc2
25186 builtin and then its argument prototype would still apply. */
25187 char $ac_func ();
25188 /* The GNU C library defines this for functions which it implements
25189 to always fail with ENOSYS. Some functions are actually named
25190 something starting with __ and the normal name is an alias. */
25191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25192 choke me
25193 #else
25194 char (*f) () = $ac_func;
25195 #endif
25196 #ifdef __cplusplus
25197 }
25198 #endif
25199
25200 int
25201 main ()
25202 {
25203 return f != $ac_func;
25204 ;
25205 return 0;
25206 }
25207 _ACEOF
25208 rm -f conftest.$ac_objext conftest$ac_exeext
25209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25210 (eval $ac_link) 2>conftest.er1
25211 ac_status=$?
25212 grep -v '^ *+' conftest.er1 >conftest.err
25213 rm -f conftest.er1
25214 cat conftest.err >&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try='test -z "$ac_cxx_werror_flag"
25218 || test ! -s conftest.err'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; } &&
25224 { ac_try='test -s conftest$ac_exeext'
25225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226 (eval $ac_try) 2>&5
25227 ac_status=$?
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); }; }; then
25230 eval "$as_ac_var=yes"
25231 else
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.$ac_ext >&5
25234
25235 eval "$as_ac_var=no"
25236 fi
25237 rm -f conftest.err conftest.$ac_objext \
25238 conftest$ac_exeext conftest.$ac_ext
25239 fi
25240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25242 if test `eval echo '${'$as_ac_var'}'` = yes; then
25243 cat >>confdefs.h <<_ACEOF
25244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25245 _ACEOF
25246 have_ceil=1
25247 fi
25248 done
25249
25250 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25251 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25252 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25253 echo "$as_me:$LINENO: result: yes" >&5
25254 echo "${ECHO_T}yes" >&6
25255 else
25256 echo "$as_me:$LINENO: result: no" >&5
25257 echo "${ECHO_T}no" >&6
25258 # not sure we should warn the user, crash, etc.
25259 fi
25260 fi
25261
25262
25263
25264 if test "$wxUSE_REGEX" != "no"; then
25265 cat >>confdefs.h <<\_ACEOF
25266 #define wxUSE_REGEX 1
25267 _ACEOF
25268
25269
25270 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25271 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25272 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25273 wxUSE_REGEX=builtin
25274 fi
25275
25276 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25277 if test "${ac_cv_header_regex_h+set}" = set; then
25278 echo "$as_me:$LINENO: checking for regex.h" >&5
25279 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25280 if test "${ac_cv_header_regex_h+set}" = set; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 fi
25283 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25284 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25285 else
25286 # Is the header compilable?
25287 echo "$as_me:$LINENO: checking regex.h usability" >&5
25288 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25289 cat >conftest.$ac_ext <<_ACEOF
25290 /* confdefs.h. */
25291 _ACEOF
25292 cat confdefs.h >>conftest.$ac_ext
25293 cat >>conftest.$ac_ext <<_ACEOF
25294 /* end confdefs.h. */
25295 $ac_includes_default
25296 #include <regex.h>
25297 _ACEOF
25298 rm -f conftest.$ac_objext
25299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25300 (eval $ac_compile) 2>conftest.er1
25301 ac_status=$?
25302 grep -v '^ *+' conftest.er1 >conftest.err
25303 rm -f conftest.er1
25304 cat conftest.err >&5
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); } &&
25307 { ac_try='test -z "$ac_cxx_werror_flag"
25308 || test ! -s conftest.err'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25311 ac_status=$?
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; } &&
25314 { ac_try='test -s conftest.$ac_objext'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25317 ac_status=$?
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; }; then
25320 ac_header_compiler=yes
25321 else
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.$ac_ext >&5
25324
25325 ac_header_compiler=no
25326 fi
25327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25329 echo "${ECHO_T}$ac_header_compiler" >&6
25330
25331 # Is the header present?
25332 echo "$as_me:$LINENO: checking regex.h presence" >&5
25333 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25334 cat >conftest.$ac_ext <<_ACEOF
25335 /* confdefs.h. */
25336 _ACEOF
25337 cat confdefs.h >>conftest.$ac_ext
25338 cat >>conftest.$ac_ext <<_ACEOF
25339 /* end confdefs.h. */
25340 #include <regex.h>
25341 _ACEOF
25342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25344 ac_status=$?
25345 grep -v '^ *+' conftest.er1 >conftest.err
25346 rm -f conftest.er1
25347 cat conftest.err >&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } >/dev/null; then
25350 if test -s conftest.err; then
25351 ac_cpp_err=$ac_cxx_preproc_warn_flag
25352 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25353 else
25354 ac_cpp_err=
25355 fi
25356 else
25357 ac_cpp_err=yes
25358 fi
25359 if test -z "$ac_cpp_err"; then
25360 ac_header_preproc=yes
25361 else
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25364
25365 ac_header_preproc=no
25366 fi
25367 rm -f conftest.err conftest.$ac_ext
25368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25369 echo "${ECHO_T}$ac_header_preproc" >&6
25370
25371 # So? What about this header?
25372 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25373 yes:no: )
25374 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25375 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25376 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25377 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25378 ac_header_preproc=yes
25379 ;;
25380 no:yes:* )
25381 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25382 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25383 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25384 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25385 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25386 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25387 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25388 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25389 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25390 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25391 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25392 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25393 (
25394 cat <<\_ASBOX
25395 ## ----------------------------------------- ##
25396 ## Report this to wx-dev@lists.wxwidgets.org ##
25397 ## ----------------------------------------- ##
25398 _ASBOX
25399 ) |
25400 sed "s/^/$as_me: WARNING: /" >&2
25401 ;;
25402 esac
25403 echo "$as_me:$LINENO: checking for regex.h" >&5
25404 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25405 if test "${ac_cv_header_regex_h+set}" = set; then
25406 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 else
25408 ac_cv_header_regex_h=$ac_header_preproc
25409 fi
25410 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25411 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25412
25413 fi
25414 if test $ac_cv_header_regex_h = yes; then
25415
25416
25417 for ac_func in regcomp re_search
25418 do
25419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25420 echo "$as_me:$LINENO: checking for $ac_func" >&5
25421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25422 if eval "test \"\${$as_ac_var+set}\" = set"; then
25423 echo $ECHO_N "(cached) $ECHO_C" >&6
25424 else
25425 cat >conftest.$ac_ext <<_ACEOF
25426 /* confdefs.h. */
25427 _ACEOF
25428 cat confdefs.h >>conftest.$ac_ext
25429 cat >>conftest.$ac_ext <<_ACEOF
25430 /* end confdefs.h. */
25431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25433 #define $ac_func innocuous_$ac_func
25434
25435 /* System header to define __stub macros and hopefully few prototypes,
25436 which can conflict with char $ac_func (); below.
25437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25438 <limits.h> exists even on freestanding compilers. */
25439
25440 #ifdef __STDC__
25441 # include <limits.h>
25442 #else
25443 # include <assert.h>
25444 #endif
25445
25446 #undef $ac_func
25447
25448 /* Override any gcc2 internal prototype to avoid an error. */
25449 #ifdef __cplusplus
25450 extern "C"
25451 {
25452 #endif
25453 /* We use char because int might match the return type of a gcc2
25454 builtin and then its argument prototype would still apply. */
25455 char $ac_func ();
25456 /* The GNU C library defines this for functions which it implements
25457 to always fail with ENOSYS. Some functions are actually named
25458 something starting with __ and the normal name is an alias. */
25459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25460 choke me
25461 #else
25462 char (*f) () = $ac_func;
25463 #endif
25464 #ifdef __cplusplus
25465 }
25466 #endif
25467
25468 int
25469 main ()
25470 {
25471 return f != $ac_func;
25472 ;
25473 return 0;
25474 }
25475 _ACEOF
25476 rm -f conftest.$ac_objext conftest$ac_exeext
25477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25478 (eval $ac_link) 2>conftest.er1
25479 ac_status=$?
25480 grep -v '^ *+' conftest.er1 >conftest.err
25481 rm -f conftest.er1
25482 cat conftest.err >&5
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); } &&
25485 { ac_try='test -z "$ac_cxx_werror_flag"
25486 || test ! -s conftest.err'
25487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488 (eval $ac_try) 2>&5
25489 ac_status=$?
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); }; } &&
25492 { ac_try='test -s conftest$ac_exeext'
25493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25494 (eval $ac_try) 2>&5
25495 ac_status=$?
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); }; }; then
25498 eval "$as_ac_var=yes"
25499 else
25500 echo "$as_me: failed program was:" >&5
25501 sed 's/^/| /' conftest.$ac_ext >&5
25502
25503 eval "$as_ac_var=no"
25504 fi
25505 rm -f conftest.err conftest.$ac_objext \
25506 conftest$ac_exeext conftest.$ac_ext
25507 fi
25508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25510 if test `eval echo '${'$as_ac_var'}'` = yes; then
25511 cat >>confdefs.h <<_ACEOF
25512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25513 _ACEOF
25514
25515 fi
25516 done
25517
25518 fi
25519
25520
25521
25522 if test "x$ac_cv_func_regcomp" != "xyes"; then
25523 if test "$wxUSE_REGEX" = "sys" ; then
25524 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25525 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25526 { (exit 1); exit 1; }; }
25527 else
25528 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25529 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25530 wxUSE_REGEX=builtin
25531 fi
25532 else
25533 wxUSE_REGEX=sys
25534 cat >>confdefs.h <<\_ACEOF
25535 #define WX_NO_REGEX_ADVANCED 1
25536 _ACEOF
25537
25538 fi
25539 fi
25540 fi
25541
25542
25543 ZLIB_LINK=
25544 if test "$wxUSE_ZLIB" != "no" ; then
25545 cat >>confdefs.h <<\_ACEOF
25546 #define wxUSE_ZLIB 1
25547 _ACEOF
25548
25549
25550 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25551 if test "$USE_DARWIN" = 1; then
25552 system_zlib_h_ok="yes"
25553 else
25554 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25555 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25556 if test "${ac_cv_header_zlib_h+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25558 else
25559 if test "$cross_compiling" = yes; then
25560 unset ac_cv_header_zlib_h
25561
25562 else
25563 cat >conftest.$ac_ext <<_ACEOF
25564 /* confdefs.h. */
25565 _ACEOF
25566 cat confdefs.h >>conftest.$ac_ext
25567 cat >>conftest.$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25569
25570 #include <zlib.h>
25571 #include <stdio.h>
25572
25573 int main()
25574 {
25575 FILE *f=fopen("conftestval", "w");
25576 if (!f) exit(1);
25577 fprintf(f, "%s",
25578 ZLIB_VERSION[0] == '1' &&
25579 (ZLIB_VERSION[2] > '1' ||
25580 (ZLIB_VERSION[2] == '1' &&
25581 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25582 exit(0);
25583 }
25584
25585 _ACEOF
25586 rm -f conftest$ac_exeext
25587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25588 (eval $ac_link) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25594 ac_status=$?
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597 ac_cv_header_zlib_h=`cat conftestval`
25598 else
25599 echo "$as_me: program exited with status $ac_status" >&5
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25602
25603 ( exit $ac_status )
25604 ac_cv_header_zlib_h=no
25605 fi
25606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25607 fi
25608
25609 fi
25610 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25611 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25612 if test "${ac_cv_header_zlib_h+set}" = set; then
25613 echo "$as_me:$LINENO: checking for zlib.h" >&5
25614 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25615 if test "${ac_cv_header_zlib_h+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 fi
25618 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25619 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25620 else
25621 # Is the header compilable?
25622 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25623 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 $ac_includes_default
25631 #include <zlib.h>
25632 _ACEOF
25633 rm -f conftest.$ac_objext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25635 (eval $ac_compile) 2>conftest.er1
25636 ac_status=$?
25637 grep -v '^ *+' conftest.er1 >conftest.err
25638 rm -f conftest.er1
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try='test -z "$ac_cxx_werror_flag"
25643 || test ! -s conftest.err'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25646 ac_status=$?
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; } &&
25649 { ac_try='test -s conftest.$ac_objext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25652 ac_status=$?
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 ac_header_compiler=yes
25656 else
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.$ac_ext >&5
25659
25660 ac_header_compiler=no
25661 fi
25662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25664 echo "${ECHO_T}$ac_header_compiler" >&6
25665
25666 # Is the header present?
25667 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25668 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25669 cat >conftest.$ac_ext <<_ACEOF
25670 /* confdefs.h. */
25671 _ACEOF
25672 cat confdefs.h >>conftest.$ac_ext
25673 cat >>conftest.$ac_ext <<_ACEOF
25674 /* end confdefs.h. */
25675 #include <zlib.h>
25676 _ACEOF
25677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25679 ac_status=$?
25680 grep -v '^ *+' conftest.er1 >conftest.err
25681 rm -f conftest.er1
25682 cat conftest.err >&5
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); } >/dev/null; then
25685 if test -s conftest.err; then
25686 ac_cpp_err=$ac_cxx_preproc_warn_flag
25687 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25688 else
25689 ac_cpp_err=
25690 fi
25691 else
25692 ac_cpp_err=yes
25693 fi
25694 if test -z "$ac_cpp_err"; then
25695 ac_header_preproc=yes
25696 else
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.$ac_ext >&5
25699
25700 ac_header_preproc=no
25701 fi
25702 rm -f conftest.err conftest.$ac_ext
25703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25704 echo "${ECHO_T}$ac_header_preproc" >&6
25705
25706 # So? What about this header?
25707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25708 yes:no: )
25709 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25710 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25712 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25713 ac_header_preproc=yes
25714 ;;
25715 no:yes:* )
25716 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25717 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25718 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25719 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25720 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25721 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25722 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25723 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25724 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25725 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25726 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25727 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25728 (
25729 cat <<\_ASBOX
25730 ## ----------------------------------------- ##
25731 ## Report this to wx-dev@lists.wxwidgets.org ##
25732 ## ----------------------------------------- ##
25733 _ASBOX
25734 ) |
25735 sed "s/^/$as_me: WARNING: /" >&2
25736 ;;
25737 esac
25738 echo "$as_me:$LINENO: checking for zlib.h" >&5
25739 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25740 if test "${ac_cv_header_zlib_h+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 else
25743 ac_cv_header_zlib_h=$ac_header_preproc
25744 fi
25745 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25746 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25747
25748 fi
25749
25750
25751
25752 system_zlib_h_ok=$ac_cv_header_zlib_h
25753 fi
25754
25755 if test "$system_zlib_h_ok" = "yes"; then
25756 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25757 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25758 if test "${ac_cv_lib_z_deflate+set}" = set; then
25759 echo $ECHO_N "(cached) $ECHO_C" >&6
25760 else
25761 ac_check_lib_save_LIBS=$LIBS
25762 LIBS="-lz $LIBS"
25763 cat >conftest.$ac_ext <<_ACEOF
25764 /* confdefs.h. */
25765 _ACEOF
25766 cat confdefs.h >>conftest.$ac_ext
25767 cat >>conftest.$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25769
25770 /* Override any gcc2 internal prototype to avoid an error. */
25771 #ifdef __cplusplus
25772 extern "C"
25773 #endif
25774 /* We use char because int might match the return type of a gcc2
25775 builtin and then its argument prototype would still apply. */
25776 char deflate ();
25777 int
25778 main ()
25779 {
25780 deflate ();
25781 ;
25782 return 0;
25783 }
25784 _ACEOF
25785 rm -f conftest.$ac_objext conftest$ac_exeext
25786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25787 (eval $ac_link) 2>conftest.er1
25788 ac_status=$?
25789 grep -v '^ *+' conftest.er1 >conftest.err
25790 rm -f conftest.er1
25791 cat conftest.err >&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } &&
25794 { ac_try='test -z "$ac_cxx_werror_flag"
25795 || test ! -s conftest.err'
25796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25797 (eval $ac_try) 2>&5
25798 ac_status=$?
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); }; } &&
25801 { ac_try='test -s conftest$ac_exeext'
25802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25803 (eval $ac_try) 2>&5
25804 ac_status=$?
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); }; }; then
25807 ac_cv_lib_z_deflate=yes
25808 else
25809 echo "$as_me: failed program was:" >&5
25810 sed 's/^/| /' conftest.$ac_ext >&5
25811
25812 ac_cv_lib_z_deflate=no
25813 fi
25814 rm -f conftest.err conftest.$ac_objext \
25815 conftest$ac_exeext conftest.$ac_ext
25816 LIBS=$ac_check_lib_save_LIBS
25817 fi
25818 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25819 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25820 if test $ac_cv_lib_z_deflate = yes; then
25821 ZLIB_LINK=" -lz"
25822 fi
25823
25824 fi
25825
25826 if test "x$ZLIB_LINK" = "x" ; then
25827 if test "$wxUSE_ZLIB" = "sys" ; then
25828 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25829 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25830 { (exit 1); exit 1; }; }
25831 else
25832 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25833 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25834 wxUSE_ZLIB=builtin
25835 fi
25836 else
25837 wxUSE_ZLIB=sys
25838 fi
25839 fi
25840 fi
25841
25842
25843 PNG_LINK=
25844 if test "$wxUSE_LIBPNG" != "no" ; then
25845 cat >>confdefs.h <<\_ACEOF
25846 #define wxUSE_LIBPNG 1
25847 _ACEOF
25848
25849
25850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25851 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25852 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25853 wxUSE_LIBPNG=sys
25854 fi
25855
25856 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25857 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25858 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25859 wxUSE_LIBPNG=builtin
25860 fi
25861
25862 if test "$wxUSE_MGL" != 1 ; then
25863 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25864 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25865 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25866 if test "${ac_cv_header_png_h+set}" = set; then
25867 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 else
25869 if test "$cross_compiling" = yes; then
25870 unset ac_cv_header_png_h
25871
25872 else
25873 cat >conftest.$ac_ext <<_ACEOF
25874 /* confdefs.h. */
25875 _ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25879
25880 #include <png.h>
25881 #include <stdio.h>
25882
25883 int main()
25884 {
25885 FILE *f=fopen("conftestval", "w");
25886 if (!f) exit(1);
25887 fprintf(f, "%s",
25888 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25889 exit(0);
25890 }
25891
25892 _ACEOF
25893 rm -f conftest$ac_exeext
25894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25895 (eval $ac_link) 2>&5
25896 ac_status=$?
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25901 ac_status=$?
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; }; then
25904 ac_cv_header_png_h=`cat conftestval`
25905 else
25906 echo "$as_me: program exited with status $ac_status" >&5
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.$ac_ext >&5
25909
25910 ( exit $ac_status )
25911 ac_cv_header_png_h=no
25912 fi
25913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25914 fi
25915
25916 fi
25917 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25918 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25919 if test "${ac_cv_header_png_h+set}" = set; then
25920 echo "$as_me:$LINENO: checking for png.h" >&5
25921 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25922 if test "${ac_cv_header_png_h+set}" = set; then
25923 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 fi
25925 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25926 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25927 else
25928 # Is the header compilable?
25929 echo "$as_me:$LINENO: checking png.h usability" >&5
25930 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25931 cat >conftest.$ac_ext <<_ACEOF
25932 /* confdefs.h. */
25933 _ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25937 $ac_includes_default
25938 #include <png.h>
25939 _ACEOF
25940 rm -f conftest.$ac_objext
25941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25942 (eval $ac_compile) 2>conftest.er1
25943 ac_status=$?
25944 grep -v '^ *+' conftest.er1 >conftest.err
25945 rm -f conftest.er1
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } &&
25949 { ac_try='test -z "$ac_cxx_werror_flag"
25950 || test ! -s conftest.err'
25951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952 (eval $ac_try) 2>&5
25953 ac_status=$?
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); }; } &&
25956 { ac_try='test -s conftest.$ac_objext'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25959 ac_status=$?
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 ac_header_compiler=yes
25963 else
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.$ac_ext >&5
25966
25967 ac_header_compiler=no
25968 fi
25969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25971 echo "${ECHO_T}$ac_header_compiler" >&6
25972
25973 # Is the header present?
25974 echo "$as_me:$LINENO: checking png.h presence" >&5
25975 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25976 cat >conftest.$ac_ext <<_ACEOF
25977 /* confdefs.h. */
25978 _ACEOF
25979 cat confdefs.h >>conftest.$ac_ext
25980 cat >>conftest.$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25982 #include <png.h>
25983 _ACEOF
25984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25986 ac_status=$?
25987 grep -v '^ *+' conftest.er1 >conftest.err
25988 rm -f conftest.er1
25989 cat conftest.err >&5
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); } >/dev/null; then
25992 if test -s conftest.err; then
25993 ac_cpp_err=$ac_cxx_preproc_warn_flag
25994 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25995 else
25996 ac_cpp_err=
25997 fi
25998 else
25999 ac_cpp_err=yes
26000 fi
26001 if test -z "$ac_cpp_err"; then
26002 ac_header_preproc=yes
26003 else
26004 echo "$as_me: failed program was:" >&5
26005 sed 's/^/| /' conftest.$ac_ext >&5
26006
26007 ac_header_preproc=no
26008 fi
26009 rm -f conftest.err conftest.$ac_ext
26010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26011 echo "${ECHO_T}$ac_header_preproc" >&6
26012
26013 # So? What about this header?
26014 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26015 yes:no: )
26016 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26017 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26018 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26019 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26020 ac_header_preproc=yes
26021 ;;
26022 no:yes:* )
26023 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26024 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26025 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26026 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26027 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26028 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26029 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26030 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26031 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26032 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26033 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26034 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26035 (
26036 cat <<\_ASBOX
26037 ## ----------------------------------------- ##
26038 ## Report this to wx-dev@lists.wxwidgets.org ##
26039 ## ----------------------------------------- ##
26040 _ASBOX
26041 ) |
26042 sed "s/^/$as_me: WARNING: /" >&2
26043 ;;
26044 esac
26045 echo "$as_me:$LINENO: checking for png.h" >&5
26046 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26047 if test "${ac_cv_header_png_h+set}" = set; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26049 else
26050 ac_cv_header_png_h=$ac_header_preproc
26051 fi
26052 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26053 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26054
26055 fi
26056
26057
26058
26059 if test "$ac_cv_header_png_h" = "yes"; then
26060 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26061 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26062 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065 ac_check_lib_save_LIBS=$LIBS
26066 LIBS="-lpng -lz -lm $LIBS"
26067 cat >conftest.$ac_ext <<_ACEOF
26068 /* confdefs.h. */
26069 _ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26073
26074 /* Override any gcc2 internal prototype to avoid an error. */
26075 #ifdef __cplusplus
26076 extern "C"
26077 #endif
26078 /* We use char because int might match the return type of a gcc2
26079 builtin and then its argument prototype would still apply. */
26080 char png_check_sig ();
26081 int
26082 main ()
26083 {
26084 png_check_sig ();
26085 ;
26086 return 0;
26087 }
26088 _ACEOF
26089 rm -f conftest.$ac_objext conftest$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>conftest.er1
26092 ac_status=$?
26093 grep -v '^ *+' conftest.er1 >conftest.err
26094 rm -f conftest.er1
26095 cat conftest.err >&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try='test -z "$ac_cxx_werror_flag"
26099 || test ! -s conftest.err'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } &&
26105 { ac_try='test -s conftest$ac_exeext'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 ac_cv_lib_png_png_check_sig=yes
26112 else
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26115
26116 ac_cv_lib_png_png_check_sig=no
26117 fi
26118 rm -f conftest.err conftest.$ac_objext \
26119 conftest$ac_exeext conftest.$ac_ext
26120 LIBS=$ac_check_lib_save_LIBS
26121 fi
26122 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26123 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26124 if test $ac_cv_lib_png_png_check_sig = yes; then
26125 PNG_LINK=" -lpng -lz"
26126 fi
26127
26128 fi
26129
26130 if test "x$PNG_LINK" = "x" ; then
26131 if test "$wxUSE_LIBPNG" = "sys" ; then
26132 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26133 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26134 { (exit 1); exit 1; }; }
26135 else
26136 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26137 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26138 wxUSE_LIBPNG=builtin
26139 fi
26140 else
26141 wxUSE_LIBPNG=sys
26142 fi
26143 fi
26144 fi
26145
26146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26147 fi
26148
26149
26150 JPEG_LINK=
26151 if test "$wxUSE_LIBJPEG" != "no" ; then
26152 cat >>confdefs.h <<\_ACEOF
26153 #define wxUSE_LIBJPEG 1
26154 _ACEOF
26155
26156
26157 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26158 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26159 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26160 wxUSE_LIBJPEG=sys
26161 fi
26162
26163 if test "$wxUSE_MGL" != 1 ; then
26164 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26165 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26166 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26167 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 else
26170 cat >conftest.$ac_ext <<_ACEOF
26171 /* confdefs.h. */
26172 _ACEOF
26173 cat confdefs.h >>conftest.$ac_ext
26174 cat >>conftest.$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26176
26177 #undef HAVE_STDLIB_H
26178 #include <stdio.h>
26179 #include <jpeglib.h>
26180
26181 int
26182 main ()
26183 {
26184
26185
26186 ;
26187 return 0;
26188 }
26189 _ACEOF
26190 rm -f conftest.$ac_objext
26191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26192 (eval $ac_compile) 2>conftest.er1
26193 ac_status=$?
26194 grep -v '^ *+' conftest.er1 >conftest.err
26195 rm -f conftest.er1
26196 cat conftest.err >&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } &&
26199 { ac_try='test -z "$ac_cxx_werror_flag"
26200 || test ! -s conftest.err'
26201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26202 (eval $ac_try) 2>&5
26203 ac_status=$?
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); }; } &&
26206 { ac_try='test -s conftest.$ac_objext'
26207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26208 (eval $ac_try) 2>&5
26209 ac_status=$?
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); }; }; then
26212 ac_cv_header_jpeglib_h=yes
26213 else
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.$ac_ext >&5
26216
26217 ac_cv_header_jpeglib_h=no
26218
26219 fi
26220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26221
26222 fi
26223
26224 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26225 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26226
26227 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26228 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26229 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26230 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 else
26233 ac_check_lib_save_LIBS=$LIBS
26234 LIBS="-ljpeg $LIBS"
26235 cat >conftest.$ac_ext <<_ACEOF
26236 /* confdefs.h. */
26237 _ACEOF
26238 cat confdefs.h >>conftest.$ac_ext
26239 cat >>conftest.$ac_ext <<_ACEOF
26240 /* end confdefs.h. */
26241
26242 /* Override any gcc2 internal prototype to avoid an error. */
26243 #ifdef __cplusplus
26244 extern "C"
26245 #endif
26246 /* We use char because int might match the return type of a gcc2
26247 builtin and then its argument prototype would still apply. */
26248 char jpeg_read_header ();
26249 int
26250 main ()
26251 {
26252 jpeg_read_header ();
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 rm -f conftest.$ac_objext conftest$ac_exeext
26258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26259 (eval $ac_link) 2>conftest.er1
26260 ac_status=$?
26261 grep -v '^ *+' conftest.er1 >conftest.err
26262 rm -f conftest.er1
26263 cat conftest.err >&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try='test -z "$ac_cxx_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_cv_lib_jpeg_jpeg_read_header=yes
26280 else
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26283
26284 ac_cv_lib_jpeg_jpeg_read_header=no
26285 fi
26286 rm -f conftest.err conftest.$ac_objext \
26287 conftest$ac_exeext conftest.$ac_ext
26288 LIBS=$ac_check_lib_save_LIBS
26289 fi
26290 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26291 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26292 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26293 JPEG_LINK=" -ljpeg"
26294 fi
26295
26296 fi
26297
26298 if test "x$JPEG_LINK" = "x" ; then
26299 if test "$wxUSE_LIBJPEG" = "sys" ; then
26300 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26301 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26302 { (exit 1); exit 1; }; }
26303 else
26304 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26305 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26306 wxUSE_LIBJPEG=builtin
26307 fi
26308 else
26309 wxUSE_LIBJPEG=sys
26310 fi
26311 fi
26312 fi
26313 fi
26314
26315
26316 TIFF_LINK=
26317 TIFF_PREREQ_LINKS=-lm
26318 if test "$wxUSE_LIBTIFF" != "no" ; then
26319 cat >>confdefs.h <<\_ACEOF
26320 #define wxUSE_LIBTIFF 1
26321 _ACEOF
26322
26323
26324 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26325 if test "$wxUSE_LIBJPEG" = "sys"; then
26326 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26327 fi
26328 if test "$wxUSE_ZLIB" = "sys"; then
26329 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26330 fi
26331 if test "${ac_cv_header_tiffio_h+set}" = set; then
26332 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26333 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26334 if test "${ac_cv_header_tiffio_h+set}" = set; then
26335 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 fi
26337 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26338 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26339 else
26340 # Is the header compilable?
26341 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26342 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26343 cat >conftest.$ac_ext <<_ACEOF
26344 /* confdefs.h. */
26345 _ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26349 $ac_includes_default
26350 #include <tiffio.h>
26351 _ACEOF
26352 rm -f conftest.$ac_objext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26354 (eval $ac_compile) 2>conftest.er1
26355 ac_status=$?
26356 grep -v '^ *+' conftest.er1 >conftest.err
26357 rm -f conftest.er1
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try='test -z "$ac_cxx_werror_flag"
26362 || test ! -s conftest.err'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; } &&
26368 { ac_try='test -s conftest.$ac_objext'
26369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26370 (eval $ac_try) 2>&5
26371 ac_status=$?
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); }; }; then
26374 ac_header_compiler=yes
26375 else
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26378
26379 ac_header_compiler=no
26380 fi
26381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26383 echo "${ECHO_T}$ac_header_compiler" >&6
26384
26385 # Is the header present?
26386 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26387 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26388 cat >conftest.$ac_ext <<_ACEOF
26389 /* confdefs.h. */
26390 _ACEOF
26391 cat confdefs.h >>conftest.$ac_ext
26392 cat >>conftest.$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394 #include <tiffio.h>
26395 _ACEOF
26396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } >/dev/null; then
26404 if test -s conftest.err; then
26405 ac_cpp_err=$ac_cxx_preproc_warn_flag
26406 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26407 else
26408 ac_cpp_err=
26409 fi
26410 else
26411 ac_cpp_err=yes
26412 fi
26413 if test -z "$ac_cpp_err"; then
26414 ac_header_preproc=yes
26415 else
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26418
26419 ac_header_preproc=no
26420 fi
26421 rm -f conftest.err conftest.$ac_ext
26422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26423 echo "${ECHO_T}$ac_header_preproc" >&6
26424
26425 # So? What about this header?
26426 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26427 yes:no: )
26428 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26429 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26430 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26431 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26432 ac_header_preproc=yes
26433 ;;
26434 no:yes:* )
26435 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26436 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26437 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26438 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26439 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26440 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26441 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26442 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26443 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26444 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26445 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26446 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26447 (
26448 cat <<\_ASBOX
26449 ## ----------------------------------------- ##
26450 ## Report this to wx-dev@lists.wxwidgets.org ##
26451 ## ----------------------------------------- ##
26452 _ASBOX
26453 ) |
26454 sed "s/^/$as_me: WARNING: /" >&2
26455 ;;
26456 esac
26457 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26458 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26459 if test "${ac_cv_header_tiffio_h+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26461 else
26462 ac_cv_header_tiffio_h=$ac_header_preproc
26463 fi
26464 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26465 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26466
26467 fi
26468 if test $ac_cv_header_tiffio_h = yes; then
26469
26470 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26471 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26472 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26474 else
26475 ac_check_lib_save_LIBS=$LIBS
26476 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26477 cat >conftest.$ac_ext <<_ACEOF
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483
26484 /* Override any gcc2 internal prototype to avoid an error. */
26485 #ifdef __cplusplus
26486 extern "C"
26487 #endif
26488 /* We use char because int might match the return type of a gcc2
26489 builtin and then its argument prototype would still apply. */
26490 char TIFFError ();
26491 int
26492 main ()
26493 {
26494 TIFFError ();
26495 ;
26496 return 0;
26497 }
26498 _ACEOF
26499 rm -f conftest.$ac_objext conftest$ac_exeext
26500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26501 (eval $ac_link) 2>conftest.er1
26502 ac_status=$?
26503 grep -v '^ *+' conftest.er1 >conftest.err
26504 rm -f conftest.er1
26505 cat conftest.err >&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } &&
26508 { ac_try='test -z "$ac_cxx_werror_flag"
26509 || test ! -s conftest.err'
26510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511 (eval $ac_try) 2>&5
26512 ac_status=$?
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; } &&
26515 { ac_try='test -s conftest$ac_exeext'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26518 ac_status=$?
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; }; then
26521 ac_cv_lib_tiff_TIFFError=yes
26522 else
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.$ac_ext >&5
26525
26526 ac_cv_lib_tiff_TIFFError=no
26527 fi
26528 rm -f conftest.err conftest.$ac_objext \
26529 conftest$ac_exeext conftest.$ac_ext
26530 LIBS=$ac_check_lib_save_LIBS
26531 fi
26532 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26533 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26534 if test $ac_cv_lib_tiff_TIFFError = yes; then
26535 TIFF_LINK=" -ltiff"
26536 fi
26537
26538
26539
26540 fi
26541
26542
26543
26544 if test "x$TIFF_LINK" = "x" ; then
26545 if test "$wxUSE_LIBTIFF" = "sys" ; then
26546 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26547 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26548 { (exit 1); exit 1; }; }
26549 else
26550 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26551 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26552 wxUSE_LIBTIFF=builtin
26553 fi
26554 else
26555 wxUSE_LIBTIFF=sys
26556 fi
26557 fi
26558 fi
26559
26560
26561 if test "$wxUSE_WCHAR_T" != "yes"; then
26562 if test "$wxUSE_EXPAT" != "no"; then
26563 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26564 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26565 wxUSE_EXPAT=no
26566 fi
26567 if test "$wxUSE_XML" != "no"; then
26568 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26569 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26570 wxUSE_XML=no
26571 fi
26572 fi
26573
26574 if test "$wxUSE_EXPAT" != "no"; then
26575 wxUSE_XML=yes
26576 cat >>confdefs.h <<\_ACEOF
26577 #define wxUSE_EXPAT 1
26578 _ACEOF
26579
26580 cat >>confdefs.h <<\_ACEOF
26581 #define wxUSE_XML 1
26582 _ACEOF
26583
26584
26585 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26586 if test "${ac_cv_header_expat_h+set}" = set; then
26587 echo "$as_me:$LINENO: checking for expat.h" >&5
26588 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26589 if test "${ac_cv_header_expat_h+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 fi
26592 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26593 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26594 else
26595 # Is the header compilable?
26596 echo "$as_me:$LINENO: checking expat.h usability" >&5
26597 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26598 cat >conftest.$ac_ext <<_ACEOF
26599 /* confdefs.h. */
26600 _ACEOF
26601 cat confdefs.h >>conftest.$ac_ext
26602 cat >>conftest.$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 $ac_includes_default
26605 #include <expat.h>
26606 _ACEOF
26607 rm -f conftest.$ac_objext
26608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26609 (eval $ac_compile) 2>conftest.er1
26610 ac_status=$?
26611 grep -v '^ *+' conftest.er1 >conftest.err
26612 rm -f conftest.er1
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 { ac_try='test -z "$ac_cxx_werror_flag"
26617 || test ! -s conftest.err'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26620 ac_status=$?
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; } &&
26623 { ac_try='test -s conftest.$ac_objext'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26626 ac_status=$?
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; }; then
26629 ac_header_compiler=yes
26630 else
26631 echo "$as_me: failed program was:" >&5
26632 sed 's/^/| /' conftest.$ac_ext >&5
26633
26634 ac_header_compiler=no
26635 fi
26636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26638 echo "${ECHO_T}$ac_header_compiler" >&6
26639
26640 # Is the header present?
26641 echo "$as_me:$LINENO: checking expat.h presence" >&5
26642 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26643 cat >conftest.$ac_ext <<_ACEOF
26644 /* confdefs.h. */
26645 _ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 #include <expat.h>
26650 _ACEOF
26651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26653 ac_status=$?
26654 grep -v '^ *+' conftest.er1 >conftest.err
26655 rm -f conftest.er1
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } >/dev/null; then
26659 if test -s conftest.err; then
26660 ac_cpp_err=$ac_cxx_preproc_warn_flag
26661 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26662 else
26663 ac_cpp_err=
26664 fi
26665 else
26666 ac_cpp_err=yes
26667 fi
26668 if test -z "$ac_cpp_err"; then
26669 ac_header_preproc=yes
26670 else
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.$ac_ext >&5
26673
26674 ac_header_preproc=no
26675 fi
26676 rm -f conftest.err conftest.$ac_ext
26677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26678 echo "${ECHO_T}$ac_header_preproc" >&6
26679
26680 # So? What about this header?
26681 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26682 yes:no: )
26683 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26684 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26685 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26686 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26687 ac_header_preproc=yes
26688 ;;
26689 no:yes:* )
26690 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26691 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26692 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26693 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26694 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26695 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26696 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26697 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26698 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26699 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26700 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26701 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26702 (
26703 cat <<\_ASBOX
26704 ## ----------------------------------------- ##
26705 ## Report this to wx-dev@lists.wxwidgets.org ##
26706 ## ----------------------------------------- ##
26707 _ASBOX
26708 ) |
26709 sed "s/^/$as_me: WARNING: /" >&2
26710 ;;
26711 esac
26712 echo "$as_me:$LINENO: checking for expat.h" >&5
26713 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26714 if test "${ac_cv_header_expat_h+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 else
26717 ac_cv_header_expat_h=$ac_header_preproc
26718 fi
26719 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26720 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26721
26722 fi
26723 if test $ac_cv_header_expat_h = yes; then
26724 found_expat_h=1
26725 fi
26726
26727
26728 if test "x$found_expat_h" = "x1"; then
26729 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26730 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26731 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26732 echo $ECHO_N "(cached) $ECHO_C" >&6
26733 else
26734
26735 cat >conftest.$ac_ext <<_ACEOF
26736 /* confdefs.h. */
26737 _ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 #include <expat.h>
26742 int
26743 main ()
26744 {
26745
26746 ;
26747 return 0;
26748 }
26749 _ACEOF
26750 rm -f conftest.$ac_objext
26751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26752 (eval $ac_compile) 2>conftest.er1
26753 ac_status=$?
26754 grep -v '^ *+' conftest.er1 >conftest.err
26755 rm -f conftest.er1
26756 cat conftest.err >&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } &&
26759 { ac_try='test -z "$ac_cxx_werror_flag"
26760 || test ! -s conftest.err'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26763 ac_status=$?
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; } &&
26766 { ac_try='test -s conftest.$ac_objext'
26767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26768 (eval $ac_try) 2>&5
26769 ac_status=$?
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); }; }; then
26772 wx_cv_expat_is_not_broken=yes
26773 else
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26776
26777 wx_cv_expat_is_not_broken=no
26778
26779 fi
26780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26781
26782
26783 fi
26784 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26785 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26786 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26787 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26788 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26789 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 else
26792 ac_check_lib_save_LIBS=$LIBS
26793 LIBS="-lexpat $LIBS"
26794 cat >conftest.$ac_ext <<_ACEOF
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800
26801 /* Override any gcc2 internal prototype to avoid an error. */
26802 #ifdef __cplusplus
26803 extern "C"
26804 #endif
26805 /* We use char because int might match the return type of a gcc2
26806 builtin and then its argument prototype would still apply. */
26807 char XML_ParserCreate ();
26808 int
26809 main ()
26810 {
26811 XML_ParserCreate ();
26812 ;
26813 return 0;
26814 }
26815 _ACEOF
26816 rm -f conftest.$ac_objext conftest$ac_exeext
26817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26818 (eval $ac_link) 2>conftest.er1
26819 ac_status=$?
26820 grep -v '^ *+' conftest.er1 >conftest.err
26821 rm -f conftest.er1
26822 cat conftest.err >&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); } &&
26825 { ac_try='test -z "$ac_cxx_werror_flag"
26826 || test ! -s conftest.err'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26829 ac_status=$?
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; } &&
26832 { ac_try='test -s conftest$ac_exeext'
26833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26834 (eval $ac_try) 2>&5
26835 ac_status=$?
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); }; }; then
26838 ac_cv_lib_expat_XML_ParserCreate=yes
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 ac_cv_lib_expat_XML_ParserCreate=no
26844 fi
26845 rm -f conftest.err conftest.$ac_objext \
26846 conftest$ac_exeext conftest.$ac_ext
26847 LIBS=$ac_check_lib_save_LIBS
26848 fi
26849 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26850 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26851 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26852 EXPAT_LINK=" -lexpat"
26853 fi
26854
26855 fi
26856 fi
26857 if test "x$EXPAT_LINK" = "x" ; then
26858 if test "$wxUSE_EXPAT" = "sys" ; then
26859 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26860 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26861 { (exit 1); exit 1; }; }
26862 else
26863 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26864 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26865 wxUSE_EXPAT=builtin
26866 fi
26867 else
26868 wxUSE_EXPAT=sys
26869 fi
26870 fi
26871 if test "$wxUSE_EXPAT" = "builtin" ; then
26872
26873
26874 subdirs="$subdirs src/expat"
26875
26876 fi
26877 fi
26878
26879
26880
26881 if test "$wxUSE_LIBMSPACK" != "no"; then
26882 if test "${ac_cv_header_mspack_h+set}" = set; then
26883 echo "$as_me:$LINENO: checking for mspack.h" >&5
26884 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26885 if test "${ac_cv_header_mspack_h+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 fi
26888 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26889 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26890 else
26891 # Is the header compilable?
26892 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26893 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26894 cat >conftest.$ac_ext <<_ACEOF
26895 /* confdefs.h. */
26896 _ACEOF
26897 cat confdefs.h >>conftest.$ac_ext
26898 cat >>conftest.$ac_ext <<_ACEOF
26899 /* end confdefs.h. */
26900 $ac_includes_default
26901 #include <mspack.h>
26902 _ACEOF
26903 rm -f conftest.$ac_objext
26904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26905 (eval $ac_compile) 2>conftest.er1
26906 ac_status=$?
26907 grep -v '^ *+' conftest.er1 >conftest.err
26908 rm -f conftest.er1
26909 cat conftest.err >&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } &&
26912 { ac_try='test -z "$ac_cxx_werror_flag"
26913 || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try='test -s conftest.$ac_objext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 ac_header_compiler=yes
26926 else
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26929
26930 ac_header_compiler=no
26931 fi
26932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26934 echo "${ECHO_T}$ac_header_compiler" >&6
26935
26936 # Is the header present?
26937 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26938 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26939 cat >conftest.$ac_ext <<_ACEOF
26940 /* confdefs.h. */
26941 _ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <mspack.h>
26946 _ACEOF
26947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26949 ac_status=$?
26950 grep -v '^ *+' conftest.er1 >conftest.err
26951 rm -f conftest.er1
26952 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } >/dev/null; then
26955 if test -s conftest.err; then
26956 ac_cpp_err=$ac_cxx_preproc_warn_flag
26957 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26958 else
26959 ac_cpp_err=
26960 fi
26961 else
26962 ac_cpp_err=yes
26963 fi
26964 if test -z "$ac_cpp_err"; then
26965 ac_header_preproc=yes
26966 else
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 ac_header_preproc=no
26971 fi
26972 rm -f conftest.err conftest.$ac_ext
26973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26974 echo "${ECHO_T}$ac_header_preproc" >&6
26975
26976 # So? What about this header?
26977 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26978 yes:no: )
26979 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26980 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26982 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26983 ac_header_preproc=yes
26984 ;;
26985 no:yes:* )
26986 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26987 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26988 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26989 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26991 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26993 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26995 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26997 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26998 (
26999 cat <<\_ASBOX
27000 ## ----------------------------------------- ##
27001 ## Report this to wx-dev@lists.wxwidgets.org ##
27002 ## ----------------------------------------- ##
27003 _ASBOX
27004 ) |
27005 sed "s/^/$as_me: WARNING: /" >&2
27006 ;;
27007 esac
27008 echo "$as_me:$LINENO: checking for mspack.h" >&5
27009 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27010 if test "${ac_cv_header_mspack_h+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 else
27013 ac_cv_header_mspack_h=$ac_header_preproc
27014 fi
27015 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27016 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27017
27018 fi
27019 if test $ac_cv_header_mspack_h = yes; then
27020 found_mspack_h=1
27021 fi
27022
27023
27024 if test "x$found_mspack_h" = "x1"; then
27025 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27026 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27027 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 else
27030 ac_check_lib_save_LIBS=$LIBS
27031 LIBS="-lmspack $LIBS"
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038
27039 /* Override any gcc2 internal prototype to avoid an error. */
27040 #ifdef __cplusplus
27041 extern "C"
27042 #endif
27043 /* We use char because int might match the return type of a gcc2
27044 builtin and then its argument prototype would still apply. */
27045 char mspack_create_chm_decompressor ();
27046 int
27047 main ()
27048 {
27049 mspack_create_chm_decompressor ();
27050 ;
27051 return 0;
27052 }
27053 _ACEOF
27054 rm -f conftest.$ac_objext conftest$ac_exeext
27055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27056 (eval $ac_link) 2>conftest.er1
27057 ac_status=$?
27058 grep -v '^ *+' conftest.er1 >conftest.err
27059 rm -f conftest.er1
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } &&
27063 { ac_try='test -z "$ac_cxx_werror_flag"
27064 || test ! -s conftest.err'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; } &&
27070 { ac_try='test -s conftest$ac_exeext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27077 else
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27080
27081 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27082 fi
27083 rm -f conftest.err conftest.$ac_objext \
27084 conftest$ac_exeext conftest.$ac_ext
27085 LIBS=$ac_check_lib_save_LIBS
27086 fi
27087 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27088 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27089 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27090 MSPACK_LINK=" -lmspack"
27091 fi
27092
27093 fi
27094 if test "x$MSPACK_LINK" = "x" ; then
27095 wxUSE_LIBMSPACK=no
27096 fi
27097 fi
27098
27099 if test "$wxUSE_LIBMSPACK" != "no"; then
27100 cat >>confdefs.h <<\_ACEOF
27101 #define wxUSE_LIBMSPACK 1
27102 _ACEOF
27103
27104 fi
27105
27106
27107
27108 AFMINSTALL=
27109 WIN32INSTALL=
27110
27111 TOOLKIT=
27112 TOOLKIT_INCLUDE=
27113 WIDGET_SET=
27114
27115 if test "$USE_WIN32" = 1 ; then
27116
27117 for ac_header in w32api.h
27118 do
27119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27121 echo "$as_me:$LINENO: checking for $ac_header" >&5
27122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27125 fi
27126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27128 else
27129 # Is the header compilable?
27130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27132 cat >conftest.$ac_ext <<_ACEOF
27133 /* confdefs.h. */
27134 _ACEOF
27135 cat confdefs.h >>conftest.$ac_ext
27136 cat >>conftest.$ac_ext <<_ACEOF
27137 /* end confdefs.h. */
27138 $ac_includes_default
27139 #include <$ac_header>
27140 _ACEOF
27141 rm -f conftest.$ac_objext
27142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27143 (eval $ac_compile) 2>conftest.er1
27144 ac_status=$?
27145 grep -v '^ *+' conftest.er1 >conftest.err
27146 rm -f conftest.er1
27147 cat conftest.err >&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try='test -z "$ac_cxx_werror_flag"
27151 || test ! -s conftest.err'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27154 ac_status=$?
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; } &&
27157 { ac_try='test -s conftest.$ac_objext'
27158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159 (eval $ac_try) 2>&5
27160 ac_status=$?
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); }; }; then
27163 ac_header_compiler=yes
27164 else
27165 echo "$as_me: failed program was:" >&5
27166 sed 's/^/| /' conftest.$ac_ext >&5
27167
27168 ac_header_compiler=no
27169 fi
27170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27172 echo "${ECHO_T}$ac_header_compiler" >&6
27173
27174 # Is the header present?
27175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27177 cat >conftest.$ac_ext <<_ACEOF
27178 /* confdefs.h. */
27179 _ACEOF
27180 cat confdefs.h >>conftest.$ac_ext
27181 cat >>conftest.$ac_ext <<_ACEOF
27182 /* end confdefs.h. */
27183 #include <$ac_header>
27184 _ACEOF
27185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27187 ac_status=$?
27188 grep -v '^ *+' conftest.er1 >conftest.err
27189 rm -f conftest.er1
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } >/dev/null; then
27193 if test -s conftest.err; then
27194 ac_cpp_err=$ac_cxx_preproc_warn_flag
27195 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27196 else
27197 ac_cpp_err=
27198 fi
27199 else
27200 ac_cpp_err=yes
27201 fi
27202 if test -z "$ac_cpp_err"; then
27203 ac_header_preproc=yes
27204 else
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.$ac_ext >&5
27207
27208 ac_header_preproc=no
27209 fi
27210 rm -f conftest.err conftest.$ac_ext
27211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27212 echo "${ECHO_T}$ac_header_preproc" >&6
27213
27214 # So? What about this header?
27215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27216 yes:no: )
27217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27221 ac_header_preproc=yes
27222 ;;
27223 no:yes:* )
27224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27236 (
27237 cat <<\_ASBOX
27238 ## ----------------------------------------- ##
27239 ## Report this to wx-dev@lists.wxwidgets.org ##
27240 ## ----------------------------------------- ##
27241 _ASBOX
27242 ) |
27243 sed "s/^/$as_me: WARNING: /" >&2
27244 ;;
27245 esac
27246 echo "$as_me:$LINENO: checking for $ac_header" >&5
27247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27249 echo $ECHO_N "(cached) $ECHO_C" >&6
27250 else
27251 eval "$as_ac_Header=\$ac_header_preproc"
27252 fi
27253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27255
27256 fi
27257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27258 cat >>confdefs.h <<_ACEOF
27259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27260 _ACEOF
27261
27262 fi
27263
27264 done
27265
27266 if test "${ac_cv_header_windows_h+set}" = set; then
27267 echo "$as_me:$LINENO: checking for windows.h" >&5
27268 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27269 if test "${ac_cv_header_windows_h+set}" = set; then
27270 echo $ECHO_N "(cached) $ECHO_C" >&6
27271 fi
27272 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27273 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27274 else
27275 # Is the header compilable?
27276 echo "$as_me:$LINENO: checking windows.h usability" >&5
27277 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27278 cat >conftest.$ac_ext <<_ACEOF
27279 /* confdefs.h. */
27280 _ACEOF
27281 cat confdefs.h >>conftest.$ac_ext
27282 cat >>conftest.$ac_ext <<_ACEOF
27283 /* end confdefs.h. */
27284 $ac_includes_default
27285 #include <windows.h>
27286 _ACEOF
27287 rm -f conftest.$ac_objext
27288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27289 (eval $ac_compile) 2>conftest.er1
27290 ac_status=$?
27291 grep -v '^ *+' conftest.er1 >conftest.err
27292 rm -f conftest.er1
27293 cat conftest.err >&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); } &&
27296 { ac_try='test -z "$ac_cxx_werror_flag"
27297 || test ! -s conftest.err'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27300 ac_status=$?
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; } &&
27303 { ac_try='test -s conftest.$ac_objext'
27304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27305 (eval $ac_try) 2>&5
27306 ac_status=$?
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); }; }; then
27309 ac_header_compiler=yes
27310 else
27311 echo "$as_me: failed program was:" >&5
27312 sed 's/^/| /' conftest.$ac_ext >&5
27313
27314 ac_header_compiler=no
27315 fi
27316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27318 echo "${ECHO_T}$ac_header_compiler" >&6
27319
27320 # Is the header present?
27321 echo "$as_me:$LINENO: checking windows.h presence" >&5
27322 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27323 cat >conftest.$ac_ext <<_ACEOF
27324 /* confdefs.h. */
27325 _ACEOF
27326 cat confdefs.h >>conftest.$ac_ext
27327 cat >>conftest.$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27329 #include <windows.h>
27330 _ACEOF
27331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } >/dev/null; then
27339 if test -s conftest.err; then
27340 ac_cpp_err=$ac_cxx_preproc_warn_flag
27341 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27342 else
27343 ac_cpp_err=
27344 fi
27345 else
27346 ac_cpp_err=yes
27347 fi
27348 if test -z "$ac_cpp_err"; then
27349 ac_header_preproc=yes
27350 else
27351 echo "$as_me: failed program was:" >&5
27352 sed 's/^/| /' conftest.$ac_ext >&5
27353
27354 ac_header_preproc=no
27355 fi
27356 rm -f conftest.err conftest.$ac_ext
27357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27358 echo "${ECHO_T}$ac_header_preproc" >&6
27359
27360 # So? What about this header?
27361 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27362 yes:no: )
27363 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27364 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27365 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27366 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27367 ac_header_preproc=yes
27368 ;;
27369 no:yes:* )
27370 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27371 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27373 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27375 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27377 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27378 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27379 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27380 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27381 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27382 (
27383 cat <<\_ASBOX
27384 ## ----------------------------------------- ##
27385 ## Report this to wx-dev@lists.wxwidgets.org ##
27386 ## ----------------------------------------- ##
27387 _ASBOX
27388 ) |
27389 sed "s/^/$as_me: WARNING: /" >&2
27390 ;;
27391 esac
27392 echo "$as_me:$LINENO: checking for windows.h" >&5
27393 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27394 if test "${ac_cv_header_windows_h+set}" = set; then
27395 echo $ECHO_N "(cached) $ECHO_C" >&6
27396 else
27397 ac_cv_header_windows_h=$ac_header_preproc
27398 fi
27399 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27400 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27401
27402 fi
27403 if test $ac_cv_header_windows_h = yes; then
27404 :
27405 else
27406
27407 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27408 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27409 { (exit 1); exit 1; }; }
27410
27411 fi
27412
27413
27414
27415 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27416
27417 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27418 LIBS="$LIBS -loleacc"
27419 fi
27420
27421 case "${host}" in
27422 *-*-cygwin* )
27423 LIBS="$LIBS -lkernel32 -luser32"
27424 esac
27425
27426 if test "$wxUSE_ODBC" = "sys" ; then
27427 wxUSE_ODBC = "yes"
27428 fi
27429 if test "$wxUSE_ODBC" = "yes" ; then
27430 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27431 cat >>confdefs.h <<\_ACEOF
27432 #define wxUSE_ODBC 1
27433 _ACEOF
27434
27435 fi
27436
27437 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27438 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27439
27440 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27441
27442 WIN32INSTALL=win32install
27443
27444 echo "$as_me:$LINENO: checking for boolean" >&5
27445 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27446 if test "${ac_cv_type_boolean+set}" = set; then
27447 echo $ECHO_N "(cached) $ECHO_C" >&6
27448 else
27449 cat >conftest.$ac_ext <<_ACEOF
27450 /* confdefs.h. */
27451 _ACEOF
27452 cat confdefs.h >>conftest.$ac_ext
27453 cat >>conftest.$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27455 #include <windows.h>
27456
27457 int
27458 main ()
27459 {
27460 if ((boolean *) 0)
27461 return 0;
27462 if (sizeof (boolean))
27463 return 0;
27464 ;
27465 return 0;
27466 }
27467 _ACEOF
27468 rm -f conftest.$ac_objext
27469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27470 (eval $ac_compile) 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_cxx_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_objext'
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_type_boolean=yes
27491 else
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.$ac_ext >&5
27494
27495 ac_cv_type_boolean=no
27496 fi
27497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27498 fi
27499 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27500 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27501 if test $ac_cv_type_boolean = yes; then
27502
27503 cat >>confdefs.h <<_ACEOF
27504 #define HAVE_BOOLEAN 1
27505 _ACEOF
27506
27507
27508 fi
27509
27510
27511
27512 for ac_header in pbt.h
27513 do
27514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27516 echo "$as_me:$LINENO: checking for $ac_header" >&5
27517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27519 echo $ECHO_N "(cached) $ECHO_C" >&6
27520 fi
27521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27523 else
27524 # Is the header compilable?
27525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27527 cat >conftest.$ac_ext <<_ACEOF
27528 /* confdefs.h. */
27529 _ACEOF
27530 cat confdefs.h >>conftest.$ac_ext
27531 cat >>conftest.$ac_ext <<_ACEOF
27532 /* end confdefs.h. */
27533 $ac_includes_default
27534 #include <$ac_header>
27535 _ACEOF
27536 rm -f conftest.$ac_objext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27538 (eval $ac_compile) 2>conftest.er1
27539 ac_status=$?
27540 grep -v '^ *+' conftest.er1 >conftest.err
27541 rm -f conftest.er1
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -z "$ac_cxx_werror_flag"
27546 || test ! -s conftest.err'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; } &&
27552 { ac_try='test -s conftest.$ac_objext'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27555 ac_status=$?
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27558 ac_header_compiler=yes
27559 else
27560 echo "$as_me: failed program was:" >&5
27561 sed 's/^/| /' conftest.$ac_ext >&5
27562
27563 ac_header_compiler=no
27564 fi
27565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27567 echo "${ECHO_T}$ac_header_compiler" >&6
27568
27569 # Is the header present?
27570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27572 cat >conftest.$ac_ext <<_ACEOF
27573 /* confdefs.h. */
27574 _ACEOF
27575 cat confdefs.h >>conftest.$ac_ext
27576 cat >>conftest.$ac_ext <<_ACEOF
27577 /* end confdefs.h. */
27578 #include <$ac_header>
27579 _ACEOF
27580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27582 ac_status=$?
27583 grep -v '^ *+' conftest.er1 >conftest.err
27584 rm -f conftest.er1
27585 cat conftest.err >&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } >/dev/null; then
27588 if test -s conftest.err; then
27589 ac_cpp_err=$ac_cxx_preproc_warn_flag
27590 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27591 else
27592 ac_cpp_err=
27593 fi
27594 else
27595 ac_cpp_err=yes
27596 fi
27597 if test -z "$ac_cpp_err"; then
27598 ac_header_preproc=yes
27599 else
27600 echo "$as_me: failed program was:" >&5
27601 sed 's/^/| /' conftest.$ac_ext >&5
27602
27603 ac_header_preproc=no
27604 fi
27605 rm -f conftest.err conftest.$ac_ext
27606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27607 echo "${ECHO_T}$ac_header_preproc" >&6
27608
27609 # So? What about this header?
27610 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27611 yes:no: )
27612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27616 ac_header_preproc=yes
27617 ;;
27618 no:yes:* )
27619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27631 (
27632 cat <<\_ASBOX
27633 ## ----------------------------------------- ##
27634 ## Report this to wx-dev@lists.wxwidgets.org ##
27635 ## ----------------------------------------- ##
27636 _ASBOX
27637 ) |
27638 sed "s/^/$as_me: WARNING: /" >&2
27639 ;;
27640 esac
27641 echo "$as_me:$LINENO: checking for $ac_header" >&5
27642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 else
27646 eval "$as_ac_Header=\$ac_header_preproc"
27647 fi
27648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27650
27651 fi
27652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27653 cat >>confdefs.h <<_ACEOF
27654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27655 _ACEOF
27656
27657 else
27658 cat >>confdefs.h <<\_ACEOF
27659 #define NEED_PBT_H 1
27660 _ACEOF
27661
27662 fi
27663
27664 done
27665
27666 fi
27667
27668 if test "$wxUSE_GUI" = "yes"; then
27669 USE_GUI=1
27670
27671 GUI_TK_LIBRARY=
27672
27673 WXGTK12=
27674 WXGTK127=
27675 WXGTK20=
27676 WXGPE=
27677
27678 if test "$wxUSE_COCOA" = 1 ; then
27679 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27680 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27681 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27682 wxUSE_PRINTING_ARCHITECTURE=no
27683 fi
27684 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27685 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27686 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27687 wxUSE_DRAG_AND_DROP=no
27688 fi
27689 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27690 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27691 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27692 wxUSE_DRAGIMAGE=no
27693 fi
27694 fi
27695
27696 if test "$wxUSE_MSW" = 1 ; then
27697 TOOLKIT=MSW
27698 GUIDIST=MSW_DIST
27699
27700 case "${host}" in
27701 *-*-mingw32* )
27702 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27703 esac
27704 fi
27705
27706 if test "$wxUSE_GTK" = 1; then
27707 ac_ext=c
27708 ac_cpp='$CPP $CPPFLAGS'
27709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27712
27713
27714 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27715 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27716
27717 gtk_version_cached=1
27718 if test "${wx_cv_lib_gtk+set}" = set; then
27719 echo $ECHO_N "(cached) $ECHO_C" >&6
27720 else
27721
27722 gtk_version_cached=0
27723 echo "$as_me:$LINENO: result: " >&5
27724 echo "${ECHO_T}" >&6
27725
27726 GTK_MODULES=
27727 if test "$wxUSE_THREADS" = "yes"; then
27728 GTK_MODULES=gthread
27729 fi
27730
27731 wx_cv_lib_gtk=
27732 if test "x$wxGTK_VERSION" != "x1"
27733 then
27734 case "${host}" in
27735 *-*-solaris2* )
27736 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27737 enable_gtktest=no
27738 fi
27739 esac
27740
27741 # Check whether --enable-gtktest or --disable-gtktest was given.
27742 if test "${enable_gtktest+set}" = set; then
27743 enableval="$enable_gtktest"
27744
27745 else
27746 enable_gtktest=yes
27747 fi;
27748
27749 pkg_config_args=gtk+-2.0
27750 for module in . $GTK_MODULES
27751 do
27752 case "$module" in
27753 gthread)
27754 pkg_config_args="$pkg_config_args gthread-2.0"
27755 ;;
27756 esac
27757 done
27758
27759 no_gtk=""
27760
27761 # Extract the first word of "pkg-config", so it can be a program name with args.
27762 set dummy pkg-config; ac_word=$2
27763 echo "$as_me:$LINENO: checking for $ac_word" >&5
27764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27768 case $PKG_CONFIG in
27769 [\\/]* | ?:[\\/]*)
27770 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27771 ;;
27772 *)
27773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27774 for as_dir in $PATH
27775 do
27776 IFS=$as_save_IFS
27777 test -z "$as_dir" && as_dir=.
27778 for ac_exec_ext in '' $ac_executable_extensions; do
27779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27780 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27782 break 2
27783 fi
27784 done
27785 done
27786
27787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27788 ;;
27789 esac
27790 fi
27791 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27792
27793 if test -n "$PKG_CONFIG"; then
27794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27795 echo "${ECHO_T}$PKG_CONFIG" >&6
27796 else
27797 echo "$as_me:$LINENO: result: no" >&5
27798 echo "${ECHO_T}no" >&6
27799 fi
27800
27801
27802 if test x$PKG_CONFIG != xno ; then
27803 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27804 :
27805 else
27806 echo "*** pkg-config too old; version 0.7 or better required."
27807 no_gtk=yes
27808 PKG_CONFIG=no
27809 fi
27810 else
27811 no_gtk=yes
27812 fi
27813
27814 min_gtk_version=2.0.0
27815 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27816 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27817
27818 if test x$PKG_CONFIG != xno ; then
27819 ## don't try to run the test against uninstalled libtool libs
27820 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27821 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27822 enable_gtktest=no
27823 fi
27824
27825 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27826 :
27827 else
27828 no_gtk=yes
27829 fi
27830 fi
27831
27832 if test x"$no_gtk" = x ; then
27833 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27834 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27835 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27837 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27839 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27841 if test "x$enable_gtktest" = "xyes" ; then
27842 ac_save_CFLAGS="$CFLAGS"
27843 ac_save_LIBS="$LIBS"
27844 CFLAGS="$CFLAGS $GTK_CFLAGS"
27845 LIBS="$GTK_LIBS $LIBS"
27846 rm -f conf.gtktest
27847 if test "$cross_compiling" = yes; then
27848 echo $ac_n "cross compiling; assumed OK... $ac_c"
27849 else
27850 cat >conftest.$ac_ext <<_ACEOF
27851 /* confdefs.h. */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856
27857 #include <gtk/gtk.h>
27858 #include <stdio.h>
27859 #include <stdlib.h>
27860
27861 int
27862 main ()
27863 {
27864 int major, minor, micro;
27865 char *tmp_version;
27866
27867 system ("touch conf.gtktest");
27868
27869 /* HP/UX 9 (%@#!) writes to sscanf strings */
27870 tmp_version = g_strdup("$min_gtk_version");
27871 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27872 printf("%s, bad version string\n", "$min_gtk_version");
27873 exit(1);
27874 }
27875
27876 if ((gtk_major_version != $gtk_config_major_version) ||
27877 (gtk_minor_version != $gtk_config_minor_version) ||
27878 (gtk_micro_version != $gtk_config_micro_version))
27879 {
27880 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27881 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27882 gtk_major_version, gtk_minor_version, gtk_micro_version);
27883 printf ("*** was found! If pkg-config was correct, then it is best\n");
27884 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27885 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27886 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27887 printf("*** required on your system.\n");
27888 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27889 printf("*** to point to the correct configuration files\n");
27890 }
27891 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27892 (gtk_minor_version != GTK_MINOR_VERSION) ||
27893 (gtk_micro_version != GTK_MICRO_VERSION))
27894 {
27895 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27896 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27897 printf("*** library (version %d.%d.%d)\n",
27898 gtk_major_version, gtk_minor_version, gtk_micro_version);
27899 }
27900 else
27901 {
27902 if ((gtk_major_version > major) ||
27903 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27904 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27905 {
27906 return 0;
27907 }
27908 else
27909 {
27910 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27911 gtk_major_version, gtk_minor_version, gtk_micro_version);
27912 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27913 major, minor, micro);
27914 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27915 printf("***\n");
27916 printf("*** If you have already installed a sufficiently new version, this error\n");
27917 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27918 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27919 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27920 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27921 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27922 printf("*** so that the correct libraries are found at run-time))\n");
27923 }
27924 }
27925 return 1;
27926 }
27927
27928 _ACEOF
27929 rm -f conftest$ac_exeext
27930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27931 (eval $ac_link) 2>&5
27932 ac_status=$?
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27936 (eval $ac_try) 2>&5
27937 ac_status=$?
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); }; }; then
27940 :
27941 else
27942 echo "$as_me: program exited with status $ac_status" >&5
27943 echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.$ac_ext >&5
27945
27946 ( exit $ac_status )
27947 no_gtk=yes
27948 fi
27949 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27950 fi
27951 CFLAGS="$ac_save_CFLAGS"
27952 LIBS="$ac_save_LIBS"
27953 fi
27954 fi
27955 if test "x$no_gtk" = x ; then
27956 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27957 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27958 wx_cv_lib_gtk=2.0
27959 else
27960 echo "$as_me:$LINENO: result: no" >&5
27961 echo "${ECHO_T}no" >&6
27962 if test "$PKG_CONFIG" = "no" ; then
27963 echo "*** A new enough version of pkg-config was not found."
27964 echo "*** See http://pkgconfig.sourceforge.net"
27965 else
27966 if test -f conf.gtktest ; then
27967 :
27968 else
27969 echo "*** Could not run GTK+ test program, checking why..."
27970 ac_save_CFLAGS="$CFLAGS"
27971 ac_save_LIBS="$LIBS"
27972 CFLAGS="$CFLAGS $GTK_CFLAGS"
27973 LIBS="$LIBS $GTK_LIBS"
27974 cat >conftest.$ac_ext <<_ACEOF
27975 /* confdefs.h. */
27976 _ACEOF
27977 cat confdefs.h >>conftest.$ac_ext
27978 cat >>conftest.$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27980
27981 #include <gtk/gtk.h>
27982 #include <stdio.h>
27983
27984 int
27985 main ()
27986 {
27987 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27988 ;
27989 return 0;
27990 }
27991 _ACEOF
27992 rm -f conftest.$ac_objext conftest$ac_exeext
27993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27994 (eval $ac_link) 2>conftest.er1
27995 ac_status=$?
27996 grep -v '^ *+' conftest.er1 >conftest.err
27997 rm -f conftest.er1
27998 cat conftest.err >&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } &&
28001 { ac_try='test -z "$ac_c_werror_flag"
28002 || test ! -s conftest.err'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28005 ac_status=$?
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; } &&
28008 { ac_try='test -s conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28011 ac_status=$?
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28014 echo "*** The test program compiled, but did not run. This usually means"
28015 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28016 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28019 echo "*** is required on your system"
28020 echo "***"
28021 echo "*** If you have an old version installed, it is best to remove it, although"
28022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28023 else
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.$ac_ext >&5
28026
28027 echo "*** The test program failed to compile or link. See the file config.log for the"
28028 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28029 fi
28030 rm -f conftest.err conftest.$ac_objext \
28031 conftest$ac_exeext conftest.$ac_ext
28032 CFLAGS="$ac_save_CFLAGS"
28033 LIBS="$ac_save_LIBS"
28034 fi
28035 fi
28036 GTK_CFLAGS=""
28037 GTK_LIBS=""
28038 :
28039 fi
28040
28041
28042 rm -f conf.gtktest
28043
28044
28045 case "${host}" in
28046 *-*-solaris2* )
28047 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28048 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28049 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28050 fi
28051 if test "$wxUSE_SHARED" != "yes"; then
28052 GTK_LIBS="$GTK_LIBS -lX11"
28053 fi
28054 esac
28055 fi
28056
28057 if test -z "$wx_cv_lib_gtk"; then
28058 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28059
28060 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28061 if test "${with_gtk_prefix+set}" = set; then
28062 withval="$with_gtk_prefix"
28063 gtk_config_prefix="$withval"
28064 else
28065 gtk_config_prefix=""
28066 fi;
28067
28068 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28069 if test "${with_gtk_exec_prefix+set}" = set; then
28070 withval="$with_gtk_exec_prefix"
28071 gtk_config_exec_prefix="$withval"
28072 else
28073 gtk_config_exec_prefix=""
28074 fi;
28075 # Check whether --enable-gtktest or --disable-gtktest was given.
28076 if test "${enable_gtktest+set}" = set; then
28077 enableval="$enable_gtktest"
28078
28079 else
28080 enable_gtktest=yes
28081 fi;
28082
28083 for module in . $GTK_MODULES
28084 do
28085 case "$module" in
28086 gthread)
28087 gtk_config_args="$gtk_config_args gthread"
28088 ;;
28089 esac
28090 done
28091
28092 if test x$gtk_config_exec_prefix != x ; then
28093 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28094 if test x${GTK_CONFIG+set} != xset ; then
28095 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28096 fi
28097 fi
28098 if test x$gtk_config_prefix != x ; then
28099 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28100 if test x${GTK_CONFIG+set} != xset ; then
28101 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28102 fi
28103 fi
28104
28105 # Extract the first word of "gtk-config", so it can be a program name with args.
28106 set dummy gtk-config; ac_word=$2
28107 echo "$as_me:$LINENO: checking for $ac_word" >&5
28108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28109 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28110 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 else
28112 case $GTK_CONFIG in
28113 [\\/]* | ?:[\\/]*)
28114 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28115 ;;
28116 *)
28117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28118 for as_dir in $PATH
28119 do
28120 IFS=$as_save_IFS
28121 test -z "$as_dir" && as_dir=.
28122 for ac_exec_ext in '' $ac_executable_extensions; do
28123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28124 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28126 break 2
28127 fi
28128 done
28129 done
28130
28131 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28132 ;;
28133 esac
28134 fi
28135 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28136
28137 if test -n "$GTK_CONFIG"; then
28138 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28139 echo "${ECHO_T}$GTK_CONFIG" >&6
28140 else
28141 echo "$as_me:$LINENO: result: no" >&5
28142 echo "${ECHO_T}no" >&6
28143 fi
28144
28145 min_gtk_version=1.2.7
28146 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28147 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28148 no_gtk=""
28149 if test "$GTK_CONFIG" = "no" ; then
28150 no_gtk=yes
28151 else
28152 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28153 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28154 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28156 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28158 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28160 if test "x$enable_gtktest" = "xyes" ; then
28161 ac_save_CFLAGS="$CFLAGS"
28162 ac_save_LIBS="$LIBS"
28163 CFLAGS="$CFLAGS $GTK_CFLAGS"
28164 LIBS="$GTK_LIBS $LIBS"
28165 rm -f conf.gtktest
28166 if test "$cross_compiling" = yes; then
28167 echo $ac_n "cross compiling; assumed OK... $ac_c"
28168 else
28169 cat >conftest.$ac_ext <<_ACEOF
28170 /* confdefs.h. */
28171 _ACEOF
28172 cat confdefs.h >>conftest.$ac_ext
28173 cat >>conftest.$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28175
28176 #include <gtk/gtk.h>
28177 #include <stdio.h>
28178 #include <stdlib.h>
28179
28180 int
28181 main ()
28182 {
28183 int major, minor, micro;
28184 char *tmp_version;
28185
28186 system ("touch conf.gtktest");
28187
28188 /* HP/UX 9 (%@#!) writes to sscanf strings */
28189 tmp_version = g_strdup("$min_gtk_version");
28190 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28191 printf("%s, bad version string\n", "$min_gtk_version");
28192 exit(1);
28193 }
28194
28195 if ((gtk_major_version != $gtk_config_major_version) ||
28196 (gtk_minor_version != $gtk_config_minor_version) ||
28197 (gtk_micro_version != $gtk_config_micro_version))
28198 {
28199 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28200 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28201 gtk_major_version, gtk_minor_version, gtk_micro_version);
28202 printf ("*** was found! If gtk-config was correct, then it is best\n");
28203 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28204 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28205 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28206 printf("*** required on your system.\n");
28207 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28208 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28209 printf("*** before re-running configure\n");
28210 }
28211 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28212 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28213 (gtk_minor_version != GTK_MINOR_VERSION) ||
28214 (gtk_micro_version != GTK_MICRO_VERSION))
28215 {
28216 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28217 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28218 printf("*** library (version %d.%d.%d)\n",
28219 gtk_major_version, gtk_minor_version, gtk_micro_version);
28220 }
28221 #endif /* defined (GTK_MAJOR_VERSION) ... */
28222 else
28223 {
28224 if ((gtk_major_version > major) ||
28225 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28226 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28227 {
28228 return 0;
28229 }
28230 else
28231 {
28232 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28233 gtk_major_version, gtk_minor_version, gtk_micro_version);
28234 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28235 major, minor, micro);
28236 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28237 printf("***\n");
28238 printf("*** If you have already installed a sufficiently new version, this error\n");
28239 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28240 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28241 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28242 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28243 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28244 printf("*** so that the correct libraries are found at run-time))\n");
28245 }
28246 }
28247 return 1;
28248 }
28249
28250 _ACEOF
28251 rm -f conftest$ac_exeext
28252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28253 (eval $ac_link) 2>&5
28254 ac_status=$?
28255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28258 (eval $ac_try) 2>&5
28259 ac_status=$?
28260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28261 (exit $ac_status); }; }; then
28262 :
28263 else
28264 echo "$as_me: program exited with status $ac_status" >&5
28265 echo "$as_me: failed program was:" >&5
28266 sed 's/^/| /' conftest.$ac_ext >&5
28267
28268 ( exit $ac_status )
28269 no_gtk=yes
28270 fi
28271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28272 fi
28273 CFLAGS="$ac_save_CFLAGS"
28274 LIBS="$ac_save_LIBS"
28275 fi
28276 fi
28277 if test "x$no_gtk" = x ; then
28278 echo "$as_me:$LINENO: result: yes" >&5
28279 echo "${ECHO_T}yes" >&6
28280 wx_cv_lib_gtk=1.2.7
28281 else
28282 echo "$as_me:$LINENO: result: no" >&5
28283 echo "${ECHO_T}no" >&6
28284 if test "$GTK_CONFIG" = "no" ; then
28285 echo "*** The gtk-config script installed by GTK could not be found"
28286 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28287 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28288 echo "*** full path to gtk-config."
28289 else
28290 if test -f conf.gtktest ; then
28291 :
28292 else
28293 echo "*** Could not run GTK test program, checking why..."
28294 CFLAGS="$CFLAGS $GTK_CFLAGS"
28295 LIBS="$LIBS $GTK_LIBS"
28296 cat >conftest.$ac_ext <<_ACEOF
28297 /* confdefs.h. */
28298 _ACEOF
28299 cat confdefs.h >>conftest.$ac_ext
28300 cat >>conftest.$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28302
28303 #include <gtk/gtk.h>
28304 #include <stdio.h>
28305
28306 int
28307 main ()
28308 {
28309 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28310 ;
28311 return 0;
28312 }
28313 _ACEOF
28314 rm -f conftest.$ac_objext conftest$ac_exeext
28315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28316 (eval $ac_link) 2>conftest.er1
28317 ac_status=$?
28318 grep -v '^ *+' conftest.er1 >conftest.err
28319 rm -f conftest.er1
28320 cat conftest.err >&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); } &&
28323 { ac_try='test -z "$ac_c_werror_flag"
28324 || test ! -s conftest.err'
28325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28326 (eval $ac_try) 2>&5
28327 ac_status=$?
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); }; } &&
28330 { ac_try='test -s conftest$ac_exeext'
28331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28332 (eval $ac_try) 2>&5
28333 ac_status=$?
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); }; }; then
28336 echo "*** The test program compiled, but did not run. This usually means"
28337 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28338 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28339 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28340 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28341 echo "*** is required on your system"
28342 echo "***"
28343 echo "*** If you have an old version installed, it is best to remove it, although"
28344 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28345 echo "***"
28346 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28347 echo "*** came with the system with the command"
28348 echo "***"
28349 echo "*** rpm --erase --nodeps gtk gtk-devel"
28350 else
28351 echo "$as_me: failed program was:" >&5
28352 sed 's/^/| /' conftest.$ac_ext >&5
28353
28354 echo "*** The test program failed to compile or link. See the file config.log for the"
28355 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28356 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28357 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28358 fi
28359 rm -f conftest.err conftest.$ac_objext \
28360 conftest$ac_exeext conftest.$ac_ext
28361 CFLAGS="$ac_save_CFLAGS"
28362 LIBS="$ac_save_LIBS"
28363 fi
28364 fi
28365 GTK_CFLAGS=""
28366 GTK_LIBS=""
28367 :
28368 fi
28369
28370
28371 rm -f conf.gtktest
28372
28373
28374 if test -z "$wx_cv_lib_gtk"; then
28375
28376 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28377 if test "${with_gtk_prefix+set}" = set; then
28378 withval="$with_gtk_prefix"
28379 gtk_config_prefix="$withval"
28380 else
28381 gtk_config_prefix=""
28382 fi;
28383
28384 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28385 if test "${with_gtk_exec_prefix+set}" = set; then
28386 withval="$with_gtk_exec_prefix"
28387 gtk_config_exec_prefix="$withval"
28388 else
28389 gtk_config_exec_prefix=""
28390 fi;
28391 # Check whether --enable-gtktest or --disable-gtktest was given.
28392 if test "${enable_gtktest+set}" = set; then
28393 enableval="$enable_gtktest"
28394
28395 else
28396 enable_gtktest=yes
28397 fi;
28398
28399 for module in . $GTK_MODULES
28400 do
28401 case "$module" in
28402 gthread)
28403 gtk_config_args="$gtk_config_args gthread"
28404 ;;
28405 esac
28406 done
28407
28408 if test x$gtk_config_exec_prefix != x ; then
28409 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28410 if test x${GTK_CONFIG+set} != xset ; then
28411 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28412 fi
28413 fi
28414 if test x$gtk_config_prefix != x ; then
28415 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28416 if test x${GTK_CONFIG+set} != xset ; then
28417 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28418 fi
28419 fi
28420
28421 # Extract the first word of "gtk-config", so it can be a program name with args.
28422 set dummy gtk-config; ac_word=$2
28423 echo "$as_me:$LINENO: checking for $ac_word" >&5
28424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28425 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28426 echo $ECHO_N "(cached) $ECHO_C" >&6
28427 else
28428 case $GTK_CONFIG in
28429 [\\/]* | ?:[\\/]*)
28430 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28431 ;;
28432 *)
28433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28434 for as_dir in $PATH
28435 do
28436 IFS=$as_save_IFS
28437 test -z "$as_dir" && as_dir=.
28438 for ac_exec_ext in '' $ac_executable_extensions; do
28439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28440 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28442 break 2
28443 fi
28444 done
28445 done
28446
28447 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28448 ;;
28449 esac
28450 fi
28451 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28452
28453 if test -n "$GTK_CONFIG"; then
28454 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28455 echo "${ECHO_T}$GTK_CONFIG" >&6
28456 else
28457 echo "$as_me:$LINENO: result: no" >&5
28458 echo "${ECHO_T}no" >&6
28459 fi
28460
28461 min_gtk_version=1.2.3
28462 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28463 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28464 no_gtk=""
28465 if test "$GTK_CONFIG" = "no" ; then
28466 no_gtk=yes
28467 else
28468 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28469 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28470 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28472 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28474 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28476 if test "x$enable_gtktest" = "xyes" ; then
28477 ac_save_CFLAGS="$CFLAGS"
28478 ac_save_LIBS="$LIBS"
28479 CFLAGS="$CFLAGS $GTK_CFLAGS"
28480 LIBS="$GTK_LIBS $LIBS"
28481 rm -f conf.gtktest
28482 if test "$cross_compiling" = yes; then
28483 echo $ac_n "cross compiling; assumed OK... $ac_c"
28484 else
28485 cat >conftest.$ac_ext <<_ACEOF
28486 /* confdefs.h. */
28487 _ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28491
28492 #include <gtk/gtk.h>
28493 #include <stdio.h>
28494 #include <stdlib.h>
28495
28496 int
28497 main ()
28498 {
28499 int major, minor, micro;
28500 char *tmp_version;
28501
28502 system ("touch conf.gtktest");
28503
28504 /* HP/UX 9 (%@#!) writes to sscanf strings */
28505 tmp_version = g_strdup("$min_gtk_version");
28506 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28507 printf("%s, bad version string\n", "$min_gtk_version");
28508 exit(1);
28509 }
28510
28511 if ((gtk_major_version != $gtk_config_major_version) ||
28512 (gtk_minor_version != $gtk_config_minor_version) ||
28513 (gtk_micro_version != $gtk_config_micro_version))
28514 {
28515 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28516 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28517 gtk_major_version, gtk_minor_version, gtk_micro_version);
28518 printf ("*** was found! If gtk-config was correct, then it is best\n");
28519 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28520 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28521 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28522 printf("*** required on your system.\n");
28523 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28524 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28525 printf("*** before re-running configure\n");
28526 }
28527 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28528 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28529 (gtk_minor_version != GTK_MINOR_VERSION) ||
28530 (gtk_micro_version != GTK_MICRO_VERSION))
28531 {
28532 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28533 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28534 printf("*** library (version %d.%d.%d)\n",
28535 gtk_major_version, gtk_minor_version, gtk_micro_version);
28536 }
28537 #endif /* defined (GTK_MAJOR_VERSION) ... */
28538 else
28539 {
28540 if ((gtk_major_version > major) ||
28541 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28542 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28543 {
28544 return 0;
28545 }
28546 else
28547 {
28548 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28549 gtk_major_version, gtk_minor_version, gtk_micro_version);
28550 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28551 major, minor, micro);
28552 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28553 printf("***\n");
28554 printf("*** If you have already installed a sufficiently new version, this error\n");
28555 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28556 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28557 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28558 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28559 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28560 printf("*** so that the correct libraries are found at run-time))\n");
28561 }
28562 }
28563 return 1;
28564 }
28565
28566 _ACEOF
28567 rm -f conftest$ac_exeext
28568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28569 (eval $ac_link) 2>&5
28570 ac_status=$?
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28575 ac_status=$?
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; }; then
28578 :
28579 else
28580 echo "$as_me: program exited with status $ac_status" >&5
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.$ac_ext >&5
28583
28584 ( exit $ac_status )
28585 no_gtk=yes
28586 fi
28587 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28588 fi
28589 CFLAGS="$ac_save_CFLAGS"
28590 LIBS="$ac_save_LIBS"
28591 fi
28592 fi
28593 if test "x$no_gtk" = x ; then
28594 echo "$as_me:$LINENO: result: yes" >&5
28595 echo "${ECHO_T}yes" >&6
28596 wx_cv_lib_gtk=1.2.3
28597 else
28598 echo "$as_me:$LINENO: result: no" >&5
28599 echo "${ECHO_T}no" >&6
28600 if test "$GTK_CONFIG" = "no" ; then
28601 echo "*** The gtk-config script installed by GTK could not be found"
28602 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28603 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28604 echo "*** full path to gtk-config."
28605 else
28606 if test -f conf.gtktest ; then
28607 :
28608 else
28609 echo "*** Could not run GTK test program, checking why..."
28610 CFLAGS="$CFLAGS $GTK_CFLAGS"
28611 LIBS="$LIBS $GTK_LIBS"
28612 cat >conftest.$ac_ext <<_ACEOF
28613 /* confdefs.h. */
28614 _ACEOF
28615 cat confdefs.h >>conftest.$ac_ext
28616 cat >>conftest.$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28618
28619 #include <gtk/gtk.h>
28620 #include <stdio.h>
28621
28622 int
28623 main ()
28624 {
28625 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28626 ;
28627 return 0;
28628 }
28629 _ACEOF
28630 rm -f conftest.$ac_objext conftest$ac_exeext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28632 (eval $ac_link) 2>conftest.er1
28633 ac_status=$?
28634 grep -v '^ *+' conftest.er1 >conftest.err
28635 rm -f conftest.er1
28636 cat conftest.err >&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); } &&
28639 { ac_try='test -z "$ac_c_werror_flag"
28640 || test ! -s conftest.err'
28641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28642 (eval $ac_try) 2>&5
28643 ac_status=$?
28644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645 (exit $ac_status); }; } &&
28646 { ac_try='test -s conftest$ac_exeext'
28647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28648 (eval $ac_try) 2>&5
28649 ac_status=$?
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); }; }; then
28652 echo "*** The test program compiled, but did not run. This usually means"
28653 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28654 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28655 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28656 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28657 echo "*** is required on your system"
28658 echo "***"
28659 echo "*** If you have an old version installed, it is best to remove it, although"
28660 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28661 echo "***"
28662 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28663 echo "*** came with the system with the command"
28664 echo "***"
28665 echo "*** rpm --erase --nodeps gtk gtk-devel"
28666 else
28667 echo "$as_me: failed program was:" >&5
28668 sed 's/^/| /' conftest.$ac_ext >&5
28669
28670 echo "*** The test program failed to compile or link. See the file config.log for the"
28671 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28672 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28673 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28674 fi
28675 rm -f conftest.err conftest.$ac_objext \
28676 conftest$ac_exeext conftest.$ac_ext
28677 CFLAGS="$ac_save_CFLAGS"
28678 LIBS="$ac_save_LIBS"
28679 fi
28680 fi
28681 GTK_CFLAGS=""
28682 GTK_LIBS=""
28683 :
28684 fi
28685
28686
28687 rm -f conf.gtktest
28688
28689 fi
28690 fi
28691 fi
28692
28693 if test -z "$wx_cv_lib_gtk"; then
28694 wx_cv_lib_gtk=none
28695 else
28696 wx_cv_cflags_gtk=$GTK_CFLAGS
28697 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28698 fi
28699
28700
28701 fi
28702
28703
28704 if test "$gtk_version_cached" = 1; then
28705 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28706 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28707 fi
28708
28709 case "$wx_cv_lib_gtk" in
28710 2.0) WXGTK20=1
28711 TOOLKIT_VERSION=2
28712 ;;
28713 1.2.7) WXGTK127=1
28714 WXGTK12=1
28715 ;;
28716 1.2.3) WXGTK12=1
28717 ;;
28718 *) { { echo "$as_me:$LINENO: error:
28719 The development files for GTK+ were not found. For GTK+ 2, please
28720 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28721 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28722 and that the version is 1.2.3 or above. Also check that the
28723 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28724 --libs' are in the LD_LIBRARY_PATH or equivalent.
28725 " >&5
28726 echo "$as_me: error:
28727 The development files for GTK+ were not found. For GTK+ 2, please
28728 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28729 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28730 and that the version is 1.2.3 or above. Also check that the
28731 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28732 --libs' are in the LD_LIBRARY_PATH or equivalent.
28733 " >&2;}
28734 { (exit 1); exit 1; }; }
28735 ;;
28736 esac
28737
28738 if test "$WXGTK20" = 1; then
28739 save_CFLAGS="$CFLAGS"
28740 save_LIBS="$LIBS"
28741 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28742 LIBS="$LIBS $wx_cv_libs_gtk"
28743
28744 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28745 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28746 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28748 else
28749 cat >conftest.$ac_ext <<_ACEOF
28750 /* confdefs.h. */
28751 _ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28755 #include <gtk/gtk.h>
28756
28757 int
28758 main ()
28759 {
28760 #ifndef gtk_icon_size_lookup
28761 char *p = (char *) gtk_icon_size_lookup;
28762 #endif
28763
28764 ;
28765 return 0;
28766 }
28767 _ACEOF
28768 rm -f conftest.$ac_objext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28770 (eval $ac_compile) 2>conftest.er1
28771 ac_status=$?
28772 grep -v '^ *+' conftest.er1 >conftest.err
28773 rm -f conftest.er1
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try='test -z "$ac_c_werror_flag"
28778 || test ! -s conftest.err'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; } &&
28784 { ac_try='test -s conftest.$ac_objext'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28787 ac_status=$?
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; }; then
28790 ac_cv_have_decl_gtk_icon_size_lookup=yes
28791 else
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.$ac_ext >&5
28794
28795 ac_cv_have_decl_gtk_icon_size_lookup=no
28796 fi
28797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28798 fi
28799 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28800 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28801 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28802
28803 cat >>confdefs.h <<_ACEOF
28804 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28805 _ACEOF
28806
28807
28808 else
28809 cat >>confdefs.h <<_ACEOF
28810 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28811 _ACEOF
28812
28813 cat >>confdefs.h <<\_ACEOF
28814 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28815 _ACEOF
28816
28817 fi
28818
28819
28820
28821 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28822 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28823 cat >conftest.$ac_ext <<_ACEOF
28824 /* confdefs.h. */
28825 _ACEOF
28826 cat confdefs.h >>conftest.$ac_ext
28827 cat >>conftest.$ac_ext <<_ACEOF
28828 /* end confdefs.h. */
28829
28830 #include <gtk/gtk.h>
28831
28832 int
28833 main ()
28834 {
28835
28836 #if !GTK_CHECK_VERSION(2,6,0)
28837 Not GTK+ 2.6
28838 #endif
28839
28840 ;
28841 return 0;
28842 }
28843 _ACEOF
28844 rm -f conftest.$ac_objext
28845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28846 (eval $ac_compile) 2>conftest.er1
28847 ac_status=$?
28848 grep -v '^ *+' conftest.er1 >conftest.err
28849 rm -f conftest.er1
28850 cat conftest.err >&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); } &&
28853 { ac_try='test -z "$ac_c_werror_flag"
28854 || test ! -s conftest.err'
28855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856 (eval $ac_try) 2>&5
28857 ac_status=$?
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); }; } &&
28860 { ac_try='test -s conftest.$ac_objext'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; }; then
28866
28867 cat >>confdefs.h <<\_ACEOF
28868 #define __WXGTK26__ 1
28869 _ACEOF
28870
28871 cat >>confdefs.h <<\_ACEOF
28872 #define __WXGTK24__ 1
28873 _ACEOF
28874
28875 echo "$as_me:$LINENO: result: yes" >&5
28876 echo "${ECHO_T}yes" >&6
28877 ac_wxgtk26=1
28878
28879 else
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883
28884 echo "$as_me:$LINENO: result: no" >&5
28885 echo "${ECHO_T}no" >&6
28886 ac_wxgtk26=0
28887
28888 fi
28889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28890
28891 if test "$ac_wxgtk26" = 0; then
28892 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28893 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28894 cat >conftest.$ac_ext <<_ACEOF
28895 /* confdefs.h. */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900
28901 #include <gtk/gtk.h>
28902
28903 int
28904 main ()
28905 {
28906
28907 #if !GTK_CHECK_VERSION(2,4,0)
28908 Not GTK+ 2.4
28909 #endif
28910
28911 ;
28912 return 0;
28913 }
28914 _ACEOF
28915 rm -f conftest.$ac_objext
28916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28917 (eval $ac_compile) 2>conftest.er1
28918 ac_status=$?
28919 grep -v '^ *+' conftest.er1 >conftest.err
28920 rm -f conftest.er1
28921 cat conftest.err >&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); } &&
28924 { ac_try='test -z "$ac_c_werror_flag"
28925 || test ! -s conftest.err'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28928 ac_status=$?
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; } &&
28931 { ac_try='test -s conftest.$ac_objext'
28932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933 (eval $ac_try) 2>&5
28934 ac_status=$?
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; }; then
28937
28938 cat >>confdefs.h <<\_ACEOF
28939 #define __WXGTK24__ 1
28940 _ACEOF
28941
28942 echo "$as_me:$LINENO: result: yes" >&5
28943 echo "${ECHO_T}yes" >&6
28944
28945 else
28946 echo "$as_me: failed program was:" >&5
28947 sed 's/^/| /' conftest.$ac_ext >&5
28948
28949
28950 echo "$as_me:$LINENO: result: no" >&5
28951 echo "${ECHO_T}no" >&6
28952
28953 fi
28954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28955 fi
28956
28957 CFLAGS="$save_CFLAGS"
28958 LIBS="$save_LIBS"
28959 else
28960 if test "$wxUSE_UNICODE" = "yes"; then
28961 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28962 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28963 wxUSE_UNICODE=no
28964 fi
28965 fi
28966
28967 ac_ext=cc
28968 ac_cpp='$CXXCPP $CPPFLAGS'
28969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28972
28973
28974 if test "$USE_DARWIN" != 1; then
28975
28976 for ac_func in poll
28977 do
28978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28979 echo "$as_me:$LINENO: checking for $ac_func" >&5
28980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28981 if eval "test \"\${$as_ac_var+set}\" = set"; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28983 else
28984 cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28992 #define $ac_func innocuous_$ac_func
28993
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char $ac_func (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
28998
28999 #ifdef __STDC__
29000 # include <limits.h>
29001 #else
29002 # include <assert.h>
29003 #endif
29004
29005 #undef $ac_func
29006
29007 /* Override any gcc2 internal prototype to avoid an error. */
29008 #ifdef __cplusplus
29009 extern "C"
29010 {
29011 #endif
29012 /* We use char because int might match the return type of a gcc2
29013 builtin and then its argument prototype would still apply. */
29014 char $ac_func ();
29015 /* The GNU C library defines this for functions which it implements
29016 to always fail with ENOSYS. Some functions are actually named
29017 something starting with __ and the normal name is an alias. */
29018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29019 choke me
29020 #else
29021 char (*f) () = $ac_func;
29022 #endif
29023 #ifdef __cplusplus
29024 }
29025 #endif
29026
29027 int
29028 main ()
29029 {
29030 return f != $ac_func;
29031 ;
29032 return 0;
29033 }
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_cxx_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 eval "$as_ac_var=yes"
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29061
29062 eval "$as_ac_var=no"
29063 fi
29064 rm -f conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29066 fi
29067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29069 if test `eval echo '${'$as_ac_var'}'` = yes; then
29070 cat >>confdefs.h <<_ACEOF
29071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29072 _ACEOF
29073
29074 fi
29075 done
29076
29077 fi
29078
29079 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29080 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29081
29082 AFMINSTALL=afminstall
29083 TOOLKIT=GTK
29084 GUIDIST=GTK_DIST
29085
29086 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29087 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29088 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 else
29091 ac_check_lib_save_LIBS=$LIBS
29092 LIBS="-lgdk $LIBS"
29093 cat >conftest.$ac_ext <<_ACEOF
29094 /* confdefs.h. */
29095 _ACEOF
29096 cat confdefs.h >>conftest.$ac_ext
29097 cat >>conftest.$ac_ext <<_ACEOF
29098 /* end confdefs.h. */
29099
29100 /* Override any gcc2 internal prototype to avoid an error. */
29101 #ifdef __cplusplus
29102 extern "C"
29103 #endif
29104 /* We use char because int might match the return type of a gcc2
29105 builtin and then its argument prototype would still apply. */
29106 char gdk_im_open ();
29107 int
29108 main ()
29109 {
29110 gdk_im_open ();
29111 ;
29112 return 0;
29113 }
29114 _ACEOF
29115 rm -f conftest.$ac_objext conftest$ac_exeext
29116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29117 (eval $ac_link) 2>conftest.er1
29118 ac_status=$?
29119 grep -v '^ *+' conftest.er1 >conftest.err
29120 rm -f conftest.er1
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } &&
29124 { ac_try='test -z "$ac_cxx_werror_flag"
29125 || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29128 ac_status=$?
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try='test -s conftest$ac_exeext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29134 ac_status=$?
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 ac_cv_lib_gdk_gdk_im_open=yes
29138 else
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29141
29142 ac_cv_lib_gdk_gdk_im_open=no
29143 fi
29144 rm -f conftest.err conftest.$ac_objext \
29145 conftest$ac_exeext conftest.$ac_ext
29146 LIBS=$ac_check_lib_save_LIBS
29147 fi
29148 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29149 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29150 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29151 cat >>confdefs.h <<\_ACEOF
29152 #define HAVE_XIM 1
29153 _ACEOF
29154
29155 fi
29156
29157
29158
29159 if test "$wxUSE_GPE" = "yes"; then
29160 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29161 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29162
29163 ac_find_libraries=
29164 for ac_dir in $SEARCH_LIB;
29165 do
29166 for ac_extension in a so sl dylib dll.a; do
29167 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29168 ac_find_libraries=$ac_dir
29169 break 2
29170 fi
29171 done
29172 done
29173
29174 if test "$ac_find_libraries" != "" ; then
29175
29176 if test "$ac_find_libraries" = "default location"; then
29177 ac_path_to_link=""
29178 else
29179 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29180 result=$?
29181 if test $result = 0; then
29182 ac_path_to_link=""
29183 else
29184 ac_path_to_link=" -L$ac_find_libraries"
29185 fi
29186 fi
29187
29188 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29189 WXGPE=1
29190 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29191 echo "${ECHO_T}found in $ac_find_libraries" >&6
29192 else
29193 echo "$as_me:$LINENO: result: not found" >&5
29194 echo "${ECHO_T}not found" >&6
29195 fi
29196
29197 fi
29198 fi
29199
29200 if test "$wxUSE_MGL" = 1; then
29201 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29202 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29203 if test "x$MGL_ROOT" = x ; then
29204 echo "$as_me:$LINENO: result: not found" >&5
29205 echo "${ECHO_T}not found" >&6
29206 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29207 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29208 { (exit 1); exit 1; }; }
29209 else
29210 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29211 echo "${ECHO_T}$MGL_ROOT" >&6
29212 fi
29213
29214 echo "$as_me:$LINENO: checking for libmgl location" >&5
29215 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29216 case "${host}" in
29217 *-*-linux* )
29218 if test "x$wxUSE_SHARED" = xyes ; then
29219 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29220 else
29221 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29222 fi
29223 ;;
29224 *-pc-msdosdjgpp )
29225 mgl_os_candidates="dos32/dj2"
29226 ;;
29227 *)
29228 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29229 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29230 { (exit 1); exit 1; }; }
29231 esac
29232
29233 mgl_lib_type=""
29234 mgl_os=""
29235
29236 for mgl_os_i in $mgl_os_candidates ; do
29237 if test "x$mgl_os" = x ; then
29238 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29239 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29240 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29241 mgl_lib_type=debug
29242 mgl_os=$mgl_os_i
29243 fi
29244 fi
29245 if test "x$mgl_lib_type" = x ; then
29246 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29247 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29248 mgl_lib_type=release
29249 mgl_os=$mgl_os_i
29250 fi
29251 fi
29252 fi
29253 done
29254
29255 if test "x$mgl_os" = x ; then
29256 echo "$as_me:$LINENO: result: not found" >&5
29257 echo "${ECHO_T}not found" >&6
29258 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29259 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29260 { (exit 1); exit 1; }; }
29261 fi
29262 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29263 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29264
29265 wxUSE_UNIVERSAL="yes"
29266
29267 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29268 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29269
29270 AFMINSTALL=afminstall
29271 TOOLKIT=MGL
29272 GUIDIST=MGL_DIST
29273 fi
29274
29275 if test "$wxUSE_DFB" = 1; then
29276
29277
29278 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29279 if test -n "$ac_tool_prefix"; then
29280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29282 echo "$as_me:$LINENO: checking for $ac_word" >&5
29283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29284 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 case $PKG_CONFIG in
29288 [\\/]* | ?:[\\/]*)
29289 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29290 ;;
29291 *)
29292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29293 for as_dir in $PATH
29294 do
29295 IFS=$as_save_IFS
29296 test -z "$as_dir" && as_dir=.
29297 for ac_exec_ext in '' $ac_executable_extensions; do
29298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29299 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29301 break 2
29302 fi
29303 done
29304 done
29305
29306 ;;
29307 esac
29308 fi
29309 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29310
29311 if test -n "$PKG_CONFIG"; then
29312 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29313 echo "${ECHO_T}$PKG_CONFIG" >&6
29314 else
29315 echo "$as_me:$LINENO: result: no" >&5
29316 echo "${ECHO_T}no" >&6
29317 fi
29318
29319 fi
29320 if test -z "$ac_cv_path_PKG_CONFIG"; then
29321 ac_pt_PKG_CONFIG=$PKG_CONFIG
29322 # Extract the first word of "pkg-config", so it can be a program name with args.
29323 set dummy pkg-config; ac_word=$2
29324 echo "$as_me:$LINENO: checking for $ac_word" >&5
29325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29326 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29327 echo $ECHO_N "(cached) $ECHO_C" >&6
29328 else
29329 case $ac_pt_PKG_CONFIG in
29330 [\\/]* | ?:[\\/]*)
29331 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29332 ;;
29333 *)
29334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29335 for as_dir in $PATH
29336 do
29337 IFS=$as_save_IFS
29338 test -z "$as_dir" && as_dir=.
29339 for ac_exec_ext in '' $ac_executable_extensions; do
29340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29341 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29343 break 2
29344 fi
29345 done
29346 done
29347
29348 ;;
29349 esac
29350 fi
29351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29352
29353 if test -n "$ac_pt_PKG_CONFIG"; then
29354 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29355 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29356 else
29357 echo "$as_me:$LINENO: result: no" >&5
29358 echo "${ECHO_T}no" >&6
29359 fi
29360
29361 PKG_CONFIG=$ac_pt_PKG_CONFIG
29362 else
29363 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29364 fi
29365
29366 fi
29367 if test -n "$PKG_CONFIG"; then
29368 _pkg_min_version=0.9.0
29369 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29370 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29371 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29372 echo "$as_me:$LINENO: result: yes" >&5
29373 echo "${ECHO_T}yes" >&6
29374 else
29375 echo "$as_me:$LINENO: result: no" >&5
29376 echo "${ECHO_T}no" >&6
29377 PKG_CONFIG=""
29378 fi
29379
29380 fi
29381
29382 pkg_failed=no
29383 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29384 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29385
29386 if test -n "$PKG_CONFIG"; then
29387 if test -n "$DIRECTFB_CFLAGS"; then
29388 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29389 else
29390 if test -n "$PKG_CONFIG" && \
29391 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29392 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29393 ac_status=$?
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; then
29396 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29397 else
29398 pkg_failed=yes
29399 fi
29400 fi
29401 else
29402 pkg_failed=untried
29403 fi
29404 if test -n "$PKG_CONFIG"; then
29405 if test -n "$DIRECTFB_LIBS"; then
29406 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29407 else
29408 if test -n "$PKG_CONFIG" && \
29409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29410 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; then
29414 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29415 else
29416 pkg_failed=yes
29417 fi
29418 fi
29419 else
29420 pkg_failed=untried
29421 fi
29422
29423
29424
29425 if test $pkg_failed = yes; then
29426
29427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29428 _pkg_short_errors_supported=yes
29429 else
29430 _pkg_short_errors_supported=no
29431 fi
29432 if test $_pkg_short_errors_supported = yes; then
29433 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29434 else
29435 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29436 fi
29437 # Put the nasty error message in config.log where it belongs
29438 echo "$DIRECTFB_PKG_ERRORS" >&5
29439
29440
29441 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29442 echo "$as_me: error: DirectFB not found." >&2;}
29443 { (exit 1); exit 1; }; }
29444
29445
29446 elif test $pkg_failed = untried; then
29447
29448 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29449 echo "$as_me: error: DirectFB not found." >&2;}
29450 { (exit 1); exit 1; }; }
29451
29452
29453 else
29454 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29455 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29456 echo "$as_me:$LINENO: result: yes" >&5
29457 echo "${ECHO_T}yes" >&6
29458
29459 wxUSE_UNIVERSAL="yes"
29460 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29461 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29462 TOOLKIT=DFB
29463 GUIDIST=DFB_DIST
29464
29465 fi
29466 fi
29467
29468 if test "$wxUSE_MICROWIN" = 1; then
29469 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29470 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29471 if test "x$MICROWINDOWS" = x ; then
29472 echo "$as_me:$LINENO: result: not found" >&5
29473 echo "${ECHO_T}not found" >&6
29474 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29475 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29476 { (exit 1); exit 1; }; }
29477 else
29478 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29479 echo "${ECHO_T}$MICROWINDOWS" >&6
29480 fi
29481
29482 if test -f $MICROWINDOWS/lib/libmwin.a; then
29483 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29484 echo "${ECHO_T}MicroWindows' libraries found." >&6
29485 else
29486 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29487 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29488 { (exit 1); exit 1; }; }
29489 fi
29490
29491 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29492 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29493
29494 wxUSE_UNIVERSAL="yes"
29495
29496 AFMINSTALL=afminstall
29497 TOOLKIT=MICROWIN
29498 GUIDIST=MICROWIN_DIST
29499
29500 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29501 fi
29502
29503 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29504 echo "$as_me:$LINENO: checking for X" >&5
29505 echo $ECHO_N "checking for X... $ECHO_C" >&6
29506
29507
29508 # Check whether --with-x or --without-x was given.
29509 if test "${with_x+set}" = set; then
29510 withval="$with_x"
29511
29512 fi;
29513 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29514 if test "x$with_x" = xno; then
29515 # The user explicitly disabled X.
29516 have_x=disabled
29517 else
29518 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29519 # Both variables are already set.
29520 have_x=yes
29521 else
29522 if test "${ac_cv_have_x+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 else
29525 # One or both of the vars are not set, and there is no cached value.
29526 ac_x_includes=no ac_x_libraries=no
29527 rm -fr conftest.dir
29528 if mkdir conftest.dir; then
29529 cd conftest.dir
29530 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29531 cat >Imakefile <<'_ACEOF'
29532 acfindx:
29533 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29534 _ACEOF
29535 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29537 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29538 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29539 for ac_extension in a so sl; do
29540 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29541 test -f $ac_im_libdir/libX11.$ac_extension; then
29542 ac_im_usrlibdir=$ac_im_libdir; break
29543 fi
29544 done
29545 # Screen out bogus values from the imake configuration. They are
29546 # bogus both because they are the default anyway, and because
29547 # using them would break gcc on systems where it needs fixed includes.
29548 case $ac_im_incroot in
29549 /usr/include) ;;
29550 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29551 esac
29552 case $ac_im_usrlibdir in
29553 /usr/lib | /lib) ;;
29554 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29555 esac
29556 fi
29557 cd ..
29558 rm -fr conftest.dir
29559 fi
29560
29561 # Standard set of common directories for X headers.
29562 # Check X11 before X11Rn because it is often a symlink to the current release.
29563 ac_x_header_dirs='
29564 /usr/X11/include
29565 /usr/X11R6/include
29566 /usr/X11R5/include
29567 /usr/X11R4/include
29568
29569 /usr/include/X11
29570 /usr/include/X11R6
29571 /usr/include/X11R5
29572 /usr/include/X11R4
29573
29574 /usr/local/X11/include
29575 /usr/local/X11R6/include
29576 /usr/local/X11R5/include
29577 /usr/local/X11R4/include
29578
29579 /usr/local/include/X11
29580 /usr/local/include/X11R6
29581 /usr/local/include/X11R5
29582 /usr/local/include/X11R4
29583
29584 /usr/X386/include
29585 /usr/x386/include
29586 /usr/XFree86/include/X11
29587
29588 /usr/include
29589 /usr/local/include
29590 /usr/unsupported/include
29591 /usr/athena/include
29592 /usr/local/x11r5/include
29593 /usr/lpp/Xamples/include
29594
29595 /usr/openwin/include
29596 /usr/openwin/share/include'
29597
29598 if test "$ac_x_includes" = no; then
29599 # Guess where to find include files, by looking for Intrinsic.h.
29600 # First, try using that file with no special directory specified.
29601 cat >conftest.$ac_ext <<_ACEOF
29602 /* confdefs.h. */
29603 _ACEOF
29604 cat confdefs.h >>conftest.$ac_ext
29605 cat >>conftest.$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29607 #include <X11/Intrinsic.h>
29608 _ACEOF
29609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29611 ac_status=$?
29612 grep -v '^ *+' conftest.er1 >conftest.err
29613 rm -f conftest.er1
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } >/dev/null; then
29617 if test -s conftest.err; then
29618 ac_cpp_err=$ac_cxx_preproc_warn_flag
29619 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29620 else
29621 ac_cpp_err=
29622 fi
29623 else
29624 ac_cpp_err=yes
29625 fi
29626 if test -z "$ac_cpp_err"; then
29627 # We can compile using X headers with no special include directory.
29628 ac_x_includes=
29629 else
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29632
29633 for ac_dir in $ac_x_header_dirs; do
29634 if test -r "$ac_dir/X11/Intrinsic.h"; then
29635 ac_x_includes=$ac_dir
29636 break
29637 fi
29638 done
29639 fi
29640 rm -f conftest.err conftest.$ac_ext
29641 fi # $ac_x_includes = no
29642
29643 if test "$ac_x_libraries" = no; then
29644 # Check for the libraries.
29645 # See if we find them without any special options.
29646 # Don't add to $LIBS permanently.
29647 ac_save_LIBS=$LIBS
29648 LIBS="-lXt $LIBS"
29649 cat >conftest.$ac_ext <<_ACEOF
29650 /* confdefs.h. */
29651 _ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29655 #include <X11/Intrinsic.h>
29656 int
29657 main ()
29658 {
29659 XtMalloc (0)
29660 ;
29661 return 0;
29662 }
29663 _ACEOF
29664 rm -f conftest.$ac_objext conftest$ac_exeext
29665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29666 (eval $ac_link) 2>conftest.er1
29667 ac_status=$?
29668 grep -v '^ *+' conftest.er1 >conftest.err
29669 rm -f conftest.er1
29670 cat conftest.err >&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); } &&
29673 { ac_try='test -z "$ac_cxx_werror_flag"
29674 || test ! -s conftest.err'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29677 ac_status=$?
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; } &&
29680 { ac_try='test -s conftest$ac_exeext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29683 ac_status=$?
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29686 LIBS=$ac_save_LIBS
29687 # We can link X programs with no special library path.
29688 ac_x_libraries=
29689 else
29690 echo "$as_me: failed program was:" >&5
29691 sed 's/^/| /' conftest.$ac_ext >&5
29692
29693 LIBS=$ac_save_LIBS
29694 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29695 do
29696 # Don't even attempt the hair of trying to link an X program!
29697 for ac_extension in a so sl; do
29698 if test -r $ac_dir/libXt.$ac_extension; then
29699 ac_x_libraries=$ac_dir
29700 break 2
29701 fi
29702 done
29703 done
29704 fi
29705 rm -f conftest.err conftest.$ac_objext \
29706 conftest$ac_exeext conftest.$ac_ext
29707 fi # $ac_x_libraries = no
29708
29709 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29710 # Didn't find X anywhere. Cache the known absence of X.
29711 ac_cv_have_x="have_x=no"
29712 else
29713 # Record where we found X for the cache.
29714 ac_cv_have_x="have_x=yes \
29715 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29716 fi
29717 fi
29718
29719 fi
29720 eval "$ac_cv_have_x"
29721 fi # $with_x != no
29722
29723 if test "$have_x" != yes; then
29724 echo "$as_me:$LINENO: result: $have_x" >&5
29725 echo "${ECHO_T}$have_x" >&6
29726 no_x=yes
29727 else
29728 # If each of the values was on the command line, it overrides each guess.
29729 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29730 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29731 # Update the cache value to reflect the command line values.
29732 ac_cv_have_x="have_x=yes \
29733 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29734 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29735 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29736 fi
29737
29738 if test "$no_x" = yes; then
29739 # Not all programs may use this symbol, but it does not hurt to define it.
29740
29741 cat >>confdefs.h <<\_ACEOF
29742 #define X_DISPLAY_MISSING 1
29743 _ACEOF
29744
29745 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29746 else
29747 if test -n "$x_includes"; then
29748 X_CFLAGS="$X_CFLAGS -I$x_includes"
29749 fi
29750
29751 # It would also be nice to do this for all -L options, not just this one.
29752 if test -n "$x_libraries"; then
29753 X_LIBS="$X_LIBS -L$x_libraries"
29754 # For Solaris; some versions of Sun CC require a space after -R and
29755 # others require no space. Words are not sufficient . . . .
29756 case `(uname -sr) 2>/dev/null` in
29757 "SunOS 5"*)
29758 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29759 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29760 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29761 cat >conftest.$ac_ext <<_ACEOF
29762 /* confdefs.h. */
29763 _ACEOF
29764 cat confdefs.h >>conftest.$ac_ext
29765 cat >>conftest.$ac_ext <<_ACEOF
29766 /* end confdefs.h. */
29767
29768 int
29769 main ()
29770 {
29771
29772 ;
29773 return 0;
29774 }
29775 _ACEOF
29776 rm -f conftest.$ac_objext conftest$ac_exeext
29777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29778 (eval $ac_link) 2>conftest.er1
29779 ac_status=$?
29780 grep -v '^ *+' conftest.er1 >conftest.err
29781 rm -f conftest.er1
29782 cat conftest.err >&5
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); } &&
29785 { ac_try='test -z "$ac_cxx_werror_flag"
29786 || test ! -s conftest.err'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29789 ac_status=$?
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; } &&
29792 { ac_try='test -s conftest$ac_exeext'
29793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29794 (eval $ac_try) 2>&5
29795 ac_status=$?
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); }; }; then
29798 ac_R_nospace=yes
29799 else
29800 echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.$ac_ext >&5
29802
29803 ac_R_nospace=no
29804 fi
29805 rm -f conftest.err conftest.$ac_objext \
29806 conftest$ac_exeext conftest.$ac_ext
29807 if test $ac_R_nospace = yes; then
29808 echo "$as_me:$LINENO: result: no" >&5
29809 echo "${ECHO_T}no" >&6
29810 X_LIBS="$X_LIBS -R$x_libraries"
29811 else
29812 LIBS="$ac_xsave_LIBS -R $x_libraries"
29813 cat >conftest.$ac_ext <<_ACEOF
29814 /* confdefs.h. */
29815 _ACEOF
29816 cat confdefs.h >>conftest.$ac_ext
29817 cat >>conftest.$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29819
29820 int
29821 main ()
29822 {
29823
29824 ;
29825 return 0;
29826 }
29827 _ACEOF
29828 rm -f conftest.$ac_objext conftest$ac_exeext
29829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29830 (eval $ac_link) 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } &&
29837 { ac_try='test -z "$ac_cxx_werror_flag"
29838 || test ! -s conftest.err'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29841 ac_status=$?
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; } &&
29844 { ac_try='test -s conftest$ac_exeext'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; }; then
29850 ac_R_space=yes
29851 else
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29854
29855 ac_R_space=no
29856 fi
29857 rm -f conftest.err conftest.$ac_objext \
29858 conftest$ac_exeext conftest.$ac_ext
29859 if test $ac_R_space = yes; then
29860 echo "$as_me:$LINENO: result: yes" >&5
29861 echo "${ECHO_T}yes" >&6
29862 X_LIBS="$X_LIBS -R $x_libraries"
29863 else
29864 echo "$as_me:$LINENO: result: neither works" >&5
29865 echo "${ECHO_T}neither works" >&6
29866 fi
29867 fi
29868 LIBS=$ac_xsave_LIBS
29869 esac
29870 fi
29871
29872 # Check for system-dependent libraries X programs must link with.
29873 # Do this before checking for the system-independent R6 libraries
29874 # (-lICE), since we may need -lsocket or whatever for X linking.
29875
29876 if test "$ISC" = yes; then
29877 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29878 else
29879 # Martyn Johnson says this is needed for Ultrix, if the X
29880 # libraries were built with DECnet support. And Karl Berry says
29881 # the Alpha needs dnet_stub (dnet does not exist).
29882 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29883 cat >conftest.$ac_ext <<_ACEOF
29884 /* confdefs.h. */
29885 _ACEOF
29886 cat confdefs.h >>conftest.$ac_ext
29887 cat >>conftest.$ac_ext <<_ACEOF
29888 /* end confdefs.h. */
29889
29890 /* Override any gcc2 internal prototype to avoid an error. */
29891 #ifdef __cplusplus
29892 extern "C"
29893 #endif
29894 /* We use char because int might match the return type of a gcc2
29895 builtin and then its argument prototype would still apply. */
29896 char XOpenDisplay ();
29897 int
29898 main ()
29899 {
29900 XOpenDisplay ();
29901 ;
29902 return 0;
29903 }
29904 _ACEOF
29905 rm -f conftest.$ac_objext conftest$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29908 ac_status=$?
29909 grep -v '^ *+' conftest.er1 >conftest.err
29910 rm -f conftest.er1
29911 cat conftest.err >&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try='test -z "$ac_cxx_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29924 ac_status=$?
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29927 :
29928 else
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.$ac_ext >&5
29931
29932 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29933 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29934 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29936 else
29937 ac_check_lib_save_LIBS=$LIBS
29938 LIBS="-ldnet $LIBS"
29939 cat >conftest.$ac_ext <<_ACEOF
29940 /* confdefs.h. */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945
29946 /* Override any gcc2 internal prototype to avoid an error. */
29947 #ifdef __cplusplus
29948 extern "C"
29949 #endif
29950 /* We use char because int might match the return type of a gcc2
29951 builtin and then its argument prototype would still apply. */
29952 char dnet_ntoa ();
29953 int
29954 main ()
29955 {
29956 dnet_ntoa ();
29957 ;
29958 return 0;
29959 }
29960 _ACEOF
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29963 (eval $ac_link) 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -z "$ac_cxx_werror_flag"
29971 || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try='test -s conftest$ac_exeext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29983 ac_cv_lib_dnet_dnet_ntoa=yes
29984 else
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29987
29988 ac_cv_lib_dnet_dnet_ntoa=no
29989 fi
29990 rm -f conftest.err conftest.$ac_objext \
29991 conftest$ac_exeext conftest.$ac_ext
29992 LIBS=$ac_check_lib_save_LIBS
29993 fi
29994 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29995 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29996 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29997 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29998 fi
29999
30000 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30001 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30002 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30003 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30004 echo $ECHO_N "(cached) $ECHO_C" >&6
30005 else
30006 ac_check_lib_save_LIBS=$LIBS
30007 LIBS="-ldnet_stub $LIBS"
30008 cat >conftest.$ac_ext <<_ACEOF
30009 /* confdefs.h. */
30010 _ACEOF
30011 cat confdefs.h >>conftest.$ac_ext
30012 cat >>conftest.$ac_ext <<_ACEOF
30013 /* end confdefs.h. */
30014
30015 /* Override any gcc2 internal prototype to avoid an error. */
30016 #ifdef __cplusplus
30017 extern "C"
30018 #endif
30019 /* We use char because int might match the return type of a gcc2
30020 builtin and then its argument prototype would still apply. */
30021 char dnet_ntoa ();
30022 int
30023 main ()
30024 {
30025 dnet_ntoa ();
30026 ;
30027 return 0;
30028 }
30029 _ACEOF
30030 rm -f conftest.$ac_objext conftest$ac_exeext
30031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30032 (eval $ac_link) 2>conftest.er1
30033 ac_status=$?
30034 grep -v '^ *+' conftest.er1 >conftest.err
30035 rm -f conftest.er1
30036 cat conftest.err >&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try='test -z "$ac_cxx_werror_flag"
30040 || test ! -s conftest.err'
30041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30042 (eval $ac_try) 2>&5
30043 ac_status=$?
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); }; } &&
30046 { ac_try='test -s conftest$ac_exeext'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; }; then
30052 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30053 else
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30056
30057 ac_cv_lib_dnet_stub_dnet_ntoa=no
30058 fi
30059 rm -f conftest.err conftest.$ac_objext \
30060 conftest$ac_exeext conftest.$ac_ext
30061 LIBS=$ac_check_lib_save_LIBS
30062 fi
30063 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30064 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30065 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30066 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30067 fi
30068
30069 fi
30070 fi
30071 rm -f conftest.err conftest.$ac_objext \
30072 conftest$ac_exeext conftest.$ac_ext
30073 LIBS="$ac_xsave_LIBS"
30074
30075 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30076 # to get the SysV transport functions.
30077 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30078 # needs -lnsl.
30079 # The nsl library prevents programs from opening the X display
30080 # on Irix 5.2, according to T.E. Dickey.
30081 # The functions gethostbyname, getservbyname, and inet_addr are
30082 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30083 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30084 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30085 if test "${ac_cv_func_gethostbyname+set}" = set; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 else
30088 cat >conftest.$ac_ext <<_ACEOF
30089 /* confdefs.h. */
30090 _ACEOF
30091 cat confdefs.h >>conftest.$ac_ext
30092 cat >>conftest.$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30096 #define gethostbyname innocuous_gethostbyname
30097
30098 /* System header to define __stub macros and hopefully few prototypes,
30099 which can conflict with char gethostbyname (); below.
30100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30101 <limits.h> exists even on freestanding compilers. */
30102
30103 #ifdef __STDC__
30104 # include <limits.h>
30105 #else
30106 # include <assert.h>
30107 #endif
30108
30109 #undef gethostbyname
30110
30111 /* Override any gcc2 internal prototype to avoid an error. */
30112 #ifdef __cplusplus
30113 extern "C"
30114 {
30115 #endif
30116 /* We use char because int might match the return type of a gcc2
30117 builtin and then its argument prototype would still apply. */
30118 char gethostbyname ();
30119 /* The GNU C library defines this for functions which it implements
30120 to always fail with ENOSYS. Some functions are actually named
30121 something starting with __ and the normal name is an alias. */
30122 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30123 choke me
30124 #else
30125 char (*f) () = gethostbyname;
30126 #endif
30127 #ifdef __cplusplus
30128 }
30129 #endif
30130
30131 int
30132 main ()
30133 {
30134 return f != gethostbyname;
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 rm -f conftest.$ac_objext conftest$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30142 ac_status=$?
30143 grep -v '^ *+' conftest.er1 >conftest.err
30144 rm -f conftest.er1
30145 cat conftest.err >&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try='test -z "$ac_cxx_werror_flag"
30149 || test ! -s conftest.err'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30152 ac_status=$?
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; } &&
30155 { ac_try='test -s conftest$ac_exeext'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; }; then
30161 ac_cv_func_gethostbyname=yes
30162 else
30163 echo "$as_me: failed program was:" >&5
30164 sed 's/^/| /' conftest.$ac_ext >&5
30165
30166 ac_cv_func_gethostbyname=no
30167 fi
30168 rm -f conftest.err conftest.$ac_objext \
30169 conftest$ac_exeext conftest.$ac_ext
30170 fi
30171 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30172 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30173
30174 if test $ac_cv_func_gethostbyname = no; then
30175 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30176 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30177 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30179 else
30180 ac_check_lib_save_LIBS=$LIBS
30181 LIBS="-lnsl $LIBS"
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h. */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188
30189 /* Override any gcc2 internal prototype to avoid an error. */
30190 #ifdef __cplusplus
30191 extern "C"
30192 #endif
30193 /* We use char because int might match the return type of a gcc2
30194 builtin and then its argument prototype would still apply. */
30195 char gethostbyname ();
30196 int
30197 main ()
30198 {
30199 gethostbyname ();
30200 ;
30201 return 0;
30202 }
30203 _ACEOF
30204 rm -f conftest.$ac_objext conftest$ac_exeext
30205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30206 (eval $ac_link) 2>conftest.er1
30207 ac_status=$?
30208 grep -v '^ *+' conftest.er1 >conftest.err
30209 rm -f conftest.er1
30210 cat conftest.err >&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); } &&
30213 { ac_try='test -z "$ac_cxx_werror_flag"
30214 || test ! -s conftest.err'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30217 ac_status=$?
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; } &&
30220 { ac_try='test -s conftest$ac_exeext'
30221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30222 (eval $ac_try) 2>&5
30223 ac_status=$?
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; }; then
30226 ac_cv_lib_nsl_gethostbyname=yes
30227 else
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.$ac_ext >&5
30230
30231 ac_cv_lib_nsl_gethostbyname=no
30232 fi
30233 rm -f conftest.err conftest.$ac_objext \
30234 conftest$ac_exeext conftest.$ac_ext
30235 LIBS=$ac_check_lib_save_LIBS
30236 fi
30237 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30238 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30239 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30240 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30241 fi
30242
30243 if test $ac_cv_lib_nsl_gethostbyname = no; then
30244 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30245 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30246 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 else
30249 ac_check_lib_save_LIBS=$LIBS
30250 LIBS="-lbsd $LIBS"
30251 cat >conftest.$ac_ext <<_ACEOF
30252 /* confdefs.h. */
30253 _ACEOF
30254 cat confdefs.h >>conftest.$ac_ext
30255 cat >>conftest.$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30257
30258 /* Override any gcc2 internal prototype to avoid an error. */
30259 #ifdef __cplusplus
30260 extern "C"
30261 #endif
30262 /* We use char because int might match the return type of a gcc2
30263 builtin and then its argument prototype would still apply. */
30264 char gethostbyname ();
30265 int
30266 main ()
30267 {
30268 gethostbyname ();
30269 ;
30270 return 0;
30271 }
30272 _ACEOF
30273 rm -f conftest.$ac_objext conftest$ac_exeext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30275 (eval $ac_link) 2>conftest.er1
30276 ac_status=$?
30277 grep -v '^ *+' conftest.er1 >conftest.err
30278 rm -f conftest.er1
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } &&
30282 { ac_try='test -z "$ac_cxx_werror_flag"
30283 || test ! -s conftest.err'
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); }; } &&
30289 { ac_try='test -s conftest$ac_exeext'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; }; then
30295 ac_cv_lib_bsd_gethostbyname=yes
30296 else
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.$ac_ext >&5
30299
30300 ac_cv_lib_bsd_gethostbyname=no
30301 fi
30302 rm -f conftest.err conftest.$ac_objext \
30303 conftest$ac_exeext conftest.$ac_ext
30304 LIBS=$ac_check_lib_save_LIBS
30305 fi
30306 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30307 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30308 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30310 fi
30311
30312 fi
30313 fi
30314
30315 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30316 # socket/setsockopt and other routines are undefined under SCO ODT
30317 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30318 # on later versions), says Simon Leinen: it contains gethostby*
30319 # variants that don't use the name server (or something). -lsocket
30320 # must be given before -lnsl if both are needed. We assume that
30321 # if connect needs -lnsl, so does gethostbyname.
30322 echo "$as_me:$LINENO: checking for connect" >&5
30323 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30324 if test "${ac_cv_func_connect+set}" = set; then
30325 echo $ECHO_N "(cached) $ECHO_C" >&6
30326 else
30327 cat >conftest.$ac_ext <<_ACEOF
30328 /* confdefs.h. */
30329 _ACEOF
30330 cat confdefs.h >>conftest.$ac_ext
30331 cat >>conftest.$ac_ext <<_ACEOF
30332 /* end confdefs.h. */
30333 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30335 #define connect innocuous_connect
30336
30337 /* System header to define __stub macros and hopefully few prototypes,
30338 which can conflict with char connect (); below.
30339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30340 <limits.h> exists even on freestanding compilers. */
30341
30342 #ifdef __STDC__
30343 # include <limits.h>
30344 #else
30345 # include <assert.h>
30346 #endif
30347
30348 #undef connect
30349
30350 /* Override any gcc2 internal prototype to avoid an error. */
30351 #ifdef __cplusplus
30352 extern "C"
30353 {
30354 #endif
30355 /* We use char because int might match the return type of a gcc2
30356 builtin and then its argument prototype would still apply. */
30357 char connect ();
30358 /* The GNU C library defines this for functions which it implements
30359 to always fail with ENOSYS. Some functions are actually named
30360 something starting with __ and the normal name is an alias. */
30361 #if defined (__stub_connect) || defined (__stub___connect)
30362 choke me
30363 #else
30364 char (*f) () = connect;
30365 #endif
30366 #ifdef __cplusplus
30367 }
30368 #endif
30369
30370 int
30371 main ()
30372 {
30373 return f != connect;
30374 ;
30375 return 0;
30376 }
30377 _ACEOF
30378 rm -f conftest.$ac_objext conftest$ac_exeext
30379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30380 (eval $ac_link) 2>conftest.er1
30381 ac_status=$?
30382 grep -v '^ *+' conftest.er1 >conftest.err
30383 rm -f conftest.er1
30384 cat conftest.err >&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); } &&
30387 { ac_try='test -z "$ac_cxx_werror_flag"
30388 || test ! -s conftest.err'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30391 ac_status=$?
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; } &&
30394 { ac_try='test -s conftest$ac_exeext'
30395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396 (eval $ac_try) 2>&5
30397 ac_status=$?
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; }; then
30400 ac_cv_func_connect=yes
30401 else
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.$ac_ext >&5
30404
30405 ac_cv_func_connect=no
30406 fi
30407 rm -f conftest.err conftest.$ac_objext \
30408 conftest$ac_exeext conftest.$ac_ext
30409 fi
30410 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30411 echo "${ECHO_T}$ac_cv_func_connect" >&6
30412
30413 if test $ac_cv_func_connect = no; then
30414 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30415 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30416 if test "${ac_cv_lib_socket_connect+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 else
30419 ac_check_lib_save_LIBS=$LIBS
30420 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30421 cat >conftest.$ac_ext <<_ACEOF
30422 /* confdefs.h. */
30423 _ACEOF
30424 cat confdefs.h >>conftest.$ac_ext
30425 cat >>conftest.$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427
30428 /* Override any gcc2 internal prototype to avoid an error. */
30429 #ifdef __cplusplus
30430 extern "C"
30431 #endif
30432 /* We use char because int might match the return type of a gcc2
30433 builtin and then its argument prototype would still apply. */
30434 char connect ();
30435 int
30436 main ()
30437 {
30438 connect ();
30439 ;
30440 return 0;
30441 }
30442 _ACEOF
30443 rm -f conftest.$ac_objext conftest$ac_exeext
30444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30445 (eval $ac_link) 2>conftest.er1
30446 ac_status=$?
30447 grep -v '^ *+' conftest.er1 >conftest.err
30448 rm -f conftest.er1
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } &&
30452 { ac_try='test -z "$ac_cxx_werror_flag"
30453 || test ! -s conftest.err'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30456 ac_status=$?
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try='test -s conftest$ac_exeext'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30462 ac_status=$?
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30465 ac_cv_lib_socket_connect=yes
30466 else
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.$ac_ext >&5
30469
30470 ac_cv_lib_socket_connect=no
30471 fi
30472 rm -f conftest.err conftest.$ac_objext \
30473 conftest$ac_exeext conftest.$ac_ext
30474 LIBS=$ac_check_lib_save_LIBS
30475 fi
30476 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30477 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30478 if test $ac_cv_lib_socket_connect = yes; then
30479 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30480 fi
30481
30482 fi
30483
30484 # Guillermo Gomez says -lposix is necessary on A/UX.
30485 echo "$as_me:$LINENO: checking for remove" >&5
30486 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30487 if test "${ac_cv_func_remove+set}" = set; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30489 else
30490 cat >conftest.$ac_ext <<_ACEOF
30491 /* confdefs.h. */
30492 _ACEOF
30493 cat confdefs.h >>conftest.$ac_ext
30494 cat >>conftest.$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30496 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30498 #define remove innocuous_remove
30499
30500 /* System header to define __stub macros and hopefully few prototypes,
30501 which can conflict with char remove (); below.
30502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30503 <limits.h> exists even on freestanding compilers. */
30504
30505 #ifdef __STDC__
30506 # include <limits.h>
30507 #else
30508 # include <assert.h>
30509 #endif
30510
30511 #undef remove
30512
30513 /* Override any gcc2 internal prototype to avoid an error. */
30514 #ifdef __cplusplus
30515 extern "C"
30516 {
30517 #endif
30518 /* We use char because int might match the return type of a gcc2
30519 builtin and then its argument prototype would still apply. */
30520 char remove ();
30521 /* The GNU C library defines this for functions which it implements
30522 to always fail with ENOSYS. Some functions are actually named
30523 something starting with __ and the normal name is an alias. */
30524 #if defined (__stub_remove) || defined (__stub___remove)
30525 choke me
30526 #else
30527 char (*f) () = remove;
30528 #endif
30529 #ifdef __cplusplus
30530 }
30531 #endif
30532
30533 int
30534 main ()
30535 {
30536 return f != remove;
30537 ;
30538 return 0;
30539 }
30540 _ACEOF
30541 rm -f conftest.$ac_objext conftest$ac_exeext
30542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30543 (eval $ac_link) 2>conftest.er1
30544 ac_status=$?
30545 grep -v '^ *+' conftest.er1 >conftest.err
30546 rm -f conftest.er1
30547 cat conftest.err >&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); } &&
30550 { ac_try='test -z "$ac_cxx_werror_flag"
30551 || test ! -s conftest.err'
30552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30553 (eval $ac_try) 2>&5
30554 ac_status=$?
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); }; } &&
30557 { ac_try='test -s conftest$ac_exeext'
30558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559 (eval $ac_try) 2>&5
30560 ac_status=$?
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); }; }; then
30563 ac_cv_func_remove=yes
30564 else
30565 echo "$as_me: failed program was:" >&5
30566 sed 's/^/| /' conftest.$ac_ext >&5
30567
30568 ac_cv_func_remove=no
30569 fi
30570 rm -f conftest.err conftest.$ac_objext \
30571 conftest$ac_exeext conftest.$ac_ext
30572 fi
30573 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30574 echo "${ECHO_T}$ac_cv_func_remove" >&6
30575
30576 if test $ac_cv_func_remove = no; then
30577 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30578 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30579 if test "${ac_cv_lib_posix_remove+set}" = set; then
30580 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 else
30582 ac_check_lib_save_LIBS=$LIBS
30583 LIBS="-lposix $LIBS"
30584 cat >conftest.$ac_ext <<_ACEOF
30585 /* confdefs.h. */
30586 _ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30590
30591 /* Override any gcc2 internal prototype to avoid an error. */
30592 #ifdef __cplusplus
30593 extern "C"
30594 #endif
30595 /* We use char because int might match the return type of a gcc2
30596 builtin and then its argument prototype would still apply. */
30597 char remove ();
30598 int
30599 main ()
30600 {
30601 remove ();
30602 ;
30603 return 0;
30604 }
30605 _ACEOF
30606 rm -f conftest.$ac_objext conftest$ac_exeext
30607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30608 (eval $ac_link) 2>conftest.er1
30609 ac_status=$?
30610 grep -v '^ *+' conftest.er1 >conftest.err
30611 rm -f conftest.er1
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } &&
30615 { ac_try='test -z "$ac_cxx_werror_flag"
30616 || test ! -s conftest.err'
30617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30618 (eval $ac_try) 2>&5
30619 ac_status=$?
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); }; } &&
30622 { ac_try='test -s conftest$ac_exeext'
30623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30624 (eval $ac_try) 2>&5
30625 ac_status=$?
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); }; }; then
30628 ac_cv_lib_posix_remove=yes
30629 else
30630 echo "$as_me: failed program was:" >&5
30631 sed 's/^/| /' conftest.$ac_ext >&5
30632
30633 ac_cv_lib_posix_remove=no
30634 fi
30635 rm -f conftest.err conftest.$ac_objext \
30636 conftest$ac_exeext conftest.$ac_ext
30637 LIBS=$ac_check_lib_save_LIBS
30638 fi
30639 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30640 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30641 if test $ac_cv_lib_posix_remove = yes; then
30642 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30643 fi
30644
30645 fi
30646
30647 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30648 echo "$as_me:$LINENO: checking for shmat" >&5
30649 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30650 if test "${ac_cv_func_shmat+set}" = set; then
30651 echo $ECHO_N "(cached) $ECHO_C" >&6
30652 else
30653 cat >conftest.$ac_ext <<_ACEOF
30654 /* confdefs.h. */
30655 _ACEOF
30656 cat confdefs.h >>conftest.$ac_ext
30657 cat >>conftest.$ac_ext <<_ACEOF
30658 /* end confdefs.h. */
30659 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30661 #define shmat innocuous_shmat
30662
30663 /* System header to define __stub macros and hopefully few prototypes,
30664 which can conflict with char shmat (); below.
30665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30666 <limits.h> exists even on freestanding compilers. */
30667
30668 #ifdef __STDC__
30669 # include <limits.h>
30670 #else
30671 # include <assert.h>
30672 #endif
30673
30674 #undef shmat
30675
30676 /* Override any gcc2 internal prototype to avoid an error. */
30677 #ifdef __cplusplus
30678 extern "C"
30679 {
30680 #endif
30681 /* We use char because int might match the return type of a gcc2
30682 builtin and then its argument prototype would still apply. */
30683 char shmat ();
30684 /* The GNU C library defines this for functions which it implements
30685 to always fail with ENOSYS. Some functions are actually named
30686 something starting with __ and the normal name is an alias. */
30687 #if defined (__stub_shmat) || defined (__stub___shmat)
30688 choke me
30689 #else
30690 char (*f) () = shmat;
30691 #endif
30692 #ifdef __cplusplus
30693 }
30694 #endif
30695
30696 int
30697 main ()
30698 {
30699 return f != shmat;
30700 ;
30701 return 0;
30702 }
30703 _ACEOF
30704 rm -f conftest.$ac_objext conftest$ac_exeext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30706 (eval $ac_link) 2>conftest.er1
30707 ac_status=$?
30708 grep -v '^ *+' conftest.er1 >conftest.err
30709 rm -f conftest.er1
30710 cat conftest.err >&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -z "$ac_cxx_werror_flag"
30714 || test ! -s conftest.err'
30715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30716 (eval $ac_try) 2>&5
30717 ac_status=$?
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; } &&
30720 { ac_try='test -s conftest$ac_exeext'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30723 ac_status=$?
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; }; then
30726 ac_cv_func_shmat=yes
30727 else
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.$ac_ext >&5
30730
30731 ac_cv_func_shmat=no
30732 fi
30733 rm -f conftest.err conftest.$ac_objext \
30734 conftest$ac_exeext conftest.$ac_ext
30735 fi
30736 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30737 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30738
30739 if test $ac_cv_func_shmat = no; then
30740 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30741 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30742 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30743 echo $ECHO_N "(cached) $ECHO_C" >&6
30744 else
30745 ac_check_lib_save_LIBS=$LIBS
30746 LIBS="-lipc $LIBS"
30747 cat >conftest.$ac_ext <<_ACEOF
30748 /* confdefs.h. */
30749 _ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30753
30754 /* Override any gcc2 internal prototype to avoid an error. */
30755 #ifdef __cplusplus
30756 extern "C"
30757 #endif
30758 /* We use char because int might match the return type of a gcc2
30759 builtin and then its argument prototype would still apply. */
30760 char shmat ();
30761 int
30762 main ()
30763 {
30764 shmat ();
30765 ;
30766 return 0;
30767 }
30768 _ACEOF
30769 rm -f conftest.$ac_objext conftest$ac_exeext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30771 (eval $ac_link) 2>conftest.er1
30772 ac_status=$?
30773 grep -v '^ *+' conftest.er1 >conftest.err
30774 rm -f conftest.er1
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -z "$ac_cxx_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30782 ac_status=$?
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try='test -s conftest$ac_exeext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30791 ac_cv_lib_ipc_shmat=yes
30792 else
30793 echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.$ac_ext >&5
30795
30796 ac_cv_lib_ipc_shmat=no
30797 fi
30798 rm -f conftest.err conftest.$ac_objext \
30799 conftest$ac_exeext conftest.$ac_ext
30800 LIBS=$ac_check_lib_save_LIBS
30801 fi
30802 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30803 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30804 if test $ac_cv_lib_ipc_shmat = yes; then
30805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30806 fi
30807
30808 fi
30809 fi
30810
30811 # Check for libraries that X11R6 Xt/Xaw programs need.
30812 ac_save_LDFLAGS=$LDFLAGS
30813 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30814 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30815 # check for ICE first), but we must link in the order -lSM -lICE or
30816 # we get undefined symbols. So assume we have SM if we have ICE.
30817 # These have to be linked with before -lX11, unlike the other
30818 # libraries we check for below, so use a different variable.
30819 # John Interrante, Karl Berry
30820 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30821 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30822 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30823 echo $ECHO_N "(cached) $ECHO_C" >&6
30824 else
30825 ac_check_lib_save_LIBS=$LIBS
30826 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30827 cat >conftest.$ac_ext <<_ACEOF
30828 /* confdefs.h. */
30829 _ACEOF
30830 cat confdefs.h >>conftest.$ac_ext
30831 cat >>conftest.$ac_ext <<_ACEOF
30832 /* end confdefs.h. */
30833
30834 /* Override any gcc2 internal prototype to avoid an error. */
30835 #ifdef __cplusplus
30836 extern "C"
30837 #endif
30838 /* We use char because int might match the return type of a gcc2
30839 builtin and then its argument prototype would still apply. */
30840 char IceConnectionNumber ();
30841 int
30842 main ()
30843 {
30844 IceConnectionNumber ();
30845 ;
30846 return 0;
30847 }
30848 _ACEOF
30849 rm -f conftest.$ac_objext conftest$ac_exeext
30850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30851 (eval $ac_link) 2>conftest.er1
30852 ac_status=$?
30853 grep -v '^ *+' conftest.er1 >conftest.err
30854 rm -f conftest.er1
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } &&
30858 { ac_try='test -z "$ac_cxx_werror_flag"
30859 || test ! -s conftest.err'
30860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30862 ac_status=$?
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; } &&
30865 { ac_try='test -s conftest$ac_exeext'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30868 ac_status=$?
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; }; then
30871 ac_cv_lib_ICE_IceConnectionNumber=yes
30872 else
30873 echo "$as_me: failed program was:" >&5
30874 sed 's/^/| /' conftest.$ac_ext >&5
30875
30876 ac_cv_lib_ICE_IceConnectionNumber=no
30877 fi
30878 rm -f conftest.err conftest.$ac_objext \
30879 conftest$ac_exeext conftest.$ac_ext
30880 LIBS=$ac_check_lib_save_LIBS
30881 fi
30882 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30883 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30884 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30885 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30886 fi
30887
30888 LDFLAGS=$ac_save_LDFLAGS
30889
30890 fi
30891
30892
30893 if test "$no_x" = "yes"; then
30894 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30895 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30896 { (exit 1); exit 1; }; }
30897 fi
30898
30899 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30900 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30901 AFMINSTALL=afminstall
30902 COMPILED_X_PROGRAM=0
30903
30904 fi
30905
30906 if test "$wxUSE_X11" = 1; then
30907 if test "$wxUSE_NANOX" = "yes"; then
30908 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30909 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30910 if test "x$MICROWIN" = x ; then
30911 echo "$as_me:$LINENO: result: not found" >&5
30912 echo "${ECHO_T}not found" >&6
30913 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30914 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30915 { (exit 1); exit 1; }; }
30916 else
30917 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30918 echo "${ECHO_T}$MICROWIN" >&6
30919 cat >>confdefs.h <<\_ACEOF
30920 #define wxUSE_NANOX 1
30921 _ACEOF
30922
30923 fi
30924 fi
30925
30926 if test "$wxUSE_UNICODE" = "yes"; then
30927
30928 pkg_failed=no
30929 echo "$as_me:$LINENO: checking for PANGOX" >&5
30930 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30931
30932 if test -n "$PKG_CONFIG"; then
30933 if test -n "$PANGOX_CFLAGS"; then
30934 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30935 else
30936 if test -n "$PKG_CONFIG" && \
30937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30938 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30939 ac_status=$?
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; then
30942 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30943 else
30944 pkg_failed=yes
30945 fi
30946 fi
30947 else
30948 pkg_failed=untried
30949 fi
30950 if test -n "$PKG_CONFIG"; then
30951 if test -n "$PANGOX_LIBS"; then
30952 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30953 else
30954 if test -n "$PKG_CONFIG" && \
30955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30956 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; then
30960 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30961 else
30962 pkg_failed=yes
30963 fi
30964 fi
30965 else
30966 pkg_failed=untried
30967 fi
30968
30969
30970
30971 if test $pkg_failed = yes; then
30972
30973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30974 _pkg_short_errors_supported=yes
30975 else
30976 _pkg_short_errors_supported=no
30977 fi
30978 if test $_pkg_short_errors_supported = yes; then
30979 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30980 else
30981 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30982 fi
30983 # Put the nasty error message in config.log where it belongs
30984 echo "$PANGOX_PKG_ERRORS" >&5
30985
30986
30987 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30988 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30989 { (exit 1); exit 1; }; }
30990
30991
30992 elif test $pkg_failed = untried; then
30993
30994 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30995 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30996 { (exit 1); exit 1; }; }
30997
30998
30999 else
31000 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31001 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31002 echo "$as_me:$LINENO: result: yes" >&5
31003 echo "${ECHO_T}yes" >&6
31004
31005 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31007
31008 fi
31009
31010 pkg_failed=no
31011 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31012 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31013
31014 if test -n "$PKG_CONFIG"; then
31015 if test -n "$PANGOFT2_CFLAGS"; then
31016 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31017 else
31018 if test -n "$PKG_CONFIG" && \
31019 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31020 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31021 ac_status=$?
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); }; then
31024 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31025 else
31026 pkg_failed=yes
31027 fi
31028 fi
31029 else
31030 pkg_failed=untried
31031 fi
31032 if test -n "$PKG_CONFIG"; then
31033 if test -n "$PANGOFT2_LIBS"; then
31034 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31035 else
31036 if test -n "$PKG_CONFIG" && \
31037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31038 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31039 ac_status=$?
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; then
31042 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31043 else
31044 pkg_failed=yes
31045 fi
31046 fi
31047 else
31048 pkg_failed=untried
31049 fi
31050
31051
31052
31053 if test $pkg_failed = yes; then
31054
31055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31056 _pkg_short_errors_supported=yes
31057 else
31058 _pkg_short_errors_supported=no
31059 fi
31060 if test $_pkg_short_errors_supported = yes; then
31061 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31062 else
31063 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31064 fi
31065 # Put the nasty error message in config.log where it belongs
31066 echo "$PANGOFT2_PKG_ERRORS" >&5
31067
31068
31069 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31070 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31071 wxUSE_PRINTING_ARCHITECTURE="no"
31072
31073
31074 elif test $pkg_failed = untried; then
31075
31076 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31077 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31078 wxUSE_PRINTING_ARCHITECTURE="no"
31079
31080
31081 else
31082 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31083 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31084 echo "$as_me:$LINENO: result: yes" >&5
31085 echo "${ECHO_T}yes" >&6
31086
31087 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31088 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31089
31090 fi
31091
31092 pkg_failed=no
31093 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31094 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31095
31096 if test -n "$PKG_CONFIG"; then
31097 if test -n "$PANGOXFT_CFLAGS"; then
31098 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31099 else
31100 if test -n "$PKG_CONFIG" && \
31101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31102 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31103 ac_status=$?
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; then
31106 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31107 else
31108 pkg_failed=yes
31109 fi
31110 fi
31111 else
31112 pkg_failed=untried
31113 fi
31114 if test -n "$PKG_CONFIG"; then
31115 if test -n "$PANGOXFT_LIBS"; then
31116 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31117 else
31118 if test -n "$PKG_CONFIG" && \
31119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31120 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31121 ac_status=$?
31122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31123 (exit $ac_status); }; then
31124 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31125 else
31126 pkg_failed=yes
31127 fi
31128 fi
31129 else
31130 pkg_failed=untried
31131 fi
31132
31133
31134
31135 if test $pkg_failed = yes; then
31136
31137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31138 _pkg_short_errors_supported=yes
31139 else
31140 _pkg_short_errors_supported=no
31141 fi
31142 if test $_pkg_short_errors_supported = yes; then
31143 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31144 else
31145 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31146 fi
31147 # Put the nasty error message in config.log where it belongs
31148 echo "$PANGOXFT_PKG_ERRORS" >&5
31149
31150
31151 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31152 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31153
31154
31155 elif test $pkg_failed = untried; then
31156
31157 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31158 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31159
31160
31161 else
31162 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31163 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31164 echo "$as_me:$LINENO: result: yes" >&5
31165 echo "${ECHO_T}yes" >&6
31166
31167 cat >>confdefs.h <<\_ACEOF
31168 #define HAVE_PANGO_XFT 1
31169 _ACEOF
31170
31171 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31173
31174 fi
31175 save_CXXFLAGS="$CXXFLAGS"
31176 save_LIBS="$LIBS"
31177 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31178 LIBS="$LIBS $PANGOX_LIBS"
31179
31180 for ac_func in pango_font_family_is_monospace
31181 do
31182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31183 echo "$as_me:$LINENO: checking for $ac_func" >&5
31184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31185 if eval "test \"\${$as_ac_var+set}\" = set"; then
31186 echo $ECHO_N "(cached) $ECHO_C" >&6
31187 else
31188 cat >conftest.$ac_ext <<_ACEOF
31189 /* confdefs.h. */
31190 _ACEOF
31191 cat confdefs.h >>conftest.$ac_ext
31192 cat >>conftest.$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31196 #define $ac_func innocuous_$ac_func
31197
31198 /* System header to define __stub macros and hopefully few prototypes,
31199 which can conflict with char $ac_func (); below.
31200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31201 <limits.h> exists even on freestanding compilers. */
31202
31203 #ifdef __STDC__
31204 # include <limits.h>
31205 #else
31206 # include <assert.h>
31207 #endif
31208
31209 #undef $ac_func
31210
31211 /* Override any gcc2 internal prototype to avoid an error. */
31212 #ifdef __cplusplus
31213 extern "C"
31214 {
31215 #endif
31216 /* We use char because int might match the return type of a gcc2
31217 builtin and then its argument prototype would still apply. */
31218 char $ac_func ();
31219 /* The GNU C library defines this for functions which it implements
31220 to always fail with ENOSYS. Some functions are actually named
31221 something starting with __ and the normal name is an alias. */
31222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31223 choke me
31224 #else
31225 char (*f) () = $ac_func;
31226 #endif
31227 #ifdef __cplusplus
31228 }
31229 #endif
31230
31231 int
31232 main ()
31233 {
31234 return f != $ac_func;
31235 ;
31236 return 0;
31237 }
31238 _ACEOF
31239 rm -f conftest.$ac_objext conftest$ac_exeext
31240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31241 (eval $ac_link) 2>conftest.er1
31242 ac_status=$?
31243 grep -v '^ *+' conftest.er1 >conftest.err
31244 rm -f conftest.er1
31245 cat conftest.err >&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } &&
31248 { ac_try='test -z "$ac_cxx_werror_flag"
31249 || test ! -s conftest.err'
31250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31251 (eval $ac_try) 2>&5
31252 ac_status=$?
31253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254 (exit $ac_status); }; } &&
31255 { ac_try='test -s conftest$ac_exeext'
31256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31257 (eval $ac_try) 2>&5
31258 ac_status=$?
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; }; then
31261 eval "$as_ac_var=yes"
31262 else
31263 echo "$as_me: failed program was:" >&5
31264 sed 's/^/| /' conftest.$ac_ext >&5
31265
31266 eval "$as_ac_var=no"
31267 fi
31268 rm -f conftest.err conftest.$ac_objext \
31269 conftest$ac_exeext conftest.$ac_ext
31270 fi
31271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31273 if test `eval echo '${'$as_ac_var'}'` = yes; then
31274 cat >>confdefs.h <<_ACEOF
31275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31276 _ACEOF
31277
31278 fi
31279 done
31280
31281 CXXFLAGS="$save_CXXFLAGS"
31282 LIBS="$save_LIBS"
31283 fi
31284
31285 wxUSE_UNIVERSAL="yes"
31286
31287 if test "$wxUSE_NANOX" = "yes"; then
31288 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31289 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"
31290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31291 else
31292 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31293 fi
31294
31295 TOOLKIT=X11
31296 GUIDIST=X11_DIST
31297 fi
31298
31299 if test "$wxUSE_MOTIF" = 1; then
31300 if test "$wxUSE_UNICODE" = "yes"; then
31301 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31302 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31303 { (exit 1); exit 1; }; }
31304 fi
31305
31306 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31307 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31308
31309 ac_find_includes=
31310 for ac_dir in $SEARCH_INCLUDE /usr/include;
31311 do
31312 if test -f "$ac_dir/Xm/Xm.h"; then
31313 ac_find_includes=$ac_dir
31314 break
31315 fi
31316 done
31317
31318 if test "$ac_find_includes" != "" ; then
31319 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31320 echo "${ECHO_T}found in $ac_find_includes" >&6
31321
31322 if test "x$ac_find_includes" = "x/usr/include"; then
31323 ac_path_to_include=""
31324 else
31325 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31326 result=$?
31327 if test $result = 0; then
31328 ac_path_to_include=""
31329 else
31330 ac_path_to_include=" -I$ac_find_includes"
31331 fi
31332 fi
31333
31334 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31335 else
31336 save_CXXFLAGS=$CXXFLAGS
31337 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31338
31339 cat >conftest.$ac_ext <<_ACEOF
31340 /* confdefs.h. */
31341 _ACEOF
31342 cat confdefs.h >>conftest.$ac_ext
31343 cat >>conftest.$ac_ext <<_ACEOF
31344 /* end confdefs.h. */
31345
31346 #include <Xm/Xm.h>
31347
31348 int
31349 main ()
31350 {
31351
31352 int version;
31353 version = xmUseVersion;
31354
31355 ;
31356 return 0;
31357 }
31358 _ACEOF
31359 rm -f conftest.$ac_objext
31360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31361 (eval $ac_compile) 2>conftest.er1
31362 ac_status=$?
31363 grep -v '^ *+' conftest.er1 >conftest.err
31364 rm -f conftest.er1
31365 cat conftest.err >&5
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); } &&
31368 { ac_try='test -z "$ac_cxx_werror_flag"
31369 || test ! -s conftest.err'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31372 ac_status=$?
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; } &&
31375 { ac_try='test -s conftest.$ac_objext'
31376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31377 (eval $ac_try) 2>&5
31378 ac_status=$?
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); }; }; then
31381
31382 echo "$as_me:$LINENO: result: found in default search path" >&5
31383 echo "${ECHO_T}found in default search path" >&6
31384 COMPILED_X_PROGRAM=1
31385
31386 else
31387 echo "$as_me: failed program was:" >&5
31388 sed 's/^/| /' conftest.$ac_ext >&5
31389
31390
31391 echo "$as_me:$LINENO: result: no" >&5
31392 echo "${ECHO_T}no" >&6
31393 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31394 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31395 { (exit 1); exit 1; }; }
31396
31397
31398 fi
31399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31400
31401 CXXFLAGS=$save_CXXFLAGS
31402 fi
31403
31404
31405 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31406 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31407
31408 ac_find_libraries=
31409 for ac_dir in $SEARCH_LIB;
31410 do
31411 for ac_extension in a so sl dylib dll.a; do
31412 if test -f "$ac_dir/libXm.$ac_extension"; then
31413 ac_find_libraries=$ac_dir
31414 break 2
31415 fi
31416 done
31417 done
31418
31419
31420 if test "x$ac_find_libraries" != "x" ; then
31421 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31422 echo "${ECHO_T}found in $ac_find_libraries" >&6
31423
31424
31425 if test "$ac_find_libraries" = "default location"; then
31426 ac_path_to_link=""
31427 else
31428 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31429 result=$?
31430 if test $result = 0; then
31431 ac_path_to_link=""
31432 else
31433 ac_path_to_link=" -L$ac_find_libraries"
31434 fi
31435 fi
31436
31437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31438 else
31439 save_CXXFLAGS=$CXXFLAGS
31440 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31441 save_LIBS="$LIBS"
31442 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31443
31444 cat >conftest.$ac_ext <<_ACEOF
31445 /* confdefs.h. */
31446 _ACEOF
31447 cat confdefs.h >>conftest.$ac_ext
31448 cat >>conftest.$ac_ext <<_ACEOF
31449 /* end confdefs.h. */
31450
31451 #include <Xm/Xm.h>
31452
31453 int
31454 main ()
31455 {
31456
31457 int version;
31458 version = xmUseVersion;
31459
31460 ;
31461 return 0;
31462 }
31463 _ACEOF
31464 rm -f conftest.$ac_objext conftest$ac_exeext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31466 (eval $ac_link) 2>conftest.er1
31467 ac_status=$?
31468 grep -v '^ *+' conftest.er1 >conftest.err
31469 rm -f conftest.er1
31470 cat conftest.err >&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -z "$ac_cxx_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31477 ac_status=$?
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try='test -s conftest$ac_exeext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31483 ac_status=$?
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31486
31487 echo "$as_me:$LINENO: result: found in default search path" >&5
31488 echo "${ECHO_T}found in default search path" >&6
31489 COMPILED_X_PROGRAM=1
31490
31491 else
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.$ac_ext >&5
31494
31495
31496 echo "$as_me:$LINENO: result: no" >&5
31497 echo "${ECHO_T}no" >&6
31498 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31499 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31500 { (exit 1); exit 1; }; }
31501
31502
31503 fi
31504 rm -f conftest.err conftest.$ac_objext \
31505 conftest$ac_exeext conftest.$ac_ext
31506
31507 CXXFLAGS=$save_CXXFLAGS
31508 LIBS="$save_LIBS"
31509 fi
31510
31511 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31512 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31513 libp_link=""
31514 libsm_ice_link=""
31515 libs_found=0
31516 for libp in "" " -lXp"; do
31517 if test "$libs_found" = "0"; then
31518 for libsm_ice in "" " -lSM -lICE"; do
31519 if test "$libs_found" = "0"; then
31520 save_LIBS="$LIBS"
31521 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31522 save_CXXFLAGS=$CXXFLAGS
31523 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31524
31525 cat >conftest.$ac_ext <<_ACEOF
31526 /* confdefs.h. */
31527 _ACEOF
31528 cat confdefs.h >>conftest.$ac_ext
31529 cat >>conftest.$ac_ext <<_ACEOF
31530 /* end confdefs.h. */
31531
31532 #include <Xm/Xm.h>
31533 #include <Xm/List.h>
31534
31535 int
31536 main ()
31537 {
31538
31539 XmString string = NULL;
31540 Widget w = NULL;
31541 int position = 0;
31542 XmListAddItem(w, string, position);
31543
31544 ;
31545 return 0;
31546 }
31547 _ACEOF
31548 rm -f conftest.$ac_objext conftest$ac_exeext
31549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31550 (eval $ac_link) 2>conftest.er1
31551 ac_status=$?
31552 grep -v '^ *+' conftest.er1 >conftest.err
31553 rm -f conftest.er1
31554 cat conftest.err >&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); } &&
31557 { ac_try='test -z "$ac_cxx_werror_flag"
31558 || test ! -s conftest.err'
31559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31560 (eval $ac_try) 2>&5
31561 ac_status=$?
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; } &&
31564 { ac_try='test -s conftest$ac_exeext'
31565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31566 (eval $ac_try) 2>&5
31567 ac_status=$?
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; }; then
31570
31571 libp_link="$libp"
31572 libsm_ice_link="$libsm_ice"
31573 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31574 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31575 libs_found=1
31576
31577 else
31578 echo "$as_me: failed program was:" >&5
31579 sed 's/^/| /' conftest.$ac_ext >&5
31580
31581
31582
31583 fi
31584 rm -f conftest.err conftest.$ac_objext \
31585 conftest$ac_exeext conftest.$ac_ext
31586
31587 LIBS="$save_LIBS"
31588 CXXFLAGS=$save_CXXFLAGS
31589 fi
31590 done
31591 fi
31592 done
31593
31594 if test "$libs_found" = "0"; then
31595 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31596 echo "${ECHO_T}can't find the right libraries" >&6
31597 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31598 echo "$as_me: error: can't link a simple motif program" >&2;}
31599 { (exit 1); exit 1; }; }
31600 fi
31601
31602 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31603 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31604 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31605 echo $ECHO_N "(cached) $ECHO_C" >&6
31606 else
31607 ac_check_lib_save_LIBS=$LIBS
31608 LIBS="-lSgm $LIBS"
31609 cat >conftest.$ac_ext <<_ACEOF
31610 /* confdefs.h. */
31611 _ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615
31616 /* Override any gcc2 internal prototype to avoid an error. */
31617 #ifdef __cplusplus
31618 extern "C"
31619 #endif
31620 /* We use char because int might match the return type of a gcc2
31621 builtin and then its argument prototype would still apply. */
31622 char SgCreateList ();
31623 int
31624 main ()
31625 {
31626 SgCreateList ();
31627 ;
31628 return 0;
31629 }
31630 _ACEOF
31631 rm -f conftest.$ac_objext conftest$ac_exeext
31632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31633 (eval $ac_link) 2>conftest.er1
31634 ac_status=$?
31635 grep -v '^ *+' conftest.er1 >conftest.err
31636 rm -f conftest.er1
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } &&
31640 { ac_try='test -z "$ac_cxx_werror_flag"
31641 || test ! -s conftest.err'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; } &&
31647 { ac_try='test -s conftest$ac_exeext'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; }; then
31653 ac_cv_lib_Sgm_SgCreateList=yes
31654 else
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31657
31658 ac_cv_lib_Sgm_SgCreateList=no
31659 fi
31660 rm -f conftest.err conftest.$ac_objext \
31661 conftest$ac_exeext conftest.$ac_ext
31662 LIBS=$ac_check_lib_save_LIBS
31663 fi
31664 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31665 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31666 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31667 libsgm_link=" -lSgm"
31668 fi
31669
31670
31671 save_CXXFLAGS=$CXXFLAGS
31672 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31673
31674 echo "$as_me:$LINENO: checking for Motif 2" >&5
31675 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31676 if test "${wx_cv_lib_motif2+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31679 cat >conftest.$ac_ext <<_ACEOF
31680 /* confdefs.h. */
31681 _ACEOF
31682 cat confdefs.h >>conftest.$ac_ext
31683 cat >>conftest.$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31685
31686 #include <Xm/Xm.h>
31687
31688 int
31689 main ()
31690 {
31691
31692 #if XmVersion < 2000
31693 Not Motif 2
31694 #endif
31695
31696 ;
31697 return 0;
31698 }
31699 _ACEOF
31700 rm -f conftest.$ac_objext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31702 (eval $ac_compile) 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try='test -z "$ac_cxx_werror_flag"
31710 || test ! -s conftest.err'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31713 ac_status=$?
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; } &&
31716 { ac_try='test -s conftest.$ac_objext'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31719 ac_status=$?
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; }; then
31722 wx_cv_lib_motif2="yes"
31723 else
31724 echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.$ac_ext >&5
31726
31727 wx_cv_lib_motif2="no"
31728 fi
31729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31730 fi
31731 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31732 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31733 if test "$wx_cv_lib_motif2" = "yes"; then
31734 cat >>confdefs.h <<\_ACEOF
31735 #define __WXMOTIF20__ 1
31736 _ACEOF
31737
31738 else
31739 cat >>confdefs.h <<\_ACEOF
31740 #define __WXMOTIF20__ 0
31741 _ACEOF
31742
31743 fi
31744
31745 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31746 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31747 if test "${wx_cv_lib_lesstif+set}" = set; then
31748 echo $ECHO_N "(cached) $ECHO_C" >&6
31749 else
31750 cat >conftest.$ac_ext <<_ACEOF
31751 /* confdefs.h. */
31752 _ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31756
31757 #include <Xm/Xm.h>
31758
31759 int
31760 main ()
31761 {
31762
31763 #if !defined(LesstifVersion) || LesstifVersion <= 0
31764 Not Lesstif
31765 #endif
31766
31767 ;
31768 return 0;
31769 }
31770 _ACEOF
31771 rm -f conftest.$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>conftest.er1
31774 ac_status=$?
31775 grep -v '^ *+' conftest.er1 >conftest.err
31776 rm -f conftest.er1
31777 cat conftest.err >&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); } &&
31780 { ac_try='test -z "$ac_cxx_werror_flag"
31781 || test ! -s conftest.err'
31782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783 (eval $ac_try) 2>&5
31784 ac_status=$?
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; } &&
31787 { ac_try='test -s conftest.$ac_objext'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31790 ac_status=$?
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; }; then
31793 wx_cv_lib_lesstif="yes"
31794 else
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31797
31798 wx_cv_lib_lesstif="no"
31799 fi
31800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31801
31802 fi
31803 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31804 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31805 if test "$wx_cv_lib_lesstif" = "yes"; then
31806 cat >>confdefs.h <<\_ACEOF
31807 #define __WXLESSTIF__ 1
31808 _ACEOF
31809
31810 else
31811 cat >>confdefs.h <<\_ACEOF
31812 #define __WXLESSTIF__ 0
31813 _ACEOF
31814
31815 fi
31816
31817 CXXFLAGS=$save_CXXFLAGS
31818
31819 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31820 TOOLKIT=MOTIF
31821 GUIDIST=MOTIF_DIST
31822 fi
31823
31824 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31825 if test "$wxUSE_LIBXPM" = "sys"; then
31826 echo "$as_me:$LINENO: checking for Xpm library" >&5
31827 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31828
31829 ac_find_libraries=
31830 for ac_dir in $SEARCH_LIB;
31831 do
31832 for ac_extension in a so sl dylib dll.a; do
31833 if test -f "$ac_dir/libXpm.$ac_extension"; then
31834 ac_find_libraries=$ac_dir
31835 break 2
31836 fi
31837 done
31838 done
31839
31840 if test "$ac_find_libraries" != "" ; then
31841
31842 if test "$ac_find_libraries" = "default location"; then
31843 ac_path_to_link=""
31844 else
31845 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31846 result=$?
31847 if test $result = 0; then
31848 ac_path_to_link=""
31849 else
31850 ac_path_to_link=" -L$ac_find_libraries"
31851 fi
31852 fi
31853
31854 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31855 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31856 echo "${ECHO_T}found in $ac_find_libraries" >&6
31857
31858 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31859 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31860 if test "${wx_cv_x11_xpm_h+set}" = set; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31862 else
31863
31864 save_CXXFLAGS=$CXXFLAGS
31865 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31866
31867 cat >conftest.$ac_ext <<_ACEOF
31868 /* confdefs.h. */
31869 _ACEOF
31870 cat confdefs.h >>conftest.$ac_ext
31871 cat >>conftest.$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31873
31874 #include <X11/xpm.h>
31875
31876 int
31877 main ()
31878 {
31879
31880 int version;
31881 version = XpmLibraryVersion();
31882
31883 ;
31884 return 0;
31885 }
31886 _ACEOF
31887 rm -f conftest.$ac_objext
31888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31889 (eval $ac_compile) 2>conftest.er1
31890 ac_status=$?
31891 grep -v '^ *+' conftest.er1 >conftest.err
31892 rm -f conftest.er1
31893 cat conftest.err >&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); } &&
31896 { ac_try='test -z "$ac_cxx_werror_flag"
31897 || test ! -s conftest.err'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31900 ac_status=$?
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; } &&
31903 { ac_try='test -s conftest.$ac_objext'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31906 ac_status=$?
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; }; then
31909 wx_cv_x11_xpm_h=yes
31910 else
31911 echo "$as_me: failed program was:" >&5
31912 sed 's/^/| /' conftest.$ac_ext >&5
31913
31914 wx_cv_x11_xpm_h=no
31915
31916 fi
31917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31918
31919 CXXFLAGS=$save_CXXFLAGS
31920
31921
31922 fi
31923 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31924 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31925
31926 if test $wx_cv_x11_xpm_h = "yes"; then
31927 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31928 cat >>confdefs.h <<\_ACEOF
31929 #define wxHAVE_LIB_XPM 1
31930 _ACEOF
31931
31932 else
31933 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31934 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31935 fi
31936 fi
31937
31938 fi
31939
31940 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31941 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31942 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31943 echo $ECHO_N "(cached) $ECHO_C" >&6
31944 else
31945 ac_check_lib_save_LIBS=$LIBS
31946 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31947 cat >conftest.$ac_ext <<_ACEOF
31948 /* confdefs.h. */
31949 _ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31953
31954 /* Override any gcc2 internal prototype to avoid an error. */
31955 #ifdef __cplusplus
31956 extern "C"
31957 #endif
31958 /* We use char because int might match the return type of a gcc2
31959 builtin and then its argument prototype would still apply. */
31960 char XShapeQueryExtension ();
31961 int
31962 main ()
31963 {
31964 XShapeQueryExtension ();
31965 ;
31966 return 0;
31967 }
31968 _ACEOF
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971 (eval $ac_link) 2>conftest.er1
31972 ac_status=$?
31973 grep -v '^ *+' conftest.er1 >conftest.err
31974 rm -f conftest.er1
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } &&
31978 { ac_try='test -z "$ac_cxx_werror_flag"
31979 || test ! -s conftest.err'
31980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981 (eval $ac_try) 2>&5
31982 ac_status=$?
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; } &&
31985 { ac_try='test -s conftest$ac_exeext'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31988 ac_status=$?
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 ac_cv_lib_Xext_XShapeQueryExtension=yes
31992 else
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.$ac_ext >&5
31995
31996 ac_cv_lib_Xext_XShapeQueryExtension=no
31997 fi
31998 rm -f conftest.err conftest.$ac_objext \
31999 conftest$ac_exeext conftest.$ac_ext
32000 LIBS=$ac_check_lib_save_LIBS
32001 fi
32002 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32003 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32004 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32005
32006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32007 wxHAVE_XEXT_LIB=1
32008
32009 fi
32010
32011
32012 if test "$wxHAVE_XEXT_LIB" = 1; then
32013 save_CXXFLAGS="$CXXFLAGS"
32014 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32015
32016 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32017 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32018 cat >conftest.$ac_ext <<_ACEOF
32019 /* confdefs.h. */
32020 _ACEOF
32021 cat confdefs.h >>conftest.$ac_ext
32022 cat >>conftest.$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32024
32025 #include <X11/Xlib.h>
32026 #include <X11/extensions/shape.h>
32027
32028 int
32029 main ()
32030 {
32031
32032 int dummy1, dummy2;
32033 XShapeQueryExtension((Display*)NULL,
32034 (int*)NULL, (int*)NULL);
32035
32036 ;
32037 return 0;
32038 }
32039 _ACEOF
32040 rm -f conftest.$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042 (eval $ac_compile) 2>conftest.er1
32043 ac_status=$?
32044 grep -v '^ *+' conftest.er1 >conftest.err
32045 rm -f conftest.er1
32046 cat conftest.err >&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); } &&
32049 { ac_try='test -z "$ac_cxx_werror_flag"
32050 || test ! -s conftest.err'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32053 ac_status=$?
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; } &&
32056 { ac_try='test -s conftest.$ac_objext'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32059 ac_status=$?
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; }; then
32062
32063 cat >>confdefs.h <<\_ACEOF
32064 #define HAVE_XSHAPE 1
32065 _ACEOF
32066
32067 echo "$as_me:$LINENO: result: found" >&5
32068 echo "${ECHO_T}found" >&6
32069
32070 else
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.$ac_ext >&5
32073
32074
32075 echo "$as_me:$LINENO: result: not found" >&5
32076 echo "${ECHO_T}not found" >&6
32077
32078 fi
32079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32080 CXXFLAGS="$save_CXXFLAGS"
32081
32082 fi
32083 fi
32084
32085 if test "$wxUSE_MAC" = 1; then
32086 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32087 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32088 if test "$GCC" = yes; then
32089 echo "$as_me:$LINENO: result: gcc" >&5
32090 echo "${ECHO_T}gcc" >&6
32091 CPPFLAGS_PASCAL="-fpascal-strings"
32092 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32093 echo "$as_me:$LINENO: result: xlc" >&5
32094 echo "${ECHO_T}xlc" >&6
32095 CPPFLAGS_PASCAL="-qmacpstr"
32096 else
32097 echo "$as_me:$LINENO: result: none" >&5
32098 echo "${ECHO_T}none" >&6
32099 fi
32100
32101 if test "x$wxUSE_UNIX" = "xyes"; then
32102 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32103 else
32104 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32105 fi
32106
32107 TOOLKIT=MAC
32108 GUIDIST=MACX_DIST
32109 WXBASEPORT="_carbon"
32110 fi
32111
32112 if test "$wxUSE_COCOA" = 1; then
32113 TOOLKIT=COCOA
32114 GUIDIST=COCOA_DIST
32115 fi
32116
32117 if test "$wxUSE_PM" = 1; then
32118 TOOLKIT=PM
32119 GUIDIST=PM_DIST
32120 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32121 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32122 if test "${wx_cv_spbcdata+set}" = set; then
32123 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 else
32125
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132
32133 #define INCL_PM
32134 #include <os2.h>
32135
32136 int
32137 main ()
32138 {
32139
32140 SPBCDATA test;
32141
32142 ;
32143 return 0;
32144 }
32145 _ACEOF
32146 rm -f conftest.$ac_objext
32147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32148 (eval $ac_compile) 2>conftest.er1
32149 ac_status=$?
32150 grep -v '^ *+' conftest.er1 >conftest.err
32151 rm -f conftest.er1
32152 cat conftest.err >&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } &&
32155 { ac_try='test -z "$ac_cxx_werror_flag"
32156 || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32159 ac_status=$?
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try='test -s conftest.$ac_objext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32165 ac_status=$?
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 wx_cv_spbcdata=yes
32169 else
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.$ac_ext >&5
32172
32173 wx_cv_spbcdata=no
32174
32175 fi
32176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32177
32178
32179 fi
32180 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32181 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32182
32183 if test $wx_cv_spbcdata = "yes"; then
32184 cat >>confdefs.h <<\_ACEOF
32185 #define HAVE_SPBCDATA 1
32186 _ACEOF
32187
32188 fi
32189 fi
32190
32191 if test "$TOOLKIT" = "PM" ; then
32192 TOOLKIT_DIR="os2"
32193 else
32194 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32195 fi
32196
32197 if test "$wxUSE_UNIVERSAL" = "yes"; then
32198 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32199 WIDGET_SET=univ
32200 fi
32201
32202 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32203 DISTDIR="wx\$(TOOLKIT)"
32204 else
32205 USE_GUI=0
32206
32207 TOOLKIT_DIR="base"
32208
32209 if test "$USE_WIN32" = 1 ; then
32210 TOOLKIT="MSW"
32211 fi
32212
32213 GUIDIST="BASE_DIST"
32214 DISTDIR="wxBase"
32215 fi
32216
32217
32218 if test "$wxUSE_GUI" = "yes"; then
32219 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32220
32221 for ac_header in X11/Xlib.h
32222 do
32223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32225 echo "$as_me:$LINENO: checking for $ac_header" >&5
32226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32229 fi
32230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32232 else
32233 # Is the header compilable?
32234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32236 cat >conftest.$ac_ext <<_ACEOF
32237 /* confdefs.h. */
32238 _ACEOF
32239 cat confdefs.h >>conftest.$ac_ext
32240 cat >>conftest.$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 $ac_includes_default
32243 #include <$ac_header>
32244 _ACEOF
32245 rm -f conftest.$ac_objext
32246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32247 (eval $ac_compile) 2>conftest.er1
32248 ac_status=$?
32249 grep -v '^ *+' conftest.er1 >conftest.err
32250 rm -f conftest.er1
32251 cat conftest.err >&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); } &&
32254 { ac_try='test -z "$ac_cxx_werror_flag"
32255 || test ! -s conftest.err'
32256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32257 (eval $ac_try) 2>&5
32258 ac_status=$?
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); }; } &&
32261 { ac_try='test -s conftest.$ac_objext'
32262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32263 (eval $ac_try) 2>&5
32264 ac_status=$?
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); }; }; then
32267 ac_header_compiler=yes
32268 else
32269 echo "$as_me: failed program was:" >&5
32270 sed 's/^/| /' conftest.$ac_ext >&5
32271
32272 ac_header_compiler=no
32273 fi
32274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32276 echo "${ECHO_T}$ac_header_compiler" >&6
32277
32278 # Is the header present?
32279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32281 cat >conftest.$ac_ext <<_ACEOF
32282 /* confdefs.h. */
32283 _ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287 #include <$ac_header>
32288 _ACEOF
32289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32291 ac_status=$?
32292 grep -v '^ *+' conftest.er1 >conftest.err
32293 rm -f conftest.er1
32294 cat conftest.err >&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } >/dev/null; then
32297 if test -s conftest.err; then
32298 ac_cpp_err=$ac_cxx_preproc_warn_flag
32299 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32300 else
32301 ac_cpp_err=
32302 fi
32303 else
32304 ac_cpp_err=yes
32305 fi
32306 if test -z "$ac_cpp_err"; then
32307 ac_header_preproc=yes
32308 else
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32311
32312 ac_header_preproc=no
32313 fi
32314 rm -f conftest.err conftest.$ac_ext
32315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32316 echo "${ECHO_T}$ac_header_preproc" >&6
32317
32318 # So? What about this header?
32319 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32320 yes:no: )
32321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32325 ac_header_preproc=yes
32326 ;;
32327 no:yes:* )
32328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32340 (
32341 cat <<\_ASBOX
32342 ## ----------------------------------------- ##
32343 ## Report this to wx-dev@lists.wxwidgets.org ##
32344 ## ----------------------------------------- ##
32345 _ASBOX
32346 ) |
32347 sed "s/^/$as_me: WARNING: /" >&2
32348 ;;
32349 esac
32350 echo "$as_me:$LINENO: checking for $ac_header" >&5
32351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32353 echo $ECHO_N "(cached) $ECHO_C" >&6
32354 else
32355 eval "$as_ac_Header=\$ac_header_preproc"
32356 fi
32357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32359
32360 fi
32361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32362 cat >>confdefs.h <<_ACEOF
32363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32364 _ACEOF
32365
32366 fi
32367
32368 done
32369
32370
32371 for ac_header in X11/XKBlib.h
32372 do
32373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32374 echo "$as_me:$LINENO: checking for $ac_header" >&5
32375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32377 echo $ECHO_N "(cached) $ECHO_C" >&6
32378 else
32379 cat >conftest.$ac_ext <<_ACEOF
32380 /* confdefs.h. */
32381 _ACEOF
32382 cat confdefs.h >>conftest.$ac_ext
32383 cat >>conftest.$ac_ext <<_ACEOF
32384 /* end confdefs.h. */
32385
32386 #if HAVE_X11_XLIB_H
32387 #include <X11/Xlib.h>
32388 #endif
32389
32390
32391 #include <$ac_header>
32392 _ACEOF
32393 rm -f conftest.$ac_objext
32394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32395 (eval $ac_compile) 2>conftest.er1
32396 ac_status=$?
32397 grep -v '^ *+' conftest.er1 >conftest.err
32398 rm -f conftest.er1
32399 cat conftest.err >&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); } &&
32402 { ac_try='test -z "$ac_cxx_werror_flag"
32403 || test ! -s conftest.err'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32406 ac_status=$?
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; } &&
32409 { ac_try='test -s conftest.$ac_objext'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32412 ac_status=$?
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 eval "$as_ac_Header=yes"
32416 else
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32419
32420 eval "$as_ac_Header=no"
32421 fi
32422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32423 fi
32424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32427 cat >>confdefs.h <<_ACEOF
32428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32429 _ACEOF
32430
32431 fi
32432
32433 done
32434
32435 fi
32436 fi
32437
32438
32439
32440 IODBC_C_SRC=""
32441
32442
32443 if test "$TOOLKIT" != "MSW" ; then
32444
32445 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32446
32447 if test "${ac_cv_header_sql_h+set}" = set; then
32448 echo "$as_me:$LINENO: checking for sql.h" >&5
32449 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32450 if test "${ac_cv_header_sql_h+set}" = set; then
32451 echo $ECHO_N "(cached) $ECHO_C" >&6
32452 fi
32453 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32454 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32455 else
32456 # Is the header compilable?
32457 echo "$as_me:$LINENO: checking sql.h usability" >&5
32458 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
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 $ac_includes_default
32466 #include <sql.h>
32467 _ACEOF
32468 rm -f conftest.$ac_objext
32469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32470 (eval $ac_compile) 2>conftest.er1
32471 ac_status=$?
32472 grep -v '^ *+' conftest.er1 >conftest.err
32473 rm -f conftest.er1
32474 cat conftest.err >&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); } &&
32477 { ac_try='test -z "$ac_cxx_werror_flag"
32478 || test ! -s conftest.err'
32479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32480 (eval $ac_try) 2>&5
32481 ac_status=$?
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); }; } &&
32484 { ac_try='test -s conftest.$ac_objext'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; }; then
32490 ac_header_compiler=yes
32491 else
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32494
32495 ac_header_compiler=no
32496 fi
32497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32499 echo "${ECHO_T}$ac_header_compiler" >&6
32500
32501 # Is the header present?
32502 echo "$as_me:$LINENO: checking sql.h presence" >&5
32503 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32504 cat >conftest.$ac_ext <<_ACEOF
32505 /* confdefs.h. */
32506 _ACEOF
32507 cat confdefs.h >>conftest.$ac_ext
32508 cat >>conftest.$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510 #include <sql.h>
32511 _ACEOF
32512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32514 ac_status=$?
32515 grep -v '^ *+' conftest.er1 >conftest.err
32516 rm -f conftest.er1
32517 cat conftest.err >&5
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); } >/dev/null; then
32520 if test -s conftest.err; then
32521 ac_cpp_err=$ac_cxx_preproc_warn_flag
32522 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32523 else
32524 ac_cpp_err=
32525 fi
32526 else
32527 ac_cpp_err=yes
32528 fi
32529 if test -z "$ac_cpp_err"; then
32530 ac_header_preproc=yes
32531 else
32532 echo "$as_me: failed program was:" >&5
32533 sed 's/^/| /' conftest.$ac_ext >&5
32534
32535 ac_header_preproc=no
32536 fi
32537 rm -f conftest.err conftest.$ac_ext
32538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32539 echo "${ECHO_T}$ac_header_preproc" >&6
32540
32541 # So? What about this header?
32542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32543 yes:no: )
32544 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32545 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32546 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32547 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32548 ac_header_preproc=yes
32549 ;;
32550 no:yes:* )
32551 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32552 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32553 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32554 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32555 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32556 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32557 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32558 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32559 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32560 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32561 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32562 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32563 (
32564 cat <<\_ASBOX
32565 ## ----------------------------------------- ##
32566 ## Report this to wx-dev@lists.wxwidgets.org ##
32567 ## ----------------------------------------- ##
32568 _ASBOX
32569 ) |
32570 sed "s/^/$as_me: WARNING: /" >&2
32571 ;;
32572 esac
32573 echo "$as_me:$LINENO: checking for sql.h" >&5
32574 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32575 if test "${ac_cv_header_sql_h+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578 ac_cv_header_sql_h=$ac_header_preproc
32579 fi
32580 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32581 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32582
32583 fi
32584 if test $ac_cv_header_sql_h = yes; then
32585 found_sql_h=1
32586 fi
32587
32588
32589 if test "x$found_sql_h" = "x1" ; then
32590 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32591 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32592 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32593 echo $ECHO_N "(cached) $ECHO_C" >&6
32594 else
32595 ac_check_lib_save_LIBS=$LIBS
32596 LIBS="-liodbc $LIBS"
32597 cat >conftest.$ac_ext <<_ACEOF
32598 /* confdefs.h. */
32599 _ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32603
32604 /* Override any gcc2 internal prototype to avoid an error. */
32605 #ifdef __cplusplus
32606 extern "C"
32607 #endif
32608 /* We use char because int might match the return type of a gcc2
32609 builtin and then its argument prototype would still apply. */
32610 char SQLAllocEnv ();
32611 int
32612 main ()
32613 {
32614 SQLAllocEnv ();
32615 ;
32616 return 0;
32617 }
32618 _ACEOF
32619 rm -f conftest.$ac_objext conftest$ac_exeext
32620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32621 (eval $ac_link) 2>conftest.er1
32622 ac_status=$?
32623 grep -v '^ *+' conftest.er1 >conftest.err
32624 rm -f conftest.er1
32625 cat conftest.err >&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); } &&
32628 { ac_try='test -z "$ac_cxx_werror_flag"
32629 || test ! -s conftest.err'
32630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32631 (eval $ac_try) 2>&5
32632 ac_status=$?
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); }; } &&
32635 { ac_try='test -s conftest$ac_exeext'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; }; then
32641 ac_cv_lib_iodbc_SQLAllocEnv=yes
32642 else
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.$ac_ext >&5
32645
32646 ac_cv_lib_iodbc_SQLAllocEnv=no
32647 fi
32648 rm -f conftest.err conftest.$ac_objext \
32649 conftest$ac_exeext conftest.$ac_ext
32650 LIBS=$ac_check_lib_save_LIBS
32651 fi
32652 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32653 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32654 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32655 ODBC_LINK=" -liodbc"
32656 else
32657
32658 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32659 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32660 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 else
32663 ac_check_lib_save_LIBS=$LIBS
32664 LIBS="-lunixodbc $LIBS"
32665 cat >conftest.$ac_ext <<_ACEOF
32666 /* confdefs.h. */
32667 _ACEOF
32668 cat confdefs.h >>conftest.$ac_ext
32669 cat >>conftest.$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32671
32672 /* Override any gcc2 internal prototype to avoid an error. */
32673 #ifdef __cplusplus
32674 extern "C"
32675 #endif
32676 /* We use char because int might match the return type of a gcc2
32677 builtin and then its argument prototype would still apply. */
32678 char SQLAllocEnv ();
32679 int
32680 main ()
32681 {
32682 SQLAllocEnv ();
32683 ;
32684 return 0;
32685 }
32686 _ACEOF
32687 rm -f conftest.$ac_objext conftest$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32690 ac_status=$?
32691 grep -v '^ *+' conftest.er1 >conftest.err
32692 rm -f conftest.er1
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try='test -z "$ac_cxx_werror_flag"
32697 || test ! -s conftest.err'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32700 ac_status=$?
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; } &&
32703 { ac_try='test -s conftest$ac_exeext'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32706 ac_status=$?
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; }; then
32709 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32710 else
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32713
32714 ac_cv_lib_unixodbc_SQLAllocEnv=no
32715 fi
32716 rm -f conftest.err conftest.$ac_objext \
32717 conftest$ac_exeext conftest.$ac_ext
32718 LIBS=$ac_check_lib_save_LIBS
32719 fi
32720 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32721 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32722 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32723 ODBC_LINK=" -lunixodbc"
32724 else
32725
32726 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32727 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32728 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32729 echo $ECHO_N "(cached) $ECHO_C" >&6
32730 else
32731 ac_check_lib_save_LIBS=$LIBS
32732 LIBS="-lodbc $LIBS"
32733 cat >conftest.$ac_ext <<_ACEOF
32734 /* confdefs.h. */
32735 _ACEOF
32736 cat confdefs.h >>conftest.$ac_ext
32737 cat >>conftest.$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32739
32740 /* Override any gcc2 internal prototype to avoid an error. */
32741 #ifdef __cplusplus
32742 extern "C"
32743 #endif
32744 /* We use char because int might match the return type of a gcc2
32745 builtin and then its argument prototype would still apply. */
32746 char SQLAllocEnv ();
32747 int
32748 main ()
32749 {
32750 SQLAllocEnv ();
32751 ;
32752 return 0;
32753 }
32754 _ACEOF
32755 rm -f conftest.$ac_objext conftest$ac_exeext
32756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32757 (eval $ac_link) 2>conftest.er1
32758 ac_status=$?
32759 grep -v '^ *+' conftest.er1 >conftest.err
32760 rm -f conftest.er1
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } &&
32764 { ac_try='test -z "$ac_cxx_werror_flag"
32765 || test ! -s conftest.err'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32768 ac_status=$?
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try='test -s conftest$ac_exeext'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32774 ac_status=$?
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; }; then
32777 ac_cv_lib_odbc_SQLAllocEnv=yes
32778 else
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.$ac_ext >&5
32781
32782 ac_cv_lib_odbc_SQLAllocEnv=no
32783 fi
32784 rm -f conftest.err conftest.$ac_objext \
32785 conftest$ac_exeext conftest.$ac_ext
32786 LIBS=$ac_check_lib_save_LIBS
32787 fi
32788 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32789 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32790 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32791 ODBC_LINK=" -lodbc"
32792 fi
32793
32794
32795 fi
32796
32797
32798 fi
32799
32800 fi
32801 if test "x$ODBC_LINK" = "x" ; then
32802 if test "$wxUSE_ODBC" = "sys" ; then
32803 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32804 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32805 { (exit 1); exit 1; }; }
32806 else
32807 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32808 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32809 wxUSE_ODBC=builtin
32810 fi
32811 else
32812 wxUSE_ODBC=sys
32813 fi
32814 fi
32815
32816 if test "$wxUSE_ODBC" = "builtin" ; then
32817 cat >>confdefs.h <<\_ACEOF
32818 #define wxUSE_BUILTIN_IODBC 1
32819 _ACEOF
32820
32821 fi
32822 fi
32823
32824 if test "$wxUSE_ODBC" != "no" ; then
32825 cat >>confdefs.h <<\_ACEOF
32826 #define wxUSE_ODBC 1
32827 _ACEOF
32828
32829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32830
32831 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32832 fi
32833
32834
32835 if test "$wxUSE_DISPLAY" = "yes"; then
32836 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32837 echo "$as_me:$LINENO: checking for Xinerama" >&5
32838 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32839
32840 ac_find_libraries=
32841 for ac_dir in $SEARCH_LIB;
32842 do
32843 for ac_extension in a so sl dylib dll.a; do
32844 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32845 ac_find_libraries=$ac_dir
32846 break 2
32847 fi
32848 done
32849 done
32850
32851 if test "$ac_find_libraries" != "" ; then
32852
32853 if test "$ac_find_libraries" = "default location"; then
32854 ac_path_to_link=""
32855 else
32856 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32857 result=$?
32858 if test $result = 0; then
32859 ac_path_to_link=""
32860 else
32861 ac_path_to_link=" -L$ac_find_libraries"
32862 fi
32863 fi
32864
32865 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32866 LDFLAGS="$LDFLAGS $ac_path_to_link"
32867 fi
32868 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32869 echo "$as_me:$LINENO: result: yes" >&5
32870 echo "${ECHO_T}yes" >&6
32871
32872 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32873 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32874
32875 ac_find_libraries=
32876 for ac_dir in $SEARCH_LIB;
32877 do
32878 for ac_extension in a so sl dylib dll.a; do
32879 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32880 ac_find_libraries=$ac_dir
32881 break 2
32882 fi
32883 done
32884 done
32885
32886 if test "$ac_find_libraries" != "" ; then
32887 echo "$as_me:$LINENO: result: yes" >&5
32888 echo "${ECHO_T}yes" >&6
32889
32890 for ac_header in X11/extensions/xf86vmode.h
32891 do
32892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32893 echo "$as_me:$LINENO: checking for $ac_header" >&5
32894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32896 echo $ECHO_N "(cached) $ECHO_C" >&6
32897 else
32898 cat >conftest.$ac_ext <<_ACEOF
32899 /* confdefs.h. */
32900 _ACEOF
32901 cat confdefs.h >>conftest.$ac_ext
32902 cat >>conftest.$ac_ext <<_ACEOF
32903 /* end confdefs.h. */
32904
32905 #if HAVE_X11_XLIB_H
32906 #include <X11/Xlib.h>
32907 #endif
32908
32909
32910 #include <$ac_header>
32911 _ACEOF
32912 rm -f conftest.$ac_objext
32913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32914 (eval $ac_compile) 2>conftest.er1
32915 ac_status=$?
32916 grep -v '^ *+' conftest.er1 >conftest.err
32917 rm -f conftest.er1
32918 cat conftest.err >&5
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); } &&
32921 { ac_try='test -z "$ac_cxx_werror_flag"
32922 || test ! -s conftest.err'
32923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924 (eval $ac_try) 2>&5
32925 ac_status=$?
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); }; } &&
32928 { ac_try='test -s conftest.$ac_objext'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32931 ac_status=$?
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; }; then
32934 eval "$as_ac_Header=yes"
32935 else
32936 echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.$ac_ext >&5
32938
32939 eval "$as_ac_Header=no"
32940 fi
32941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32942 fi
32943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32946 cat >>confdefs.h <<_ACEOF
32947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32948 _ACEOF
32949
32950 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32951
32952 fi
32953
32954 done
32955
32956 else
32957 echo "$as_me:$LINENO: result: no" >&5
32958 echo "${ECHO_T}no" >&6
32959 fi
32960
32961 else
32962 echo "$as_me:$LINENO: result: no" >&5
32963 echo "${ECHO_T}no" >&6
32964 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32965 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32966 wxUSE_DISPLAY="no"
32967 fi
32968 elif test "$wxUSE_MSW" = 1; then
32969
32970 for ac_header in ddraw.h
32971 do
32972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32973 echo "$as_me:$LINENO: checking for $ac_header" >&5
32974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32976 echo $ECHO_N "(cached) $ECHO_C" >&6
32977 else
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 #include <windows.h>
32985
32986 #include <$ac_header>
32987 _ACEOF
32988 rm -f conftest.$ac_objext
32989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32990 (eval $ac_compile) 2>conftest.er1
32991 ac_status=$?
32992 grep -v '^ *+' conftest.er1 >conftest.err
32993 rm -f conftest.er1
32994 cat conftest.err >&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); } &&
32997 { ac_try='test -z "$ac_cxx_werror_flag"
32998 || test ! -s conftest.err'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33001 ac_status=$?
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; } &&
33004 { ac_try='test -s conftest.$ac_objext'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33007 ac_status=$?
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; }; then
33010 eval "$as_ac_Header=yes"
33011 else
33012 echo "$as_me: failed program was:" >&5
33013 sed 's/^/| /' conftest.$ac_ext >&5
33014
33015 eval "$as_ac_Header=no"
33016 fi
33017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33018 fi
33019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33022 cat >>confdefs.h <<_ACEOF
33023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33024 _ACEOF
33025
33026 fi
33027
33028 done
33029
33030 fi
33031 fi
33032
33033
33034 USE_OPENGL=0
33035 if test "$wxUSE_OPENGL" = "yes"; then
33036 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33037 OPENGL_LIBS="-framework OpenGL -framework AGL"
33038 elif test "$wxUSE_MSW" = 1; then
33039 OPENGL_LIBS="-lopengl32 -lglu32"
33040 else
33041
33042
33043 ac_find_includes=
33044 for ac_dir in $SEARCH_INCLUDE /usr/include;
33045 do
33046 if test -f "$ac_dir/GL/gl.h"; then
33047 ac_find_includes=$ac_dir
33048 break
33049 fi
33050 done
33051
33052 if test "$ac_find_includes" != "" ; then
33053 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33054 echo "${ECHO_T}found in $ac_find_includes" >&6
33055
33056 if test "x$ac_find_includes" = "x/usr/include"; then
33057 ac_path_to_include=""
33058 else
33059 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33060 result=$?
33061 if test $result = 0; then
33062 ac_path_to_include=""
33063 else
33064 ac_path_to_include=" -I$ac_find_includes"
33065 fi
33066 fi
33067
33068 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33069 fi
33070
33071 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33072 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33073 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33074 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33075 echo $ECHO_N "(cached) $ECHO_C" >&6
33076 fi
33077 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33078 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33079 else
33080 # Is the header compilable?
33081 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33082 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33083 cat >conftest.$ac_ext <<_ACEOF
33084 /* confdefs.h. */
33085 _ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 $ac_includes_default
33090 #include <GL/gl.h>
33091 _ACEOF
33092 rm -f conftest.$ac_objext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33094 (eval $ac_compile) 2>conftest.er1
33095 ac_status=$?
33096 grep -v '^ *+' conftest.er1 >conftest.err
33097 rm -f conftest.er1
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } &&
33101 { ac_try='test -z "$ac_cxx_werror_flag"
33102 || test ! -s conftest.err'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; } &&
33108 { ac_try='test -s conftest.$ac_objext'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; }; then
33114 ac_header_compiler=yes
33115 else
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.$ac_ext >&5
33118
33119 ac_header_compiler=no
33120 fi
33121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33123 echo "${ECHO_T}$ac_header_compiler" >&6
33124
33125 # Is the header present?
33126 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33127 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
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 #include <GL/gl.h>
33135 _ACEOF
33136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33138 ac_status=$?
33139 grep -v '^ *+' conftest.er1 >conftest.err
33140 rm -f conftest.er1
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } >/dev/null; then
33144 if test -s conftest.err; then
33145 ac_cpp_err=$ac_cxx_preproc_warn_flag
33146 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33147 else
33148 ac_cpp_err=
33149 fi
33150 else
33151 ac_cpp_err=yes
33152 fi
33153 if test -z "$ac_cpp_err"; then
33154 ac_header_preproc=yes
33155 else
33156 echo "$as_me: failed program was:" >&5
33157 sed 's/^/| /' conftest.$ac_ext >&5
33158
33159 ac_header_preproc=no
33160 fi
33161 rm -f conftest.err conftest.$ac_ext
33162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33163 echo "${ECHO_T}$ac_header_preproc" >&6
33164
33165 # So? What about this header?
33166 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33167 yes:no: )
33168 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33169 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33170 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33171 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33172 ac_header_preproc=yes
33173 ;;
33174 no:yes:* )
33175 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33176 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33177 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33178 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33179 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33180 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33181 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33182 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33183 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33184 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33185 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33186 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33187 (
33188 cat <<\_ASBOX
33189 ## ----------------------------------------- ##
33190 ## Report this to wx-dev@lists.wxwidgets.org ##
33191 ## ----------------------------------------- ##
33192 _ASBOX
33193 ) |
33194 sed "s/^/$as_me: WARNING: /" >&2
33195 ;;
33196 esac
33197 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33198 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33199 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33201 else
33202 ac_cv_header_GL_gl_h=$ac_header_preproc
33203 fi
33204 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33205 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33206
33207 fi
33208 if test $ac_cv_header_GL_gl_h = yes; then
33209
33210 found_gl=0
33211
33212 echo "$as_me:$LINENO: checking for -lGL" >&5
33213 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33214
33215 ac_find_libraries=
33216 for ac_dir in $SEARCH_LIB;
33217 do
33218 for ac_extension in a so sl dylib dll.a; do
33219 if test -f "$ac_dir/libGL.$ac_extension"; then
33220 ac_find_libraries=$ac_dir
33221 break 2
33222 fi
33223 done
33224 done
33225
33226 if test "$ac_find_libraries" != "" ; then
33227 echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6
33229
33230
33231 if test "$ac_find_libraries" = "default location"; then
33232 ac_path_to_link=""
33233 else
33234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33235 result=$?
33236 if test $result = 0; then
33237 ac_path_to_link=""
33238 else
33239 ac_path_to_link=" -L$ac_find_libraries"
33240 fi
33241 fi
33242
33243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33244 LDFLAGS_GL="$ac_path_to_link"
33245 fi
33246
33247 echo "$as_me:$LINENO: checking for -lGLU" >&5
33248 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33249
33250 ac_find_libraries=
33251 for ac_dir in $SEARCH_LIB;
33252 do
33253 for ac_extension in a so sl dylib dll.a; do
33254 if test -f "$ac_dir/libGLU.$ac_extension"; then
33255 ac_find_libraries=$ac_dir
33256 break 2
33257 fi
33258 done
33259 done
33260
33261 if test "$ac_find_libraries" != "" ; then
33262
33263 if test "$ac_find_libraries" = "default location"; then
33264 ac_path_to_link=""
33265 else
33266 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33267 result=$?
33268 if test $result = 0; then
33269 ac_path_to_link=""
33270 else
33271 ac_path_to_link=" -L$ac_find_libraries"
33272 fi
33273 fi
33274
33275 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33276 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33277 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33278 fi
33279
33280 found_gl=1
33281 OPENGL_LIBS="-lGL -lGLU"
33282 echo "$as_me:$LINENO: result: yes" >&5
33283 echo "${ECHO_T}yes" >&6
33284 else
33285 echo "$as_me:$LINENO: result: no" >&5
33286 echo "${ECHO_T}no" >&6
33287 fi
33288 else
33289 echo "$as_me:$LINENO: result: no" >&5
33290 echo "${ECHO_T}no" >&6
33291 fi
33292
33293 if test "$found_gl" != 1; then
33294 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33295 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33296
33297 ac_find_libraries=
33298 for ac_dir in $SEARCH_LIB;
33299 do
33300 for ac_extension in a so sl dylib dll.a; do
33301 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33302 ac_find_libraries=$ac_dir
33303 break 2
33304 fi
33305 done
33306 done
33307
33308 if test "$ac_find_libraries" != "" ; then
33309
33310 if test "$ac_find_libraries" = "default location"; then
33311 ac_path_to_link=""
33312 else
33313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33314 result=$?
33315 if test $result = 0; then
33316 ac_path_to_link=""
33317 else
33318 ac_path_to_link=" -L$ac_find_libraries"
33319 fi
33320 fi
33321
33322 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33323 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33324 echo "$as_me:$LINENO: result: yes" >&5
33325 echo "${ECHO_T}yes" >&6
33326 else
33327 echo "$as_me:$LINENO: result: no" >&5
33328 echo "${ECHO_T}no" >&6
33329 fi
33330 fi
33331
33332 fi
33333
33334
33335
33336 if test "x$OPENGL_LIBS" = "x"; then
33337 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33338 echo "$as_me: error: OpenGL libraries not available" >&2;}
33339 { (exit 1); exit 1; }; }
33340 fi
33341 fi
33342
33343 if test "$wxUSE_OPENGL" = "yes"; then
33344 USE_OPENGL=1
33345 cat >>confdefs.h <<\_ACEOF
33346 #define wxUSE_OPENGL 1
33347 _ACEOF
33348
33349 cat >>confdefs.h <<\_ACEOF
33350 #define wxUSE_GLCANVAS 1
33351 _ACEOF
33352
33353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33354 fi
33355 fi
33356
33357
33358 if test -n "$TOOLKIT" ; then
33359 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33360 fi
33361
33362
33363
33364 if test "$wxUSE_SHARED" = "yes"; then
33365 case "${host}" in
33366 *-pc-msdosdjgpp )
33367 wxUSE_SHARED=no
33368 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33369 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33370 ;;
33371 esac
33372 fi
33373
33374 if test "$wxUSE_SHARED" = "yes"; then
33375
33376
33377 found_versioning=no
33378
33379
33380 if test $found_versioning = no ; then
33381 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33382 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33383 if test "${wx_cv_version_script+set}" = set; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33385 else
33386
33387 echo "VER_1 { *; };" >conftest.sym
33388 echo "int main() { return 0; }" >conftest.cpp
33389
33390 if { ac_try='
33391 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33392 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
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 if test -s conftest.stderr ; then
33399 wx_cv_version_script=no
33400 else
33401 wx_cv_version_script=yes
33402 fi
33403 else
33404 wx_cv_version_script=no
33405 fi
33406
33407 if test $wx_cv_version_script = yes
33408 then
33409 echo "struct B { virtual ~B() { } }; \
33410 struct D : public B { }; \
33411 void F() { D d; }" > conftest.cpp
33412
33413 if { ac_try='
33414 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33415 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33417 (eval $ac_try) 2>&5
33418 ac_status=$?
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); }; } &&
33421 { ac_try='
33422 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33423 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33425 (eval $ac_try) 2>&5
33426 ac_status=$?
33427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428 (exit $ac_status); }; }
33429 then
33430 if { ac_try='
33431 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33432 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33435 ac_status=$?
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; }
33438 then
33439 wx_cv_version_script=yes
33440 else
33441 wx_cv_version_script=no
33442 fi
33443 fi
33444 fi
33445
33446 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33447 rm -f conftest1.output conftest2.output conftest3.output
33448
33449 fi
33450 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33451 echo "${ECHO_T}$wx_cv_version_script" >&6
33452 if test $wx_cv_version_script = yes ; then
33453 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33454 fi
33455 fi
33456
33457
33458 case "${host}" in
33459 *-*-linux* | *-*-gnu* )
33460 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33461 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33462 ;;
33463
33464 *-*-solaris2* )
33465 if test "$GCC" = yes ; then
33466 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33467
33468 saveLdflags="$LDFLAGS"
33469 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33470 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33471 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33472 cat >conftest.$ac_ext <<_ACEOF
33473 /* confdefs.h. */
33474 _ACEOF
33475 cat confdefs.h >>conftest.$ac_ext
33476 cat >>conftest.$ac_ext <<_ACEOF
33477 /* end confdefs.h. */
33478
33479 int
33480 main ()
33481 {
33482
33483 ;
33484 return 0;
33485 }
33486 _ACEOF
33487 rm -f conftest.$ac_objext conftest$ac_exeext
33488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33489 (eval $ac_link) 2>conftest.er1
33490 ac_status=$?
33491 grep -v '^ *+' conftest.er1 >conftest.err
33492 rm -f conftest.er1
33493 cat conftest.err >&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } &&
33496 { ac_try='test -z "$ac_cxx_werror_flag"
33497 || test ! -s conftest.err'
33498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33499 (eval $ac_try) 2>&5
33500 ac_status=$?
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; } &&
33503 { ac_try='test -s conftest$ac_exeext'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33506 ac_status=$?
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }; then
33509
33510 echo "$as_me:$LINENO: result: yes" >&5
33511 echo "${ECHO_T}yes" >&6
33512 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33513 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33514
33515 else
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.$ac_ext >&5
33518
33519
33520 echo "$as_me:$LINENO: result: no" >&5
33521 echo "${ECHO_T}no" >&6
33522 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33523 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33524 LDFLAGS="$saveLdflags -Wl,-R,/"
33525 cat >conftest.$ac_ext <<_ACEOF
33526 /* confdefs.h. */
33527 _ACEOF
33528 cat confdefs.h >>conftest.$ac_ext
33529 cat >>conftest.$ac_ext <<_ACEOF
33530 /* end confdefs.h. */
33531
33532 int
33533 main ()
33534 {
33535
33536 ;
33537 return 0;
33538 }
33539 _ACEOF
33540 rm -f conftest.$ac_objext conftest$ac_exeext
33541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33542 (eval $ac_link) 2>conftest.er1
33543 ac_status=$?
33544 grep -v '^ *+' conftest.er1 >conftest.err
33545 rm -f conftest.er1
33546 cat conftest.err >&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); } &&
33549 { ac_try='test -z "$ac_cxx_werror_flag"
33550 || test ! -s conftest.err'
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); }; } &&
33556 { ac_try='test -s conftest$ac_exeext'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33559 ac_status=$?
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; }; then
33562
33563 echo "$as_me:$LINENO: result: yes" >&5
33564 echo "${ECHO_T}yes" >&6
33565 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33566 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33567
33568 else
33569 echo "$as_me: failed program was:" >&5
33570 sed 's/^/| /' conftest.$ac_ext >&5
33571
33572
33573 echo "$as_me:$LINENO: result: no" >&5
33574 echo "${ECHO_T}no" >&6
33575
33576 fi
33577 rm -f conftest.err conftest.$ac_objext \
33578 conftest$ac_exeext conftest.$ac_ext
33579
33580 fi
33581 rm -f conftest.err conftest.$ac_objext \
33582 conftest$ac_exeext conftest.$ac_ext
33583 LDFLAGS="$saveLdflags"
33584 else
33585 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33586 WXCONFIG_RPATH="-R\$libdir"
33587 fi
33588 ;;
33589
33590 *-*-darwin* )
33591 install_name_tool=`which install_name_tool`
33592 if test "$install_name_tool" -a -x "$install_name_tool"; then
33593 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33594 cat <<EOF >change-install-names
33595 #!/bin/sh
33596 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33597 inst_cmd="install_name_tool "
33598 for i in \${libnames} ; do
33599 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33600 done
33601 \${inst_cmd} \${3}
33602 EOF
33603 chmod +x change-install-names
33604 fi
33605 ;;
33606
33607 *-*-cygwin* | *-*-mingw32* )
33608 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33609 ;;
33610
33611 *-*-hpux* )
33612 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33613 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33614 ;;
33615
33616 esac
33617
33618 if test $wxUSE_RPATH = "no"; then
33619 SAMPLES_RPATH_FLAG=''
33620 SAMPLES_RPATH_POSTLINK=''
33621 WXCONFIG_RPATH=''
33622 fi
33623
33624 SHARED=1
33625
33626 else
33627
33628 config_linkage_component="-static"
33629 SHARED=0
33630
33631 fi
33632
33633
33634 UNICODE=0
33635 lib_unicode_suffix=
33636 WX_CHARTYPE="ansi"
33637 if test "$wxUSE_UNICODE" = "yes"; then
33638 lib_unicode_suffix=u
33639 WX_CHARTYPE="unicode"
33640 UNICODE=1
33641 fi
33642
33643 lib_debug_suffix=
33644 WX_DEBUGTYPE="release"
33645 DEBUG_FLAG=0
33646 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33647 lib_debug_suffix=d
33648 WX_DEBUGTYPE="debug"
33649 DEBUG_FLAG=1
33650 fi
33651
33652 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33653 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33654
33655 DEBUG_INFO=0
33656 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33657 DEBUG_INFO=1
33658 fi
33659
33660 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33661
33662 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33663
33664 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33665
33666 if test "$cross_compiling" = "yes"; then
33667 HOST_SUFFIX="-$host_alias"
33668 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33669 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33670 fi
33671
33672 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33673 if test "${TOOLKIT_DIR}" = "os2"; then
33674 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33675 else
33676 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33677 fi
33678
33679
33680
33681 if test "$wxUSE_COCOA" = 1; then
33682
33683
33684 ac_ext=c
33685 ac_cpp='$CPP $CPPFLAGS'
33686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33689
33690 ac_ext=m
33691
33692 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33693 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33694 cat >conftest.$ac_ext <<_ACEOF
33695 /* confdefs.h. */
33696 _ACEOF
33697 cat confdefs.h >>conftest.$ac_ext
33698 cat >>conftest.$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 #include <AppKit/NSEvent.h>
33701 #include <CoreFoundation/CoreFoundation.h>
33702
33703 int
33704 main ()
33705 {
33706
33707 ;
33708 return 0;
33709 }
33710 _ACEOF
33711 rm -f conftest.$ac_objext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33713 (eval $ac_compile) 2>conftest.er1
33714 ac_status=$?
33715 grep -v '^ *+' conftest.er1 >conftest.err
33716 rm -f conftest.er1
33717 cat conftest.err >&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try='test -z "$ac_c_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33724 ac_status=$?
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try='test -s conftest.$ac_objext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33730 ac_status=$?
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6
33735 else
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33738
33739 echo "$as_me:$LINENO: result: yes" >&5
33740 echo "${ECHO_T}yes" >&6
33741 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33742 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33743 cat >conftest.$ac_ext <<_ACEOF
33744 /* confdefs.h. */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 #define __Point__ 1
33750 #include <AppKit/NSEvent.h>
33751 #include <CoreFoundation/CoreFoundation.h>
33752
33753 int
33754 main ()
33755 {
33756
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33763 (eval $ac_compile) 2>conftest.er1
33764 ac_status=$?
33765 grep -v '^ *+' conftest.er1 >conftest.err
33766 rm -f conftest.er1
33767 cat conftest.err >&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } &&
33770 { ac_try='test -z "$ac_c_werror_flag"
33771 || test ! -s conftest.err'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33774 ac_status=$?
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; } &&
33777 { ac_try='test -s conftest.$ac_objext'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33780 ac_status=$?
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; }; then
33783 echo "$as_me:$LINENO: result: yes" >&5
33784 echo "${ECHO_T}yes" >&6
33785 cat >>confdefs.h <<\_ACEOF
33786 #define __Point__ 1
33787 _ACEOF
33788
33789
33790 else
33791 echo "$as_me: failed program was:" >&5
33792 sed 's/^/| /' conftest.$ac_ext >&5
33793
33794 { { echo "$as_me:$LINENO: error: no
33795 See \`config.log' for more details." >&5
33796 echo "$as_me: error: no
33797 See \`config.log' for more details." >&2;}
33798 { (exit 1); exit 1; }; }
33799
33800 fi
33801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33802
33803 fi
33804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33805 ac_ext=cc
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33810
33811 fi
33812
33813 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33814 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33815 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33816
33817 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33818
33819 # Extract the first word of "Rez", so it can be a program name with args.
33820 set dummy Rez; ac_word=$2
33821 echo "$as_me:$LINENO: checking for $ac_word" >&5
33822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33823 if test "${ac_cv_prog_REZ+set}" = set; then
33824 echo $ECHO_N "(cached) $ECHO_C" >&6
33825 else
33826 if test -n "$REZ"; then
33827 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33828 else
33829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33830 for as_dir in $PATH
33831 do
33832 IFS=$as_save_IFS
33833 test -z "$as_dir" && as_dir=.
33834 for ac_exec_ext in '' $ac_executable_extensions; do
33835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33836 ac_cv_prog_REZ="Rez"
33837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33838 break 2
33839 fi
33840 done
33841 done
33842
33843 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33844 fi
33845 fi
33846 REZ=$ac_cv_prog_REZ
33847 if test -n "$REZ"; then
33848 echo "$as_me:$LINENO: result: $REZ" >&5
33849 echo "${ECHO_T}$REZ" >&6
33850 else
33851 echo "$as_me:$LINENO: result: no" >&5
33852 echo "${ECHO_T}no" >&6
33853 fi
33854
33855 # Extract the first word of "DeRez", so it can be a program name with args.
33856 set dummy DeRez; ac_word=$2
33857 echo "$as_me:$LINENO: checking for $ac_word" >&5
33858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33859 if test "${ac_cv_prog_DEREZ+set}" = set; then
33860 echo $ECHO_N "(cached) $ECHO_C" >&6
33861 else
33862 if test -n "$DEREZ"; then
33863 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33864 else
33865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33866 for as_dir in $PATH
33867 do
33868 IFS=$as_save_IFS
33869 test -z "$as_dir" && as_dir=.
33870 for ac_exec_ext in '' $ac_executable_extensions; do
33871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33872 ac_cv_prog_DEREZ="DeRez"
33873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33874 break 2
33875 fi
33876 done
33877 done
33878
33879 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33880 fi
33881 fi
33882 DEREZ=$ac_cv_prog_DEREZ
33883 if test -n "$DEREZ"; then
33884 echo "$as_me:$LINENO: result: $DEREZ" >&5
33885 echo "${ECHO_T}$DEREZ" >&6
33886 else
33887 echo "$as_me:$LINENO: result: no" >&5
33888 echo "${ECHO_T}no" >&6
33889 fi
33890
33891 # Extract the first word of "SetFile", so it can be a program name with args.
33892 set dummy SetFile; ac_word=$2
33893 echo "$as_me:$LINENO: checking for $ac_word" >&5
33894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33895 if test "${ac_cv_prog_SETFILE+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33897 else
33898 if test -n "$SETFILE"; then
33899 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33900 else
33901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33902 for as_dir in $PATH
33903 do
33904 IFS=$as_save_IFS
33905 test -z "$as_dir" && as_dir=.
33906 for ac_exec_ext in '' $ac_executable_extensions; do
33907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33908 ac_cv_prog_SETFILE="SetFile"
33909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33910 break 2
33911 fi
33912 done
33913 done
33914
33915 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33916 fi
33917 fi
33918 SETFILE=$ac_cv_prog_SETFILE
33919 if test -n "$SETFILE"; then
33920 echo "$as_me:$LINENO: result: $SETFILE" >&5
33921 echo "${ECHO_T}$SETFILE" >&6
33922 else
33923 echo "$as_me:$LINENO: result: no" >&5
33924 echo "${ECHO_T}no" >&6
33925 fi
33926
33927
33928 MACSETFILE="\$(SETFILE)"
33929
33930 if test "$wxUSE_MAC" = 1; then
33931 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33932 RESCOMP="$REZ"
33933 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33934 else
33935 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33936 RESCOMP="echo -n \| $REZ"
33937 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33938 fi
33939
33940 else
33941 MACSETFILE="@true"
33942
33943 if test "$wxUSE_PM" = 1; then
33944 RESCOMP="emxbind"
33945 WXCONFIG_RESFLAGS="-ep"
33946
33947 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33948 else
33949 POSTLINK_COMMAND="@true"
33950 fi
33951
33952 fi
33953
33954
33955
33956 echo "$as_me:$LINENO: checking for mode_t" >&5
33957 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33958 if test "${ac_cv_type_mode_t+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33960 else
33961 cat >conftest.$ac_ext <<_ACEOF
33962 /* confdefs.h. */
33963 _ACEOF
33964 cat confdefs.h >>conftest.$ac_ext
33965 cat >>conftest.$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33967 $ac_includes_default
33968 int
33969 main ()
33970 {
33971 if ((mode_t *) 0)
33972 return 0;
33973 if (sizeof (mode_t))
33974 return 0;
33975 ;
33976 return 0;
33977 }
33978 _ACEOF
33979 rm -f conftest.$ac_objext
33980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33981 (eval $ac_compile) 2>conftest.er1
33982 ac_status=$?
33983 grep -v '^ *+' conftest.er1 >conftest.err
33984 rm -f conftest.er1
33985 cat conftest.err >&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); } &&
33988 { ac_try='test -z "$ac_cxx_werror_flag"
33989 || test ! -s conftest.err'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; } &&
33995 { ac_try='test -s conftest.$ac_objext'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33998 ac_status=$?
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; }; then
34001 ac_cv_type_mode_t=yes
34002 else
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.$ac_ext >&5
34005
34006 ac_cv_type_mode_t=no
34007 fi
34008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34009 fi
34010 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34011 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34012 if test $ac_cv_type_mode_t = yes; then
34013 :
34014 else
34015
34016 cat >>confdefs.h <<_ACEOF
34017 #define mode_t int
34018 _ACEOF
34019
34020 fi
34021
34022 echo "$as_me:$LINENO: checking for off_t" >&5
34023 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34024 if test "${ac_cv_type_off_t+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34027 cat >conftest.$ac_ext <<_ACEOF
34028 /* confdefs.h. */
34029 _ACEOF
34030 cat confdefs.h >>conftest.$ac_ext
34031 cat >>conftest.$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033 $ac_includes_default
34034 int
34035 main ()
34036 {
34037 if ((off_t *) 0)
34038 return 0;
34039 if (sizeof (off_t))
34040 return 0;
34041 ;
34042 return 0;
34043 }
34044 _ACEOF
34045 rm -f conftest.$ac_objext
34046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34047 (eval $ac_compile) 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } &&
34054 { ac_try='test -z "$ac_cxx_werror_flag"
34055 || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34058 ac_status=$?
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34064 ac_status=$?
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 ac_cv_type_off_t=yes
34068 else
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.$ac_ext >&5
34071
34072 ac_cv_type_off_t=no
34073 fi
34074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34075 fi
34076 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34077 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34078 if test $ac_cv_type_off_t = yes; then
34079 :
34080 else
34081
34082 cat >>confdefs.h <<_ACEOF
34083 #define off_t long
34084 _ACEOF
34085
34086 fi
34087
34088 echo "$as_me:$LINENO: checking for pid_t" >&5
34089 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34090 if test "${ac_cv_type_pid_t+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 else
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h. */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099 $ac_includes_default
34100 int
34101 main ()
34102 {
34103 if ((pid_t *) 0)
34104 return 0;
34105 if (sizeof (pid_t))
34106 return 0;
34107 ;
34108 return 0;
34109 }
34110 _ACEOF
34111 rm -f conftest.$ac_objext
34112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34113 (eval $ac_compile) 2>conftest.er1
34114 ac_status=$?
34115 grep -v '^ *+' conftest.er1 >conftest.err
34116 rm -f conftest.er1
34117 cat conftest.err >&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } &&
34120 { ac_try='test -z "$ac_cxx_werror_flag"
34121 || test ! -s conftest.err'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34124 ac_status=$?
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; } &&
34127 { ac_try='test -s conftest.$ac_objext'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34130 ac_status=$?
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; }; then
34133 ac_cv_type_pid_t=yes
34134 else
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34137
34138 ac_cv_type_pid_t=no
34139 fi
34140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34141 fi
34142 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34143 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34144 if test $ac_cv_type_pid_t = yes; then
34145 :
34146 else
34147
34148 cat >>confdefs.h <<_ACEOF
34149 #define pid_t int
34150 _ACEOF
34151
34152 fi
34153
34154 echo "$as_me:$LINENO: checking for size_t" >&5
34155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34156 if test "${ac_cv_type_size_t+set}" = set; then
34157 echo $ECHO_N "(cached) $ECHO_C" >&6
34158 else
34159 cat >conftest.$ac_ext <<_ACEOF
34160 /* confdefs.h. */
34161 _ACEOF
34162 cat confdefs.h >>conftest.$ac_ext
34163 cat >>conftest.$ac_ext <<_ACEOF
34164 /* end confdefs.h. */
34165 $ac_includes_default
34166 int
34167 main ()
34168 {
34169 if ((size_t *) 0)
34170 return 0;
34171 if (sizeof (size_t))
34172 return 0;
34173 ;
34174 return 0;
34175 }
34176 _ACEOF
34177 rm -f conftest.$ac_objext
34178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34179 (eval $ac_compile) 2>conftest.er1
34180 ac_status=$?
34181 grep -v '^ *+' conftest.er1 >conftest.err
34182 rm -f conftest.er1
34183 cat conftest.err >&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } &&
34186 { ac_try='test -z "$ac_cxx_werror_flag"
34187 || test ! -s conftest.err'
34188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34189 (eval $ac_try) 2>&5
34190 ac_status=$?
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); }; } &&
34193 { ac_try='test -s conftest.$ac_objext'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34196 ac_status=$?
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; }; then
34199 ac_cv_type_size_t=yes
34200 else
34201 echo "$as_me: failed program was:" >&5
34202 sed 's/^/| /' conftest.$ac_ext >&5
34203
34204 ac_cv_type_size_t=no
34205 fi
34206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34207 fi
34208 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34209 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34210 if test $ac_cv_type_size_t = yes; then
34211 :
34212 else
34213
34214 cat >>confdefs.h <<_ACEOF
34215 #define size_t unsigned
34216 _ACEOF
34217
34218 fi
34219
34220 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34221 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34222 if test "${ac_cv_type_uid_t+set}" = set; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34224 else
34225 cat >conftest.$ac_ext <<_ACEOF
34226 /* confdefs.h. */
34227 _ACEOF
34228 cat confdefs.h >>conftest.$ac_ext
34229 cat >>conftest.$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34231 #include <sys/types.h>
34232
34233 _ACEOF
34234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34235 $EGREP "uid_t" >/dev/null 2>&1; then
34236 ac_cv_type_uid_t=yes
34237 else
34238 ac_cv_type_uid_t=no
34239 fi
34240 rm -f conftest*
34241
34242 fi
34243 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34244 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34245 if test $ac_cv_type_uid_t = no; then
34246
34247 cat >>confdefs.h <<\_ACEOF
34248 #define uid_t int
34249 _ACEOF
34250
34251
34252 cat >>confdefs.h <<\_ACEOF
34253 #define gid_t int
34254 _ACEOF
34255
34256 fi
34257
34258
34259 echo "$as_me:$LINENO: checking for ssize_t" >&5
34260 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34261 if test "${ac_cv_type_ssize_t+set}" = set; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34263 else
34264 cat >conftest.$ac_ext <<_ACEOF
34265 /* confdefs.h. */
34266 _ACEOF
34267 cat confdefs.h >>conftest.$ac_ext
34268 cat >>conftest.$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34270 $ac_includes_default
34271 int
34272 main ()
34273 {
34274 if ((ssize_t *) 0)
34275 return 0;
34276 if (sizeof (ssize_t))
34277 return 0;
34278 ;
34279 return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34284 (eval $ac_compile) 2>conftest.er1
34285 ac_status=$?
34286 grep -v '^ *+' conftest.er1 >conftest.err
34287 rm -f conftest.er1
34288 cat conftest.err >&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } &&
34291 { ac_try='test -z "$ac_cxx_werror_flag"
34292 || test ! -s conftest.err'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34295 ac_status=$?
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; } &&
34298 { ac_try='test -s conftest.$ac_objext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 ac_cv_type_ssize_t=yes
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309 ac_cv_type_ssize_t=no
34310 fi
34311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34312 fi
34313 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34314 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34315 if test $ac_cv_type_ssize_t = yes; then
34316
34317 cat >>confdefs.h <<_ACEOF
34318 #define HAVE_SSIZE_T 1
34319 _ACEOF
34320
34321
34322 fi
34323
34324
34325 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34326 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34327 if test "${wx_cv_size_t_is_uint+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34329 else
34330
34331 cat >conftest.$ac_ext <<_ACEOF
34332 /* confdefs.h. */
34333 _ACEOF
34334 cat confdefs.h >>conftest.$ac_ext
34335 cat >>conftest.$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337 #include <stddef.h>
34338 int
34339 main ()
34340 {
34341
34342 return 0; }
34343
34344 struct Foo { void foo(size_t); void foo(unsigned int); };
34345
34346 int bar() {
34347
34348 ;
34349 return 0;
34350 }
34351 _ACEOF
34352 rm -f conftest.$ac_objext
34353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34354 (eval $ac_compile) 2>conftest.er1
34355 ac_status=$?
34356 grep -v '^ *+' conftest.er1 >conftest.err
34357 rm -f conftest.er1
34358 cat conftest.err >&5
34359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34360 (exit $ac_status); } &&
34361 { ac_try='test -z "$ac_cxx_werror_flag"
34362 || test ! -s conftest.err'
34363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34364 (eval $ac_try) 2>&5
34365 ac_status=$?
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); }; } &&
34368 { ac_try='test -s conftest.$ac_objext'
34369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34370 (eval $ac_try) 2>&5
34371 ac_status=$?
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); }; }; then
34374 wx_cv_size_t_is_uint=no
34375 else
34376 echo "$as_me: failed program was:" >&5
34377 sed 's/^/| /' conftest.$ac_ext >&5
34378
34379 wx_cv_size_t_is_uint=yes
34380
34381 fi
34382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34383
34384
34385 fi
34386 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34387 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34388
34389 if test "$wx_cv_size_t_is_uint" = "yes"; then
34390 cat >>confdefs.h <<\_ACEOF
34391 #define wxSIZE_T_IS_UINT 1
34392 _ACEOF
34393
34394 else
34395 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34396 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34397 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34398 echo $ECHO_N "(cached) $ECHO_C" >&6
34399 else
34400 cat >conftest.$ac_ext <<_ACEOF
34401 /* confdefs.h. */
34402 _ACEOF
34403 cat confdefs.h >>conftest.$ac_ext
34404 cat >>conftest.$ac_ext <<_ACEOF
34405 /* end confdefs.h. */
34406 #include <stddef.h>
34407 int
34408 main ()
34409 {
34410
34411 return 0; }
34412
34413 struct Foo { void foo(size_t); void foo(unsigned long); };
34414
34415 int bar() {
34416
34417 ;
34418 return 0;
34419 }
34420 _ACEOF
34421 rm -f conftest.$ac_objext
34422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34423 (eval $ac_compile) 2>conftest.er1
34424 ac_status=$?
34425 grep -v '^ *+' conftest.er1 >conftest.err
34426 rm -f conftest.er1
34427 cat conftest.err >&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } &&
34430 { ac_try='test -z "$ac_cxx_werror_flag"
34431 || test ! -s conftest.err'
34432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34433 (eval $ac_try) 2>&5
34434 ac_status=$?
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); }; } &&
34437 { ac_try='test -s conftest.$ac_objext'
34438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439 (eval $ac_try) 2>&5
34440 ac_status=$?
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; }; then
34443 wx_cv_size_t_is_ulong=no
34444 else
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.$ac_ext >&5
34447
34448 wx_cv_size_t_is_ulong=yes
34449
34450 fi
34451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34452
34453 fi
34454 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34455 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34456
34457 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define wxSIZE_T_IS_ULONG 1
34460 _ACEOF
34461
34462 fi
34463 fi
34464
34465
34466 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34467 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34468 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34469 echo $ECHO_N "(cached) $ECHO_C" >&6
34470 else
34471
34472 cat >conftest.$ac_ext <<_ACEOF
34473 /* confdefs.h. */
34474 _ACEOF
34475 cat confdefs.h >>conftest.$ac_ext
34476 cat >>conftest.$ac_ext <<_ACEOF
34477 /* end confdefs.h. */
34478 #include <pwd.h>
34479 int
34480 main ()
34481 {
34482
34483 char *p;
34484 struct passwd *pw;
34485 p = pw->pw_gecos;
34486
34487 ;
34488 return 0;
34489 }
34490 _ACEOF
34491 rm -f conftest.$ac_objext
34492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34493 (eval $ac_compile) 2>conftest.er1
34494 ac_status=$?
34495 grep -v '^ *+' conftest.er1 >conftest.err
34496 rm -f conftest.er1
34497 cat conftest.err >&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); } &&
34500 { ac_try='test -z "$ac_cxx_werror_flag"
34501 || test ! -s conftest.err'
34502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34503 (eval $ac_try) 2>&5
34504 ac_status=$?
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); }; } &&
34507 { ac_try='test -s conftest.$ac_objext'
34508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34509 (eval $ac_try) 2>&5
34510 ac_status=$?
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); }; }; then
34513
34514 wx_cv_struct_pw_gecos=yes
34515
34516 else
34517 echo "$as_me: failed program was:" >&5
34518 sed 's/^/| /' conftest.$ac_ext >&5
34519
34520
34521 wx_cv_struct_pw_gecos=no
34522
34523
34524 fi
34525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34526
34527
34528 fi
34529 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34530 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34531
34532 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34533 cat >>confdefs.h <<\_ACEOF
34534 #define HAVE_PW_GECOS 1
34535 _ACEOF
34536
34537 fi
34538
34539
34540 if test "$wxUSE_WCHAR_T" = "yes"; then
34541 cat >>confdefs.h <<\_ACEOF
34542 #define wxUSE_WCHAR_T 1
34543 _ACEOF
34544
34545
34546 WCSLEN_FOUND=0
34547 WCHAR_LINK=
34548
34549 for ac_func in wcslen
34550 do
34551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34552 echo "$as_me:$LINENO: checking for $ac_func" >&5
34553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34554 if eval "test \"\${$as_ac_var+set}\" = set"; then
34555 echo $ECHO_N "(cached) $ECHO_C" >&6
34556 else
34557 cat >conftest.$ac_ext <<_ACEOF
34558 /* confdefs.h. */
34559 _ACEOF
34560 cat confdefs.h >>conftest.$ac_ext
34561 cat >>conftest.$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34565 #define $ac_func innocuous_$ac_func
34566
34567 /* System header to define __stub macros and hopefully few prototypes,
34568 which can conflict with char $ac_func (); below.
34569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34570 <limits.h> exists even on freestanding compilers. */
34571
34572 #ifdef __STDC__
34573 # include <limits.h>
34574 #else
34575 # include <assert.h>
34576 #endif
34577
34578 #undef $ac_func
34579
34580 /* Override any gcc2 internal prototype to avoid an error. */
34581 #ifdef __cplusplus
34582 extern "C"
34583 {
34584 #endif
34585 /* We use char because int might match the return type of a gcc2
34586 builtin and then its argument prototype would still apply. */
34587 char $ac_func ();
34588 /* The GNU C library defines this for functions which it implements
34589 to always fail with ENOSYS. Some functions are actually named
34590 something starting with __ and the normal name is an alias. */
34591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34592 choke me
34593 #else
34594 char (*f) () = $ac_func;
34595 #endif
34596 #ifdef __cplusplus
34597 }
34598 #endif
34599
34600 int
34601 main ()
34602 {
34603 return f != $ac_func;
34604 ;
34605 return 0;
34606 }
34607 _ACEOF
34608 rm -f conftest.$ac_objext conftest$ac_exeext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34610 (eval $ac_link) 2>conftest.er1
34611 ac_status=$?
34612 grep -v '^ *+' conftest.er1 >conftest.err
34613 rm -f conftest.er1
34614 cat conftest.err >&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } &&
34617 { ac_try='test -z "$ac_cxx_werror_flag"
34618 || test ! -s conftest.err'
34619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34620 (eval $ac_try) 2>&5
34621 ac_status=$?
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); }; } &&
34624 { ac_try='test -s conftest$ac_exeext'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34627 ac_status=$?
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; }; then
34630 eval "$as_ac_var=yes"
34631 else
34632 echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.$ac_ext >&5
34634
34635 eval "$as_ac_var=no"
34636 fi
34637 rm -f conftest.err conftest.$ac_objext \
34638 conftest$ac_exeext conftest.$ac_ext
34639 fi
34640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34642 if test `eval echo '${'$as_ac_var'}'` = yes; then
34643 cat >>confdefs.h <<_ACEOF
34644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34645 _ACEOF
34646 WCSLEN_FOUND=1
34647 fi
34648 done
34649
34650
34651 if test "$WCSLEN_FOUND" = 0; then
34652 if test "$TOOLKIT" = "MSW"; then
34653 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34654 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34655 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 else
34658 ac_check_lib_save_LIBS=$LIBS
34659 LIBS="-lmsvcrt $LIBS"
34660 cat >conftest.$ac_ext <<_ACEOF
34661 /* confdefs.h. */
34662 _ACEOF
34663 cat confdefs.h >>conftest.$ac_ext
34664 cat >>conftest.$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666
34667 /* Override any gcc2 internal prototype to avoid an error. */
34668 #ifdef __cplusplus
34669 extern "C"
34670 #endif
34671 /* We use char because int might match the return type of a gcc2
34672 builtin and then its argument prototype would still apply. */
34673 char wcslen ();
34674 int
34675 main ()
34676 {
34677 wcslen ();
34678 ;
34679 return 0;
34680 }
34681 _ACEOF
34682 rm -f conftest.$ac_objext conftest$ac_exeext
34683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34684 (eval $ac_link) 2>conftest.er1
34685 ac_status=$?
34686 grep -v '^ *+' conftest.er1 >conftest.err
34687 rm -f conftest.er1
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } &&
34691 { ac_try='test -z "$ac_cxx_werror_flag"
34692 || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34695 ac_status=$?
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34701 ac_status=$?
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 ac_cv_lib_msvcrt_wcslen=yes
34705 else
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709 ac_cv_lib_msvcrt_wcslen=no
34710 fi
34711 rm -f conftest.err conftest.$ac_objext \
34712 conftest$ac_exeext conftest.$ac_ext
34713 LIBS=$ac_check_lib_save_LIBS
34714 fi
34715 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34716 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34717 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34718 WCHAR_OK=1
34719 fi
34720
34721 else
34722 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34723 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34724 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727 ac_check_lib_save_LIBS=$LIBS
34728 LIBS="-lw $LIBS"
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735
34736 /* Override any gcc2 internal prototype to avoid an error. */
34737 #ifdef __cplusplus
34738 extern "C"
34739 #endif
34740 /* We use char because int might match the return type of a gcc2
34741 builtin and then its argument prototype would still apply. */
34742 char wcslen ();
34743 int
34744 main ()
34745 {
34746 wcslen ();
34747 ;
34748 return 0;
34749 }
34750 _ACEOF
34751 rm -f conftest.$ac_objext conftest$ac_exeext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34753 (eval $ac_link) 2>conftest.er1
34754 ac_status=$?
34755 grep -v '^ *+' conftest.er1 >conftest.err
34756 rm -f conftest.er1
34757 cat conftest.err >&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } &&
34760 { ac_try='test -z "$ac_cxx_werror_flag"
34761 || test ! -s conftest.err'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; } &&
34767 { ac_try='test -s conftest$ac_exeext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34770 ac_status=$?
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34773 ac_cv_lib_w_wcslen=yes
34774 else
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.$ac_ext >&5
34777
34778 ac_cv_lib_w_wcslen=no
34779 fi
34780 rm -f conftest.err conftest.$ac_objext \
34781 conftest$ac_exeext conftest.$ac_ext
34782 LIBS=$ac_check_lib_save_LIBS
34783 fi
34784 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34785 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34786 if test $ac_cv_lib_w_wcslen = yes; then
34787
34788 WCHAR_LINK=" -lw"
34789 WCSLEN_FOUND=1
34790
34791 fi
34792
34793 fi
34794 fi
34795
34796 if test "$WCSLEN_FOUND" = 1; then
34797 cat >>confdefs.h <<\_ACEOF
34798 #define HAVE_WCSLEN 1
34799 _ACEOF
34800
34801 fi
34802
34803 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34804 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34805 fi
34806
34807 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34808 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34809 if test "${ac_cv_type_mbstate_t+set}" = set; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 else
34812 cat >conftest.$ac_ext <<_ACEOF
34813 /* confdefs.h. */
34814 _ACEOF
34815 cat confdefs.h >>conftest.$ac_ext
34816 cat >>conftest.$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34818 #include <wchar.h>
34819
34820 int
34821 main ()
34822 {
34823 if ((mbstate_t *) 0)
34824 return 0;
34825 if (sizeof (mbstate_t))
34826 return 0;
34827 ;
34828 return 0;
34829 }
34830 _ACEOF
34831 rm -f conftest.$ac_objext
34832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34833 (eval $ac_compile) 2>conftest.er1
34834 ac_status=$?
34835 grep -v '^ *+' conftest.er1 >conftest.err
34836 rm -f conftest.er1
34837 cat conftest.err >&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } &&
34840 { ac_try='test -z "$ac_cxx_werror_flag"
34841 || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34844 ac_status=$?
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34850 ac_status=$?
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853 ac_cv_type_mbstate_t=yes
34854 else
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.$ac_ext >&5
34857
34858 ac_cv_type_mbstate_t=no
34859 fi
34860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34861 fi
34862 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34863 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34864 if test $ac_cv_type_mbstate_t = yes; then
34865
34866 cat >>confdefs.h <<_ACEOF
34867 #define HAVE_MBSTATE_T 1
34868 _ACEOF
34869
34870
34871 for ac_func in wcsrtombs
34872 do
34873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34874 echo "$as_me:$LINENO: checking for $ac_func" >&5
34875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34876 if eval "test \"\${$as_ac_var+set}\" = set"; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 else
34879 cat >conftest.$ac_ext <<_ACEOF
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34887 #define $ac_func innocuous_$ac_func
34888
34889 /* System header to define __stub macros and hopefully few prototypes,
34890 which can conflict with char $ac_func (); below.
34891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34892 <limits.h> exists even on freestanding compilers. */
34893
34894 #ifdef __STDC__
34895 # include <limits.h>
34896 #else
34897 # include <assert.h>
34898 #endif
34899
34900 #undef $ac_func
34901
34902 /* Override any gcc2 internal prototype to avoid an error. */
34903 #ifdef __cplusplus
34904 extern "C"
34905 {
34906 #endif
34907 /* We use char because int might match the return type of a gcc2
34908 builtin and then its argument prototype would still apply. */
34909 char $ac_func ();
34910 /* The GNU C library defines this for functions which it implements
34911 to always fail with ENOSYS. Some functions are actually named
34912 something starting with __ and the normal name is an alias. */
34913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34914 choke me
34915 #else
34916 char (*f) () = $ac_func;
34917 #endif
34918 #ifdef __cplusplus
34919 }
34920 #endif
34921
34922 int
34923 main ()
34924 {
34925 return f != $ac_func;
34926 ;
34927 return 0;
34928 }
34929 _ACEOF
34930 rm -f conftest.$ac_objext conftest$ac_exeext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34932 (eval $ac_link) 2>conftest.er1
34933 ac_status=$?
34934 grep -v '^ *+' conftest.er1 >conftest.err
34935 rm -f conftest.er1
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try='test -z "$ac_cxx_werror_flag"
34940 || test ! -s conftest.err'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34943 ac_status=$?
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; } &&
34946 { ac_try='test -s conftest$ac_exeext'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34949 ac_status=$?
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; }; then
34952 eval "$as_ac_var=yes"
34953 else
34954 echo "$as_me: failed program was:" >&5
34955 sed 's/^/| /' conftest.$ac_ext >&5
34956
34957 eval "$as_ac_var=no"
34958 fi
34959 rm -f conftest.err conftest.$ac_objext \
34960 conftest$ac_exeext conftest.$ac_ext
34961 fi
34962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34964 if test `eval echo '${'$as_ac_var'}'` = yes; then
34965 cat >>confdefs.h <<_ACEOF
34966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34967 _ACEOF
34968
34969 fi
34970 done
34971
34972 fi
34973
34974 else
34975 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34976 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34977 fi
34978
34979
34980
34981 for ac_func in snprintf vsnprintf
34982 do
34983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34984 echo "$as_me:$LINENO: checking for $ac_func" >&5
34985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34986 if eval "test \"\${$as_ac_var+set}\" = set"; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34988 else
34989 cat >conftest.$ac_ext <<_ACEOF
34990 /* confdefs.h. */
34991 _ACEOF
34992 cat confdefs.h >>conftest.$ac_ext
34993 cat >>conftest.$ac_ext <<_ACEOF
34994 /* end confdefs.h. */
34995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34997 #define $ac_func innocuous_$ac_func
34998
34999 /* System header to define __stub macros and hopefully few prototypes,
35000 which can conflict with char $ac_func (); below.
35001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35002 <limits.h> exists even on freestanding compilers. */
35003
35004 #ifdef __STDC__
35005 # include <limits.h>
35006 #else
35007 # include <assert.h>
35008 #endif
35009
35010 #undef $ac_func
35011
35012 /* Override any gcc2 internal prototype to avoid an error. */
35013 #ifdef __cplusplus
35014 extern "C"
35015 {
35016 #endif
35017 /* We use char because int might match the return type of a gcc2
35018 builtin and then its argument prototype would still apply. */
35019 char $ac_func ();
35020 /* The GNU C library defines this for functions which it implements
35021 to always fail with ENOSYS. Some functions are actually named
35022 something starting with __ and the normal name is an alias. */
35023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35024 choke me
35025 #else
35026 char (*f) () = $ac_func;
35027 #endif
35028 #ifdef __cplusplus
35029 }
35030 #endif
35031
35032 int
35033 main ()
35034 {
35035 return f != $ac_func;
35036 ;
35037 return 0;
35038 }
35039 _ACEOF
35040 rm -f conftest.$ac_objext conftest$ac_exeext
35041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35042 (eval $ac_link) 2>conftest.er1
35043 ac_status=$?
35044 grep -v '^ *+' conftest.er1 >conftest.err
35045 rm -f conftest.er1
35046 cat conftest.err >&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } &&
35049 { ac_try='test -z "$ac_cxx_werror_flag"
35050 || test ! -s conftest.err'
35051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052 (eval $ac_try) 2>&5
35053 ac_status=$?
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); }; } &&
35056 { ac_try='test -s conftest$ac_exeext'
35057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35058 (eval $ac_try) 2>&5
35059 ac_status=$?
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); }; }; then
35062 eval "$as_ac_var=yes"
35063 else
35064 echo "$as_me: failed program was:" >&5
35065 sed 's/^/| /' conftest.$ac_ext >&5
35066
35067 eval "$as_ac_var=no"
35068 fi
35069 rm -f conftest.err conftest.$ac_objext \
35070 conftest$ac_exeext conftest.$ac_ext
35071 fi
35072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35074 if test `eval echo '${'$as_ac_var'}'` = yes; then
35075 cat >>confdefs.h <<_ACEOF
35076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35077 _ACEOF
35078
35079 fi
35080 done
35081
35082
35083 if test "$ac_cv_func_vsnprintf" = "yes"; then
35084 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35085 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35086 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35087 echo $ECHO_N "(cached) $ECHO_C" >&6
35088 else
35089
35090 cat >conftest.$ac_ext <<_ACEOF
35091 /* confdefs.h. */
35092 _ACEOF
35093 cat confdefs.h >>conftest.$ac_ext
35094 cat >>conftest.$ac_ext <<_ACEOF
35095 /* end confdefs.h. */
35096
35097 #include <stdio.h>
35098 #include <stdarg.h>
35099 #ifdef __MSL__
35100 #if __MSL__ >= 0x6000
35101 namespace std {}
35102 using namespace std;
35103 #endif
35104 #endif
35105
35106 int
35107 main ()
35108 {
35109
35110 char *buf;
35111 va_list ap;
35112 vsnprintf(buf, 10u, "%s", ap);
35113
35114 ;
35115 return 0;
35116 }
35117 _ACEOF
35118 rm -f conftest.$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 2>conftest.er1
35121 ac_status=$?
35122 grep -v '^ *+' conftest.er1 >conftest.err
35123 rm -f conftest.er1
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try='test -z "$ac_cxx_werror_flag"
35128 || test ! -s conftest.err'
35129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35130 (eval $ac_try) 2>&5
35131 ac_status=$?
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; } &&
35134 { ac_try='test -s conftest.$ac_objext'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35137 ac_status=$?
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; }; then
35140 wx_cv_func_vsnprintf_decl=yes
35141 else
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.$ac_ext >&5
35144
35145 wx_cv_func_vsnprintf_decl=no
35146
35147 fi
35148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35149
35150
35151 fi
35152 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35153 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35154
35155 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35156 cat >>confdefs.h <<\_ACEOF
35157 #define HAVE_VSNPRINTF_DECL 1
35158 _ACEOF
35159
35160
35161 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35162 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35163 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 else
35166
35167 cat >conftest.$ac_ext <<_ACEOF
35168 /* confdefs.h. */
35169 _ACEOF
35170 cat confdefs.h >>conftest.$ac_ext
35171 cat >>conftest.$ac_ext <<_ACEOF
35172 /* end confdefs.h. */
35173
35174 #include <stdio.h>
35175 #include <stdarg.h>
35176 #ifdef __MSL__
35177 #if __MSL__ >= 0x6000
35178 namespace std {}
35179 using namespace std;
35180 #endif
35181 #endif
35182
35183 int
35184 main ()
35185 {
35186
35187 char *buf;
35188 va_list ap;
35189 const char *fmt = "%s";
35190 vsnprintf(buf, 10u, fmt, ap);
35191
35192 ;
35193 return 0;
35194 }
35195 _ACEOF
35196 rm -f conftest.$ac_objext
35197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35198 (eval $ac_compile) 2>conftest.er1
35199 ac_status=$?
35200 grep -v '^ *+' conftest.er1 >conftest.err
35201 rm -f conftest.er1
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } &&
35205 { ac_try='test -z "$ac_cxx_werror_flag"
35206 || test ! -s conftest.err'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35209 ac_status=$?
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try='test -s conftest.$ac_objext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 wx_cv_func_broken_vsnprintf_decl=no
35219 else
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.$ac_ext >&5
35222
35223 wx_cv_func_broken_vsnprintf_decl=yes
35224
35225 fi
35226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35227
35228
35229 fi
35230 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35231 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35232
35233 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35234 cat >>confdefs.h <<\_ACEOF
35235 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35236 _ACEOF
35237
35238 fi
35239 fi
35240 fi
35241
35242 if test "$ac_cv_func_snprintf" = "yes"; then
35243 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35244 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35245 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 else
35248
35249 cat >conftest.$ac_ext <<_ACEOF
35250 /* confdefs.h. */
35251 _ACEOF
35252 cat confdefs.h >>conftest.$ac_ext
35253 cat >>conftest.$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255
35256 #include <stdio.h>
35257 #include <stdarg.h>
35258 #ifdef __MSL__
35259 #if __MSL__ >= 0x6000
35260 namespace std {}
35261 using namespace std;
35262 #endif
35263 #endif
35264
35265 int
35266 main ()
35267 {
35268
35269 char *buf;
35270 snprintf(buf, 10u, "%s", "wx");
35271
35272 ;
35273 return 0;
35274 }
35275 _ACEOF
35276 rm -f conftest.$ac_objext
35277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35278 (eval $ac_compile) 2>conftest.er1
35279 ac_status=$?
35280 grep -v '^ *+' conftest.er1 >conftest.err
35281 rm -f conftest.er1
35282 cat conftest.err >&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); } &&
35285 { ac_try='test -z "$ac_cxx_werror_flag"
35286 || test ! -s conftest.err'
35287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35288 (eval $ac_try) 2>&5
35289 ac_status=$?
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; } &&
35292 { ac_try='test -s conftest.$ac_objext'
35293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35294 (eval $ac_try) 2>&5
35295 ac_status=$?
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; }; then
35298 wx_cv_func_snprintf_decl=yes
35299 else
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35302
35303 wx_cv_func_snprintf_decl=no
35304
35305 fi
35306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35307
35308
35309 fi
35310 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35311 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35312
35313 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35314 cat >>confdefs.h <<\_ACEOF
35315 #define HAVE_SNPRINTF_DECL 1
35316 _ACEOF
35317
35318
35319 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35320 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35321 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324
35325 cat >conftest.$ac_ext <<_ACEOF
35326 /* confdefs.h. */
35327 _ACEOF
35328 cat confdefs.h >>conftest.$ac_ext
35329 cat >>conftest.$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35331
35332 #include <stdio.h>
35333 #include <stdarg.h>
35334 #ifdef __MSL__
35335 #if __MSL__ >= 0x6000
35336 namespace std {}
35337 using namespace std;
35338 #endif
35339 #endif
35340
35341 int
35342 main ()
35343 {
35344
35345 char *buf;
35346 const char *fmt = "%s";
35347 snprintf(buf, 10u, fmt, "wx");
35348
35349 ;
35350 return 0;
35351 }
35352 _ACEOF
35353 rm -f conftest.$ac_objext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35355 (eval $ac_compile) 2>conftest.er1
35356 ac_status=$?
35357 grep -v '^ *+' conftest.er1 >conftest.err
35358 rm -f conftest.er1
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } &&
35362 { ac_try='test -z "$ac_cxx_werror_flag"
35363 || test ! -s conftest.err'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35366 ac_status=$?
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; } &&
35369 { ac_try='test -s conftest.$ac_objext'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35372 ac_status=$?
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; }; then
35375 wx_cv_func_broken_snprintf_decl=no
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 wx_cv_func_broken_snprintf_decl=yes
35381
35382 fi
35383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35384
35385
35386 fi
35387 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35388 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35389
35390 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35391 cat >>confdefs.h <<\_ACEOF
35392 #define HAVE_BROKEN_SNPRINTF_DECL 1
35393 _ACEOF
35394
35395 fi
35396 fi
35397
35398 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35399
35400 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35401 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35402 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35403 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 else
35405
35406 if test "$cross_compiling" = yes; then
35407
35408 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35409 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35410 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35411 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35412 wx_cv_func_snprintf_pos_params=no
35413
35414
35415 else
35416 cat >conftest.$ac_ext <<_ACEOF
35417 /* confdefs.h. */
35418 _ACEOF
35419 cat confdefs.h >>conftest.$ac_ext
35420 cat >>conftest.$ac_ext <<_ACEOF
35421 /* end confdefs.h. */
35422
35423 #include <stdio.h>
35424
35425 int main (void)
35426 {
35427 char buffer[128];
35428 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35429 if (strcmp ("2 3 1", buffer) == 0)
35430 exit (0);
35431 exit (1);
35432 }
35433
35434 _ACEOF
35435 rm -f conftest$ac_exeext
35436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35437 (eval $ac_link) 2>&5
35438 ac_status=$?
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35443 ac_status=$?
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; }; then
35446 wx_cv_func_snprintf_pos_params=no
35447 else
35448 echo "$as_me: program exited with status $ac_status" >&5
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35451
35452 ( exit $ac_status )
35453 wx_cv_func_snprintf_pos_params=yes
35454 fi
35455 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35456 fi
35457
35458
35459 fi
35460 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35461 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35462
35463 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35464 cat >>confdefs.h <<\_ACEOF
35465 #define HAVE_UNIX98_PRINTF 1
35466 _ACEOF
35467
35468 fi
35469 fi
35470 fi
35471
35472 if test "$wxUSE_UNICODE" = yes; then
35473
35474
35475 for ac_func in swprintf
35476 do
35477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35478 echo "$as_me:$LINENO: checking for $ac_func" >&5
35479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35480 if eval "test \"\${$as_ac_var+set}\" = set"; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 else
35483 cat >conftest.$ac_ext <<_ACEOF
35484 /* confdefs.h. */
35485 _ACEOF
35486 cat confdefs.h >>conftest.$ac_ext
35487 cat >>conftest.$ac_ext <<_ACEOF
35488 /* end confdefs.h. */
35489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35491 #define $ac_func innocuous_$ac_func
35492
35493 /* System header to define __stub macros and hopefully few prototypes,
35494 which can conflict with char $ac_func (); below.
35495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35496 <limits.h> exists even on freestanding compilers. */
35497
35498 #ifdef __STDC__
35499 # include <limits.h>
35500 #else
35501 # include <assert.h>
35502 #endif
35503
35504 #undef $ac_func
35505
35506 /* Override any gcc2 internal prototype to avoid an error. */
35507 #ifdef __cplusplus
35508 extern "C"
35509 {
35510 #endif
35511 /* We use char because int might match the return type of a gcc2
35512 builtin and then its argument prototype would still apply. */
35513 char $ac_func ();
35514 /* The GNU C library defines this for functions which it implements
35515 to always fail with ENOSYS. Some functions are actually named
35516 something starting with __ and the normal name is an alias. */
35517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35518 choke me
35519 #else
35520 char (*f) () = $ac_func;
35521 #endif
35522 #ifdef __cplusplus
35523 }
35524 #endif
35525
35526 int
35527 main ()
35528 {
35529 return f != $ac_func;
35530 ;
35531 return 0;
35532 }
35533 _ACEOF
35534 rm -f conftest.$ac_objext conftest$ac_exeext
35535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35536 (eval $ac_link) 2>conftest.er1
35537 ac_status=$?
35538 grep -v '^ *+' conftest.er1 >conftest.err
35539 rm -f conftest.er1
35540 cat conftest.err >&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try='test -z "$ac_cxx_werror_flag"
35544 || test ! -s conftest.err'
35545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35546 (eval $ac_try) 2>&5
35547 ac_status=$?
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); }; } &&
35550 { ac_try='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35553 ac_status=$?
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35557 else
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.$ac_ext >&5
35560
35561 eval "$as_ac_var=no"
35562 fi
35563 rm -f conftest.err conftest.$ac_objext \
35564 conftest$ac_exeext conftest.$ac_ext
35565 fi
35566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35568 if test `eval echo '${'$as_ac_var'}'` = yes; then
35569 cat >>confdefs.h <<_ACEOF
35570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35571 _ACEOF
35572
35573 fi
35574 done
35575
35576
35577 if test "$ac_cv_func_swprintf" = "yes"; then
35578 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35579 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35580 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 else
35583
35584 cat >conftest.$ac_ext <<_ACEOF
35585 /* confdefs.h. */
35586 _ACEOF
35587 cat confdefs.h >>conftest.$ac_ext
35588 cat >>conftest.$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590
35591 #include <stdio.h>
35592 #include <stdarg.h>
35593 #include <wchar.h>
35594
35595 int
35596 main ()
35597 {
35598
35599 wchar_t *buf;
35600 const wchar_t *fmt = L"test";
35601 swprintf(buf, 10u, fmt);
35602
35603 ;
35604 return 0;
35605 }
35606 _ACEOF
35607 rm -f conftest.$ac_objext
35608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35609 (eval $ac_compile) 2>conftest.er1
35610 ac_status=$?
35611 grep -v '^ *+' conftest.er1 >conftest.err
35612 rm -f conftest.er1
35613 cat conftest.err >&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); } &&
35616 { ac_try='test -z "$ac_cxx_werror_flag"
35617 || test ! -s conftest.err'
35618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35619 (eval $ac_try) 2>&5
35620 ac_status=$?
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); }; } &&
35623 { ac_try='test -s conftest.$ac_objext'
35624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35625 (eval $ac_try) 2>&5
35626 ac_status=$?
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); }; }; then
35629 wx_cv_func_broken_swprintf_decl=no
35630 else
35631 echo "$as_me: failed program was:" >&5
35632 sed 's/^/| /' conftest.$ac_ext >&5
35633
35634 wx_cv_func_broken_swprintf_decl=yes
35635
35636 fi
35637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35638
35639
35640 fi
35641 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35642 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35643
35644 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35645 cat >>confdefs.h <<\_ACEOF
35646 #define HAVE_BROKEN_SWPRINTF_DECL 1
35647 _ACEOF
35648
35649 fi
35650 fi
35651
35652
35653
35654
35655
35656
35657
35658 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35659 do
35660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35661 echo "$as_me:$LINENO: checking for $ac_func" >&5
35662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35663 if eval "test \"\${$as_ac_var+set}\" = set"; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666 cat >conftest.$ac_ext <<_ACEOF
35667 /* confdefs.h. */
35668 _ACEOF
35669 cat confdefs.h >>conftest.$ac_ext
35670 cat >>conftest.$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35674 #define $ac_func innocuous_$ac_func
35675
35676 /* System header to define __stub macros and hopefully few prototypes,
35677 which can conflict with char $ac_func (); below.
35678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35679 <limits.h> exists even on freestanding compilers. */
35680
35681 #ifdef __STDC__
35682 # include <limits.h>
35683 #else
35684 # include <assert.h>
35685 #endif
35686
35687 #undef $ac_func
35688
35689 /* Override any gcc2 internal prototype to avoid an error. */
35690 #ifdef __cplusplus
35691 extern "C"
35692 {
35693 #endif
35694 /* We use char because int might match the return type of a gcc2
35695 builtin and then its argument prototype would still apply. */
35696 char $ac_func ();
35697 /* The GNU C library defines this for functions which it implements
35698 to always fail with ENOSYS. Some functions are actually named
35699 something starting with __ and the normal name is an alias. */
35700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35701 choke me
35702 #else
35703 char (*f) () = $ac_func;
35704 #endif
35705 #ifdef __cplusplus
35706 }
35707 #endif
35708
35709 int
35710 main ()
35711 {
35712 return f != $ac_func;
35713 ;
35714 return 0;
35715 }
35716 _ACEOF
35717 rm -f conftest.$ac_objext conftest$ac_exeext
35718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35719 (eval $ac_link) 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } &&
35726 { ac_try='test -z "$ac_cxx_werror_flag"
35727 || test ! -s conftest.err'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35730 ac_status=$?
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; } &&
35733 { ac_try='test -s conftest$ac_exeext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 eval "$as_ac_var=yes"
35740 else
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.$ac_ext >&5
35743
35744 eval "$as_ac_var=no"
35745 fi
35746 rm -f conftest.err conftest.$ac_objext \
35747 conftest$ac_exeext conftest.$ac_ext
35748 fi
35749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35751 if test `eval echo '${'$as_ac_var'}'` = yes; then
35752 cat >>confdefs.h <<_ACEOF
35753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35754 _ACEOF
35755
35756 fi
35757 done
35758
35759
35760 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35761 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35762 cat >conftest.$ac_ext <<_ACEOF
35763 /* confdefs.h. */
35764 _ACEOF
35765 cat confdefs.h >>conftest.$ac_ext
35766 cat >>conftest.$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35768 #include <wchar.h>
35769 int
35770 main ()
35771 {
35772 &_vsnwprintf;
35773 ;
35774 return 0;
35775 }
35776 _ACEOF
35777 rm -f conftest.$ac_objext
35778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35779 (eval $ac_compile) 2>conftest.er1
35780 ac_status=$?
35781 grep -v '^ *+' conftest.er1 >conftest.err
35782 rm -f conftest.er1
35783 cat conftest.err >&5
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); } &&
35786 { ac_try='test -z "$ac_cxx_werror_flag"
35787 || test ! -s conftest.err'
35788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35789 (eval $ac_try) 2>&5
35790 ac_status=$?
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); }; } &&
35793 { ac_try='test -s conftest.$ac_objext'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35796 ac_status=$?
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; }; then
35799 echo "$as_me:$LINENO: result: yes" >&5
35800 echo "${ECHO_T}yes" >&6
35801 cat >>confdefs.h <<\_ACEOF
35802 #define HAVE__VSNWPRINTF 1
35803 _ACEOF
35804
35805 else
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35808
35809 echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6
35811 fi
35812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35813 fi
35814
35815 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35816
35817 for ac_func in fnmatch
35818 do
35819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35820 echo "$as_me:$LINENO: checking for $ac_func" >&5
35821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35822 if eval "test \"\${$as_ac_var+set}\" = set"; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35824 else
35825 cat >conftest.$ac_ext <<_ACEOF
35826 /* confdefs.h. */
35827 _ACEOF
35828 cat confdefs.h >>conftest.$ac_ext
35829 cat >>conftest.$ac_ext <<_ACEOF
35830 /* end confdefs.h. */
35831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35833 #define $ac_func innocuous_$ac_func
35834
35835 /* System header to define __stub macros and hopefully few prototypes,
35836 which can conflict with char $ac_func (); below.
35837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35838 <limits.h> exists even on freestanding compilers. */
35839
35840 #ifdef __STDC__
35841 # include <limits.h>
35842 #else
35843 # include <assert.h>
35844 #endif
35845
35846 #undef $ac_func
35847
35848 /* Override any gcc2 internal prototype to avoid an error. */
35849 #ifdef __cplusplus
35850 extern "C"
35851 {
35852 #endif
35853 /* We use char because int might match the return type of a gcc2
35854 builtin and then its argument prototype would still apply. */
35855 char $ac_func ();
35856 /* The GNU C library defines this for functions which it implements
35857 to always fail with ENOSYS. Some functions are actually named
35858 something starting with __ and the normal name is an alias. */
35859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35860 choke me
35861 #else
35862 char (*f) () = $ac_func;
35863 #endif
35864 #ifdef __cplusplus
35865 }
35866 #endif
35867
35868 int
35869 main ()
35870 {
35871 return f != $ac_func;
35872 ;
35873 return 0;
35874 }
35875 _ACEOF
35876 rm -f conftest.$ac_objext conftest$ac_exeext
35877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35878 (eval $ac_link) 2>conftest.er1
35879 ac_status=$?
35880 grep -v '^ *+' conftest.er1 >conftest.err
35881 rm -f conftest.er1
35882 cat conftest.err >&5
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); } &&
35885 { ac_try='test -z "$ac_cxx_werror_flag"
35886 || test ! -s conftest.err'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35889 ac_status=$?
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; } &&
35892 { ac_try='test -s conftest$ac_exeext'
35893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35894 (eval $ac_try) 2>&5
35895 ac_status=$?
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); }; }; then
35898 eval "$as_ac_var=yes"
35899 else
35900 echo "$as_me: failed program was:" >&5
35901 sed 's/^/| /' conftest.$ac_ext >&5
35902
35903 eval "$as_ac_var=no"
35904 fi
35905 rm -f conftest.err conftest.$ac_objext \
35906 conftest$ac_exeext conftest.$ac_ext
35907 fi
35908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35910 if test `eval echo '${'$as_ac_var'}'` = yes; then
35911 cat >>confdefs.h <<_ACEOF
35912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35913 _ACEOF
35914
35915 fi
35916 done
35917
35918 fi
35919
35920 if test "$wxUSE_FILE" = "yes"; then
35921
35922 for ac_func in fsync
35923 do
35924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35925 echo "$as_me:$LINENO: checking for $ac_func" >&5
35926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35927 if eval "test \"\${$as_ac_var+set}\" = set"; then
35928 echo $ECHO_N "(cached) $ECHO_C" >&6
35929 else
35930 cat >conftest.$ac_ext <<_ACEOF
35931 /* confdefs.h. */
35932 _ACEOF
35933 cat confdefs.h >>conftest.$ac_ext
35934 cat >>conftest.$ac_ext <<_ACEOF
35935 /* end confdefs.h. */
35936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35938 #define $ac_func innocuous_$ac_func
35939
35940 /* System header to define __stub macros and hopefully few prototypes,
35941 which can conflict with char $ac_func (); below.
35942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35943 <limits.h> exists even on freestanding compilers. */
35944
35945 #ifdef __STDC__
35946 # include <limits.h>
35947 #else
35948 # include <assert.h>
35949 #endif
35950
35951 #undef $ac_func
35952
35953 /* Override any gcc2 internal prototype to avoid an error. */
35954 #ifdef __cplusplus
35955 extern "C"
35956 {
35957 #endif
35958 /* We use char because int might match the return type of a gcc2
35959 builtin and then its argument prototype would still apply. */
35960 char $ac_func ();
35961 /* The GNU C library defines this for functions which it implements
35962 to always fail with ENOSYS. Some functions are actually named
35963 something starting with __ and the normal name is an alias. */
35964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35965 choke me
35966 #else
35967 char (*f) () = $ac_func;
35968 #endif
35969 #ifdef __cplusplus
35970 }
35971 #endif
35972
35973 int
35974 main ()
35975 {
35976 return f != $ac_func;
35977 ;
35978 return 0;
35979 }
35980 _ACEOF
35981 rm -f conftest.$ac_objext conftest$ac_exeext
35982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35983 (eval $ac_link) 2>conftest.er1
35984 ac_status=$?
35985 grep -v '^ *+' conftest.er1 >conftest.err
35986 rm -f conftest.er1
35987 cat conftest.err >&5
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); } &&
35990 { ac_try='test -z "$ac_cxx_werror_flag"
35991 || test ! -s conftest.err'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35994 ac_status=$?
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try='test -s conftest$ac_exeext'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36000 ac_status=$?
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36003 eval "$as_ac_var=yes"
36004 else
36005 echo "$as_me: failed program was:" >&5
36006 sed 's/^/| /' conftest.$ac_ext >&5
36007
36008 eval "$as_ac_var=no"
36009 fi
36010 rm -f conftest.err conftest.$ac_objext \
36011 conftest$ac_exeext conftest.$ac_ext
36012 fi
36013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36015 if test `eval echo '${'$as_ac_var'}'` = yes; then
36016 cat >>confdefs.h <<_ACEOF
36017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36018 _ACEOF
36019
36020 fi
36021 done
36022
36023 fi
36024
36025
36026 for ac_func in round
36027 do
36028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36029 echo "$as_me:$LINENO: checking for $ac_func" >&5
36030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36031 if eval "test \"\${$as_ac_var+set}\" = set"; then
36032 echo $ECHO_N "(cached) $ECHO_C" >&6
36033 else
36034 cat >conftest.$ac_ext <<_ACEOF
36035 /* confdefs.h. */
36036 _ACEOF
36037 cat confdefs.h >>conftest.$ac_ext
36038 cat >>conftest.$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36042 #define $ac_func innocuous_$ac_func
36043
36044 /* System header to define __stub macros and hopefully few prototypes,
36045 which can conflict with char $ac_func (); below.
36046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36047 <limits.h> exists even on freestanding compilers. */
36048
36049 #ifdef __STDC__
36050 # include <limits.h>
36051 #else
36052 # include <assert.h>
36053 #endif
36054
36055 #undef $ac_func
36056
36057 /* Override any gcc2 internal prototype to avoid an error. */
36058 #ifdef __cplusplus
36059 extern "C"
36060 {
36061 #endif
36062 /* We use char because int might match the return type of a gcc2
36063 builtin and then its argument prototype would still apply. */
36064 char $ac_func ();
36065 /* The GNU C library defines this for functions which it implements
36066 to always fail with ENOSYS. Some functions are actually named
36067 something starting with __ and the normal name is an alias. */
36068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36069 choke me
36070 #else
36071 char (*f) () = $ac_func;
36072 #endif
36073 #ifdef __cplusplus
36074 }
36075 #endif
36076
36077 int
36078 main ()
36079 {
36080 return f != $ac_func;
36081 ;
36082 return 0;
36083 }
36084 _ACEOF
36085 rm -f conftest.$ac_objext conftest$ac_exeext
36086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36087 (eval $ac_link) 2>conftest.er1
36088 ac_status=$?
36089 grep -v '^ *+' conftest.er1 >conftest.err
36090 rm -f conftest.er1
36091 cat conftest.err >&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); } &&
36094 { ac_try='test -z "$ac_cxx_werror_flag"
36095 || test ! -s conftest.err'
36096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36097 (eval $ac_try) 2>&5
36098 ac_status=$?
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); }; } &&
36101 { ac_try='test -s conftest$ac_exeext'
36102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36103 (eval $ac_try) 2>&5
36104 ac_status=$?
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); }; }; then
36107 eval "$as_ac_var=yes"
36108 else
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.$ac_ext >&5
36111
36112 eval "$as_ac_var=no"
36113 fi
36114 rm -f conftest.err conftest.$ac_objext \
36115 conftest$ac_exeext conftest.$ac_ext
36116 fi
36117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36119 if test `eval echo '${'$as_ac_var'}'` = yes; then
36120 cat >>confdefs.h <<_ACEOF
36121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36122 _ACEOF
36123
36124 fi
36125 done
36126
36127 if test "$ac_cv_func_round" = yes; then
36128 echo "$as_me:$LINENO: checking whether round is declared" >&5
36129 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36130 if test "${ac_cv_have_decl_round+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 else
36133 cat >conftest.$ac_ext <<_ACEOF
36134 /* confdefs.h. */
36135 _ACEOF
36136 cat confdefs.h >>conftest.$ac_ext
36137 cat >>conftest.$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36139 #include <math.h>
36140
36141 int
36142 main ()
36143 {
36144 #ifndef round
36145 char *p = (char *) round;
36146 #endif
36147
36148 ;
36149 return 0;
36150 }
36151 _ACEOF
36152 rm -f conftest.$ac_objext
36153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36154 (eval $ac_compile) 2>conftest.er1
36155 ac_status=$?
36156 grep -v '^ *+' conftest.er1 >conftest.err
36157 rm -f conftest.er1
36158 cat conftest.err >&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } &&
36161 { ac_try='test -z "$ac_cxx_werror_flag"
36162 || test ! -s conftest.err'
36163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36164 (eval $ac_try) 2>&5
36165 ac_status=$?
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); }; } &&
36168 { ac_try='test -s conftest.$ac_objext'
36169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36170 (eval $ac_try) 2>&5
36171 ac_status=$?
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); }; }; then
36174 ac_cv_have_decl_round=yes
36175 else
36176 echo "$as_me: failed program was:" >&5
36177 sed 's/^/| /' conftest.$ac_ext >&5
36178
36179 ac_cv_have_decl_round=no
36180 fi
36181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36182 fi
36183 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36184 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36185 if test $ac_cv_have_decl_round = yes; then
36186
36187 cat >>confdefs.h <<_ACEOF
36188 #define HAVE_DECL_ROUND 1
36189 _ACEOF
36190
36191
36192 else
36193 cat >>confdefs.h <<_ACEOF
36194 #define HAVE_DECL_ROUND 0
36195 _ACEOF
36196
36197
36198 fi
36199
36200
36201 fi
36202
36203
36204 if test "$TOOLKIT" != "MSW"; then
36205
36206
36207
36208
36209
36210 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36211 if test "${with_libiconv_prefix+set}" = set; then
36212 withval="$with_libiconv_prefix"
36213
36214 for dir in `echo "$withval" | tr : ' '`; do
36215 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36216 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36217 done
36218
36219 fi;
36220
36221 echo "$as_me:$LINENO: checking for iconv" >&5
36222 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36223 if test "${am_cv_func_iconv+set}" = set; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36225 else
36226
36227 am_cv_func_iconv="no, consider installing GNU libiconv"
36228 am_cv_lib_iconv=no
36229 cat >conftest.$ac_ext <<_ACEOF
36230 /* confdefs.h. */
36231 _ACEOF
36232 cat confdefs.h >>conftest.$ac_ext
36233 cat >>conftest.$ac_ext <<_ACEOF
36234 /* end confdefs.h. */
36235 #include <stdlib.h>
36236 #include <iconv.h>
36237 int
36238 main ()
36239 {
36240 iconv_t cd = iconv_open("","");
36241 iconv(cd,NULL,NULL,NULL,NULL);
36242 iconv_close(cd);
36243 ;
36244 return 0;
36245 }
36246 _ACEOF
36247 rm -f conftest.$ac_objext conftest$ac_exeext
36248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36249 (eval $ac_link) 2>conftest.er1
36250 ac_status=$?
36251 grep -v '^ *+' conftest.er1 >conftest.err
36252 rm -f conftest.er1
36253 cat conftest.err >&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); } &&
36256 { ac_try='test -z "$ac_cxx_werror_flag"
36257 || test ! -s conftest.err'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36260 ac_status=$?
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; } &&
36263 { ac_try='test -s conftest$ac_exeext'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; }; then
36269 am_cv_func_iconv=yes
36270 else
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.$ac_ext >&5
36273
36274 fi
36275 rm -f conftest.err conftest.$ac_objext \
36276 conftest$ac_exeext conftest.$ac_ext
36277 if test "$am_cv_func_iconv" != yes; then
36278 am_save_LIBS="$LIBS"
36279 LIBS="$LIBS -liconv"
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 #include <stdlib.h>
36287 #include <iconv.h>
36288 int
36289 main ()
36290 {
36291 iconv_t cd = iconv_open("","");
36292 iconv(cd,NULL,NULL,NULL,NULL);
36293 iconv_close(cd);
36294 ;
36295 return 0;
36296 }
36297 _ACEOF
36298 rm -f conftest.$ac_objext conftest$ac_exeext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36300 (eval $ac_link) 2>conftest.er1
36301 ac_status=$?
36302 grep -v '^ *+' conftest.er1 >conftest.err
36303 rm -f conftest.er1
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try='test -z "$ac_cxx_werror_flag"
36308 || test ! -s conftest.err'
36309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36310 (eval $ac_try) 2>&5
36311 ac_status=$?
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); }; } &&
36314 { ac_try='test -s conftest$ac_exeext'
36315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36316 (eval $ac_try) 2>&5
36317 ac_status=$?
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); }; }; then
36320 am_cv_lib_iconv=yes
36321 am_cv_func_iconv=yes
36322 else
36323 echo "$as_me: failed program was:" >&5
36324 sed 's/^/| /' conftest.$ac_ext >&5
36325
36326 fi
36327 rm -f conftest.err conftest.$ac_objext \
36328 conftest$ac_exeext conftest.$ac_ext
36329 LIBS="$am_save_LIBS"
36330 fi
36331
36332 fi
36333 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36334 echo "${ECHO_T}$am_cv_func_iconv" >&6
36335 if test "$am_cv_func_iconv" = yes; then
36336
36337 cat >>confdefs.h <<\_ACEOF
36338 #define HAVE_ICONV 1
36339 _ACEOF
36340
36341 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36342 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36343 if test "${wx_cv_func_iconv_const+set}" = set; then
36344 echo $ECHO_N "(cached) $ECHO_C" >&6
36345 else
36346 cat >conftest.$ac_ext <<_ACEOF
36347 /* confdefs.h. */
36348 _ACEOF
36349 cat confdefs.h >>conftest.$ac_ext
36350 cat >>conftest.$ac_ext <<_ACEOF
36351 /* end confdefs.h. */
36352
36353 #include <stdlib.h>
36354 #include <iconv.h>
36355 extern
36356 #ifdef __cplusplus
36357 "C"
36358 #endif
36359 #if defined(__STDC__) || defined(__cplusplus)
36360 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36361 #else
36362 size_t iconv();
36363 #endif
36364
36365 int
36366 main ()
36367 {
36368
36369 ;
36370 return 0;
36371 }
36372 _ACEOF
36373 rm -f conftest.$ac_objext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36375 (eval $ac_compile) 2>conftest.er1
36376 ac_status=$?
36377 grep -v '^ *+' conftest.er1 >conftest.err
36378 rm -f conftest.er1
36379 cat conftest.err >&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try='test -z "$ac_cxx_werror_flag"
36383 || test ! -s conftest.err'
36384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385 (eval $ac_try) 2>&5
36386 ac_status=$?
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); }; } &&
36389 { ac_try='test -s conftest.$ac_objext'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; }; then
36395 wx_cv_func_iconv_const="no"
36396 else
36397 echo "$as_me: failed program was:" >&5
36398 sed 's/^/| /' conftest.$ac_ext >&5
36399
36400 wx_cv_func_iconv_const="yes"
36401
36402 fi
36403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36404
36405 fi
36406 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36407 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36408
36409 iconv_const=
36410 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36411 iconv_const="const"
36412 fi
36413
36414
36415 cat >>confdefs.h <<_ACEOF
36416 #define ICONV_CONST $iconv_const
36417 _ACEOF
36418
36419 fi
36420 LIBICONV=
36421 if test "$am_cv_lib_iconv" = yes; then
36422 LIBICONV="-liconv"
36423 fi
36424
36425
36426 LIBS="$LIBICONV $LIBS"
36427
36428 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36429
36430 for ac_func in sigaction
36431 do
36432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36433 echo "$as_me:$LINENO: checking for $ac_func" >&5
36434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36435 if eval "test \"\${$as_ac_var+set}\" = set"; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 else
36438 cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h. */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36446 #define $ac_func innocuous_$ac_func
36447
36448 /* System header to define __stub macros and hopefully few prototypes,
36449 which can conflict with char $ac_func (); below.
36450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36451 <limits.h> exists even on freestanding compilers. */
36452
36453 #ifdef __STDC__
36454 # include <limits.h>
36455 #else
36456 # include <assert.h>
36457 #endif
36458
36459 #undef $ac_func
36460
36461 /* Override any gcc2 internal prototype to avoid an error. */
36462 #ifdef __cplusplus
36463 extern "C"
36464 {
36465 #endif
36466 /* We use char because int might match the return type of a gcc2
36467 builtin and then its argument prototype would still apply. */
36468 char $ac_func ();
36469 /* The GNU C library defines this for functions which it implements
36470 to always fail with ENOSYS. Some functions are actually named
36471 something starting with __ and the normal name is an alias. */
36472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36473 choke me
36474 #else
36475 char (*f) () = $ac_func;
36476 #endif
36477 #ifdef __cplusplus
36478 }
36479 #endif
36480
36481 int
36482 main ()
36483 {
36484 return f != $ac_func;
36485 ;
36486 return 0;
36487 }
36488 _ACEOF
36489 rm -f conftest.$ac_objext conftest$ac_exeext
36490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36491 (eval $ac_link) 2>conftest.er1
36492 ac_status=$?
36493 grep -v '^ *+' conftest.er1 >conftest.err
36494 rm -f conftest.er1
36495 cat conftest.err >&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } &&
36498 { ac_try='test -z "$ac_cxx_werror_flag"
36499 || test ! -s conftest.err'
36500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 (eval $ac_try) 2>&5
36502 ac_status=$?
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); }; } &&
36505 { ac_try='test -s conftest$ac_exeext'
36506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507 (eval $ac_try) 2>&5
36508 ac_status=$?
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); }; }; then
36511 eval "$as_ac_var=yes"
36512 else
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.$ac_ext >&5
36515
36516 eval "$as_ac_var=no"
36517 fi
36518 rm -f conftest.err conftest.$ac_objext \
36519 conftest$ac_exeext conftest.$ac_ext
36520 fi
36521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36523 if test `eval echo '${'$as_ac_var'}'` = yes; then
36524 cat >>confdefs.h <<_ACEOF
36525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36526 _ACEOF
36527
36528 fi
36529 done
36530
36531
36532 if test "$ac_cv_func_sigaction" = "no"; then
36533 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36534 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36535 wxUSE_ON_FATAL_EXCEPTION=no
36536 fi
36537
36538 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36539 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36540 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36541 if test "${wx_cv_type_sa_handler+set}" = set; then
36542 echo $ECHO_N "(cached) $ECHO_C" >&6
36543 else
36544
36545 cat >conftest.$ac_ext <<_ACEOF
36546 /* confdefs.h. */
36547 _ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 #include <signal.h>
36552 int
36553 main ()
36554 {
36555
36556 extern void testSigHandler(int);
36557
36558 struct sigaction sa;
36559 sa.sa_handler = testSigHandler;
36560
36561 ;
36562 return 0;
36563 }
36564 _ACEOF
36565 rm -f conftest.$ac_objext
36566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36567 (eval $ac_compile) 2>conftest.er1
36568 ac_status=$?
36569 grep -v '^ *+' conftest.er1 >conftest.err
36570 rm -f conftest.er1
36571 cat conftest.err >&5
36572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36573 (exit $ac_status); } &&
36574 { ac_try='test -z "$ac_cxx_werror_flag"
36575 || test ! -s conftest.err'
36576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36577 (eval $ac_try) 2>&5
36578 ac_status=$?
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); }; } &&
36581 { ac_try='test -s conftest.$ac_objext'
36582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583 (eval $ac_try) 2>&5
36584 ac_status=$?
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); }; }; then
36587
36588 wx_cv_type_sa_handler=int
36589
36590 else
36591 echo "$as_me: failed program was:" >&5
36592 sed 's/^/| /' conftest.$ac_ext >&5
36593
36594
36595 wx_cv_type_sa_handler=void
36596
36597 fi
36598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36599
36600 fi
36601 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36602 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36603
36604 cat >>confdefs.h <<_ACEOF
36605 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36606 _ACEOF
36607
36608 fi
36609 fi
36610
36611 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36612 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36613 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36614 if test "${wx_cv_func_backtrace+set}" = set; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 else
36617
36618 cat >conftest.$ac_ext <<_ACEOF
36619 /* confdefs.h. */
36620 _ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36624 #include <execinfo.h>
36625 int
36626 main ()
36627 {
36628
36629 void *trace[1];
36630 char **messages;
36631
36632 backtrace(trace, 1);
36633 messages = backtrace_symbols(trace, 1);
36634
36635 ;
36636 return 0;
36637 }
36638 _ACEOF
36639 rm -f conftest.$ac_objext
36640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36641 (eval $ac_compile) 2>conftest.er1
36642 ac_status=$?
36643 grep -v '^ *+' conftest.er1 >conftest.err
36644 rm -f conftest.er1
36645 cat conftest.err >&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } &&
36648 { ac_try='test -z "$ac_cxx_werror_flag"
36649 || test ! -s conftest.err'
36650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36651 (eval $ac_try) 2>&5
36652 ac_status=$?
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); }; } &&
36655 { ac_try='test -s conftest.$ac_objext'
36656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657 (eval $ac_try) 2>&5
36658 ac_status=$?
36659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 (exit $ac_status); }; }; then
36661 wx_cv_func_backtrace=yes
36662 else
36663 echo "$as_me: failed program was:" >&5
36664 sed 's/^/| /' conftest.$ac_ext >&5
36665
36666 wx_cv_func_backtrace=no
36667
36668 fi
36669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36670
36671
36672 fi
36673 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36674 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36675
36676
36677 if test "$wx_cv_func_backtrace" = "no"; then
36678 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36679 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36680 wxUSE_STACKWALKER=no
36681 else
36682 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36683 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36684 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36685 echo $ECHO_N "(cached) $ECHO_C" >&6
36686 else
36687
36688 cat >conftest.$ac_ext <<_ACEOF
36689 /* confdefs.h. */
36690 _ACEOF
36691 cat confdefs.h >>conftest.$ac_ext
36692 cat >>conftest.$ac_ext <<_ACEOF
36693 /* end confdefs.h. */
36694 #include <cxxabi.h>
36695 int
36696 main ()
36697 {
36698
36699 int rc;
36700 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36701
36702 ;
36703 return 0;
36704 }
36705 _ACEOF
36706 rm -f conftest.$ac_objext conftest$ac_exeext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36708 (eval $ac_link) 2>conftest.er1
36709 ac_status=$?
36710 grep -v '^ *+' conftest.er1 >conftest.err
36711 rm -f conftest.er1
36712 cat conftest.err >&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try='test -z "$ac_cxx_werror_flag"
36716 || test ! -s conftest.err'
36717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718 (eval $ac_try) 2>&5
36719 ac_status=$?
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); }; } &&
36722 { ac_try='test -s conftest$ac_exeext'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36725 ac_status=$?
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; }; then
36728 wx_cv_func_cxa_demangle=yes
36729 else
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36732
36733 wx_cv_func_cxa_demangle=no
36734
36735 fi
36736 rm -f conftest.err conftest.$ac_objext \
36737 conftest$ac_exeext conftest.$ac_ext
36738
36739
36740 fi
36741 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36742 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36743
36744 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36745 cat >>confdefs.h <<\_ACEOF
36746 #define HAVE_CXA_DEMANGLE 1
36747 _ACEOF
36748
36749 fi
36750 fi
36751 fi
36752
36753 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36754 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36755 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36756 wxUSE_STACKWALKER=no
36757 fi
36758
36759
36760
36761
36762 for ac_func in mkstemp mktemp
36763 do
36764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36765 echo "$as_me:$LINENO: checking for $ac_func" >&5
36766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36767 if eval "test \"\${$as_ac_var+set}\" = set"; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 else
36770 cat >conftest.$ac_ext <<_ACEOF
36771 /* confdefs.h. */
36772 _ACEOF
36773 cat confdefs.h >>conftest.$ac_ext
36774 cat >>conftest.$ac_ext <<_ACEOF
36775 /* end confdefs.h. */
36776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36778 #define $ac_func innocuous_$ac_func
36779
36780 /* System header to define __stub macros and hopefully few prototypes,
36781 which can conflict with char $ac_func (); below.
36782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36783 <limits.h> exists even on freestanding compilers. */
36784
36785 #ifdef __STDC__
36786 # include <limits.h>
36787 #else
36788 # include <assert.h>
36789 #endif
36790
36791 #undef $ac_func
36792
36793 /* Override any gcc2 internal prototype to avoid an error. */
36794 #ifdef __cplusplus
36795 extern "C"
36796 {
36797 #endif
36798 /* We use char because int might match the return type of a gcc2
36799 builtin and then its argument prototype would still apply. */
36800 char $ac_func ();
36801 /* The GNU C library defines this for functions which it implements
36802 to always fail with ENOSYS. Some functions are actually named
36803 something starting with __ and the normal name is an alias. */
36804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36805 choke me
36806 #else
36807 char (*f) () = $ac_func;
36808 #endif
36809 #ifdef __cplusplus
36810 }
36811 #endif
36812
36813 int
36814 main ()
36815 {
36816 return f != $ac_func;
36817 ;
36818 return 0;
36819 }
36820 _ACEOF
36821 rm -f conftest.$ac_objext conftest$ac_exeext
36822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36823 (eval $ac_link) 2>conftest.er1
36824 ac_status=$?
36825 grep -v '^ *+' conftest.er1 >conftest.err
36826 rm -f conftest.er1
36827 cat conftest.err >&5
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); } &&
36830 { ac_try='test -z "$ac_cxx_werror_flag"
36831 || test ! -s conftest.err'
36832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36833 (eval $ac_try) 2>&5
36834 ac_status=$?
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); }; } &&
36837 { ac_try='test -s conftest$ac_exeext'
36838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36839 (eval $ac_try) 2>&5
36840 ac_status=$?
36841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842 (exit $ac_status); }; }; then
36843 eval "$as_ac_var=yes"
36844 else
36845 echo "$as_me: failed program was:" >&5
36846 sed 's/^/| /' conftest.$ac_ext >&5
36847
36848 eval "$as_ac_var=no"
36849 fi
36850 rm -f conftest.err conftest.$ac_objext \
36851 conftest$ac_exeext conftest.$ac_ext
36852 fi
36853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36855 if test `eval echo '${'$as_ac_var'}'` = yes; then
36856 cat >>confdefs.h <<_ACEOF
36857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36858 _ACEOF
36859 break
36860 fi
36861 done
36862
36863
36864 echo "$as_me:$LINENO: checking for statfs" >&5
36865 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36866 if test "${wx_cv_func_statfs+set}" = set; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 else
36869 cat >conftest.$ac_ext <<_ACEOF
36870 /* confdefs.h. */
36871 _ACEOF
36872 cat confdefs.h >>conftest.$ac_ext
36873 cat >>conftest.$ac_ext <<_ACEOF
36874 /* end confdefs.h. */
36875
36876 #if defined(__BSD__)
36877 #include <sys/param.h>
36878 #include <sys/mount.h>
36879 #else
36880 #include <sys/vfs.h>
36881 #endif
36882
36883 int
36884 main ()
36885 {
36886
36887 long l;
36888 struct statfs fs;
36889 statfs("/", &fs);
36890 l = fs.f_bsize;
36891 l += fs.f_blocks;
36892 l += fs.f_bavail;
36893
36894 ;
36895 return 0;
36896 }
36897 _ACEOF
36898 rm -f conftest.$ac_objext
36899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36900 (eval $ac_compile) 2>conftest.er1
36901 ac_status=$?
36902 grep -v '^ *+' conftest.er1 >conftest.err
36903 rm -f conftest.er1
36904 cat conftest.err >&5
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); } &&
36907 { ac_try='test -z "$ac_cxx_werror_flag"
36908 || test ! -s conftest.err'
36909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36910 (eval $ac_try) 2>&5
36911 ac_status=$?
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); }; } &&
36914 { ac_try='test -s conftest.$ac_objext'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36917 ac_status=$?
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; }; then
36920 wx_cv_func_statfs=yes
36921 else
36922 echo "$as_me: failed program was:" >&5
36923 sed 's/^/| /' conftest.$ac_ext >&5
36924
36925 wx_cv_func_statfs=no
36926
36927 fi
36928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36929
36930 fi
36931 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36932 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36933
36934 if test "$wx_cv_func_statfs" = "yes"; then
36935 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36936 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36937 if test "${wx_cv_func_statfs_decl+set}" = set; then
36938 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 else
36940 cat >conftest.$ac_ext <<_ACEOF
36941 /* confdefs.h. */
36942 _ACEOF
36943 cat confdefs.h >>conftest.$ac_ext
36944 cat >>conftest.$ac_ext <<_ACEOF
36945 /* end confdefs.h. */
36946
36947 #if defined(__BSD__)
36948 #include <sys/param.h>
36949 #include <sys/mount.h>
36950 #else
36951 #include <sys/vfs.h>
36952 #endif
36953
36954 int
36955 main ()
36956 {
36957
36958 struct statfs fs;
36959 statfs("", &fs);
36960
36961 ;
36962 return 0;
36963 }
36964 _ACEOF
36965 rm -f conftest.$ac_objext
36966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36967 (eval $ac_compile) 2>conftest.er1
36968 ac_status=$?
36969 grep -v '^ *+' conftest.er1 >conftest.err
36970 rm -f conftest.er1
36971 cat conftest.err >&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); } &&
36974 { ac_try='test -z "$ac_cxx_werror_flag"
36975 || test ! -s conftest.err'
36976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36977 (eval $ac_try) 2>&5
36978 ac_status=$?
36979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36980 (exit $ac_status); }; } &&
36981 { ac_try='test -s conftest.$ac_objext'
36982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36983 (eval $ac_try) 2>&5
36984 ac_status=$?
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); }; }; then
36987 wx_cv_func_statfs_decl=yes
36988 else
36989 echo "$as_me: failed program was:" >&5
36990 sed 's/^/| /' conftest.$ac_ext >&5
36991
36992 wx_cv_func_statfs_decl=no
36993
36994 fi
36995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36996
36997 fi
36998 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36999 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37000
37001 if test "$wx_cv_func_statfs_decl" = "yes"; then
37002 cat >>confdefs.h <<\_ACEOF
37003 #define HAVE_STATFS_DECL 1
37004 _ACEOF
37005
37006 fi
37007
37008 wx_cv_type_statvfs_t="struct statfs"
37009 cat >>confdefs.h <<\_ACEOF
37010 #define HAVE_STATFS 1
37011 _ACEOF
37012
37013 else
37014 echo "$as_me:$LINENO: checking for statvfs" >&5
37015 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37016 if test "${wx_cv_func_statvfs+set}" = set; then
37017 echo $ECHO_N "(cached) $ECHO_C" >&6
37018 else
37019 cat >conftest.$ac_ext <<_ACEOF
37020 /* confdefs.h. */
37021 _ACEOF
37022 cat confdefs.h >>conftest.$ac_ext
37023 cat >>conftest.$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37025
37026 #include <stddef.h>
37027 #include <sys/statvfs.h>
37028
37029 int
37030 main ()
37031 {
37032
37033 statvfs("/", NULL);
37034
37035 ;
37036 return 0;
37037 }
37038 _ACEOF
37039 rm -f conftest.$ac_objext
37040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37041 (eval $ac_compile) 2>conftest.er1
37042 ac_status=$?
37043 grep -v '^ *+' conftest.er1 >conftest.err
37044 rm -f conftest.er1
37045 cat conftest.err >&5
37046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37047 (exit $ac_status); } &&
37048 { ac_try='test -z "$ac_cxx_werror_flag"
37049 || test ! -s conftest.err'
37050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37051 (eval $ac_try) 2>&5
37052 ac_status=$?
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); }; } &&
37055 { ac_try='test -s conftest.$ac_objext'
37056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37057 (eval $ac_try) 2>&5
37058 ac_status=$?
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; }; then
37061 wx_cv_func_statvfs=yes
37062 else
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.$ac_ext >&5
37065
37066 wx_cv_func_statvfs=no
37067
37068 fi
37069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37070
37071 fi
37072 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37073 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37074
37075 if test "$wx_cv_func_statvfs" = "yes"; then
37076 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37077 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37078 if test "${wx_cv_type_statvfs_t+set}" = set; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 else
37081 cat >conftest.$ac_ext <<_ACEOF
37082 /* confdefs.h. */
37083 _ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087
37088 #include <sys/statvfs.h>
37089
37090 int
37091 main ()
37092 {
37093
37094 long l;
37095 statvfs_t fs;
37096 statvfs("/", &fs);
37097 l = fs.f_bsize;
37098 l += fs.f_blocks;
37099 l += fs.f_bavail;
37100
37101 ;
37102 return 0;
37103 }
37104 _ACEOF
37105 rm -f conftest.$ac_objext
37106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37107 (eval $ac_compile) 2>conftest.er1
37108 ac_status=$?
37109 grep -v '^ *+' conftest.er1 >conftest.err
37110 rm -f conftest.er1
37111 cat conftest.err >&5
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); } &&
37114 { ac_try='test -z "$ac_cxx_werror_flag"
37115 || test ! -s conftest.err'
37116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37117 (eval $ac_try) 2>&5
37118 ac_status=$?
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); }; } &&
37121 { ac_try='test -s conftest.$ac_objext'
37122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37123 (eval $ac_try) 2>&5
37124 ac_status=$?
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); }; }; then
37127 wx_cv_type_statvfs_t=statvfs_t
37128 else
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.$ac_ext >&5
37131
37132
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139
37140 #include <sys/statvfs.h>
37141
37142 int
37143 main ()
37144 {
37145
37146 long l;
37147 struct statvfs fs;
37148 statvfs("/", &fs);
37149 l = fs.f_bsize;
37150 l += fs.f_blocks;
37151 l += fs.f_bavail;
37152
37153 ;
37154 return 0;
37155 }
37156 _ACEOF
37157 rm -f conftest.$ac_objext
37158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37159 (eval $ac_compile) 2>conftest.er1
37160 ac_status=$?
37161 grep -v '^ *+' conftest.er1 >conftest.err
37162 rm -f conftest.er1
37163 cat conftest.err >&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } &&
37166 { ac_try='test -z "$ac_cxx_werror_flag"
37167 || test ! -s conftest.err'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37170 ac_status=$?
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; } &&
37173 { ac_try='test -s conftest.$ac_objext'
37174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37175 (eval $ac_try) 2>&5
37176 ac_status=$?
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); }; }; then
37179 wx_cv_type_statvfs_t="struct statvfs"
37180 else
37181 echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.$ac_ext >&5
37183
37184 wx_cv_type_statvfs_t="unknown"
37185
37186 fi
37187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37188
37189
37190 fi
37191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37192
37193 fi
37194 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37195 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37196
37197 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37198 cat >>confdefs.h <<\_ACEOF
37199 #define HAVE_STATVFS 1
37200 _ACEOF
37201
37202 fi
37203 else
37204 wx_cv_type_statvfs_t="unknown"
37205 fi
37206 fi
37207
37208 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37209 cat >>confdefs.h <<_ACEOF
37210 #define WX_STATFS_T $wx_cv_type_statvfs_t
37211 _ACEOF
37212
37213 else
37214 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37215 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37216 fi
37217
37218 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37219
37220
37221 for ac_func in fcntl flock
37222 do
37223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37226 if eval "test \"\${$as_ac_var+set}\" = set"; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37238
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37243
37244 #ifdef __STDC__
37245 # include <limits.h>
37246 #else
37247 # include <assert.h>
37248 #endif
37249
37250 #undef $ac_func
37251
37252 /* Override any gcc2 internal prototype to avoid an error. */
37253 #ifdef __cplusplus
37254 extern "C"
37255 {
37256 #endif
37257 /* We use char because int might match the return type of a gcc2
37258 builtin and then its argument prototype would still apply. */
37259 char $ac_func ();
37260 /* The GNU C library defines this for functions which it implements
37261 to always fail with ENOSYS. Some functions are actually named
37262 something starting with __ and the normal name is an alias. */
37263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37264 choke me
37265 #else
37266 char (*f) () = $ac_func;
37267 #endif
37268 #ifdef __cplusplus
37269 }
37270 #endif
37271
37272 int
37273 main ()
37274 {
37275 return f != $ac_func;
37276 ;
37277 return 0;
37278 }
37279 _ACEOF
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37282 (eval $ac_link) 2>conftest.er1
37283 ac_status=$?
37284 grep -v '^ *+' conftest.er1 >conftest.err
37285 rm -f conftest.er1
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } &&
37289 { ac_try='test -z "$ac_cxx_werror_flag"
37290 || test ! -s conftest.err'
37291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37292 (eval $ac_try) 2>&5
37293 ac_status=$?
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); }; } &&
37296 { ac_try='test -s conftest$ac_exeext'
37297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37298 (eval $ac_try) 2>&5
37299 ac_status=$?
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); }; }; then
37302 eval "$as_ac_var=yes"
37303 else
37304 echo "$as_me: failed program was:" >&5
37305 sed 's/^/| /' conftest.$ac_ext >&5
37306
37307 eval "$as_ac_var=no"
37308 fi
37309 rm -f conftest.err conftest.$ac_objext \
37310 conftest$ac_exeext conftest.$ac_ext
37311 fi
37312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37314 if test `eval echo '${'$as_ac_var'}'` = yes; then
37315 cat >>confdefs.h <<_ACEOF
37316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37317 _ACEOF
37318 break
37319 fi
37320 done
37321
37322
37323 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37324 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37325 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37326 wxUSE_SNGLINST_CHECKER=no
37327 fi
37328 fi
37329
37330
37331 for ac_func in timegm
37332 do
37333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37334 echo "$as_me:$LINENO: checking for $ac_func" >&5
37335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37336 if eval "test \"\${$as_ac_var+set}\" = set"; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 else
37339 cat >conftest.$ac_ext <<_ACEOF
37340 /* confdefs.h. */
37341 _ACEOF
37342 cat confdefs.h >>conftest.$ac_ext
37343 cat >>conftest.$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37347 #define $ac_func innocuous_$ac_func
37348
37349 /* System header to define __stub macros and hopefully few prototypes,
37350 which can conflict with char $ac_func (); below.
37351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37352 <limits.h> exists even on freestanding compilers. */
37353
37354 #ifdef __STDC__
37355 # include <limits.h>
37356 #else
37357 # include <assert.h>
37358 #endif
37359
37360 #undef $ac_func
37361
37362 /* Override any gcc2 internal prototype to avoid an error. */
37363 #ifdef __cplusplus
37364 extern "C"
37365 {
37366 #endif
37367 /* We use char because int might match the return type of a gcc2
37368 builtin and then its argument prototype would still apply. */
37369 char $ac_func ();
37370 /* The GNU C library defines this for functions which it implements
37371 to always fail with ENOSYS. Some functions are actually named
37372 something starting with __ and the normal name is an alias. */
37373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37374 choke me
37375 #else
37376 char (*f) () = $ac_func;
37377 #endif
37378 #ifdef __cplusplus
37379 }
37380 #endif
37381
37382 int
37383 main ()
37384 {
37385 return f != $ac_func;
37386 ;
37387 return 0;
37388 }
37389 _ACEOF
37390 rm -f conftest.$ac_objext conftest$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37393 ac_status=$?
37394 grep -v '^ *+' conftest.er1 >conftest.err
37395 rm -f conftest.er1
37396 cat conftest.err >&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try='test -z "$ac_cxx_werror_flag"
37400 || test ! -s conftest.err'
37401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37402 (eval $ac_try) 2>&5
37403 ac_status=$?
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); }; } &&
37406 { ac_try='test -s conftest$ac_exeext'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37409 ac_status=$?
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; }; then
37412 eval "$as_ac_var=yes"
37413 else
37414 echo "$as_me: failed program was:" >&5
37415 sed 's/^/| /' conftest.$ac_ext >&5
37416
37417 eval "$as_ac_var=no"
37418 fi
37419 rm -f conftest.err conftest.$ac_objext \
37420 conftest$ac_exeext conftest.$ac_ext
37421 fi
37422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37424 if test `eval echo '${'$as_ac_var'}'` = yes; then
37425 cat >>confdefs.h <<_ACEOF
37426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37427 _ACEOF
37428
37429 fi
37430 done
37431
37432
37433
37434
37435 for ac_func in putenv setenv
37436 do
37437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 echo "$as_me:$LINENO: checking for $ac_func" >&5
37439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37440 if eval "test \"\${$as_ac_var+set}\" = set"; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37443 cat >conftest.$ac_ext <<_ACEOF
37444 /* confdefs.h. */
37445 _ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37451 #define $ac_func innocuous_$ac_func
37452
37453 /* System header to define __stub macros and hopefully few prototypes,
37454 which can conflict with char $ac_func (); below.
37455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37456 <limits.h> exists even on freestanding compilers. */
37457
37458 #ifdef __STDC__
37459 # include <limits.h>
37460 #else
37461 # include <assert.h>
37462 #endif
37463
37464 #undef $ac_func
37465
37466 /* Override any gcc2 internal prototype to avoid an error. */
37467 #ifdef __cplusplus
37468 extern "C"
37469 {
37470 #endif
37471 /* We use char because int might match the return type of a gcc2
37472 builtin and then its argument prototype would still apply. */
37473 char $ac_func ();
37474 /* The GNU C library defines this for functions which it implements
37475 to always fail with ENOSYS. Some functions are actually named
37476 something starting with __ and the normal name is an alias. */
37477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37478 choke me
37479 #else
37480 char (*f) () = $ac_func;
37481 #endif
37482 #ifdef __cplusplus
37483 }
37484 #endif
37485
37486 int
37487 main ()
37488 {
37489 return f != $ac_func;
37490 ;
37491 return 0;
37492 }
37493 _ACEOF
37494 rm -f conftest.$ac_objext conftest$ac_exeext
37495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37496 (eval $ac_link) 2>conftest.er1
37497 ac_status=$?
37498 grep -v '^ *+' conftest.er1 >conftest.err
37499 rm -f conftest.er1
37500 cat conftest.err >&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } &&
37503 { ac_try='test -z "$ac_cxx_werror_flag"
37504 || test ! -s conftest.err'
37505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506 (eval $ac_try) 2>&5
37507 ac_status=$?
37508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509 (exit $ac_status); }; } &&
37510 { ac_try='test -s conftest$ac_exeext'
37511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37512 (eval $ac_try) 2>&5
37513 ac_status=$?
37514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515 (exit $ac_status); }; }; then
37516 eval "$as_ac_var=yes"
37517 else
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.$ac_ext >&5
37520
37521 eval "$as_ac_var=no"
37522 fi
37523 rm -f conftest.err conftest.$ac_objext \
37524 conftest$ac_exeext conftest.$ac_ext
37525 fi
37526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37528 if test `eval echo '${'$as_ac_var'}'` = yes; then
37529 cat >>confdefs.h <<_ACEOF
37530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37531 _ACEOF
37532 break
37533 fi
37534 done
37535
37536
37537 HAVE_SOME_SLEEP_FUNC=0
37538 if test "$USE_BEOS" = 1; then
37539 cat >>confdefs.h <<\_ACEOF
37540 #define HAVE_SLEEP 1
37541 _ACEOF
37542
37543 HAVE_SOME_SLEEP_FUNC=1
37544 fi
37545
37546 if test "$USE_DARWIN" = 1; then
37547 cat >>confdefs.h <<\_ACEOF
37548 #define HAVE_USLEEP 1
37549 _ACEOF
37550
37551 HAVE_SOME_SLEEP_FUNC=1
37552 fi
37553
37554 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37555 POSIX4_LINK=
37556
37557 for ac_func in nanosleep
37558 do
37559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37560 echo "$as_me:$LINENO: checking for $ac_func" >&5
37561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37562 if eval "test \"\${$as_ac_var+set}\" = set"; then
37563 echo $ECHO_N "(cached) $ECHO_C" >&6
37564 else
37565 cat >conftest.$ac_ext <<_ACEOF
37566 /* confdefs.h. */
37567 _ACEOF
37568 cat confdefs.h >>conftest.$ac_ext
37569 cat >>conftest.$ac_ext <<_ACEOF
37570 /* end confdefs.h. */
37571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37573 #define $ac_func innocuous_$ac_func
37574
37575 /* System header to define __stub macros and hopefully few prototypes,
37576 which can conflict with char $ac_func (); below.
37577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37578 <limits.h> exists even on freestanding compilers. */
37579
37580 #ifdef __STDC__
37581 # include <limits.h>
37582 #else
37583 # include <assert.h>
37584 #endif
37585
37586 #undef $ac_func
37587
37588 /* Override any gcc2 internal prototype to avoid an error. */
37589 #ifdef __cplusplus
37590 extern "C"
37591 {
37592 #endif
37593 /* We use char because int might match the return type of a gcc2
37594 builtin and then its argument prototype would still apply. */
37595 char $ac_func ();
37596 /* The GNU C library defines this for functions which it implements
37597 to always fail with ENOSYS. Some functions are actually named
37598 something starting with __ and the normal name is an alias. */
37599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37600 choke me
37601 #else
37602 char (*f) () = $ac_func;
37603 #endif
37604 #ifdef __cplusplus
37605 }
37606 #endif
37607
37608 int
37609 main ()
37610 {
37611 return f != $ac_func;
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext conftest$ac_exeext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37618 (eval $ac_link) 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try='test -z "$ac_cxx_werror_flag"
37626 || test ! -s conftest.err'
37627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37628 (eval $ac_try) 2>&5
37629 ac_status=$?
37630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 (exit $ac_status); }; } &&
37632 { ac_try='test -s conftest$ac_exeext'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37635 ac_status=$?
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; }; then
37638 eval "$as_ac_var=yes"
37639 else
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37642
37643 eval "$as_ac_var=no"
37644 fi
37645 rm -f conftest.err conftest.$ac_objext \
37646 conftest$ac_exeext conftest.$ac_ext
37647 fi
37648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37650 if test `eval echo '${'$as_ac_var'}'` = yes; then
37651 cat >>confdefs.h <<_ACEOF
37652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37653 _ACEOF
37654 cat >>confdefs.h <<\_ACEOF
37655 #define HAVE_NANOSLEEP 1
37656 _ACEOF
37657
37658 else
37659
37660 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37661 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37662 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37664 else
37665 ac_check_lib_save_LIBS=$LIBS
37666 LIBS="-lposix4 $LIBS"
37667 cat >conftest.$ac_ext <<_ACEOF
37668 /* confdefs.h. */
37669 _ACEOF
37670 cat confdefs.h >>conftest.$ac_ext
37671 cat >>conftest.$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37673
37674 /* Override any gcc2 internal prototype to avoid an error. */
37675 #ifdef __cplusplus
37676 extern "C"
37677 #endif
37678 /* We use char because int might match the return type of a gcc2
37679 builtin and then its argument prototype would still apply. */
37680 char nanosleep ();
37681 int
37682 main ()
37683 {
37684 nanosleep ();
37685 ;
37686 return 0;
37687 }
37688 _ACEOF
37689 rm -f conftest.$ac_objext conftest$ac_exeext
37690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37691 (eval $ac_link) 2>conftest.er1
37692 ac_status=$?
37693 grep -v '^ *+' conftest.er1 >conftest.err
37694 rm -f conftest.er1
37695 cat conftest.err >&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } &&
37698 { ac_try='test -z "$ac_cxx_werror_flag"
37699 || test ! -s conftest.err'
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); }; } &&
37705 { ac_try='test -s conftest$ac_exeext'
37706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37707 (eval $ac_try) 2>&5
37708 ac_status=$?
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); }; }; then
37711 ac_cv_lib_posix4_nanosleep=yes
37712 else
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.$ac_ext >&5
37715
37716 ac_cv_lib_posix4_nanosleep=no
37717 fi
37718 rm -f conftest.err conftest.$ac_objext \
37719 conftest$ac_exeext conftest.$ac_ext
37720 LIBS=$ac_check_lib_save_LIBS
37721 fi
37722 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37723 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37724 if test $ac_cv_lib_posix4_nanosleep = yes; then
37725
37726 cat >>confdefs.h <<\_ACEOF
37727 #define HAVE_NANOSLEEP 1
37728 _ACEOF
37729
37730 POSIX4_LINK=" -lposix4"
37731
37732 else
37733
37734
37735 for ac_func in usleep
37736 do
37737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37738 echo "$as_me:$LINENO: checking for $ac_func" >&5
37739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37740 if eval "test \"\${$as_ac_var+set}\" = set"; then
37741 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 else
37743 cat >conftest.$ac_ext <<_ACEOF
37744 /* confdefs.h. */
37745 _ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37751 #define $ac_func innocuous_$ac_func
37752
37753 /* System header to define __stub macros and hopefully few prototypes,
37754 which can conflict with char $ac_func (); below.
37755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37756 <limits.h> exists even on freestanding compilers. */
37757
37758 #ifdef __STDC__
37759 # include <limits.h>
37760 #else
37761 # include <assert.h>
37762 #endif
37763
37764 #undef $ac_func
37765
37766 /* Override any gcc2 internal prototype to avoid an error. */
37767 #ifdef __cplusplus
37768 extern "C"
37769 {
37770 #endif
37771 /* We use char because int might match the return type of a gcc2
37772 builtin and then its argument prototype would still apply. */
37773 char $ac_func ();
37774 /* The GNU C library defines this for functions which it implements
37775 to always fail with ENOSYS. Some functions are actually named
37776 something starting with __ and the normal name is an alias. */
37777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37778 choke me
37779 #else
37780 char (*f) () = $ac_func;
37781 #endif
37782 #ifdef __cplusplus
37783 }
37784 #endif
37785
37786 int
37787 main ()
37788 {
37789 return f != $ac_func;
37790 ;
37791 return 0;
37792 }
37793 _ACEOF
37794 rm -f conftest.$ac_objext conftest$ac_exeext
37795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37796 (eval $ac_link) 2>conftest.er1
37797 ac_status=$?
37798 grep -v '^ *+' conftest.er1 >conftest.err
37799 rm -f conftest.er1
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } &&
37803 { ac_try='test -z "$ac_cxx_werror_flag"
37804 || test ! -s conftest.err'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37807 ac_status=$?
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; } &&
37810 { ac_try='test -s conftest$ac_exeext'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37813 ac_status=$?
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; }; then
37816 eval "$as_ac_var=yes"
37817 else
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.$ac_ext >&5
37820
37821 eval "$as_ac_var=no"
37822 fi
37823 rm -f conftest.err conftest.$ac_objext \
37824 conftest$ac_exeext conftest.$ac_ext
37825 fi
37826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37828 if test `eval echo '${'$as_ac_var'}'` = yes; then
37829 cat >>confdefs.h <<_ACEOF
37830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37831 _ACEOF
37832 cat >>confdefs.h <<\_ACEOF
37833 #define HAVE_USLEEP 1
37834 _ACEOF
37835
37836 else
37837 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37838 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37839
37840 fi
37841 done
37842
37843
37844
37845 fi
37846
37847
37848
37849 fi
37850 done
37851
37852 fi
37853
37854
37855
37856 for ac_func in uname gethostname
37857 do
37858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37859 echo "$as_me:$LINENO: checking for $ac_func" >&5
37860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37861 if eval "test \"\${$as_ac_var+set}\" = set"; then
37862 echo $ECHO_N "(cached) $ECHO_C" >&6
37863 else
37864 cat >conftest.$ac_ext <<_ACEOF
37865 /* confdefs.h. */
37866 _ACEOF
37867 cat confdefs.h >>conftest.$ac_ext
37868 cat >>conftest.$ac_ext <<_ACEOF
37869 /* end confdefs.h. */
37870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37872 #define $ac_func innocuous_$ac_func
37873
37874 /* System header to define __stub macros and hopefully few prototypes,
37875 which can conflict with char $ac_func (); below.
37876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37877 <limits.h> exists even on freestanding compilers. */
37878
37879 #ifdef __STDC__
37880 # include <limits.h>
37881 #else
37882 # include <assert.h>
37883 #endif
37884
37885 #undef $ac_func
37886
37887 /* Override any gcc2 internal prototype to avoid an error. */
37888 #ifdef __cplusplus
37889 extern "C"
37890 {
37891 #endif
37892 /* We use char because int might match the return type of a gcc2
37893 builtin and then its argument prototype would still apply. */
37894 char $ac_func ();
37895 /* The GNU C library defines this for functions which it implements
37896 to always fail with ENOSYS. Some functions are actually named
37897 something starting with __ and the normal name is an alias. */
37898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37899 choke me
37900 #else
37901 char (*f) () = $ac_func;
37902 #endif
37903 #ifdef __cplusplus
37904 }
37905 #endif
37906
37907 int
37908 main ()
37909 {
37910 return f != $ac_func;
37911 ;
37912 return 0;
37913 }
37914 _ACEOF
37915 rm -f conftest.$ac_objext conftest$ac_exeext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37917 (eval $ac_link) 2>conftest.er1
37918 ac_status=$?
37919 grep -v '^ *+' conftest.er1 >conftest.err
37920 rm -f conftest.er1
37921 cat conftest.err >&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try='test -z "$ac_cxx_werror_flag"
37925 || test ! -s conftest.err'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; } &&
37931 { ac_try='test -s conftest$ac_exeext'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37934 ac_status=$?
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 eval "$as_ac_var=yes"
37938 else
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.$ac_ext >&5
37941
37942 eval "$as_ac_var=no"
37943 fi
37944 rm -f conftest.err conftest.$ac_objext \
37945 conftest$ac_exeext conftest.$ac_ext
37946 fi
37947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37949 if test `eval echo '${'$as_ac_var'}'` = yes; then
37950 cat >>confdefs.h <<_ACEOF
37951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37952 _ACEOF
37953 break
37954 fi
37955 done
37956
37957
37958
37959 for wx_func in strtok_r
37960 do
37961 echo "$as_me:$LINENO: checking for $wx_func" >&5
37962 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37963 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 else
37966
37967 cat >conftest.$ac_ext <<_ACEOF
37968
37969 /* confdefs.h. */
37970 _ACEOF
37971 cat confdefs.h >>conftest.$ac_ext
37972 cat >>conftest.$ac_ext <<_ACEOF
37973 /* end confdefs.h. */
37974
37975 #define _REENTRANT
37976 $ac_includes_default
37977
37978 int
37979 main ()
37980 {
37981
37982 #ifndef $wx_func
37983 &$wx_func;
37984 #endif
37985
37986
37987 ;
37988 return 0;
37989 }
37990
37991 _ACEOF
37992 rm -f conftest.$ac_objext conftest$ac_exeext
37993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37994 (eval $ac_link) 2>conftest.er1
37995 ac_status=$?
37996 grep -v '^ *+' conftest.er1 >conftest.err
37997 rm -f conftest.er1
37998 cat conftest.err >&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } &&
38001 { ac_try='test -z "$ac_cxx_werror_flag"
38002 || test ! -s conftest.err'
38003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38004 (eval $ac_try) 2>&5
38005 ac_status=$?
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; } &&
38008 { ac_try='test -s conftest$ac_exeext'
38009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38010 (eval $ac_try) 2>&5
38011 ac_status=$?
38012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013 (exit $ac_status); }; }; then
38014 eval wx_cv_func_$wx_func=yes
38015 else
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.$ac_ext >&5
38018
38019 eval wx_cv_func_$wx_func=no
38020 fi
38021 rm -f conftest.err conftest.$ac_objext \
38022 conftest$ac_exeext conftest.$ac_ext
38023
38024 fi
38025 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38026 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38027
38028 if eval test \$wx_cv_func_$wx_func = yes
38029 then
38030 cat >>confdefs.h <<_ACEOF
38031 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38032 _ACEOF
38033
38034
38035 else
38036 :
38037
38038 fi
38039 done
38040
38041
38042 INET_LINK=
38043
38044 for ac_func in inet_addr
38045 do
38046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38047 echo "$as_me:$LINENO: checking for $ac_func" >&5
38048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38049 if eval "test \"\${$as_ac_var+set}\" = set"; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38051 else
38052 cat >conftest.$ac_ext <<_ACEOF
38053 /* confdefs.h. */
38054 _ACEOF
38055 cat confdefs.h >>conftest.$ac_ext
38056 cat >>conftest.$ac_ext <<_ACEOF
38057 /* end confdefs.h. */
38058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38060 #define $ac_func innocuous_$ac_func
38061
38062 /* System header to define __stub macros and hopefully few prototypes,
38063 which can conflict with char $ac_func (); below.
38064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38065 <limits.h> exists even on freestanding compilers. */
38066
38067 #ifdef __STDC__
38068 # include <limits.h>
38069 #else
38070 # include <assert.h>
38071 #endif
38072
38073 #undef $ac_func
38074
38075 /* Override any gcc2 internal prototype to avoid an error. */
38076 #ifdef __cplusplus
38077 extern "C"
38078 {
38079 #endif
38080 /* We use char because int might match the return type of a gcc2
38081 builtin and then its argument prototype would still apply. */
38082 char $ac_func ();
38083 /* The GNU C library defines this for functions which it implements
38084 to always fail with ENOSYS. Some functions are actually named
38085 something starting with __ and the normal name is an alias. */
38086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38087 choke me
38088 #else
38089 char (*f) () = $ac_func;
38090 #endif
38091 #ifdef __cplusplus
38092 }
38093 #endif
38094
38095 int
38096 main ()
38097 {
38098 return f != $ac_func;
38099 ;
38100 return 0;
38101 }
38102 _ACEOF
38103 rm -f conftest.$ac_objext conftest$ac_exeext
38104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38105 (eval $ac_link) 2>conftest.er1
38106 ac_status=$?
38107 grep -v '^ *+' conftest.er1 >conftest.err
38108 rm -f conftest.er1
38109 cat conftest.err >&5
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); } &&
38112 { ac_try='test -z "$ac_cxx_werror_flag"
38113 || test ! -s conftest.err'
38114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38115 (eval $ac_try) 2>&5
38116 ac_status=$?
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); }; } &&
38119 { ac_try='test -s conftest$ac_exeext'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; }; then
38125 eval "$as_ac_var=yes"
38126 else
38127 echo "$as_me: failed program was:" >&5
38128 sed 's/^/| /' conftest.$ac_ext >&5
38129
38130 eval "$as_ac_var=no"
38131 fi
38132 rm -f conftest.err conftest.$ac_objext \
38133 conftest$ac_exeext conftest.$ac_ext
38134 fi
38135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38137 if test `eval echo '${'$as_ac_var'}'` = yes; then
38138 cat >>confdefs.h <<_ACEOF
38139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38140 _ACEOF
38141 cat >>confdefs.h <<\_ACEOF
38142 #define HAVE_INET_ADDR 1
38143 _ACEOF
38144
38145 else
38146
38147 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38148 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38149 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152 ac_check_lib_save_LIBS=$LIBS
38153 LIBS="-lnsl $LIBS"
38154 cat >conftest.$ac_ext <<_ACEOF
38155 /* confdefs.h. */
38156 _ACEOF
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38160
38161 /* Override any gcc2 internal prototype to avoid an error. */
38162 #ifdef __cplusplus
38163 extern "C"
38164 #endif
38165 /* We use char because int might match the return type of a gcc2
38166 builtin and then its argument prototype would still apply. */
38167 char inet_addr ();
38168 int
38169 main ()
38170 {
38171 inet_addr ();
38172 ;
38173 return 0;
38174 }
38175 _ACEOF
38176 rm -f conftest.$ac_objext conftest$ac_exeext
38177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38178 (eval $ac_link) 2>conftest.er1
38179 ac_status=$?
38180 grep -v '^ *+' conftest.er1 >conftest.err
38181 rm -f conftest.er1
38182 cat conftest.err >&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); } &&
38185 { ac_try='test -z "$ac_cxx_werror_flag"
38186 || test ! -s conftest.err'
38187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38188 (eval $ac_try) 2>&5
38189 ac_status=$?
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); }; } &&
38192 { ac_try='test -s conftest$ac_exeext'
38193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38194 (eval $ac_try) 2>&5
38195 ac_status=$?
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); }; }; then
38198 ac_cv_lib_nsl_inet_addr=yes
38199 else
38200 echo "$as_me: failed program was:" >&5
38201 sed 's/^/| /' conftest.$ac_ext >&5
38202
38203 ac_cv_lib_nsl_inet_addr=no
38204 fi
38205 rm -f conftest.err conftest.$ac_objext \
38206 conftest$ac_exeext conftest.$ac_ext
38207 LIBS=$ac_check_lib_save_LIBS
38208 fi
38209 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38210 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38211 if test $ac_cv_lib_nsl_inet_addr = yes; then
38212 INET_LINK="nsl"
38213 else
38214
38215 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38216 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38217 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 else
38220 ac_check_lib_save_LIBS=$LIBS
38221 LIBS="-lresolv $LIBS"
38222 cat >conftest.$ac_ext <<_ACEOF
38223 /* confdefs.h. */
38224 _ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228
38229 /* Override any gcc2 internal prototype to avoid an error. */
38230 #ifdef __cplusplus
38231 extern "C"
38232 #endif
38233 /* We use char because int might match the return type of a gcc2
38234 builtin and then its argument prototype would still apply. */
38235 char inet_addr ();
38236 int
38237 main ()
38238 {
38239 inet_addr ();
38240 ;
38241 return 0;
38242 }
38243 _ACEOF
38244 rm -f conftest.$ac_objext conftest$ac_exeext
38245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38246 (eval $ac_link) 2>conftest.er1
38247 ac_status=$?
38248 grep -v '^ *+' conftest.er1 >conftest.err
38249 rm -f conftest.er1
38250 cat conftest.err >&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } &&
38253 { ac_try='test -z "$ac_cxx_werror_flag"
38254 || test ! -s conftest.err'
38255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38256 (eval $ac_try) 2>&5
38257 ac_status=$?
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); }; } &&
38260 { ac_try='test -s conftest$ac_exeext'
38261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262 (eval $ac_try) 2>&5
38263 ac_status=$?
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); }; }; then
38266 ac_cv_lib_resolv_inet_addr=yes
38267 else
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38270
38271 ac_cv_lib_resolv_inet_addr=no
38272 fi
38273 rm -f conftest.err conftest.$ac_objext \
38274 conftest$ac_exeext conftest.$ac_ext
38275 LIBS=$ac_check_lib_save_LIBS
38276 fi
38277 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38278 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38279 if test $ac_cv_lib_resolv_inet_addr = yes; then
38280 INET_LINK="resolv"
38281 else
38282
38283 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38284 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38285 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38287 else
38288 ac_check_lib_save_LIBS=$LIBS
38289 LIBS="-lsocket $LIBS"
38290 cat >conftest.$ac_ext <<_ACEOF
38291 /* confdefs.h. */
38292 _ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38296
38297 /* Override any gcc2 internal prototype to avoid an error. */
38298 #ifdef __cplusplus
38299 extern "C"
38300 #endif
38301 /* We use char because int might match the return type of a gcc2
38302 builtin and then its argument prototype would still apply. */
38303 char inet_addr ();
38304 int
38305 main ()
38306 {
38307 inet_addr ();
38308 ;
38309 return 0;
38310 }
38311 _ACEOF
38312 rm -f conftest.$ac_objext conftest$ac_exeext
38313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38314 (eval $ac_link) 2>conftest.er1
38315 ac_status=$?
38316 grep -v '^ *+' conftest.er1 >conftest.err
38317 rm -f conftest.er1
38318 cat conftest.err >&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); } &&
38321 { ac_try='test -z "$ac_cxx_werror_flag"
38322 || test ! -s conftest.err'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38325 ac_status=$?
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; } &&
38328 { ac_try='test -s conftest$ac_exeext'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38331 ac_status=$?
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; }; then
38334 ac_cv_lib_socket_inet_addr=yes
38335 else
38336 echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.$ac_ext >&5
38338
38339 ac_cv_lib_socket_inet_addr=no
38340 fi
38341 rm -f conftest.err conftest.$ac_objext \
38342 conftest$ac_exeext conftest.$ac_ext
38343 LIBS=$ac_check_lib_save_LIBS
38344 fi
38345 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38346 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38347 if test $ac_cv_lib_socket_inet_addr = yes; then
38348 INET_LINK="socket"
38349
38350 fi
38351
38352
38353
38354 fi
38355
38356
38357
38358 fi
38359
38360
38361
38362 fi
38363 done
38364
38365
38366
38367 for ac_func in inet_aton
38368 do
38369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38370 echo "$as_me:$LINENO: checking for $ac_func" >&5
38371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38372 if eval "test \"\${$as_ac_var+set}\" = set"; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375 cat >conftest.$ac_ext <<_ACEOF
38376 /* confdefs.h. */
38377 _ACEOF
38378 cat confdefs.h >>conftest.$ac_ext
38379 cat >>conftest.$ac_ext <<_ACEOF
38380 /* end confdefs.h. */
38381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38383 #define $ac_func innocuous_$ac_func
38384
38385 /* System header to define __stub macros and hopefully few prototypes,
38386 which can conflict with char $ac_func (); below.
38387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38388 <limits.h> exists even on freestanding compilers. */
38389
38390 #ifdef __STDC__
38391 # include <limits.h>
38392 #else
38393 # include <assert.h>
38394 #endif
38395
38396 #undef $ac_func
38397
38398 /* Override any gcc2 internal prototype to avoid an error. */
38399 #ifdef __cplusplus
38400 extern "C"
38401 {
38402 #endif
38403 /* We use char because int might match the return type of a gcc2
38404 builtin and then its argument prototype would still apply. */
38405 char $ac_func ();
38406 /* The GNU C library defines this for functions which it implements
38407 to always fail with ENOSYS. Some functions are actually named
38408 something starting with __ and the normal name is an alias. */
38409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38410 choke me
38411 #else
38412 char (*f) () = $ac_func;
38413 #endif
38414 #ifdef __cplusplus
38415 }
38416 #endif
38417
38418 int
38419 main ()
38420 {
38421 return f != $ac_func;
38422 ;
38423 return 0;
38424 }
38425 _ACEOF
38426 rm -f conftest.$ac_objext conftest$ac_exeext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38428 (eval $ac_link) 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } &&
38435 { ac_try='test -z "$ac_cxx_werror_flag"
38436 || test ! -s conftest.err'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38439 ac_status=$?
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; } &&
38442 { ac_try='test -s conftest$ac_exeext'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; }; then
38448 eval "$as_ac_var=yes"
38449 else
38450 echo "$as_me: failed program was:" >&5
38451 sed 's/^/| /' conftest.$ac_ext >&5
38452
38453 eval "$as_ac_var=no"
38454 fi
38455 rm -f conftest.err conftest.$ac_objext \
38456 conftest$ac_exeext conftest.$ac_ext
38457 fi
38458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38460 if test `eval echo '${'$as_ac_var'}'` = yes; then
38461 cat >>confdefs.h <<_ACEOF
38462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38463 _ACEOF
38464 cat >>confdefs.h <<\_ACEOF
38465 #define HAVE_INET_ATON 1
38466 _ACEOF
38467
38468 else
38469
38470 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38471 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38472 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38473 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38474 echo $ECHO_N "(cached) $ECHO_C" >&6
38475 else
38476 ac_check_lib_save_LIBS=$LIBS
38477 LIBS="-l$INET_LINK $LIBS"
38478 cat >conftest.$ac_ext <<_ACEOF
38479 /* confdefs.h. */
38480 _ACEOF
38481 cat confdefs.h >>conftest.$ac_ext
38482 cat >>conftest.$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484
38485 /* Override any gcc2 internal prototype to avoid an error. */
38486 #ifdef __cplusplus
38487 extern "C"
38488 #endif
38489 /* We use char because int might match the return type of a gcc2
38490 builtin and then its argument prototype would still apply. */
38491 char inet_aton ();
38492 int
38493 main ()
38494 {
38495 inet_aton ();
38496 ;
38497 return 0;
38498 }
38499 _ACEOF
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38502 (eval $ac_link) 2>conftest.er1
38503 ac_status=$?
38504 grep -v '^ *+' conftest.er1 >conftest.err
38505 rm -f conftest.er1
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } &&
38509 { ac_try='test -z "$ac_cxx_werror_flag"
38510 || test ! -s conftest.err'
38511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38512 (eval $ac_try) 2>&5
38513 ac_status=$?
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); }; } &&
38516 { ac_try='test -s conftest$ac_exeext'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38519 ac_status=$?
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; }; then
38522 eval "$as_ac_Lib=yes"
38523 else
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38526
38527 eval "$as_ac_Lib=no"
38528 fi
38529 rm -f conftest.err conftest.$ac_objext \
38530 conftest$ac_exeext conftest.$ac_ext
38531 LIBS=$ac_check_lib_save_LIBS
38532 fi
38533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38534 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38535 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38536 cat >>confdefs.h <<\_ACEOF
38537 #define HAVE_INET_ATON 1
38538 _ACEOF
38539
38540 fi
38541
38542
38543 fi
38544 done
38545
38546
38547 if test "x$INET_LINK" != "x"; then
38548 cat >>confdefs.h <<\_ACEOF
38549 #define HAVE_INET_ADDR 1
38550 _ACEOF
38551
38552 INET_LINK=" -l$INET_LINK"
38553 fi
38554
38555 fi
38556
38557
38558
38559 EXTRALIBS_ESD=
38560 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38561 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38562 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38563 echo $ECHO_N "(cached) $ECHO_C" >&6
38564 else
38565 ac_check_lib_save_LIBS=$LIBS
38566 LIBS="-lesd $LIBS"
38567 cat >conftest.$ac_ext <<_ACEOF
38568 /* confdefs.h. */
38569 _ACEOF
38570 cat confdefs.h >>conftest.$ac_ext
38571 cat >>conftest.$ac_ext <<_ACEOF
38572 /* end confdefs.h. */
38573
38574 /* Override any gcc2 internal prototype to avoid an error. */
38575 #ifdef __cplusplus
38576 extern "C"
38577 #endif
38578 /* We use char because int might match the return type of a gcc2
38579 builtin and then its argument prototype would still apply. */
38580 char esd_close ();
38581 int
38582 main ()
38583 {
38584 esd_close ();
38585 ;
38586 return 0;
38587 }
38588 _ACEOF
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38591 (eval $ac_link) 2>conftest.er1
38592 ac_status=$?
38593 grep -v '^ *+' conftest.er1 >conftest.err
38594 rm -f conftest.er1
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } &&
38598 { ac_try='test -z "$ac_cxx_werror_flag"
38599 || test ! -s conftest.err'
38600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38601 (eval $ac_try) 2>&5
38602 ac_status=$?
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); }; } &&
38605 { ac_try='test -s conftest$ac_exeext'
38606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38607 (eval $ac_try) 2>&5
38608 ac_status=$?
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); }; }; then
38611 ac_cv_lib_esd_esd_close=yes
38612 else
38613 echo "$as_me: failed program was:" >&5
38614 sed 's/^/| /' conftest.$ac_ext >&5
38615
38616 ac_cv_lib_esd_esd_close=no
38617 fi
38618 rm -f conftest.err conftest.$ac_objext \
38619 conftest$ac_exeext conftest.$ac_ext
38620 LIBS=$ac_check_lib_save_LIBS
38621 fi
38622 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38623 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38624 if test $ac_cv_lib_esd_esd_close = yes; then
38625
38626
38627 for ac_header in esd.h
38628 do
38629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38631 echo "$as_me:$LINENO: checking for $ac_header" >&5
38632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 fi
38636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38638 else
38639 # Is the header compilable?
38640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38642 cat >conftest.$ac_ext <<_ACEOF
38643 /* confdefs.h. */
38644 _ACEOF
38645 cat confdefs.h >>conftest.$ac_ext
38646 cat >>conftest.$ac_ext <<_ACEOF
38647 /* end confdefs.h. */
38648 $ac_includes_default
38649 #include <$ac_header>
38650 _ACEOF
38651 rm -f conftest.$ac_objext
38652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38653 (eval $ac_compile) 2>conftest.er1
38654 ac_status=$?
38655 grep -v '^ *+' conftest.er1 >conftest.err
38656 rm -f conftest.er1
38657 cat conftest.err >&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); } &&
38660 { ac_try='test -z "$ac_cxx_werror_flag"
38661 || test ! -s conftest.err'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38664 ac_status=$?
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; } &&
38667 { ac_try='test -s conftest.$ac_objext'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38670 ac_status=$?
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; }; then
38673 ac_header_compiler=yes
38674 else
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38677
38678 ac_header_compiler=no
38679 fi
38680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38682 echo "${ECHO_T}$ac_header_compiler" >&6
38683
38684 # Is the header present?
38685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38687 cat >conftest.$ac_ext <<_ACEOF
38688 /* confdefs.h. */
38689 _ACEOF
38690 cat confdefs.h >>conftest.$ac_ext
38691 cat >>conftest.$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693 #include <$ac_header>
38694 _ACEOF
38695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38697 ac_status=$?
38698 grep -v '^ *+' conftest.er1 >conftest.err
38699 rm -f conftest.er1
38700 cat conftest.err >&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } >/dev/null; then
38703 if test -s conftest.err; then
38704 ac_cpp_err=$ac_cxx_preproc_warn_flag
38705 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38706 else
38707 ac_cpp_err=
38708 fi
38709 else
38710 ac_cpp_err=yes
38711 fi
38712 if test -z "$ac_cpp_err"; then
38713 ac_header_preproc=yes
38714 else
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.$ac_ext >&5
38717
38718 ac_header_preproc=no
38719 fi
38720 rm -f conftest.err conftest.$ac_ext
38721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38722 echo "${ECHO_T}$ac_header_preproc" >&6
38723
38724 # So? What about this header?
38725 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38726 yes:no: )
38727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38731 ac_header_preproc=yes
38732 ;;
38733 no:yes:* )
38734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38746 (
38747 cat <<\_ASBOX
38748 ## ----------------------------------------- ##
38749 ## Report this to wx-dev@lists.wxwidgets.org ##
38750 ## ----------------------------------------- ##
38751 _ASBOX
38752 ) |
38753 sed "s/^/$as_me: WARNING: /" >&2
38754 ;;
38755 esac
38756 echo "$as_me:$LINENO: checking for $ac_header" >&5
38757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38759 echo $ECHO_N "(cached) $ECHO_C" >&6
38760 else
38761 eval "$as_ac_Header=\$ac_header_preproc"
38762 fi
38763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38765
38766 fi
38767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38768 cat >>confdefs.h <<_ACEOF
38769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38770 _ACEOF
38771
38772 EXTRALIBS_ESD="-lesd"
38773
38774 fi
38775
38776 done
38777
38778
38779 fi
38780
38781
38782
38783 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38784 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38785 cat >conftest.$ac_ext <<_ACEOF
38786 /* confdefs.h. */
38787 _ACEOF
38788 cat confdefs.h >>conftest.$ac_ext
38789 cat >>conftest.$ac_ext <<_ACEOF
38790 /* end confdefs.h. */
38791 #ifdef __linux__
38792 #include <linux/cdrom.h>
38793 #else
38794 /* For Solaris */
38795 #include <sys/cdio.h>
38796 #endif
38797
38798 int
38799 main ()
38800 {
38801 struct cdrom_tocentry entry, old_entry;
38802 ;
38803 return 0;
38804 }
38805 _ACEOF
38806 rm -f conftest.$ac_objext
38807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38808 (eval $ac_compile) 2>conftest.er1
38809 ac_status=$?
38810 grep -v '^ *+' conftest.er1 >conftest.err
38811 rm -f conftest.er1
38812 cat conftest.err >&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); } &&
38815 { ac_try='test -z "$ac_cxx_werror_flag"
38816 || test ! -s conftest.err'
38817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38818 (eval $ac_try) 2>&5
38819 ac_status=$?
38820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821 (exit $ac_status); }; } &&
38822 { ac_try='test -s conftest.$ac_objext'
38823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38824 (eval $ac_try) 2>&5
38825 ac_status=$?
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); }; }; then
38828 echo "$as_me:$LINENO: result: yes" >&5
38829 echo "${ECHO_T}yes" >&6
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_KNOWN_CDROM_INTERFACE 1
38832 _ACEOF
38833
38834 else
38835 echo "$as_me: failed program was:" >&5
38836 sed 's/^/| /' conftest.$ac_ext >&5
38837
38838 echo "$as_me:$LINENO: result: no" >&5
38839 echo "${ECHO_T}no" >&6
38840 fi
38841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38842
38843
38844 cat >confcache <<\_ACEOF
38845 # This file is a shell script that caches the results of configure
38846 # tests run on this system so they can be shared between configure
38847 # scripts and configure runs, see configure's option --config-cache.
38848 # It is not useful on other systems. If it contains results you don't
38849 # want to keep, you may remove or edit it.
38850 #
38851 # config.status only pays attention to the cache file if you give it
38852 # the --recheck option to rerun configure.
38853 #
38854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38856 # following values.
38857
38858 _ACEOF
38859
38860 # The following way of writing the cache mishandles newlines in values,
38861 # but we know of no workaround that is simple, portable, and efficient.
38862 # So, don't put newlines in cache variables' values.
38863 # Ultrix sh set writes to stderr and can't be redirected directly,
38864 # and sets the high bit in the cache file unless we assign to the vars.
38865 {
38866 (set) 2>&1 |
38867 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38868 *ac_space=\ *)
38869 # `set' does not quote correctly, so add quotes (double-quote
38870 # substitution turns \\\\ into \\, and sed turns \\ into \).
38871 sed -n \
38872 "s/'/'\\\\''/g;
38873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38874 ;;
38875 *)
38876 # `set' quotes correctly as required by POSIX, so do not add quotes.
38877 sed -n \
38878 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38879 ;;
38880 esac;
38881 } |
38882 sed '
38883 t clear
38884 : clear
38885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38886 t end
38887 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38888 : end' >>confcache
38889 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38890 if test -w $cache_file; then
38891 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38892 cat confcache >$cache_file
38893 else
38894 echo "not updating unwritable cache $cache_file"
38895 fi
38896 fi
38897 rm -f confcache
38898
38899
38900 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38901
38902
38903 THREADS_LINK=
38904 THREADS_CXXFLAGS=
38905
38906 if test "$wxUSE_THREADS" = "yes" ; then
38907 if test "$USE_BEOS" = 1; then
38908 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38909 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38910 wxUSE_THREADS="no"
38911 fi
38912 fi
38913
38914 if test "$wxUSE_THREADS" = "yes" ; then
38915
38916
38917 THREAD_OPTS="-pthread"
38918 case "${host}" in
38919 *-*-solaris2* | *-*-sunos4* )
38920 if test "x$GCC" = "xyes"; then
38921 THREAD_OPTS="-pthreads $THREAD_OPTS"
38922 else
38923 THREAD_OPTS="-mt $THREAD_OPTS"
38924 fi
38925 ;;
38926 *-*-freebsd*)
38927 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38928 ;;
38929 *-*-darwin* | *-*-cygwin* )
38930 THREAD_OPTS=""
38931 ;;
38932 *-*-aix*)
38933 THREAD_OPTS="pthreads"
38934 ;;
38935 *-hp-hpux* )
38936 if test "x$GCC" = "xyes"; then
38937 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38938 THREAD_OPTS=""
38939 else
38940 THREAD_OPTS="-mt"
38941 fi
38942 ;;
38943
38944 *-*-irix* )
38945 if test "x$GCC" = "xyes"; then
38946 THREAD_OPTS=""
38947 fi
38948 ;;
38949
38950 *-*-*UnixWare*)
38951 if test "x$GCC" != "xyes"; then
38952 THREAD_OPTS="-Ethread"
38953 fi
38954 ;;
38955 esac
38956
38957 THREAD_OPTS="$THREAD_OPTS pthread none"
38958
38959 THREADS_OK=no
38960 for flag in $THREAD_OPTS; do
38961 case $flag in
38962 none)
38963 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38964 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38965 ;;
38966
38967 -*)
38968 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38969 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38970 THREADS_CXXFLAGS="$flag"
38971 ;;
38972
38973 *)
38974 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38975 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38976 THREADS_LINK="-l$flag"
38977 ;;
38978 esac
38979
38980 save_LIBS="$LIBS"
38981 save_CXXFLAGS="$CXXFLAGS"
38982 LIBS="$THREADS_LINK $LIBS"
38983 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38984
38985 cat >conftest.$ac_ext <<_ACEOF
38986 /* confdefs.h. */
38987 _ACEOF
38988 cat confdefs.h >>conftest.$ac_ext
38989 cat >>conftest.$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 #include <pthread.h>
38992 int
38993 main ()
38994 {
38995 pthread_create(0,0,0,0);
38996 ;
38997 return 0;
38998 }
38999 _ACEOF
39000 rm -f conftest.$ac_objext conftest$ac_exeext
39001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39002 (eval $ac_link) 2>conftest.er1
39003 ac_status=$?
39004 grep -v '^ *+' conftest.er1 >conftest.err
39005 rm -f conftest.er1
39006 cat conftest.err >&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); } &&
39009 { ac_try='test -z "$ac_cxx_werror_flag"
39010 || test ! -s conftest.err'
39011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39012 (eval $ac_try) 2>&5
39013 ac_status=$?
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); }; } &&
39016 { ac_try='test -s conftest$ac_exeext'
39017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39018 (eval $ac_try) 2>&5
39019 ac_status=$?
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); }; }; then
39022 THREADS_OK=yes
39023 else
39024 echo "$as_me: failed program was:" >&5
39025 sed 's/^/| /' conftest.$ac_ext >&5
39026
39027 fi
39028 rm -f conftest.err conftest.$ac_objext \
39029 conftest$ac_exeext conftest.$ac_ext
39030
39031 LIBS="$save_LIBS"
39032 CXXFLAGS="$save_CXXFLAGS"
39033
39034 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39035 echo "${ECHO_T}$THREADS_OK" >&6
39036 if test "x$THREADS_OK" = "xyes"; then
39037 break;
39038 fi
39039
39040 THREADS_LINK=""
39041 THREADS_CXXFLAGS=""
39042 done
39043
39044 if test "x$THREADS_OK" != "xyes"; then
39045 wxUSE_THREADS=no
39046 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39047 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39048 else
39049 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39050 LIBS="$THREADS_LINK $LIBS"
39051
39052 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39053 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39054 flag=no
39055 case "${host}" in
39056 *-aix*)
39057 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39058 flag="-D_THREAD_SAFE"
39059 ;;
39060 *-freebsd*)
39061 flag="-D_THREAD_SAFE"
39062 ;;
39063 *-hp-hpux* )
39064 flag="-D_REENTRANT"
39065 if test "x$GCC" != "xyes"; then
39066 flag="$flag -D_RWSTD_MULTI_THREAD"
39067 fi
39068 ;;
39069 *solaris* | alpha*-osf*)
39070 flag="-D_REENTRANT"
39071 ;;
39072 esac
39073 echo "$as_me:$LINENO: result: ${flag}" >&5
39074 echo "${ECHO_T}${flag}" >&6
39075 if test "x$flag" != xno; then
39076 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39077 fi
39078
39079 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39080 fi
39081 fi
39082
39083 if test "$wxUSE_THREADS" = "yes" ; then
39084
39085 for ac_func in thr_setconcurrency
39086 do
39087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39088 echo "$as_me:$LINENO: checking for $ac_func" >&5
39089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39090 if eval "test \"\${$as_ac_var+set}\" = set"; then
39091 echo $ECHO_N "(cached) $ECHO_C" >&6
39092 else
39093 cat >conftest.$ac_ext <<_ACEOF
39094 /* confdefs.h. */
39095 _ACEOF
39096 cat confdefs.h >>conftest.$ac_ext
39097 cat >>conftest.$ac_ext <<_ACEOF
39098 /* end confdefs.h. */
39099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39101 #define $ac_func innocuous_$ac_func
39102
39103 /* System header to define __stub macros and hopefully few prototypes,
39104 which can conflict with char $ac_func (); below.
39105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39106 <limits.h> exists even on freestanding compilers. */
39107
39108 #ifdef __STDC__
39109 # include <limits.h>
39110 #else
39111 # include <assert.h>
39112 #endif
39113
39114 #undef $ac_func
39115
39116 /* Override any gcc2 internal prototype to avoid an error. */
39117 #ifdef __cplusplus
39118 extern "C"
39119 {
39120 #endif
39121 /* We use char because int might match the return type of a gcc2
39122 builtin and then its argument prototype would still apply. */
39123 char $ac_func ();
39124 /* The GNU C library defines this for functions which it implements
39125 to always fail with ENOSYS. Some functions are actually named
39126 something starting with __ and the normal name is an alias. */
39127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39128 choke me
39129 #else
39130 char (*f) () = $ac_func;
39131 #endif
39132 #ifdef __cplusplus
39133 }
39134 #endif
39135
39136 int
39137 main ()
39138 {
39139 return f != $ac_func;
39140 ;
39141 return 0;
39142 }
39143 _ACEOF
39144 rm -f conftest.$ac_objext conftest$ac_exeext
39145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39146 (eval $ac_link) 2>conftest.er1
39147 ac_status=$?
39148 grep -v '^ *+' conftest.er1 >conftest.err
39149 rm -f conftest.er1
39150 cat conftest.err >&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); } &&
39153 { ac_try='test -z "$ac_cxx_werror_flag"
39154 || test ! -s conftest.err'
39155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156 (eval $ac_try) 2>&5
39157 ac_status=$?
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); }; } &&
39160 { ac_try='test -s conftest$ac_exeext'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39163 ac_status=$?
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; }; then
39166 eval "$as_ac_var=yes"
39167 else
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.$ac_ext >&5
39170
39171 eval "$as_ac_var=no"
39172 fi
39173 rm -f conftest.err conftest.$ac_objext \
39174 conftest$ac_exeext conftest.$ac_ext
39175 fi
39176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39178 if test `eval echo '${'$as_ac_var'}'` = yes; then
39179 cat >>confdefs.h <<_ACEOF
39180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39181 _ACEOF
39182
39183 fi
39184 done
39185
39186
39187 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39188 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39189 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39190 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 else
39192
39193 cat >conftest.$ac_ext <<_ACEOF
39194 /* confdefs.h. */
39195 _ACEOF
39196 cat confdefs.h >>conftest.$ac_ext
39197 cat >>conftest.$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39199 #include <pthread.h>
39200 void ThreadCleanupFunc(void *p);
39201
39202 int
39203 main ()
39204 {
39205
39206 void *p;
39207 pthread_cleanup_push(ThreadCleanupFunc, p);
39208 pthread_cleanup_pop(0);
39209
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39216 (eval $ac_compile) 2>conftest.er1
39217 ac_status=$?
39218 grep -v '^ *+' conftest.er1 >conftest.err
39219 rm -f conftest.er1
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try='test -z "$ac_cxx_werror_flag"
39224 || test ! -s conftest.err'
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); }; } &&
39230 { ac_try='test -s conftest.$ac_objext'
39231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39232 (eval $ac_try) 2>&5
39233 ac_status=$?
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); }; }; then
39236
39237 wx_cv_func_pthread_cleanup=yes
39238
39239 else
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.$ac_ext >&5
39242
39243
39244 wx_cv_func_pthread_cleanup=no
39245
39246
39247 fi
39248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39249
39250 fi
39251 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39252 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39253 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39254 cat >>confdefs.h <<\_ACEOF
39255 #define wxHAVE_PTHREAD_CLEANUP 1
39256 _ACEOF
39257
39258 fi
39259
39260
39261 for ac_header in sched.h
39262 do
39263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39265 echo "$as_me:$LINENO: checking for $ac_header" >&5
39266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39269 fi
39270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39272 else
39273 # Is the header compilable?
39274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 $ac_includes_default
39283 #include <$ac_header>
39284 _ACEOF
39285 rm -f conftest.$ac_objext
39286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39287 (eval $ac_compile) 2>conftest.er1
39288 ac_status=$?
39289 grep -v '^ *+' conftest.er1 >conftest.err
39290 rm -f conftest.er1
39291 cat conftest.err >&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); } &&
39294 { ac_try='test -z "$ac_cxx_werror_flag"
39295 || test ! -s conftest.err'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39298 ac_status=$?
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; } &&
39301 { ac_try='test -s conftest.$ac_objext'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39304 ac_status=$?
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; }; then
39307 ac_header_compiler=yes
39308 else
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.$ac_ext >&5
39311
39312 ac_header_compiler=no
39313 fi
39314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39316 echo "${ECHO_T}$ac_header_compiler" >&6
39317
39318 # Is the header present?
39319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39321 cat >conftest.$ac_ext <<_ACEOF
39322 /* confdefs.h. */
39323 _ACEOF
39324 cat confdefs.h >>conftest.$ac_ext
39325 cat >>conftest.$ac_ext <<_ACEOF
39326 /* end confdefs.h. */
39327 #include <$ac_header>
39328 _ACEOF
39329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39331 ac_status=$?
39332 grep -v '^ *+' conftest.er1 >conftest.err
39333 rm -f conftest.er1
39334 cat conftest.err >&5
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); } >/dev/null; then
39337 if test -s conftest.err; then
39338 ac_cpp_err=$ac_cxx_preproc_warn_flag
39339 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39340 else
39341 ac_cpp_err=
39342 fi
39343 else
39344 ac_cpp_err=yes
39345 fi
39346 if test -z "$ac_cpp_err"; then
39347 ac_header_preproc=yes
39348 else
39349 echo "$as_me: failed program was:" >&5
39350 sed 's/^/| /' conftest.$ac_ext >&5
39351
39352 ac_header_preproc=no
39353 fi
39354 rm -f conftest.err conftest.$ac_ext
39355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39356 echo "${ECHO_T}$ac_header_preproc" >&6
39357
39358 # So? What about this header?
39359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39360 yes:no: )
39361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39365 ac_header_preproc=yes
39366 ;;
39367 no:yes:* )
39368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39380 (
39381 cat <<\_ASBOX
39382 ## ----------------------------------------- ##
39383 ## Report this to wx-dev@lists.wxwidgets.org ##
39384 ## ----------------------------------------- ##
39385 _ASBOX
39386 ) |
39387 sed "s/^/$as_me: WARNING: /" >&2
39388 ;;
39389 esac
39390 echo "$as_me:$LINENO: checking for $ac_header" >&5
39391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39394 else
39395 eval "$as_ac_Header=\$ac_header_preproc"
39396 fi
39397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39399
39400 fi
39401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39402 cat >>confdefs.h <<_ACEOF
39403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39404 _ACEOF
39405
39406 fi
39407
39408 done
39409
39410 if test "$ac_cv_header_sched_h" = "yes"; then
39411 echo "$as_me:$LINENO: checking for sched_yield" >&5
39412 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39413 if test "${ac_cv_func_sched_yield+set}" = set; then
39414 echo $ECHO_N "(cached) $ECHO_C" >&6
39415 else
39416 cat >conftest.$ac_ext <<_ACEOF
39417 /* confdefs.h. */
39418 _ACEOF
39419 cat confdefs.h >>conftest.$ac_ext
39420 cat >>conftest.$ac_ext <<_ACEOF
39421 /* end confdefs.h. */
39422 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39424 #define sched_yield innocuous_sched_yield
39425
39426 /* System header to define __stub macros and hopefully few prototypes,
39427 which can conflict with char sched_yield (); below.
39428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39429 <limits.h> exists even on freestanding compilers. */
39430
39431 #ifdef __STDC__
39432 # include <limits.h>
39433 #else
39434 # include <assert.h>
39435 #endif
39436
39437 #undef sched_yield
39438
39439 /* Override any gcc2 internal prototype to avoid an error. */
39440 #ifdef __cplusplus
39441 extern "C"
39442 {
39443 #endif
39444 /* We use char because int might match the return type of a gcc2
39445 builtin and then its argument prototype would still apply. */
39446 char sched_yield ();
39447 /* The GNU C library defines this for functions which it implements
39448 to always fail with ENOSYS. Some functions are actually named
39449 something starting with __ and the normal name is an alias. */
39450 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39451 choke me
39452 #else
39453 char (*f) () = sched_yield;
39454 #endif
39455 #ifdef __cplusplus
39456 }
39457 #endif
39458
39459 int
39460 main ()
39461 {
39462 return f != sched_yield;
39463 ;
39464 return 0;
39465 }
39466 _ACEOF
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39469 (eval $ac_link) 2>conftest.er1
39470 ac_status=$?
39471 grep -v '^ *+' conftest.er1 >conftest.err
39472 rm -f conftest.er1
39473 cat conftest.err >&5
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); } &&
39476 { ac_try='test -z "$ac_cxx_werror_flag"
39477 || test ! -s conftest.err'
39478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39479 (eval $ac_try) 2>&5
39480 ac_status=$?
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); }; } &&
39483 { ac_try='test -s conftest$ac_exeext'
39484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39485 (eval $ac_try) 2>&5
39486 ac_status=$?
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); }; }; then
39489 ac_cv_func_sched_yield=yes
39490 else
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.$ac_ext >&5
39493
39494 ac_cv_func_sched_yield=no
39495 fi
39496 rm -f conftest.err conftest.$ac_objext \
39497 conftest$ac_exeext conftest.$ac_ext
39498 fi
39499 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39500 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39501 if test $ac_cv_func_sched_yield = yes; then
39502 cat >>confdefs.h <<\_ACEOF
39503 #define HAVE_SCHED_YIELD 1
39504 _ACEOF
39505
39506 else
39507
39508 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39509 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39510 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39511 echo $ECHO_N "(cached) $ECHO_C" >&6
39512 else
39513 ac_check_lib_save_LIBS=$LIBS
39514 LIBS="-lposix4 $LIBS"
39515 cat >conftest.$ac_ext <<_ACEOF
39516 /* confdefs.h. */
39517 _ACEOF
39518 cat confdefs.h >>conftest.$ac_ext
39519 cat >>conftest.$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39521
39522 /* Override any gcc2 internal prototype to avoid an error. */
39523 #ifdef __cplusplus
39524 extern "C"
39525 #endif
39526 /* We use char because int might match the return type of a gcc2
39527 builtin and then its argument prototype would still apply. */
39528 char sched_yield ();
39529 int
39530 main ()
39531 {
39532 sched_yield ();
39533 ;
39534 return 0;
39535 }
39536 _ACEOF
39537 rm -f conftest.$ac_objext conftest$ac_exeext
39538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39539 (eval $ac_link) 2>conftest.er1
39540 ac_status=$?
39541 grep -v '^ *+' conftest.er1 >conftest.err
39542 rm -f conftest.er1
39543 cat conftest.err >&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } &&
39546 { ac_try='test -z "$ac_cxx_werror_flag"
39547 || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39550 ac_status=$?
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try='test -s conftest$ac_exeext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39556 ac_status=$?
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 ac_cv_lib_posix4_sched_yield=yes
39560 else
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39563
39564 ac_cv_lib_posix4_sched_yield=no
39565 fi
39566 rm -f conftest.err conftest.$ac_objext \
39567 conftest$ac_exeext conftest.$ac_ext
39568 LIBS=$ac_check_lib_save_LIBS
39569 fi
39570 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39571 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39572 if test $ac_cv_lib_posix4_sched_yield = yes; then
39573 cat >>confdefs.h <<\_ACEOF
39574 #define HAVE_SCHED_YIELD 1
39575 _ACEOF
39576 POSIX4_LINK=" -lposix4"
39577 else
39578 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39579 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39580
39581 fi
39582
39583
39584
39585 fi
39586
39587 fi
39588
39589 HAVE_PRIOR_FUNCS=0
39590 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39591 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39592 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39594 else
39595 cat >conftest.$ac_ext <<_ACEOF
39596 /* confdefs.h. */
39597 _ACEOF
39598 cat confdefs.h >>conftest.$ac_ext
39599 cat >>conftest.$ac_ext <<_ACEOF
39600 /* end confdefs.h. */
39601 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39603 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39604
39605 /* System header to define __stub macros and hopefully few prototypes,
39606 which can conflict with char pthread_attr_getschedpolicy (); below.
39607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39608 <limits.h> exists even on freestanding compilers. */
39609
39610 #ifdef __STDC__
39611 # include <limits.h>
39612 #else
39613 # include <assert.h>
39614 #endif
39615
39616 #undef pthread_attr_getschedpolicy
39617
39618 /* Override any gcc2 internal prototype to avoid an error. */
39619 #ifdef __cplusplus
39620 extern "C"
39621 {
39622 #endif
39623 /* We use char because int might match the return type of a gcc2
39624 builtin and then its argument prototype would still apply. */
39625 char pthread_attr_getschedpolicy ();
39626 /* The GNU C library defines this for functions which it implements
39627 to always fail with ENOSYS. Some functions are actually named
39628 something starting with __ and the normal name is an alias. */
39629 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39630 choke me
39631 #else
39632 char (*f) () = pthread_attr_getschedpolicy;
39633 #endif
39634 #ifdef __cplusplus
39635 }
39636 #endif
39637
39638 int
39639 main ()
39640 {
39641 return f != pthread_attr_getschedpolicy;
39642 ;
39643 return 0;
39644 }
39645 _ACEOF
39646 rm -f conftest.$ac_objext conftest$ac_exeext
39647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39648 (eval $ac_link) 2>conftest.er1
39649 ac_status=$?
39650 grep -v '^ *+' conftest.er1 >conftest.err
39651 rm -f conftest.er1
39652 cat conftest.err >&5
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); } &&
39655 { ac_try='test -z "$ac_cxx_werror_flag"
39656 || test ! -s conftest.err'
39657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39658 (eval $ac_try) 2>&5
39659 ac_status=$?
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); }; } &&
39662 { ac_try='test -s conftest$ac_exeext'
39663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39664 (eval $ac_try) 2>&5
39665 ac_status=$?
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); }; }; then
39668 ac_cv_func_pthread_attr_getschedpolicy=yes
39669 else
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.$ac_ext >&5
39672
39673 ac_cv_func_pthread_attr_getschedpolicy=no
39674 fi
39675 rm -f conftest.err conftest.$ac_objext \
39676 conftest$ac_exeext conftest.$ac_ext
39677 fi
39678 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39679 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39680 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39681 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39682 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39683 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39684 echo $ECHO_N "(cached) $ECHO_C" >&6
39685 else
39686 cat >conftest.$ac_ext <<_ACEOF
39687 /* confdefs.h. */
39688 _ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39692 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39694 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39695
39696 /* System header to define __stub macros and hopefully few prototypes,
39697 which can conflict with char pthread_attr_setschedparam (); below.
39698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39699 <limits.h> exists even on freestanding compilers. */
39700
39701 #ifdef __STDC__
39702 # include <limits.h>
39703 #else
39704 # include <assert.h>
39705 #endif
39706
39707 #undef pthread_attr_setschedparam
39708
39709 /* Override any gcc2 internal prototype to avoid an error. */
39710 #ifdef __cplusplus
39711 extern "C"
39712 {
39713 #endif
39714 /* We use char because int might match the return type of a gcc2
39715 builtin and then its argument prototype would still apply. */
39716 char pthread_attr_setschedparam ();
39717 /* The GNU C library defines this for functions which it implements
39718 to always fail with ENOSYS. Some functions are actually named
39719 something starting with __ and the normal name is an alias. */
39720 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39721 choke me
39722 #else
39723 char (*f) () = pthread_attr_setschedparam;
39724 #endif
39725 #ifdef __cplusplus
39726 }
39727 #endif
39728
39729 int
39730 main ()
39731 {
39732 return f != pthread_attr_setschedparam;
39733 ;
39734 return 0;
39735 }
39736 _ACEOF
39737 rm -f conftest.$ac_objext conftest$ac_exeext
39738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39739 (eval $ac_link) 2>conftest.er1
39740 ac_status=$?
39741 grep -v '^ *+' conftest.er1 >conftest.err
39742 rm -f conftest.er1
39743 cat conftest.err >&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); } &&
39746 { ac_try='test -z "$ac_cxx_werror_flag"
39747 || test ! -s conftest.err'
39748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749 (eval $ac_try) 2>&5
39750 ac_status=$?
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); }; } &&
39753 { ac_try='test -s conftest$ac_exeext'
39754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39755 (eval $ac_try) 2>&5
39756 ac_status=$?
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); }; }; then
39759 ac_cv_func_pthread_attr_setschedparam=yes
39760 else
39761 echo "$as_me: failed program was:" >&5
39762 sed 's/^/| /' conftest.$ac_ext >&5
39763
39764 ac_cv_func_pthread_attr_setschedparam=no
39765 fi
39766 rm -f conftest.err conftest.$ac_objext \
39767 conftest$ac_exeext conftest.$ac_ext
39768 fi
39769 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39770 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39771 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39772 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39773 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39774 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 else
39777 cat >conftest.$ac_ext <<_ACEOF
39778 /* confdefs.h. */
39779 _ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39785 #define sched_get_priority_max innocuous_sched_get_priority_max
39786
39787 /* System header to define __stub macros and hopefully few prototypes,
39788 which can conflict with char sched_get_priority_max (); below.
39789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39790 <limits.h> exists even on freestanding compilers. */
39791
39792 #ifdef __STDC__
39793 # include <limits.h>
39794 #else
39795 # include <assert.h>
39796 #endif
39797
39798 #undef sched_get_priority_max
39799
39800 /* Override any gcc2 internal prototype to avoid an error. */
39801 #ifdef __cplusplus
39802 extern "C"
39803 {
39804 #endif
39805 /* We use char because int might match the return type of a gcc2
39806 builtin and then its argument prototype would still apply. */
39807 char sched_get_priority_max ();
39808 /* The GNU C library defines this for functions which it implements
39809 to always fail with ENOSYS. Some functions are actually named
39810 something starting with __ and the normal name is an alias. */
39811 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39812 choke me
39813 #else
39814 char (*f) () = sched_get_priority_max;
39815 #endif
39816 #ifdef __cplusplus
39817 }
39818 #endif
39819
39820 int
39821 main ()
39822 {
39823 return f != sched_get_priority_max;
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext conftest$ac_exeext
39829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39830 (eval $ac_link) 2>conftest.er1
39831 ac_status=$?
39832 grep -v '^ *+' conftest.er1 >conftest.err
39833 rm -f conftest.er1
39834 cat conftest.err >&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try='test -z "$ac_cxx_werror_flag"
39838 || test ! -s conftest.err'
39839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39840 (eval $ac_try) 2>&5
39841 ac_status=$?
39842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843 (exit $ac_status); }; } &&
39844 { ac_try='test -s conftest$ac_exeext'
39845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39846 (eval $ac_try) 2>&5
39847 ac_status=$?
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); }; }; then
39850 ac_cv_func_sched_get_priority_max=yes
39851 else
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.$ac_ext >&5
39854
39855 ac_cv_func_sched_get_priority_max=no
39856 fi
39857 rm -f conftest.err conftest.$ac_objext \
39858 conftest$ac_exeext conftest.$ac_ext
39859 fi
39860 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39861 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39862 if test $ac_cv_func_sched_get_priority_max = yes; then
39863 HAVE_PRIOR_FUNCS=1
39864 else
39865 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39866 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39867 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39869 else
39870 ac_check_lib_save_LIBS=$LIBS
39871 LIBS="-lposix4 $LIBS"
39872 cat >conftest.$ac_ext <<_ACEOF
39873 /* confdefs.h. */
39874 _ACEOF
39875 cat confdefs.h >>conftest.$ac_ext
39876 cat >>conftest.$ac_ext <<_ACEOF
39877 /* end confdefs.h. */
39878
39879 /* Override any gcc2 internal prototype to avoid an error. */
39880 #ifdef __cplusplus
39881 extern "C"
39882 #endif
39883 /* We use char because int might match the return type of a gcc2
39884 builtin and then its argument prototype would still apply. */
39885 char sched_get_priority_max ();
39886 int
39887 main ()
39888 {
39889 sched_get_priority_max ();
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 rm -f conftest.$ac_objext conftest$ac_exeext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39896 (eval $ac_link) 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try='test -z "$ac_cxx_werror_flag"
39904 || test ! -s conftest.err'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39907 ac_status=$?
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; } &&
39910 { ac_try='test -s conftest$ac_exeext'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; }; then
39916 ac_cv_lib_posix4_sched_get_priority_max=yes
39917 else
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39920
39921 ac_cv_lib_posix4_sched_get_priority_max=no
39922 fi
39923 rm -f conftest.err conftest.$ac_objext \
39924 conftest$ac_exeext conftest.$ac_ext
39925 LIBS=$ac_check_lib_save_LIBS
39926 fi
39927 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39928 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39929 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39930
39931 HAVE_PRIOR_FUNCS=1
39932 POSIX4_LINK=" -lposix4"
39933
39934 fi
39935
39936
39937 fi
39938
39939
39940 fi
39941
39942
39943 fi
39944
39945
39946 if test "$HAVE_PRIOR_FUNCS" = 1; then
39947 cat >>confdefs.h <<\_ACEOF
39948 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39949 _ACEOF
39950
39951 else
39952 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39953 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39954 fi
39955
39956 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39957 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39958 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39959 echo $ECHO_N "(cached) $ECHO_C" >&6
39960 else
39961 cat >conftest.$ac_ext <<_ACEOF
39962 /* confdefs.h. */
39963 _ACEOF
39964 cat confdefs.h >>conftest.$ac_ext
39965 cat >>conftest.$ac_ext <<_ACEOF
39966 /* end confdefs.h. */
39967 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39969 #define pthread_cancel innocuous_pthread_cancel
39970
39971 /* System header to define __stub macros and hopefully few prototypes,
39972 which can conflict with char pthread_cancel (); below.
39973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39974 <limits.h> exists even on freestanding compilers. */
39975
39976 #ifdef __STDC__
39977 # include <limits.h>
39978 #else
39979 # include <assert.h>
39980 #endif
39981
39982 #undef pthread_cancel
39983
39984 /* Override any gcc2 internal prototype to avoid an error. */
39985 #ifdef __cplusplus
39986 extern "C"
39987 {
39988 #endif
39989 /* We use char because int might match the return type of a gcc2
39990 builtin and then its argument prototype would still apply. */
39991 char pthread_cancel ();
39992 /* The GNU C library defines this for functions which it implements
39993 to always fail with ENOSYS. Some functions are actually named
39994 something starting with __ and the normal name is an alias. */
39995 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39996 choke me
39997 #else
39998 char (*f) () = pthread_cancel;
39999 #endif
40000 #ifdef __cplusplus
40001 }
40002 #endif
40003
40004 int
40005 main ()
40006 {
40007 return f != pthread_cancel;
40008 ;
40009 return 0;
40010 }
40011 _ACEOF
40012 rm -f conftest.$ac_objext conftest$ac_exeext
40013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40014 (eval $ac_link) 2>conftest.er1
40015 ac_status=$?
40016 grep -v '^ *+' conftest.er1 >conftest.err
40017 rm -f conftest.er1
40018 cat conftest.err >&5
40019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40020 (exit $ac_status); } &&
40021 { ac_try='test -z "$ac_cxx_werror_flag"
40022 || test ! -s conftest.err'
40023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40024 (eval $ac_try) 2>&5
40025 ac_status=$?
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; } &&
40028 { ac_try='test -s conftest$ac_exeext'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40031 ac_status=$?
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; }; then
40034 ac_cv_func_pthread_cancel=yes
40035 else
40036 echo "$as_me: failed program was:" >&5
40037 sed 's/^/| /' conftest.$ac_ext >&5
40038
40039 ac_cv_func_pthread_cancel=no
40040 fi
40041 rm -f conftest.err conftest.$ac_objext \
40042 conftest$ac_exeext conftest.$ac_ext
40043 fi
40044 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40045 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40046 if test $ac_cv_func_pthread_cancel = yes; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define HAVE_PTHREAD_CANCEL 1
40049 _ACEOF
40050
40051 else
40052 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40053 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40054 fi
40055
40056
40057 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40058 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40059 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40061 else
40062 cat >conftest.$ac_ext <<_ACEOF
40063 /* confdefs.h. */
40064 _ACEOF
40065 cat confdefs.h >>conftest.$ac_ext
40066 cat >>conftest.$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40071
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char pthread_attr_setstacksize (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40076
40077 #ifdef __STDC__
40078 # include <limits.h>
40079 #else
40080 # include <assert.h>
40081 #endif
40082
40083 #undef pthread_attr_setstacksize
40084
40085 /* Override any gcc2 internal prototype to avoid an error. */
40086 #ifdef __cplusplus
40087 extern "C"
40088 {
40089 #endif
40090 /* We use char because int might match the return type of a gcc2
40091 builtin and then its argument prototype would still apply. */
40092 char pthread_attr_setstacksize ();
40093 /* The GNU C library defines this for functions which it implements
40094 to always fail with ENOSYS. Some functions are actually named
40095 something starting with __ and the normal name is an alias. */
40096 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40097 choke me
40098 #else
40099 char (*f) () = pthread_attr_setstacksize;
40100 #endif
40101 #ifdef __cplusplus
40102 }
40103 #endif
40104
40105 int
40106 main ()
40107 {
40108 return f != pthread_attr_setstacksize;
40109 ;
40110 return 0;
40111 }
40112 _ACEOF
40113 rm -f conftest.$ac_objext conftest$ac_exeext
40114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40115 (eval $ac_link) 2>conftest.er1
40116 ac_status=$?
40117 grep -v '^ *+' conftest.er1 >conftest.err
40118 rm -f conftest.er1
40119 cat conftest.err >&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); } &&
40122 { ac_try='test -z "$ac_cxx_werror_flag"
40123 || test ! -s conftest.err'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; } &&
40129 { ac_try='test -s conftest$ac_exeext'
40130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131 (eval $ac_try) 2>&5
40132 ac_status=$?
40133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134 (exit $ac_status); }; }; then
40135 ac_cv_func_pthread_attr_setstacksize=yes
40136 else
40137 echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.$ac_ext >&5
40139
40140 ac_cv_func_pthread_attr_setstacksize=no
40141 fi
40142 rm -f conftest.err conftest.$ac_objext \
40143 conftest$ac_exeext conftest.$ac_ext
40144 fi
40145 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40146 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40147 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40148 cat >>confdefs.h <<\_ACEOF
40149 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40150 _ACEOF
40151
40152 fi
40153
40154
40155
40156 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40157 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40158 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40160 else
40161
40162 cat >conftest.$ac_ext <<_ACEOF
40163 /* confdefs.h. */
40164 _ACEOF
40165 cat confdefs.h >>conftest.$ac_ext
40166 cat >>conftest.$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 #include <pthread.h>
40169 int
40170 main ()
40171 {
40172
40173 pthread_mutexattr_t attr;
40174 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40175
40176 ;
40177 return 0;
40178 }
40179 _ACEOF
40180 rm -f conftest.$ac_objext
40181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40182 (eval $ac_compile) 2>conftest.er1
40183 ac_status=$?
40184 grep -v '^ *+' conftest.er1 >conftest.err
40185 rm -f conftest.er1
40186 cat conftest.err >&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } &&
40189 { ac_try='test -z "$ac_cxx_werror_flag"
40190 || test ! -s conftest.err'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40193 ac_status=$?
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; } &&
40196 { ac_try='test -s conftest.$ac_objext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40199 ac_status=$?
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 wx_cv_type_pthread_mutexattr_t=yes
40203 else
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40206
40207 wx_cv_type_pthread_mutexattr_t=no
40208
40209 fi
40210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40211
40212 fi
40213 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40214 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40215
40216 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40217 cat >>confdefs.h <<\_ACEOF
40218 #define HAVE_PTHREAD_MUTEXATTR_T 1
40219 _ACEOF
40220
40221
40222 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40223 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40224 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40225 echo $ECHO_N "(cached) $ECHO_C" >&6
40226 else
40227
40228 cat >conftest.$ac_ext <<_ACEOF
40229 /* confdefs.h. */
40230 _ACEOF
40231 cat confdefs.h >>conftest.$ac_ext
40232 cat >>conftest.$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 #include <pthread.h>
40235 int
40236 main ()
40237 {
40238
40239 pthread_mutexattr_t attr;
40240 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40241
40242 ;
40243 return 0;
40244 }
40245 _ACEOF
40246 rm -f conftest.$ac_objext
40247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40248 (eval $ac_compile) 2>conftest.er1
40249 ac_status=$?
40250 grep -v '^ *+' conftest.er1 >conftest.err
40251 rm -f conftest.er1
40252 cat conftest.err >&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } &&
40255 { ac_try='test -z "$ac_cxx_werror_flag"
40256 || test ! -s conftest.err'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40259 ac_status=$?
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; } &&
40262 { ac_try='test -s conftest.$ac_objext'
40263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40264 (eval $ac_try) 2>&5
40265 ac_status=$?
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); }; }; then
40268 wx_cv_func_pthread_mutexattr_settype_decl=yes
40269 else
40270 echo "$as_me: failed program was:" >&5
40271 sed 's/^/| /' conftest.$ac_ext >&5
40272
40273 wx_cv_func_pthread_mutexattr_settype_decl=no
40274
40275 fi
40276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40277
40278 fi
40279 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40280 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40281 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40282 cat >>confdefs.h <<\_ACEOF
40283 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40284 _ACEOF
40285
40286 fi
40287 else
40288 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40289 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40290 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40291 echo $ECHO_N "(cached) $ECHO_C" >&6
40292 else
40293
40294 cat >conftest.$ac_ext <<_ACEOF
40295 /* confdefs.h. */
40296 _ACEOF
40297 cat confdefs.h >>conftest.$ac_ext
40298 cat >>conftest.$ac_ext <<_ACEOF
40299 /* end confdefs.h. */
40300 #include <pthread.h>
40301 int
40302 main ()
40303 {
40304
40305 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40306
40307 ;
40308 return 0;
40309 }
40310 _ACEOF
40311 rm -f conftest.$ac_objext
40312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40313 (eval $ac_compile) 2>conftest.er1
40314 ac_status=$?
40315 grep -v '^ *+' conftest.er1 >conftest.err
40316 rm -f conftest.er1
40317 cat conftest.err >&5
40318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319 (exit $ac_status); } &&
40320 { ac_try='test -z "$ac_cxx_werror_flag"
40321 || test ! -s conftest.err'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; } &&
40327 { ac_try='test -s conftest.$ac_objext'
40328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40329 (eval $ac_try) 2>&5
40330 ac_status=$?
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); }; }; then
40333
40334 wx_cv_type_pthread_rec_mutex_init=yes
40335
40336 else
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40339
40340
40341 wx_cv_type_pthread_rec_mutex_init=no
40342
40343
40344 fi
40345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40346
40347 fi
40348 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40349 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40350 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40351 cat >>confdefs.h <<\_ACEOF
40352 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40353 _ACEOF
40354
40355 else
40356 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40357 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40358 fi
40359 fi
40360 fi
40361
40362 else
40363 if test "$wxUSE_THREADS" = "yes" ; then
40364 case "${host}" in
40365 *-*-mingw32* )
40366 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40367 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40368 if test "${wx_cv_cflags_mthread+set}" = set; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40370 else
40371
40372 CXXFLAGS_OLD="$CXXFLAGS"
40373 CXXFLAGS="-mthreads $CXXFLAGS"
40374 cat >conftest.$ac_ext <<_ACEOF
40375 /* confdefs.h. */
40376 _ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40380
40381 int
40382 main ()
40383 {
40384
40385 ;
40386 return 0;
40387 }
40388 _ACEOF
40389 rm -f conftest.$ac_objext
40390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40391 (eval $ac_compile) 2>conftest.er1
40392 ac_status=$?
40393 grep -v '^ *+' conftest.er1 >conftest.err
40394 rm -f conftest.er1
40395 cat conftest.err >&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } &&
40398 { ac_try='test -z "$ac_cxx_werror_flag"
40399 || test ! -s conftest.err'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40402 ac_status=$?
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; } &&
40405 { ac_try='test -s conftest.$ac_objext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 wx_cv_cflags_mthread=yes
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40415
40416 wx_cv_cflags_mthread=no
40417
40418 fi
40419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40420
40421
40422 fi
40423 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40424 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40425
40426 if test "$wx_cv_cflags_mthread" = "yes"; then
40427 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40428 LDFLAGS="$LDFLAGS -mthreads"
40429 else
40430 CXXFLAGS="$CXXFLAGS_OLD"
40431 fi
40432 ;;
40433 *-pc-os2*emx )
40434 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40435 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40436 LDFLAGS="$LDFLAGS -Zmt"
40437 ;;
40438 esac
40439 fi
40440 fi
40441
40442 echo "$as_me:$LINENO: checking for localtime_r" >&5
40443 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40444 if test "${ac_cv_func_localtime_r+set}" = set; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447 cat >conftest.$ac_ext <<_ACEOF
40448 /* confdefs.h. */
40449 _ACEOF
40450 cat confdefs.h >>conftest.$ac_ext
40451 cat >>conftest.$ac_ext <<_ACEOF
40452 /* end confdefs.h. */
40453 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40455 #define localtime_r innocuous_localtime_r
40456
40457 /* System header to define __stub macros and hopefully few prototypes,
40458 which can conflict with char localtime_r (); below.
40459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40460 <limits.h> exists even on freestanding compilers. */
40461
40462 #ifdef __STDC__
40463 # include <limits.h>
40464 #else
40465 # include <assert.h>
40466 #endif
40467
40468 #undef localtime_r
40469
40470 /* Override any gcc2 internal prototype to avoid an error. */
40471 #ifdef __cplusplus
40472 extern "C"
40473 {
40474 #endif
40475 /* We use char because int might match the return type of a gcc2
40476 builtin and then its argument prototype would still apply. */
40477 char localtime_r ();
40478 /* The GNU C library defines this for functions which it implements
40479 to always fail with ENOSYS. Some functions are actually named
40480 something starting with __ and the normal name is an alias. */
40481 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40482 choke me
40483 #else
40484 char (*f) () = localtime_r;
40485 #endif
40486 #ifdef __cplusplus
40487 }
40488 #endif
40489
40490 int
40491 main ()
40492 {
40493 return f != localtime_r;
40494 ;
40495 return 0;
40496 }
40497 _ACEOF
40498 rm -f conftest.$ac_objext conftest$ac_exeext
40499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40500 (eval $ac_link) 2>conftest.er1
40501 ac_status=$?
40502 grep -v '^ *+' conftest.er1 >conftest.err
40503 rm -f conftest.er1
40504 cat conftest.err >&5
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); } &&
40507 { ac_try='test -z "$ac_cxx_werror_flag"
40508 || test ! -s conftest.err'
40509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40510 (eval $ac_try) 2>&5
40511 ac_status=$?
40512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40513 (exit $ac_status); }; } &&
40514 { ac_try='test -s conftest$ac_exeext'
40515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40516 (eval $ac_try) 2>&5
40517 ac_status=$?
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); }; }; then
40520 ac_cv_func_localtime_r=yes
40521 else
40522 echo "$as_me: failed program was:" >&5
40523 sed 's/^/| /' conftest.$ac_ext >&5
40524
40525 ac_cv_func_localtime_r=no
40526 fi
40527 rm -f conftest.err conftest.$ac_objext \
40528 conftest$ac_exeext conftest.$ac_ext
40529 fi
40530 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40531 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40532 if test $ac_cv_func_localtime_r = yes; then
40533 cat >>confdefs.h <<\_ACEOF
40534 #define HAVE_LOCALTIME_R 1
40535 _ACEOF
40536
40537 fi
40538
40539 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40540 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40541 if test "${ac_cv_func_gmtime_r+set}" = set; then
40542 echo $ECHO_N "(cached) $ECHO_C" >&6
40543 else
40544 cat >conftest.$ac_ext <<_ACEOF
40545 /* confdefs.h. */
40546 _ACEOF
40547 cat confdefs.h >>conftest.$ac_ext
40548 cat >>conftest.$ac_ext <<_ACEOF
40549 /* end confdefs.h. */
40550 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40552 #define gmtime_r innocuous_gmtime_r
40553
40554 /* System header to define __stub macros and hopefully few prototypes,
40555 which can conflict with char gmtime_r (); below.
40556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40557 <limits.h> exists even on freestanding compilers. */
40558
40559 #ifdef __STDC__
40560 # include <limits.h>
40561 #else
40562 # include <assert.h>
40563 #endif
40564
40565 #undef gmtime_r
40566
40567 /* Override any gcc2 internal prototype to avoid an error. */
40568 #ifdef __cplusplus
40569 extern "C"
40570 {
40571 #endif
40572 /* We use char because int might match the return type of a gcc2
40573 builtin and then its argument prototype would still apply. */
40574 char gmtime_r ();
40575 /* The GNU C library defines this for functions which it implements
40576 to always fail with ENOSYS. Some functions are actually named
40577 something starting with __ and the normal name is an alias. */
40578 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40579 choke me
40580 #else
40581 char (*f) () = gmtime_r;
40582 #endif
40583 #ifdef __cplusplus
40584 }
40585 #endif
40586
40587 int
40588 main ()
40589 {
40590 return f != gmtime_r;
40591 ;
40592 return 0;
40593 }
40594 _ACEOF
40595 rm -f conftest.$ac_objext conftest$ac_exeext
40596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40597 (eval $ac_link) 2>conftest.er1
40598 ac_status=$?
40599 grep -v '^ *+' conftest.er1 >conftest.err
40600 rm -f conftest.er1
40601 cat conftest.err >&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); } &&
40604 { ac_try='test -z "$ac_cxx_werror_flag"
40605 || test ! -s conftest.err'
40606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40607 (eval $ac_try) 2>&5
40608 ac_status=$?
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); }; } &&
40611 { ac_try='test -s conftest$ac_exeext'
40612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40613 (eval $ac_try) 2>&5
40614 ac_status=$?
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); }; }; then
40617 ac_cv_func_gmtime_r=yes
40618 else
40619 echo "$as_me: failed program was:" >&5
40620 sed 's/^/| /' conftest.$ac_ext >&5
40621
40622 ac_cv_func_gmtime_r=no
40623 fi
40624 rm -f conftest.err conftest.$ac_objext \
40625 conftest$ac_exeext conftest.$ac_ext
40626 fi
40627 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40628 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40629 if test $ac_cv_func_gmtime_r = yes; then
40630 cat >>confdefs.h <<\_ACEOF
40631 #define HAVE_GMTIME_R 1
40632 _ACEOF
40633
40634 fi
40635
40636 echo "$as_me:$LINENO: checking for readdir_r" >&5
40637 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40638 if test "${ac_cv_func_readdir_r+set}" = set; then
40639 echo $ECHO_N "(cached) $ECHO_C" >&6
40640 else
40641 cat >conftest.$ac_ext <<_ACEOF
40642 /* confdefs.h. */
40643 _ACEOF
40644 cat confdefs.h >>conftest.$ac_ext
40645 cat >>conftest.$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40649 #define readdir_r innocuous_readdir_r
40650
40651 /* System header to define __stub macros and hopefully few prototypes,
40652 which can conflict with char readdir_r (); below.
40653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40654 <limits.h> exists even on freestanding compilers. */
40655
40656 #ifdef __STDC__
40657 # include <limits.h>
40658 #else
40659 # include <assert.h>
40660 #endif
40661
40662 #undef readdir_r
40663
40664 /* Override any gcc2 internal prototype to avoid an error. */
40665 #ifdef __cplusplus
40666 extern "C"
40667 {
40668 #endif
40669 /* We use char because int might match the return type of a gcc2
40670 builtin and then its argument prototype would still apply. */
40671 char readdir_r ();
40672 /* The GNU C library defines this for functions which it implements
40673 to always fail with ENOSYS. Some functions are actually named
40674 something starting with __ and the normal name is an alias. */
40675 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40676 choke me
40677 #else
40678 char (*f) () = readdir_r;
40679 #endif
40680 #ifdef __cplusplus
40681 }
40682 #endif
40683
40684 int
40685 main ()
40686 {
40687 return f != readdir_r;
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40694 (eval $ac_link) 2>conftest.er1
40695 ac_status=$?
40696 grep -v '^ *+' conftest.er1 >conftest.err
40697 rm -f conftest.er1
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } &&
40701 { ac_try='test -z "$ac_cxx_werror_flag"
40702 || test ! -s conftest.err'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40705 ac_status=$?
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; } &&
40708 { ac_try='test -s conftest$ac_exeext'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40711 ac_status=$?
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; }; then
40714 ac_cv_func_readdir_r=yes
40715 else
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.$ac_ext >&5
40718
40719 ac_cv_func_readdir_r=no
40720 fi
40721 rm -f conftest.err conftest.$ac_objext \
40722 conftest$ac_exeext conftest.$ac_ext
40723 fi
40724 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40725 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40726 if test $ac_cv_func_readdir_r = yes; then
40727 cat >>confdefs.h <<\_ACEOF
40728 #define HAVE_READDIR_R 1
40729 _ACEOF
40730
40731 fi
40732
40733
40734
40735
40736 ac_ext=c
40737 ac_cpp='$CPP $CPPFLAGS'
40738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40741
40742 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40743 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40744
40745 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40746 echo $ECHO_N "(cached) $ECHO_C" >&6
40747 else
40748
40749
40750 ################################################################
40751
40752 ac_cv_func_which_gethostbyname_r=unknown
40753
40754 #
40755 # ONE ARGUMENT (sanity check)
40756 #
40757
40758 # This should fail, as there is no variant of gethostbyname_r() that takes
40759 # a single argument. If it actually compiles, then we can assume that
40760 # netdb.h is not declaring the function, and the compiler is thereby
40761 # assuming an implicit prototype. In which case, we're out of luck.
40762 #
40763 cat >conftest.$ac_ext <<_ACEOF
40764 /* confdefs.h. */
40765 _ACEOF
40766 cat confdefs.h >>conftest.$ac_ext
40767 cat >>conftest.$ac_ext <<_ACEOF
40768 /* end confdefs.h. */
40769 #include <netdb.h>
40770 int
40771 main ()
40772 {
40773
40774 char *name = "www.gnu.org";
40775 (void)gethostbyname_r(name) /* ; */
40776
40777 ;
40778 return 0;
40779 }
40780 _ACEOF
40781 rm -f conftest.$ac_objext
40782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40783 (eval $ac_compile) 2>conftest.er1
40784 ac_status=$?
40785 grep -v '^ *+' conftest.er1 >conftest.err
40786 rm -f conftest.er1
40787 cat conftest.err >&5
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); } &&
40790 { ac_try='test -z "$ac_c_werror_flag"
40791 || test ! -s conftest.err'
40792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40793 (eval $ac_try) 2>&5
40794 ac_status=$?
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); }; } &&
40797 { ac_try='test -s conftest.$ac_objext'
40798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40799 (eval $ac_try) 2>&5
40800 ac_status=$?
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); }; }; then
40803 ac_cv_func_which_gethostbyname_r=no
40804 else
40805 echo "$as_me: failed program was:" >&5
40806 sed 's/^/| /' conftest.$ac_ext >&5
40807
40808 fi
40809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40810
40811 #
40812 # SIX ARGUMENTS
40813 # (e.g. Linux)
40814 #
40815
40816 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40817
40818 cat >conftest.$ac_ext <<_ACEOF
40819 /* confdefs.h. */
40820 _ACEOF
40821 cat confdefs.h >>conftest.$ac_ext
40822 cat >>conftest.$ac_ext <<_ACEOF
40823 /* end confdefs.h. */
40824 #include <netdb.h>
40825 int
40826 main ()
40827 {
40828
40829 char *name = "www.gnu.org";
40830 struct hostent ret, *retp;
40831 char buf[1024];
40832 int buflen = 1024;
40833 int my_h_errno;
40834 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40835
40836 ;
40837 return 0;
40838 }
40839 _ACEOF
40840 rm -f conftest.$ac_objext
40841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40842 (eval $ac_compile) 2>conftest.er1
40843 ac_status=$?
40844 grep -v '^ *+' conftest.er1 >conftest.err
40845 rm -f conftest.er1
40846 cat conftest.err >&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); } &&
40849 { ac_try='test -z "$ac_c_werror_flag"
40850 || test ! -s conftest.err'
40851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40852 (eval $ac_try) 2>&5
40853 ac_status=$?
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); }; } &&
40856 { ac_try='test -s conftest.$ac_objext'
40857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40858 (eval $ac_try) 2>&5
40859 ac_status=$?
40860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861 (exit $ac_status); }; }; then
40862 ac_cv_func_which_gethostbyname_r=six
40863 else
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40866
40867 fi
40868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40869
40870 fi
40871
40872 #
40873 # FIVE ARGUMENTS
40874 # (e.g. Solaris)
40875 #
40876
40877 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40878
40879 cat >conftest.$ac_ext <<_ACEOF
40880 /* confdefs.h. */
40881 _ACEOF
40882 cat confdefs.h >>conftest.$ac_ext
40883 cat >>conftest.$ac_ext <<_ACEOF
40884 /* end confdefs.h. */
40885 #include <netdb.h>
40886 int
40887 main ()
40888 {
40889
40890 char *name = "www.gnu.org";
40891 struct hostent ret;
40892 char buf[1024];
40893 int buflen = 1024;
40894 int my_h_errno;
40895 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40896
40897 ;
40898 return 0;
40899 }
40900 _ACEOF
40901 rm -f conftest.$ac_objext
40902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40903 (eval $ac_compile) 2>conftest.er1
40904 ac_status=$?
40905 grep -v '^ *+' conftest.er1 >conftest.err
40906 rm -f conftest.er1
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } &&
40910 { ac_try='test -z "$ac_c_werror_flag"
40911 || test ! -s conftest.err'
40912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40913 (eval $ac_try) 2>&5
40914 ac_status=$?
40915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40916 (exit $ac_status); }; } &&
40917 { ac_try='test -s conftest.$ac_objext'
40918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40919 (eval $ac_try) 2>&5
40920 ac_status=$?
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); }; }; then
40923 ac_cv_func_which_gethostbyname_r=five
40924 else
40925 echo "$as_me: failed program was:" >&5
40926 sed 's/^/| /' conftest.$ac_ext >&5
40927
40928 fi
40929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40930
40931 fi
40932
40933 #
40934 # THREE ARGUMENTS
40935 # (e.g. AIX, HP-UX, Tru64)
40936 #
40937
40938 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40939
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 #include <netdb.h>
40947 int
40948 main ()
40949 {
40950
40951 char *name = "www.gnu.org";
40952 struct hostent ret;
40953 struct hostent_data data;
40954 (void)gethostbyname_r(name, &ret, &data) /* ; */
40955
40956 ;
40957 return 0;
40958 }
40959 _ACEOF
40960 rm -f conftest.$ac_objext
40961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40962 (eval $ac_compile) 2>conftest.er1
40963 ac_status=$?
40964 grep -v '^ *+' conftest.er1 >conftest.err
40965 rm -f conftest.er1
40966 cat conftest.err >&5
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); } &&
40969 { ac_try='test -z "$ac_c_werror_flag"
40970 || test ! -s conftest.err'
40971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972 (eval $ac_try) 2>&5
40973 ac_status=$?
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); }; } &&
40976 { ac_try='test -s conftest.$ac_objext'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40979 ac_status=$?
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; }; then
40982 ac_cv_func_which_gethostbyname_r=three
40983 else
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40986
40987 fi
40988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40989
40990 fi
40991
40992 ################################################################
40993
40994
40995 fi
40996
40997 case "$ac_cv_func_which_gethostbyname_r" in
40998 three)
40999 echo "$as_me:$LINENO: result: three" >&5
41000 echo "${ECHO_T}three" >&6
41001 cat >>confdefs.h <<\_ACEOF
41002 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41003 _ACEOF
41004
41005 ;;
41006
41007 five)
41008 echo "$as_me:$LINENO: result: five" >&5
41009 echo "${ECHO_T}five" >&6
41010 cat >>confdefs.h <<\_ACEOF
41011 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41012 _ACEOF
41013
41014 ;;
41015
41016 six)
41017 echo "$as_me:$LINENO: result: six" >&5
41018 echo "${ECHO_T}six" >&6
41019 cat >>confdefs.h <<\_ACEOF
41020 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41021 _ACEOF
41022
41023 ;;
41024
41025 no)
41026 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41027 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41028 ;;
41029
41030 unknown)
41031 echo "$as_me:$LINENO: result: can't tell" >&5
41032 echo "${ECHO_T}can't tell" >&6
41033 ;;
41034
41035 *)
41036 { { echo "$as_me:$LINENO: error: internal error" >&5
41037 echo "$as_me: error: internal error" >&2;}
41038 { (exit 1); exit 1; }; }
41039 ;;
41040 esac
41041
41042 ac_ext=cc
41043 ac_cpp='$CXXCPP $CPPFLAGS'
41044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41047
41048
41049
41050 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41051 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41052 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41053 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41054 if test "${ac_cv_func_gethostbyname+set}" = set; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 else
41057 cat >conftest.$ac_ext <<_ACEOF
41058 /* confdefs.h. */
41059 _ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define gethostbyname innocuous_gethostbyname
41066
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char gethostbyname (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41071
41072 #ifdef __STDC__
41073 # include <limits.h>
41074 #else
41075 # include <assert.h>
41076 #endif
41077
41078 #undef gethostbyname
41079
41080 /* Override any gcc2 internal prototype to avoid an error. */
41081 #ifdef __cplusplus
41082 extern "C"
41083 {
41084 #endif
41085 /* We use char because int might match the return type of a gcc2
41086 builtin and then its argument prototype would still apply. */
41087 char gethostbyname ();
41088 /* The GNU C library defines this for functions which it implements
41089 to always fail with ENOSYS. Some functions are actually named
41090 something starting with __ and the normal name is an alias. */
41091 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41092 choke me
41093 #else
41094 char (*f) () = gethostbyname;
41095 #endif
41096 #ifdef __cplusplus
41097 }
41098 #endif
41099
41100 int
41101 main ()
41102 {
41103 return f != gethostbyname;
41104 ;
41105 return 0;
41106 }
41107 _ACEOF
41108 rm -f conftest.$ac_objext conftest$ac_exeext
41109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41110 (eval $ac_link) 2>conftest.er1
41111 ac_status=$?
41112 grep -v '^ *+' conftest.er1 >conftest.err
41113 rm -f conftest.er1
41114 cat conftest.err >&5
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); } &&
41117 { ac_try='test -z "$ac_cxx_werror_flag"
41118 || test ! -s conftest.err'
41119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41120 (eval $ac_try) 2>&5
41121 ac_status=$?
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); }; } &&
41124 { ac_try='test -s conftest$ac_exeext'
41125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41126 (eval $ac_try) 2>&5
41127 ac_status=$?
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); }; }; then
41130 ac_cv_func_gethostbyname=yes
41131 else
41132 echo "$as_me: failed program was:" >&5
41133 sed 's/^/| /' conftest.$ac_ext >&5
41134
41135 ac_cv_func_gethostbyname=no
41136 fi
41137 rm -f conftest.err conftest.$ac_objext \
41138 conftest$ac_exeext conftest.$ac_ext
41139 fi
41140 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41141 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41142 if test $ac_cv_func_gethostbyname = yes; then
41143 cat >>confdefs.h <<\_ACEOF
41144 #define HAVE_GETHOSTBYNAME 1
41145 _ACEOF
41146
41147 fi
41148
41149 fi
41150
41151 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41152 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41153 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41154 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 else
41156
41157 cat >conftest.$ac_ext <<_ACEOF
41158 /* confdefs.h. */
41159 _ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41163 #include <netdb.h>
41164 int
41165 main ()
41166 {
41167
41168 char *name;
41169 char *proto;
41170 struct servent *se, *res;
41171 char buffer[2048];
41172 int buflen = 2048;
41173 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41174
41175 ;
41176 return 0;
41177 }
41178 _ACEOF
41179 rm -f conftest.$ac_objext
41180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41181 (eval $ac_compile) 2>conftest.er1
41182 ac_status=$?
41183 grep -v '^ *+' conftest.er1 >conftest.err
41184 rm -f conftest.er1
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } &&
41188 { ac_try='test -z "$ac_cxx_werror_flag"
41189 || test ! -s conftest.err'
41190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41191 (eval $ac_try) 2>&5
41192 ac_status=$?
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); }; } &&
41195 { ac_try='test -s conftest.$ac_objext'
41196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41197 (eval $ac_try) 2>&5
41198 ac_status=$?
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); }; }; then
41201 ac_cv_func_which_getservbyname_r=six
41202 else
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41205
41206
41207 cat >conftest.$ac_ext <<_ACEOF
41208 /* confdefs.h. */
41209 _ACEOF
41210 cat confdefs.h >>conftest.$ac_ext
41211 cat >>conftest.$ac_ext <<_ACEOF
41212 /* end confdefs.h. */
41213 #include <netdb.h>
41214 int
41215 main ()
41216 {
41217
41218 char *name;
41219 char *proto;
41220 struct servent *se;
41221 char buffer[2048];
41222 int buflen = 2048;
41223 (void) getservbyname_r(name, proto, se, buffer, buflen)
41224
41225 ;
41226 return 0;
41227 }
41228 _ACEOF
41229 rm -f conftest.$ac_objext
41230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41231 (eval $ac_compile) 2>conftest.er1
41232 ac_status=$?
41233 grep -v '^ *+' conftest.er1 >conftest.err
41234 rm -f conftest.er1
41235 cat conftest.err >&5
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); } &&
41238 { ac_try='test -z "$ac_cxx_werror_flag"
41239 || test ! -s conftest.err'
41240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41241 (eval $ac_try) 2>&5
41242 ac_status=$?
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); }; } &&
41245 { ac_try='test -s conftest.$ac_objext'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41248 ac_status=$?
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; }; then
41251 ac_cv_func_which_getservbyname_r=five
41252 else
41253 echo "$as_me: failed program was:" >&5
41254 sed 's/^/| /' conftest.$ac_ext >&5
41255
41256
41257 cat >conftest.$ac_ext <<_ACEOF
41258 /* confdefs.h. */
41259 _ACEOF
41260 cat confdefs.h >>conftest.$ac_ext
41261 cat >>conftest.$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41263 #include <netdb.h>
41264 int
41265 main ()
41266 {
41267
41268 char *name;
41269 char *proto;
41270 struct servent *se;
41271 struct servent_data data;
41272 (void) getservbyname_r(name, proto, se, &data);
41273
41274 ;
41275 return 0;
41276 }
41277 _ACEOF
41278 rm -f conftest.$ac_objext
41279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41280 (eval $ac_compile) 2>conftest.er1
41281 ac_status=$?
41282 grep -v '^ *+' conftest.er1 >conftest.err
41283 rm -f conftest.er1
41284 cat conftest.err >&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } &&
41287 { ac_try='test -z "$ac_cxx_werror_flag"
41288 || test ! -s conftest.err'
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); }; } &&
41294 { ac_try='test -s conftest.$ac_objext'
41295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296 (eval $ac_try) 2>&5
41297 ac_status=$?
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); }; }; then
41300 ac_cv_func_which_getservbyname_r=four
41301 else
41302 echo "$as_me: failed program was:" >&5
41303 sed 's/^/| /' conftest.$ac_ext >&5
41304
41305 ac_cv_func_which_getservbyname_r=no
41306
41307 fi
41308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41309
41310
41311 fi
41312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41313
41314
41315 fi
41316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41317
41318
41319 fi
41320 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41321 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41322
41323 if test $ac_cv_func_which_getservbyname_r = six; then
41324 cat >>confdefs.h <<\_ACEOF
41325 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41326 _ACEOF
41327
41328 elif test $ac_cv_func_which_getservbyname_r = five; then
41329 cat >>confdefs.h <<\_ACEOF
41330 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41331 _ACEOF
41332
41333 elif test $ac_cv_func_which_getservbyname_r = four; then
41334 cat >>confdefs.h <<\_ACEOF
41335 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41336 _ACEOF
41337
41338 fi
41339
41340
41341 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41342 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41343
41344 for ac_func in getservbyname
41345 do
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41349 if eval "test \"\${$as_ac_var+set}\" = set"; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41352 cat >conftest.$ac_ext <<_ACEOF
41353 /* confdefs.h. */
41354 _ACEOF
41355 cat confdefs.h >>conftest.$ac_ext
41356 cat >>conftest.$ac_ext <<_ACEOF
41357 /* end confdefs.h. */
41358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41360 #define $ac_func innocuous_$ac_func
41361
41362 /* System header to define __stub macros and hopefully few prototypes,
41363 which can conflict with char $ac_func (); below.
41364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41365 <limits.h> exists even on freestanding compilers. */
41366
41367 #ifdef __STDC__
41368 # include <limits.h>
41369 #else
41370 # include <assert.h>
41371 #endif
41372
41373 #undef $ac_func
41374
41375 /* Override any gcc2 internal prototype to avoid an error. */
41376 #ifdef __cplusplus
41377 extern "C"
41378 {
41379 #endif
41380 /* We use char because int might match the return type of a gcc2
41381 builtin and then its argument prototype would still apply. */
41382 char $ac_func ();
41383 /* The GNU C library defines this for functions which it implements
41384 to always fail with ENOSYS. Some functions are actually named
41385 something starting with __ and the normal name is an alias. */
41386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41387 choke me
41388 #else
41389 char (*f) () = $ac_func;
41390 #endif
41391 #ifdef __cplusplus
41392 }
41393 #endif
41394
41395 int
41396 main ()
41397 {
41398 return f != $ac_func;
41399 ;
41400 return 0;
41401 }
41402 _ACEOF
41403 rm -f conftest.$ac_objext conftest$ac_exeext
41404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41405 (eval $ac_link) 2>conftest.er1
41406 ac_status=$?
41407 grep -v '^ *+' conftest.er1 >conftest.err
41408 rm -f conftest.er1
41409 cat conftest.err >&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } &&
41412 { ac_try='test -z "$ac_cxx_werror_flag"
41413 || test ! -s conftest.err'
41414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415 (eval $ac_try) 2>&5
41416 ac_status=$?
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); }; } &&
41419 { ac_try='test -s conftest$ac_exeext'
41420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421 (eval $ac_try) 2>&5
41422 ac_status=$?
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); }; }; then
41425 eval "$as_ac_var=yes"
41426 else
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41429
41430 eval "$as_ac_var=no"
41431 fi
41432 rm -f conftest.err conftest.$ac_objext \
41433 conftest$ac_exeext conftest.$ac_ext
41434 fi
41435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41437 if test `eval echo '${'$as_ac_var'}'` = yes; then
41438 cat >>confdefs.h <<_ACEOF
41439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41440 _ACEOF
41441 cat >>confdefs.h <<\_ACEOF
41442 #define HAVE_GETSERVBYNAME 1
41443 _ACEOF
41444
41445 fi
41446 done
41447
41448 fi
41449
41450 if test "$wxUSE_THREADS" = "yes"; then
41451 cat >>confdefs.h <<\_ACEOF
41452 #define wxUSE_THREADS 1
41453 _ACEOF
41454
41455
41456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41457 else
41458 if test "$wx_cv_func_strtok_r" = "yes"; then
41459 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41460 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41461 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41462 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41463 echo "$as_me:$LINENO: result: yes" >&5
41464 echo "${ECHO_T}yes" >&6
41465 else
41466 echo "$as_me:$LINENO: result: no" >&5
41467 echo "${ECHO_T}no" >&6
41468 fi
41469 fi
41470 fi
41471
41472 if test "$WXGTK20" = 1 ; then
41473 cat >>confdefs.h <<_ACEOF
41474 #define __WXGTK20__ $WXGTK20
41475 _ACEOF
41476
41477 WXGTK12=1
41478 fi
41479
41480 if test "$WXGTK12" = 1 ; then
41481 cat >>confdefs.h <<_ACEOF
41482 #define __WXGTK12__ $WXGTK12
41483 _ACEOF
41484
41485 fi
41486
41487 if test "$WXGTK127" = 1 ; then
41488 cat >>confdefs.h <<_ACEOF
41489 #define __WXGTK127__ $WXGTK127
41490 _ACEOF
41491
41492 fi
41493
41494 if test "$WXGPE" = 1 ; then
41495 cat >>confdefs.h <<_ACEOF
41496 #define __WXGPE__ $WXGPE
41497 _ACEOF
41498
41499 fi
41500
41501 DEBUG_CFLAGS=
41502 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41503 DEBUG_CFLAGS="-g"
41504 wxUSE_OPTIMISE=no
41505 fi
41506
41507 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41508 wxUSE_DEBUG_INFO=yes
41509 if test "$GCC" = yes; then
41510 DEBUG_CFLAGS="-ggdb"
41511 fi
41512 fi
41513
41514 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41515 cat >>confdefs.h <<\_ACEOF
41516 #define WXDEBUG 1
41517 _ACEOF
41518
41519 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41520 else
41521 if test "$wxUSE_GTK" = 1 ; then
41522 if test "x$wxGTK_VERSION" = "x1" ; then
41523 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41524 fi
41525 fi
41526 fi
41527
41528 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41529 cat >>confdefs.h <<\_ACEOF
41530 #define wxUSE_MEMORY_TRACING 1
41531 _ACEOF
41532
41533 cat >>confdefs.h <<\_ACEOF
41534 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41535 _ACEOF
41536
41537 cat >>confdefs.h <<\_ACEOF
41538 #define wxUSE_DEBUG_NEW_ALWAYS 1
41539 _ACEOF
41540
41541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41542 fi
41543
41544 if test "$wxUSE_DMALLOC" = "yes" ; then
41545 DMALLOC_LIBS="-ldmallocthcxx"
41546 fi
41547
41548 PROFILE_FLAGS=
41549 if test "$wxUSE_PROFILE" = "yes" ; then
41550 PROFILE_FLAGS=" -pg"
41551 fi
41552
41553 if test "$GCC" = "yes" ; then
41554 if test "$wxUSE_NO_RTTI" = "yes" ; then
41555 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41556 fi
41557 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41558 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41559 fi
41560 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41561 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41562 fi
41563
41564 case "${host}" in
41565 powerpc*-*-aix* )
41566 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41567 ;;
41568 *-hppa* )
41569 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41570 ;;
41571 esac
41572 fi
41573
41574 OPTIMISE_CFLAGS=
41575 if test "$wxUSE_OPTIMISE" = "no" ; then
41576 if test "$GCC" = yes ; then
41577 OPTIMISE_CFLAGS="-O0"
41578 fi
41579 else
41580 if test "$GCC" = yes ; then
41581 case "${host}" in
41582 *-pc-os2_emx | *-pc-os2-emx )
41583 OPTIMISE_CFLAGS="-O2"
41584 ;;
41585 *)
41586 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41587 ;;
41588 esac
41589 else
41590 OPTIMISE_CFLAGS="-O"
41591 fi
41592 fi
41593
41594
41595 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41596 cat >>confdefs.h <<\_ACEOF
41597 #define WXWIN_COMPATIBILITY_2_4 1
41598 _ACEOF
41599
41600
41601 WXWIN_COMPATIBILITY_2_6="yes"
41602 fi
41603
41604 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41605 cat >>confdefs.h <<\_ACEOF
41606 #define WXWIN_COMPATIBILITY_2_6 1
41607 _ACEOF
41608
41609 fi
41610
41611
41612 if test "$wxUSE_GUI" = "yes"; then
41613 cat >>confdefs.h <<\_ACEOF
41614 #define wxUSE_GUI 1
41615 _ACEOF
41616
41617
41618 fi
41619
41620
41621 if test "$wxUSE_UNIX" = "yes"; then
41622 cat >>confdefs.h <<\_ACEOF
41623 #define wxUSE_UNIX 1
41624 _ACEOF
41625
41626 fi
41627
41628
41629 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41630
41631 HAVE_DL_FUNCS=0
41632 HAVE_SHL_FUNCS=0
41633 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41634 if test "$USE_DARWIN" = 1; then
41635 HAVE_DL_FUNCS=1
41636 elif test "$USE_DOS" = 1; then
41637 HAVE_DL_FUNCS=0
41638 else
41639
41640 for ac_func in dlopen
41641 do
41642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41643 echo "$as_me:$LINENO: checking for $ac_func" >&5
41644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41645 if eval "test \"\${$as_ac_var+set}\" = set"; then
41646 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 else
41648 cat >conftest.$ac_ext <<_ACEOF
41649 /* confdefs.h. */
41650 _ACEOF
41651 cat confdefs.h >>conftest.$ac_ext
41652 cat >>conftest.$ac_ext <<_ACEOF
41653 /* end confdefs.h. */
41654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41656 #define $ac_func innocuous_$ac_func
41657
41658 /* System header to define __stub macros and hopefully few prototypes,
41659 which can conflict with char $ac_func (); below.
41660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41661 <limits.h> exists even on freestanding compilers. */
41662
41663 #ifdef __STDC__
41664 # include <limits.h>
41665 #else
41666 # include <assert.h>
41667 #endif
41668
41669 #undef $ac_func
41670
41671 /* Override any gcc2 internal prototype to avoid an error. */
41672 #ifdef __cplusplus
41673 extern "C"
41674 {
41675 #endif
41676 /* We use char because int might match the return type of a gcc2
41677 builtin and then its argument prototype would still apply. */
41678 char $ac_func ();
41679 /* The GNU C library defines this for functions which it implements
41680 to always fail with ENOSYS. Some functions are actually named
41681 something starting with __ and the normal name is an alias. */
41682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41683 choke me
41684 #else
41685 char (*f) () = $ac_func;
41686 #endif
41687 #ifdef __cplusplus
41688 }
41689 #endif
41690
41691 int
41692 main ()
41693 {
41694 return f != $ac_func;
41695 ;
41696 return 0;
41697 }
41698 _ACEOF
41699 rm -f conftest.$ac_objext conftest$ac_exeext
41700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41701 (eval $ac_link) 2>conftest.er1
41702 ac_status=$?
41703 grep -v '^ *+' conftest.er1 >conftest.err
41704 rm -f conftest.er1
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } &&
41708 { ac_try='test -z "$ac_cxx_werror_flag"
41709 || test ! -s conftest.err'
41710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41711 (eval $ac_try) 2>&5
41712 ac_status=$?
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; } &&
41715 { ac_try='test -s conftest$ac_exeext'
41716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717 (eval $ac_try) 2>&5
41718 ac_status=$?
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); }; }; then
41721 eval "$as_ac_var=yes"
41722 else
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41725
41726 eval "$as_ac_var=no"
41727 fi
41728 rm -f conftest.err conftest.$ac_objext \
41729 conftest$ac_exeext conftest.$ac_ext
41730 fi
41731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41733 if test `eval echo '${'$as_ac_var'}'` = yes; then
41734 cat >>confdefs.h <<_ACEOF
41735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41736 _ACEOF
41737
41738 cat >>confdefs.h <<\_ACEOF
41739 #define HAVE_DLOPEN 1
41740 _ACEOF
41741
41742 HAVE_DL_FUNCS=1
41743
41744 else
41745
41746 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41747 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41748 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41749 echo $ECHO_N "(cached) $ECHO_C" >&6
41750 else
41751 ac_check_lib_save_LIBS=$LIBS
41752 LIBS="-ldl $LIBS"
41753 cat >conftest.$ac_ext <<_ACEOF
41754 /* confdefs.h. */
41755 _ACEOF
41756 cat confdefs.h >>conftest.$ac_ext
41757 cat >>conftest.$ac_ext <<_ACEOF
41758 /* end confdefs.h. */
41759
41760 /* Override any gcc2 internal prototype to avoid an error. */
41761 #ifdef __cplusplus
41762 extern "C"
41763 #endif
41764 /* We use char because int might match the return type of a gcc2
41765 builtin and then its argument prototype would still apply. */
41766 char dlopen ();
41767 int
41768 main ()
41769 {
41770 dlopen ();
41771 ;
41772 return 0;
41773 }
41774 _ACEOF
41775 rm -f conftest.$ac_objext conftest$ac_exeext
41776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41777 (eval $ac_link) 2>conftest.er1
41778 ac_status=$?
41779 grep -v '^ *+' conftest.er1 >conftest.err
41780 rm -f conftest.er1
41781 cat conftest.err >&5
41782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41783 (exit $ac_status); } &&
41784 { ac_try='test -z "$ac_cxx_werror_flag"
41785 || test ! -s conftest.err'
41786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41787 (eval $ac_try) 2>&5
41788 ac_status=$?
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); }; } &&
41791 { ac_try='test -s conftest$ac_exeext'
41792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41793 (eval $ac_try) 2>&5
41794 ac_status=$?
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); }; }; then
41797 ac_cv_lib_dl_dlopen=yes
41798 else
41799 echo "$as_me: failed program was:" >&5
41800 sed 's/^/| /' conftest.$ac_ext >&5
41801
41802 ac_cv_lib_dl_dlopen=no
41803 fi
41804 rm -f conftest.err conftest.$ac_objext \
41805 conftest$ac_exeext conftest.$ac_ext
41806 LIBS=$ac_check_lib_save_LIBS
41807 fi
41808 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41809 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41810 if test $ac_cv_lib_dl_dlopen = yes; then
41811
41812 cat >>confdefs.h <<\_ACEOF
41813 #define HAVE_DLOPEN 1
41814 _ACEOF
41815
41816 HAVE_DL_FUNCS=1
41817 DL_LINK=" -ldl$DL_LINK"
41818
41819 else
41820
41821
41822 for ac_func in shl_load
41823 do
41824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41825 echo "$as_me:$LINENO: checking for $ac_func" >&5
41826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41827 if eval "test \"\${$as_ac_var+set}\" = set"; then
41828 echo $ECHO_N "(cached) $ECHO_C" >&6
41829 else
41830 cat >conftest.$ac_ext <<_ACEOF
41831 /* confdefs.h. */
41832 _ACEOF
41833 cat confdefs.h >>conftest.$ac_ext
41834 cat >>conftest.$ac_ext <<_ACEOF
41835 /* end confdefs.h. */
41836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41838 #define $ac_func innocuous_$ac_func
41839
41840 /* System header to define __stub macros and hopefully few prototypes,
41841 which can conflict with char $ac_func (); below.
41842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41843 <limits.h> exists even on freestanding compilers. */
41844
41845 #ifdef __STDC__
41846 # include <limits.h>
41847 #else
41848 # include <assert.h>
41849 #endif
41850
41851 #undef $ac_func
41852
41853 /* Override any gcc2 internal prototype to avoid an error. */
41854 #ifdef __cplusplus
41855 extern "C"
41856 {
41857 #endif
41858 /* We use char because int might match the return type of a gcc2
41859 builtin and then its argument prototype would still apply. */
41860 char $ac_func ();
41861 /* The GNU C library defines this for functions which it implements
41862 to always fail with ENOSYS. Some functions are actually named
41863 something starting with __ and the normal name is an alias. */
41864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41865 choke me
41866 #else
41867 char (*f) () = $ac_func;
41868 #endif
41869 #ifdef __cplusplus
41870 }
41871 #endif
41872
41873 int
41874 main ()
41875 {
41876 return f != $ac_func;
41877 ;
41878 return 0;
41879 }
41880 _ACEOF
41881 rm -f conftest.$ac_objext conftest$ac_exeext
41882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41883 (eval $ac_link) 2>conftest.er1
41884 ac_status=$?
41885 grep -v '^ *+' conftest.er1 >conftest.err
41886 rm -f conftest.er1
41887 cat conftest.err >&5
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); } &&
41890 { ac_try='test -z "$ac_cxx_werror_flag"
41891 || test ! -s conftest.err'
41892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893 (eval $ac_try) 2>&5
41894 ac_status=$?
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); }; } &&
41897 { ac_try='test -s conftest$ac_exeext'
41898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41899 (eval $ac_try) 2>&5
41900 ac_status=$?
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); }; }; then
41903 eval "$as_ac_var=yes"
41904 else
41905 echo "$as_me: failed program was:" >&5
41906 sed 's/^/| /' conftest.$ac_ext >&5
41907
41908 eval "$as_ac_var=no"
41909 fi
41910 rm -f conftest.err conftest.$ac_objext \
41911 conftest$ac_exeext conftest.$ac_ext
41912 fi
41913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41915 if test `eval echo '${'$as_ac_var'}'` = yes; then
41916 cat >>confdefs.h <<_ACEOF
41917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41918 _ACEOF
41919
41920 cat >>confdefs.h <<\_ACEOF
41921 #define HAVE_SHL_LOAD 1
41922 _ACEOF
41923
41924 HAVE_SHL_FUNCS=1
41925
41926 else
41927
41928 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41929 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41930 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41931 echo $ECHO_N "(cached) $ECHO_C" >&6
41932 else
41933 ac_check_lib_save_LIBS=$LIBS
41934 LIBS="-lshl_load $LIBS"
41935 cat >conftest.$ac_ext <<_ACEOF
41936 /* confdefs.h. */
41937 _ACEOF
41938 cat confdefs.h >>conftest.$ac_ext
41939 cat >>conftest.$ac_ext <<_ACEOF
41940 /* end confdefs.h. */
41941
41942 /* Override any gcc2 internal prototype to avoid an error. */
41943 #ifdef __cplusplus
41944 extern "C"
41945 #endif
41946 /* We use char because int might match the return type of a gcc2
41947 builtin and then its argument prototype would still apply. */
41948 char dld ();
41949 int
41950 main ()
41951 {
41952 dld ();
41953 ;
41954 return 0;
41955 }
41956 _ACEOF
41957 rm -f conftest.$ac_objext conftest$ac_exeext
41958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41959 (eval $ac_link) 2>conftest.er1
41960 ac_status=$?
41961 grep -v '^ *+' conftest.er1 >conftest.err
41962 rm -f conftest.er1
41963 cat conftest.err >&5
41964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965 (exit $ac_status); } &&
41966 { ac_try='test -z "$ac_cxx_werror_flag"
41967 || test ! -s conftest.err'
41968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41969 (eval $ac_try) 2>&5
41970 ac_status=$?
41971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41972 (exit $ac_status); }; } &&
41973 { ac_try='test -s conftest$ac_exeext'
41974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41975 (eval $ac_try) 2>&5
41976 ac_status=$?
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); }; }; then
41979 ac_cv_lib_shl_load_dld=yes
41980 else
41981 echo "$as_me: failed program was:" >&5
41982 sed 's/^/| /' conftest.$ac_ext >&5
41983
41984 ac_cv_lib_shl_load_dld=no
41985 fi
41986 rm -f conftest.err conftest.$ac_objext \
41987 conftest$ac_exeext conftest.$ac_ext
41988 LIBS=$ac_check_lib_save_LIBS
41989 fi
41990 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41991 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41992 if test $ac_cv_lib_shl_load_dld = yes; then
41993
41994 HAVE_SHL_FUNCS=1
41995 DL_LINK=" -ldld$DL_LINK"
41996
41997 fi
41998
41999
42000 fi
42001 done
42002
42003
42004 fi
42005
42006
42007 fi
42008 done
42009
42010
42011 if test "$HAVE_DL_FUNCS" = 1; then
42012
42013 for ac_func in dlerror
42014 do
42015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42016 echo "$as_me:$LINENO: checking for $ac_func" >&5
42017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42018 if eval "test \"\${$as_ac_var+set}\" = set"; then
42019 echo $ECHO_N "(cached) $ECHO_C" >&6
42020 else
42021 cat >conftest.$ac_ext <<_ACEOF
42022 /* confdefs.h. */
42023 _ACEOF
42024 cat confdefs.h >>conftest.$ac_ext
42025 cat >>conftest.$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42029 #define $ac_func innocuous_$ac_func
42030
42031 /* System header to define __stub macros and hopefully few prototypes,
42032 which can conflict with char $ac_func (); below.
42033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42034 <limits.h> exists even on freestanding compilers. */
42035
42036 #ifdef __STDC__
42037 # include <limits.h>
42038 #else
42039 # include <assert.h>
42040 #endif
42041
42042 #undef $ac_func
42043
42044 /* Override any gcc2 internal prototype to avoid an error. */
42045 #ifdef __cplusplus
42046 extern "C"
42047 {
42048 #endif
42049 /* We use char because int might match the return type of a gcc2
42050 builtin and then its argument prototype would still apply. */
42051 char $ac_func ();
42052 /* The GNU C library defines this for functions which it implements
42053 to always fail with ENOSYS. Some functions are actually named
42054 something starting with __ and the normal name is an alias. */
42055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42056 choke me
42057 #else
42058 char (*f) () = $ac_func;
42059 #endif
42060 #ifdef __cplusplus
42061 }
42062 #endif
42063
42064 int
42065 main ()
42066 {
42067 return f != $ac_func;
42068 ;
42069 return 0;
42070 }
42071 _ACEOF
42072 rm -f conftest.$ac_objext conftest$ac_exeext
42073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42074 (eval $ac_link) 2>conftest.er1
42075 ac_status=$?
42076 grep -v '^ *+' conftest.er1 >conftest.err
42077 rm -f conftest.er1
42078 cat conftest.err >&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } &&
42081 { ac_try='test -z "$ac_cxx_werror_flag"
42082 || test ! -s conftest.err'
42083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42084 (eval $ac_try) 2>&5
42085 ac_status=$?
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; } &&
42088 { ac_try='test -s conftest$ac_exeext'
42089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42090 (eval $ac_try) 2>&5
42091 ac_status=$?
42092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42093 (exit $ac_status); }; }; then
42094 eval "$as_ac_var=yes"
42095 else
42096 echo "$as_me: failed program was:" >&5
42097 sed 's/^/| /' conftest.$ac_ext >&5
42098
42099 eval "$as_ac_var=no"
42100 fi
42101 rm -f conftest.err conftest.$ac_objext \
42102 conftest$ac_exeext conftest.$ac_ext
42103 fi
42104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42106 if test `eval echo '${'$as_ac_var'}'` = yes; then
42107 cat >>confdefs.h <<_ACEOF
42108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42109 _ACEOF
42110 cat >>confdefs.h <<\_ACEOF
42111 #define HAVE_DLERROR 1
42112 _ACEOF
42113
42114 else
42115
42116 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42117 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42118 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42120 else
42121 ac_check_lib_save_LIBS=$LIBS
42122 LIBS="-ldl $LIBS"
42123 cat >conftest.$ac_ext <<_ACEOF
42124 /* confdefs.h. */
42125 _ACEOF
42126 cat confdefs.h >>conftest.$ac_ext
42127 cat >>conftest.$ac_ext <<_ACEOF
42128 /* end confdefs.h. */
42129
42130 /* Override any gcc2 internal prototype to avoid an error. */
42131 #ifdef __cplusplus
42132 extern "C"
42133 #endif
42134 /* We use char because int might match the return type of a gcc2
42135 builtin and then its argument prototype would still apply. */
42136 char dlerror ();
42137 int
42138 main ()
42139 {
42140 dlerror ();
42141 ;
42142 return 0;
42143 }
42144 _ACEOF
42145 rm -f conftest.$ac_objext conftest$ac_exeext
42146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42147 (eval $ac_link) 2>conftest.er1
42148 ac_status=$?
42149 grep -v '^ *+' conftest.er1 >conftest.err
42150 rm -f conftest.er1
42151 cat conftest.err >&5
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); } &&
42154 { ac_try='test -z "$ac_cxx_werror_flag"
42155 || test ! -s conftest.err'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42158 ac_status=$?
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; } &&
42161 { ac_try='test -s conftest$ac_exeext'
42162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42163 (eval $ac_try) 2>&5
42164 ac_status=$?
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); }; }; then
42167 ac_cv_lib_dl_dlerror=yes
42168 else
42169 echo "$as_me: failed program was:" >&5
42170 sed 's/^/| /' conftest.$ac_ext >&5
42171
42172 ac_cv_lib_dl_dlerror=no
42173 fi
42174 rm -f conftest.err conftest.$ac_objext \
42175 conftest$ac_exeext conftest.$ac_ext
42176 LIBS=$ac_check_lib_save_LIBS
42177 fi
42178 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42179 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42180 if test $ac_cv_lib_dl_dlerror = yes; then
42181 cat >>confdefs.h <<\_ACEOF
42182 #define HAVE_DLERROR 1
42183 _ACEOF
42184
42185 fi
42186
42187
42188
42189 fi
42190 done
42191
42192 fi
42193 fi
42194
42195 if test "$HAVE_DL_FUNCS" = 0; then
42196 if test "$HAVE_SHL_FUNCS" = 0; then
42197 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42198 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42199 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42200 wxUSE_DYNAMIC_LOADER=no
42201 wxUSE_DYNLIB_CLASS=no
42202 else
42203 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42204 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42205 fi
42206 fi
42207 fi
42208 fi
42209 fi
42210
42211 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42212 cat >>confdefs.h <<\_ACEOF
42213 #define wxUSE_DYNAMIC_LOADER 1
42214 _ACEOF
42215
42216 fi
42217 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42218 cat >>confdefs.h <<\_ACEOF
42219 #define wxUSE_DYNLIB_CLASS 1
42220 _ACEOF
42221
42222 fi
42223
42224
42225
42226 if test "$wxUSE_PLUGINS" = "yes" ; then
42227 if test "$wxUSE_SHARED" = "no" ; then
42228 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42229 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42230 wxUSE_PLUGINS=no
42231 fi
42232 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42233 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42234 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42235 wxUSE_PLUGINS=no
42236 fi
42237 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42238 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42239 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42240 wxUSE_PLUGINS=no
42241 fi
42242 if test "$wxUSE_PLUGINS" = "yes" ; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define wxUSE_PLUGINS 1
42245 _ACEOF
42246
42247 fi
42248 fi
42249
42250
42251 if test "$wxUSE_STL" = "yes"; then
42252 cat >>confdefs.h <<\_ACEOF
42253 #define wxUSE_STL 1
42254 _ACEOF
42255
42256 fi
42257
42258 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42259 cat >>confdefs.h <<\_ACEOF
42260 #define wxUSE_APPLE_IEEE 1
42261 _ACEOF
42262
42263 fi
42264
42265 if test "$wxUSE_TIMER" = "yes"; then
42266 cat >>confdefs.h <<\_ACEOF
42267 #define wxUSE_TIMER 1
42268 _ACEOF
42269
42270 fi
42271
42272 if test "$USE_UNIX" = "1" ; then
42273 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42274 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42275 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42276 echo $ECHO_N "(cached) $ECHO_C" >&6
42277 else
42278
42279 cat >conftest.$ac_ext <<_ACEOF
42280 /* confdefs.h. */
42281 _ACEOF
42282 cat confdefs.h >>conftest.$ac_ext
42283 cat >>conftest.$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42285
42286 #include <sys/ioctl.h>
42287 #include <sys/soundcard.h>
42288
42289 int
42290 main ()
42291 {
42292
42293 ioctl(0, SNDCTL_DSP_SPEED, 0);
42294
42295 ;
42296 return 0;
42297 }
42298 _ACEOF
42299 rm -f conftest.$ac_objext conftest$ac_exeext
42300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42301 (eval $ac_link) 2>conftest.er1
42302 ac_status=$?
42303 grep -v '^ *+' conftest.er1 >conftest.err
42304 rm -f conftest.er1
42305 cat conftest.err >&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); } &&
42308 { ac_try='test -z "$ac_cxx_werror_flag"
42309 || test ! -s conftest.err'
42310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311 (eval $ac_try) 2>&5
42312 ac_status=$?
42313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314 (exit $ac_status); }; } &&
42315 { ac_try='test -s conftest$ac_exeext'
42316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42317 (eval $ac_try) 2>&5
42318 ac_status=$?
42319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320 (exit $ac_status); }; }; then
42321 ac_cv_header_sys_soundcard=yes
42322 else
42323 echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.$ac_ext >&5
42325
42326
42327 saveLibs="$LIBS"
42328 LIBS="$saveLibs -lossaudio"
42329 cat >conftest.$ac_ext <<_ACEOF
42330 /* confdefs.h. */
42331 _ACEOF
42332 cat confdefs.h >>conftest.$ac_ext
42333 cat >>conftest.$ac_ext <<_ACEOF
42334 /* end confdefs.h. */
42335
42336 #include <sys/ioctl.h>
42337 #include <sys/soundcard.h>
42338
42339 int
42340 main ()
42341 {
42342
42343 ioctl(0, SNDCTL_DSP_SPEED, 0);
42344
42345 ;
42346 return 0;
42347 }
42348 _ACEOF
42349 rm -f conftest.$ac_objext conftest$ac_exeext
42350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42351 (eval $ac_link) 2>conftest.er1
42352 ac_status=$?
42353 grep -v '^ *+' conftest.er1 >conftest.err
42354 rm -f conftest.er1
42355 cat conftest.err >&5
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); } &&
42358 { ac_try='test -z "$ac_cxx_werror_flag"
42359 || test ! -s conftest.err'
42360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42361 (eval $ac_try) 2>&5
42362 ac_status=$?
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); }; } &&
42365 { ac_try='test -s conftest$ac_exeext'
42366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42367 (eval $ac_try) 2>&5
42368 ac_status=$?
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); }; }; then
42371 ac_cv_header_sys_soundcard=yes
42372 else
42373 echo "$as_me: failed program was:" >&5
42374 sed 's/^/| /' conftest.$ac_ext >&5
42375
42376
42377 LIBS="$saveLibs"
42378 ac_cv_header_sys_soundcard=no
42379
42380
42381 fi
42382 rm -f conftest.err conftest.$ac_objext \
42383 conftest$ac_exeext conftest.$ac_ext
42384
42385
42386 fi
42387 rm -f conftest.err conftest.$ac_objext \
42388 conftest$ac_exeext conftest.$ac_ext
42389
42390 fi
42391 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42392 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42393
42394 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42395 cat >>confdefs.h <<\_ACEOF
42396 #define HAVE_SYS_SOUNDCARD_H 1
42397 _ACEOF
42398
42399 else
42400 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42401 fi
42402 fi
42403 WITH_PLUGIN_SDL=0
42404 if test "$wxUSE_SOUND" = "yes"; then
42405 if test "$USE_UNIX" = "1" ; then
42406 if test "$wxUSE_LIBSDL" != "no"; then
42407
42408 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42409 if test "${with_sdl_prefix+set}" = set; then
42410 withval="$with_sdl_prefix"
42411 sdl_prefix="$withval"
42412 else
42413 sdl_prefix=""
42414 fi;
42415
42416 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42417 if test "${with_sdl_exec_prefix+set}" = set; then
42418 withval="$with_sdl_exec_prefix"
42419 sdl_exec_prefix="$withval"
42420 else
42421 sdl_exec_prefix=""
42422 fi;
42423 # Check whether --enable-sdltest or --disable-sdltest was given.
42424 if test "${enable_sdltest+set}" = set; then
42425 enableval="$enable_sdltest"
42426
42427 else
42428 enable_sdltest=yes
42429 fi;
42430
42431 if test x$sdl_exec_prefix != x ; then
42432 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42433 if test x${SDL_CONFIG+set} != xset ; then
42434 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42435 fi
42436 fi
42437 if test x$sdl_prefix != x ; then
42438 sdl_args="$sdl_args --prefix=$sdl_prefix"
42439 if test x${SDL_CONFIG+set} != xset ; then
42440 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42441 fi
42442 fi
42443
42444 if test "x$prefix" != xNONE; then
42445 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42446 fi
42447 # Extract the first word of "sdl-config", so it can be a program name with args.
42448 set dummy sdl-config; ac_word=$2
42449 echo "$as_me:$LINENO: checking for $ac_word" >&5
42450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42451 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 else
42454 case $SDL_CONFIG in
42455 [\\/]* | ?:[\\/]*)
42456 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42457 ;;
42458 *)
42459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42460 for as_dir in $PATH
42461 do
42462 IFS=$as_save_IFS
42463 test -z "$as_dir" && as_dir=.
42464 for ac_exec_ext in '' $ac_executable_extensions; do
42465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42466 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42468 break 2
42469 fi
42470 done
42471 done
42472
42473 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42474 ;;
42475 esac
42476 fi
42477 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42478
42479 if test -n "$SDL_CONFIG"; then
42480 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42481 echo "${ECHO_T}$SDL_CONFIG" >&6
42482 else
42483 echo "$as_me:$LINENO: result: no" >&5
42484 echo "${ECHO_T}no" >&6
42485 fi
42486
42487 min_sdl_version=1.2.0
42488 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42489 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42490 no_sdl=""
42491 if test "$SDL_CONFIG" = "no" ; then
42492 no_sdl=yes
42493 else
42494 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42495 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42496
42497 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42499 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42501 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42503 if test "x$enable_sdltest" = "xyes" ; then
42504 ac_save_CFLAGS="$CFLAGS"
42505 ac_save_CXXFLAGS="$CXXFLAGS"
42506 ac_save_LIBS="$LIBS"
42507 CFLAGS="$CFLAGS $SDL_CFLAGS"
42508 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42509 LIBS="$LIBS $SDL_LIBS"
42510 rm -f conf.sdltest
42511 if test "$cross_compiling" = yes; then
42512 echo $ac_n "cross compiling; assumed OK... $ac_c"
42513 else
42514 cat >conftest.$ac_ext <<_ACEOF
42515 /* confdefs.h. */
42516 _ACEOF
42517 cat confdefs.h >>conftest.$ac_ext
42518 cat >>conftest.$ac_ext <<_ACEOF
42519 /* end confdefs.h. */
42520
42521 #include <stdio.h>
42522 #include <stdlib.h>
42523 #include <string.h>
42524 #include "SDL.h"
42525
42526 char*
42527 my_strdup (char *str)
42528 {
42529 char *new_str;
42530
42531 if (str)
42532 {
42533 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42534 strcpy (new_str, str);
42535 }
42536 else
42537 new_str = NULL;
42538
42539 return new_str;
42540 }
42541
42542 int main (int argc, char *argv[])
42543 {
42544 int major, minor, micro;
42545 char *tmp_version;
42546
42547 /* This hangs on some systems (?)
42548 system ("touch conf.sdltest");
42549 */
42550 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42551
42552 /* HP/UX 9 (%@#!) writes to sscanf strings */
42553 tmp_version = my_strdup("$min_sdl_version");
42554 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42555 printf("%s, bad version string\n", "$min_sdl_version");
42556 exit(1);
42557 }
42558
42559 if (($sdl_major_version > major) ||
42560 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42561 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42562 {
42563 return 0;
42564 }
42565 else
42566 {
42567 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42568 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42569 printf("*** best to upgrade to the required version.\n");
42570 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42571 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42572 printf("*** config.cache before re-running configure\n");
42573 return 1;
42574 }
42575 }
42576
42577
42578 _ACEOF
42579 rm -f conftest$ac_exeext
42580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42581 (eval $ac_link) 2>&5
42582 ac_status=$?
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42586 (eval $ac_try) 2>&5
42587 ac_status=$?
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; }; then
42590 :
42591 else
42592 echo "$as_me: program exited with status $ac_status" >&5
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.$ac_ext >&5
42595
42596 ( exit $ac_status )
42597 no_sdl=yes
42598 fi
42599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42600 fi
42601 CFLAGS="$ac_save_CFLAGS"
42602 CXXFLAGS="$ac_save_CXXFLAGS"
42603 LIBS="$ac_save_LIBS"
42604 fi
42605 fi
42606 if test "x$no_sdl" = x ; then
42607 echo "$as_me:$LINENO: result: yes" >&5
42608 echo "${ECHO_T}yes" >&6
42609
42610 EXTRALIBS_SDL="$SDL_LIBS"
42611 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_LIBSDL 1
42614 _ACEOF
42615
42616
42617 else
42618 echo "$as_me:$LINENO: result: no" >&5
42619 echo "${ECHO_T}no" >&6
42620 if test "$SDL_CONFIG" = "no" ; then
42621 echo "*** The sdl-config script installed by SDL could not be found"
42622 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42623 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42624 echo "*** full path to sdl-config."
42625 else
42626 if test -f conf.sdltest ; then
42627 :
42628 else
42629 echo "*** Could not run SDL test program, checking why..."
42630 CFLAGS="$CFLAGS $SDL_CFLAGS"
42631 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42632 LIBS="$LIBS $SDL_LIBS"
42633 cat >conftest.$ac_ext <<_ACEOF
42634 /* confdefs.h. */
42635 _ACEOF
42636 cat confdefs.h >>conftest.$ac_ext
42637 cat >>conftest.$ac_ext <<_ACEOF
42638 /* end confdefs.h. */
42639
42640 #include <stdio.h>
42641 #include "SDL.h"
42642
42643 int main(int argc, char *argv[])
42644 { return 0; }
42645 #undef main
42646 #define main K_and_R_C_main
42647
42648 int
42649 main ()
42650 {
42651 return 0;
42652 ;
42653 return 0;
42654 }
42655 _ACEOF
42656 rm -f conftest.$ac_objext conftest$ac_exeext
42657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42658 (eval $ac_link) 2>conftest.er1
42659 ac_status=$?
42660 grep -v '^ *+' conftest.er1 >conftest.err
42661 rm -f conftest.er1
42662 cat conftest.err >&5
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); } &&
42665 { ac_try='test -z "$ac_cxx_werror_flag"
42666 || test ! -s conftest.err'
42667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42668 (eval $ac_try) 2>&5
42669 ac_status=$?
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); }; } &&
42672 { ac_try='test -s conftest$ac_exeext'
42673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42674 (eval $ac_try) 2>&5
42675 ac_status=$?
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); }; }; then
42678 echo "*** The test program compiled, but did not run. This usually means"
42679 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42680 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42681 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42682 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42683 echo "*** is required on your system"
42684 echo "***"
42685 echo "*** If you have an old version installed, it is best to remove it, although"
42686 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42687 else
42688 echo "$as_me: failed program was:" >&5
42689 sed 's/^/| /' conftest.$ac_ext >&5
42690
42691 echo "*** The test program failed to compile or link. See the file config.log for the"
42692 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42693 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42694 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42695 fi
42696 rm -f conftest.err conftest.$ac_objext \
42697 conftest$ac_exeext conftest.$ac_ext
42698 CFLAGS="$ac_save_CFLAGS"
42699 CXXFLAGS="$ac_save_CXXFLAGS"
42700 LIBS="$ac_save_LIBS"
42701 fi
42702 fi
42703 SDL_CFLAGS=""
42704 SDL_LIBS=""
42705 wxUSE_LIBSDL="no"
42706 fi
42707
42708
42709 rm -f conf.sdltest
42710
42711 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42712 WITH_PLUGIN_SDL=1
42713 fi
42714 fi
42715 fi
42716
42717 cat >>confdefs.h <<\_ACEOF
42718 #define wxUSE_SOUND 1
42719 _ACEOF
42720
42721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42722 fi
42723
42724 if test "$WXGTK20" = 1; then
42725 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42726 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42727
42728
42729 pkg_failed=no
42730 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42731 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42732
42733 if test -n "$PKG_CONFIG"; then
42734 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42735 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42736 else
42737 if test -n "$PKG_CONFIG" && \
42738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42739 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42740 ac_status=$?
42741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42742 (exit $ac_status); }; then
42743 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42744 else
42745 pkg_failed=yes
42746 fi
42747 fi
42748 else
42749 pkg_failed=untried
42750 fi
42751 if test -n "$PKG_CONFIG"; then
42752 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42753 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42754 else
42755 if test -n "$PKG_CONFIG" && \
42756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42757 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42758 ac_status=$?
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; then
42761 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42762 else
42763 pkg_failed=yes
42764 fi
42765 fi
42766 else
42767 pkg_failed=untried
42768 fi
42769
42770
42771
42772 if test $pkg_failed = yes; then
42773
42774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42775 _pkg_short_errors_supported=yes
42776 else
42777 _pkg_short_errors_supported=no
42778 fi
42779 if test $_pkg_short_errors_supported = yes; then
42780 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42781 else
42782 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42783 fi
42784 # Put the nasty error message in config.log where it belongs
42785 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42786
42787
42788 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42789 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42790 wxUSE_LIBGNOMEPRINT="no"
42791
42792
42793 elif test $pkg_failed = untried; then
42794
42795 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42796 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42797 wxUSE_LIBGNOMEPRINT="no"
42798
42799
42800 else
42801 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42802 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42803 echo "$as_me:$LINENO: result: yes" >&5
42804 echo "${ECHO_T}yes" >&6
42805
42806 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42807 cat >>confdefs.h <<\_ACEOF
42808 #define wxUSE_LIBGNOMEPRINT 1
42809 _ACEOF
42810
42811
42812 fi
42813 fi
42814 fi
42815 fi
42816
42817 if test "$WXGTK20" = 1; then
42818 if test "$wxUSE_MIMETYPE" = "yes" ; then
42819 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42820
42821
42822 pkg_failed=no
42823 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42824 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42825
42826 if test -n "$PKG_CONFIG"; then
42827 if test -n "$GNOMEVFS_CFLAGS"; then
42828 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42829 else
42830 if test -n "$PKG_CONFIG" && \
42831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42832 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42833 ac_status=$?
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); }; then
42836 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42837 else
42838 pkg_failed=yes
42839 fi
42840 fi
42841 else
42842 pkg_failed=untried
42843 fi
42844 if test -n "$PKG_CONFIG"; then
42845 if test -n "$GNOMEVFS_LIBS"; then
42846 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42847 else
42848 if test -n "$PKG_CONFIG" && \
42849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42850 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42851 ac_status=$?
42852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42853 (exit $ac_status); }; then
42854 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42855 else
42856 pkg_failed=yes
42857 fi
42858 fi
42859 else
42860 pkg_failed=untried
42861 fi
42862
42863
42864
42865 if test $pkg_failed = yes; then
42866
42867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42868 _pkg_short_errors_supported=yes
42869 else
42870 _pkg_short_errors_supported=no
42871 fi
42872 if test $_pkg_short_errors_supported = yes; then
42873 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42874 else
42875 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42876 fi
42877 # Put the nasty error message in config.log where it belongs
42878 echo "$GNOMEVFS_PKG_ERRORS" >&5
42879
42880
42881 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42882 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42883 wxUSE_LIBGNOMEVFS="no"
42884
42885
42886 elif test $pkg_failed = untried; then
42887
42888 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42889 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42890 wxUSE_LIBGNOMEVFS="no"
42891
42892
42893 else
42894 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42895 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42896 echo "$as_me:$LINENO: result: yes" >&5
42897 echo "${ECHO_T}yes" >&6
42898
42899 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42900 cat >>confdefs.h <<\_ACEOF
42901 #define wxUSE_LIBGNOMEVFS 1
42902 _ACEOF
42903
42904
42905 fi
42906 fi
42907 fi
42908 fi
42909
42910 if test "$WXGTK20" = 1; then
42911 if test "$wxUSE_LIBHILDON" = "yes" ; then
42912
42913 pkg_failed=no
42914 echo "$as_me:$LINENO: checking for HILDON" >&5
42915 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42916
42917 if test -n "$PKG_CONFIG"; then
42918 if test -n "$HILDON_CFLAGS"; then
42919 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42920 else
42921 if test -n "$PKG_CONFIG" && \
42922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42923 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42924 ac_status=$?
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); }; then
42927 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42928 else
42929 pkg_failed=yes
42930 fi
42931 fi
42932 else
42933 pkg_failed=untried
42934 fi
42935 if test -n "$PKG_CONFIG"; then
42936 if test -n "$HILDON_LIBS"; then
42937 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42938 else
42939 if test -n "$PKG_CONFIG" && \
42940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42941 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; then
42945 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42946 else
42947 pkg_failed=yes
42948 fi
42949 fi
42950 else
42951 pkg_failed=untried
42952 fi
42953
42954
42955
42956 if test $pkg_failed = yes; then
42957
42958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42959 _pkg_short_errors_supported=yes
42960 else
42961 _pkg_short_errors_supported=no
42962 fi
42963 if test $_pkg_short_errors_supported = yes; then
42964 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42965 else
42966 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42967 fi
42968 # Put the nasty error message in config.log where it belongs
42969 echo "$HILDON_PKG_ERRORS" >&5
42970
42971
42972 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42973 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42974 wxUSE_LIBHILDON="no"
42975
42976
42977 elif test $pkg_failed = untried; then
42978
42979 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42980 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42981 wxUSE_LIBHILDON="no"
42982
42983
42984 else
42985 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42986 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42987 echo "$as_me:$LINENO: result: yes" >&5
42988 echo "${ECHO_T}yes" >&6
42989
42990 EXTRALIBS_HILDON="$HILDON_LIBS"
42991 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_LIBHILDON 1
42994 _ACEOF
42995
42996
42997 fi
42998 fi
42999 fi
43000
43001 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define wxUSE_CMDLINE_PARSER 1
43004 _ACEOF
43005
43006 fi
43007
43008 if test "$wxUSE_STOPWATCH" = "yes"; then
43009 cat >>confdefs.h <<\_ACEOF
43010 #define wxUSE_STOPWATCH 1
43011 _ACEOF
43012
43013 fi
43014
43015 if test "$wxUSE_DATETIME" = "yes"; then
43016 cat >>confdefs.h <<\_ACEOF
43017 #define wxUSE_DATETIME 1
43018 _ACEOF
43019
43020 fi
43021
43022 if test "$wxUSE_FILE" = "yes"; then
43023 cat >>confdefs.h <<\_ACEOF
43024 #define wxUSE_FILE 1
43025 _ACEOF
43026
43027 fi
43028
43029 if test "$wxUSE_FFILE" = "yes"; then
43030 cat >>confdefs.h <<\_ACEOF
43031 #define wxUSE_FFILE 1
43032 _ACEOF
43033
43034 fi
43035
43036 if test "$wxUSE_FILESYSTEM" = "yes"; then
43037 cat >>confdefs.h <<\_ACEOF
43038 #define wxUSE_FILESYSTEM 1
43039 _ACEOF
43040
43041 fi
43042
43043 if test "$wxUSE_FS_ZIP" = "yes"; then
43044 cat >>confdefs.h <<\_ACEOF
43045 #define wxUSE_FS_ZIP 1
43046 _ACEOF
43047
43048 fi
43049
43050 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43051 cat >>confdefs.h <<\_ACEOF
43052 #define wxUSE_ARCHIVE_STREAMS 1
43053 _ACEOF
43054
43055 fi
43056
43057 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43058 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43059 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43060 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43061 elif test "$wxUSE_ZLIB" = "no"; then
43062 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43063 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43064 else
43065 cat >>confdefs.h <<\_ACEOF
43066 #define wxUSE_ZIPSTREAM 1
43067 _ACEOF
43068
43069 fi
43070 fi
43071
43072 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43073 if test "$USE_UNIX" != 1; then
43074 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43075 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43076 wxUSE_ON_FATAL_EXCEPTION=no
43077 else
43078 cat >>confdefs.h <<\_ACEOF
43079 #define wxUSE_ON_FATAL_EXCEPTION 1
43080 _ACEOF
43081
43082 fi
43083 fi
43084
43085 if test "$wxUSE_STACKWALKER" = "yes"; then
43086 cat >>confdefs.h <<\_ACEOF
43087 #define wxUSE_STACKWALKER 1
43088 _ACEOF
43089
43090 fi
43091
43092 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43093 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43094 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43095 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43096 wxUSE_DEBUGREPORT=no
43097 else
43098 cat >>confdefs.h <<\_ACEOF
43099 #define wxUSE_DEBUGREPORT 1
43100 _ACEOF
43101
43102 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43104 fi
43105 fi
43106 fi
43107
43108 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43109 cat >>confdefs.h <<\_ACEOF
43110 #define wxUSE_SNGLINST_CHECKER 1
43111 _ACEOF
43112
43113 fi
43114
43115 if test "$wxUSE_BUSYINFO" = "yes"; then
43116 cat >>confdefs.h <<\_ACEOF
43117 #define wxUSE_BUSYINFO 1
43118 _ACEOF
43119
43120 fi
43121
43122 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43123 cat >>confdefs.h <<\_ACEOF
43124 #define wxUSE_STD_IOSTREAM 1
43125 _ACEOF
43126
43127 fi
43128
43129 if test "$wxUSE_STD_STRING" = "yes"; then
43130 cat >>confdefs.h <<\_ACEOF
43131 #define wxUSE_STD_STRING 1
43132 _ACEOF
43133
43134 fi
43135
43136 if test "$wxUSE_STDPATHS" = "yes"; then
43137 cat >>confdefs.h <<\_ACEOF
43138 #define wxUSE_STDPATHS 1
43139 _ACEOF
43140
43141 fi
43142
43143 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43144 cat >>confdefs.h <<\_ACEOF
43145 #define wxUSE_TEXTBUFFER 1
43146 _ACEOF
43147
43148 fi
43149
43150 if test "$wxUSE_TEXTFILE" = "yes"; then
43151 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43152 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43153 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43154 else
43155 cat >>confdefs.h <<\_ACEOF
43156 #define wxUSE_TEXTFILE 1
43157 _ACEOF
43158
43159 fi
43160 fi
43161
43162 if test "$wxUSE_CONFIG" = "yes" ; then
43163 if test "$wxUSE_TEXTFILE" != "yes"; then
43164 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43165 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43166 else
43167 cat >>confdefs.h <<\_ACEOF
43168 #define wxUSE_CONFIG 1
43169 _ACEOF
43170
43171 cat >>confdefs.h <<\_ACEOF
43172 #define wxUSE_CONFIG_NATIVE 1
43173 _ACEOF
43174
43175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43176 fi
43177 fi
43178
43179 if test "$wxUSE_INTL" = "yes" ; then
43180 if test "$wxUSE_FILE" != "yes"; then
43181 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43182 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43183 else
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_INTL 1
43186 _ACEOF
43187
43188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43189 GUIDIST="$GUIDIST INTL_DIST"
43190 fi
43191 fi
43192
43193 if test "$wxUSE_LOG" = "yes"; then
43194 cat >>confdefs.h <<\_ACEOF
43195 #define wxUSE_LOG 1
43196 _ACEOF
43197
43198
43199 if test "$wxUSE_LOGGUI" = "yes"; then
43200 cat >>confdefs.h <<\_ACEOF
43201 #define wxUSE_LOGGUI 1
43202 _ACEOF
43203
43204 fi
43205
43206 if test "$wxUSE_LOGWINDOW" = "yes"; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define wxUSE_LOGWINDOW 1
43209 _ACEOF
43210
43211 fi
43212
43213 if test "$wxUSE_LOGDIALOG" = "yes"; then
43214 cat >>confdefs.h <<\_ACEOF
43215 #define wxUSE_LOG_DIALOG 1
43216 _ACEOF
43217
43218 fi
43219
43220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43221 fi
43222
43223 if test "$wxUSE_LONGLONG" = "yes"; then
43224 cat >>confdefs.h <<\_ACEOF
43225 #define wxUSE_LONGLONG 1
43226 _ACEOF
43227
43228 fi
43229
43230 if test "$wxUSE_GEOMETRY" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_GEOMETRY 1
43233 _ACEOF
43234
43235 fi
43236
43237 if test "$wxUSE_STREAMS" = "yes" ; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_STREAMS 1
43240 _ACEOF
43241
43242 fi
43243
43244 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_PRINTF_POS_PARAMS 1
43247 _ACEOF
43248
43249 fi
43250
43251
43252
43253 if test "$wxUSE_DATETIME" = "yes"; then
43254
43255 for ac_func in strptime
43256 do
43257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43258 echo "$as_me:$LINENO: checking for $ac_func" >&5
43259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43260 if eval "test \"\${$as_ac_var+set}\" = set"; then
43261 echo $ECHO_N "(cached) $ECHO_C" >&6
43262 else
43263 cat >conftest.$ac_ext <<_ACEOF
43264 /* confdefs.h. */
43265 _ACEOF
43266 cat confdefs.h >>conftest.$ac_ext
43267 cat >>conftest.$ac_ext <<_ACEOF
43268 /* end confdefs.h. */
43269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43271 #define $ac_func innocuous_$ac_func
43272
43273 /* System header to define __stub macros and hopefully few prototypes,
43274 which can conflict with char $ac_func (); below.
43275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43276 <limits.h> exists even on freestanding compilers. */
43277
43278 #ifdef __STDC__
43279 # include <limits.h>
43280 #else
43281 # include <assert.h>
43282 #endif
43283
43284 #undef $ac_func
43285
43286 /* Override any gcc2 internal prototype to avoid an error. */
43287 #ifdef __cplusplus
43288 extern "C"
43289 {
43290 #endif
43291 /* We use char because int might match the return type of a gcc2
43292 builtin and then its argument prototype would still apply. */
43293 char $ac_func ();
43294 /* The GNU C library defines this for functions which it implements
43295 to always fail with ENOSYS. Some functions are actually named
43296 something starting with __ and the normal name is an alias. */
43297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43298 choke me
43299 #else
43300 char (*f) () = $ac_func;
43301 #endif
43302 #ifdef __cplusplus
43303 }
43304 #endif
43305
43306 int
43307 main ()
43308 {
43309 return f != $ac_func;
43310 ;
43311 return 0;
43312 }
43313 _ACEOF
43314 rm -f conftest.$ac_objext conftest$ac_exeext
43315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43316 (eval $ac_link) 2>conftest.er1
43317 ac_status=$?
43318 grep -v '^ *+' conftest.er1 >conftest.err
43319 rm -f conftest.er1
43320 cat conftest.err >&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } &&
43323 { ac_try='test -z "$ac_cxx_werror_flag"
43324 || test ! -s conftest.err'
43325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43326 (eval $ac_try) 2>&5
43327 ac_status=$?
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); }; } &&
43330 { ac_try='test -s conftest$ac_exeext'
43331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43332 (eval $ac_try) 2>&5
43333 ac_status=$?
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); }; }; then
43336 eval "$as_ac_var=yes"
43337 else
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43340
43341 eval "$as_ac_var=no"
43342 fi
43343 rm -f conftest.err conftest.$ac_objext \
43344 conftest$ac_exeext conftest.$ac_ext
43345 fi
43346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43348 if test `eval echo '${'$as_ac_var'}'` = yes; then
43349 cat >>confdefs.h <<_ACEOF
43350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43351 _ACEOF
43352
43353 fi
43354 done
43355
43356 if test "$ac_cv_func_strptime" = "yes"; then
43357 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43358 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43359 if test "${wx_cv_func_strptime_decl+set}" = set; then
43360 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 else
43362
43363 cat >conftest.$ac_ext <<_ACEOF
43364 /* confdefs.h. */
43365 _ACEOF
43366 cat confdefs.h >>conftest.$ac_ext
43367 cat >>conftest.$ac_ext <<_ACEOF
43368 /* end confdefs.h. */
43369
43370 #include <time.h>
43371
43372 int
43373 main ()
43374 {
43375
43376 struct tm t;
43377 strptime("foo", "bar", &t);
43378
43379 ;
43380 return 0;
43381 }
43382 _ACEOF
43383 rm -f conftest.$ac_objext
43384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43385 (eval $ac_compile) 2>conftest.er1
43386 ac_status=$?
43387 grep -v '^ *+' conftest.er1 >conftest.err
43388 rm -f conftest.er1
43389 cat conftest.err >&5
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); } &&
43392 { ac_try='test -z "$ac_cxx_werror_flag"
43393 || test ! -s conftest.err'
43394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43395 (eval $ac_try) 2>&5
43396 ac_status=$?
43397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43398 (exit $ac_status); }; } &&
43399 { ac_try='test -s conftest.$ac_objext'
43400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43401 (eval $ac_try) 2>&5
43402 ac_status=$?
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); }; }; then
43405 wx_cv_func_strptime_decl=yes
43406 else
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.$ac_ext >&5
43409
43410 wx_cv_func_strptime_decl=no
43411
43412 fi
43413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43414
43415
43416 fi
43417 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43418 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43419 fi
43420 if test "$wx_cv_func_strptime_decl" = "yes"; then
43421 cat >>confdefs.h <<\_ACEOF
43422 #define HAVE_STRPTIME_DECL 1
43423 _ACEOF
43424
43425 fi
43426
43427 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43428 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43429 if test "${wx_cv_var_timezone+set}" = set; then
43430 echo $ECHO_N "(cached) $ECHO_C" >&6
43431 else
43432
43433 cat >conftest.$ac_ext <<_ACEOF
43434 /* confdefs.h. */
43435 _ACEOF
43436 cat confdefs.h >>conftest.$ac_ext
43437 cat >>conftest.$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43439
43440 #include <time.h>
43441
43442 int
43443 main ()
43444 {
43445
43446 int tz;
43447 tz = timezone;
43448
43449 ;
43450 return 0;
43451 }
43452 _ACEOF
43453 rm -f conftest.$ac_objext
43454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43455 (eval $ac_compile) 2>conftest.er1
43456 ac_status=$?
43457 grep -v '^ *+' conftest.er1 >conftest.err
43458 rm -f conftest.er1
43459 cat conftest.err >&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); } &&
43462 { ac_try='test -z "$ac_cxx_werror_flag"
43463 || test ! -s conftest.err'
43464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43465 (eval $ac_try) 2>&5
43466 ac_status=$?
43467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43468 (exit $ac_status); }; } &&
43469 { ac_try='test -s conftest.$ac_objext'
43470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43471 (eval $ac_try) 2>&5
43472 ac_status=$?
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); }; }; then
43475
43476 wx_cv_var_timezone=timezone
43477
43478 else
43479 echo "$as_me: failed program was:" >&5
43480 sed 's/^/| /' conftest.$ac_ext >&5
43481
43482
43483 cat >conftest.$ac_ext <<_ACEOF
43484 /* confdefs.h. */
43485 _ACEOF
43486 cat confdefs.h >>conftest.$ac_ext
43487 cat >>conftest.$ac_ext <<_ACEOF
43488 /* end confdefs.h. */
43489
43490 #include <time.h>
43491
43492 int
43493 main ()
43494 {
43495
43496 int tz;
43497 tz = _timezone;
43498
43499 ;
43500 return 0;
43501 }
43502 _ACEOF
43503 rm -f conftest.$ac_objext
43504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43505 (eval $ac_compile) 2>conftest.er1
43506 ac_status=$?
43507 grep -v '^ *+' conftest.er1 >conftest.err
43508 rm -f conftest.er1
43509 cat conftest.err >&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); } &&
43512 { ac_try='test -z "$ac_cxx_werror_flag"
43513 || test ! -s conftest.err'
43514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43515 (eval $ac_try) 2>&5
43516 ac_status=$?
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); }; } &&
43519 { ac_try='test -s conftest.$ac_objext'
43520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43521 (eval $ac_try) 2>&5
43522 ac_status=$?
43523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524 (exit $ac_status); }; }; then
43525
43526 wx_cv_var_timezone=_timezone
43527
43528 else
43529 echo "$as_me: failed program was:" >&5
43530 sed 's/^/| /' conftest.$ac_ext >&5
43531
43532
43533 cat >conftest.$ac_ext <<_ACEOF
43534 /* confdefs.h. */
43535 _ACEOF
43536 cat confdefs.h >>conftest.$ac_ext
43537 cat >>conftest.$ac_ext <<_ACEOF
43538 /* end confdefs.h. */
43539
43540 #include <time.h>
43541
43542 int
43543 main ()
43544 {
43545
43546 int tz;
43547 tz = __timezone;
43548
43549 ;
43550 return 0;
43551 }
43552 _ACEOF
43553 rm -f conftest.$ac_objext
43554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43555 (eval $ac_compile) 2>conftest.er1
43556 ac_status=$?
43557 grep -v '^ *+' conftest.er1 >conftest.err
43558 rm -f conftest.er1
43559 cat conftest.err >&5
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); } &&
43562 { ac_try='test -z "$ac_cxx_werror_flag"
43563 || test ! -s conftest.err'
43564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43565 (eval $ac_try) 2>&5
43566 ac_status=$?
43567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568 (exit $ac_status); }; } &&
43569 { ac_try='test -s conftest.$ac_objext'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; }; then
43575
43576 wx_cv_var_timezone=__timezone
43577
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43581
43582
43583 if test "$USE_DOS" = 0 ; then
43584 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43585 echo "$as_me: WARNING: no timezone variable" >&2;}
43586 fi
43587
43588
43589 fi
43590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43591
43592
43593 fi
43594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43595
43596
43597 fi
43598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43599
43600
43601 fi
43602 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43603 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43604
43605 if test "x$wx_cv_var_timezone" != x ; then
43606 cat >>confdefs.h <<_ACEOF
43607 #define WX_TIMEZONE $wx_cv_var_timezone
43608 _ACEOF
43609
43610 fi
43611
43612
43613 for ac_func in localtime
43614 do
43615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43616 echo "$as_me:$LINENO: checking for $ac_func" >&5
43617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43618 if eval "test \"\${$as_ac_var+set}\" = set"; then
43619 echo $ECHO_N "(cached) $ECHO_C" >&6
43620 else
43621 cat >conftest.$ac_ext <<_ACEOF
43622 /* confdefs.h. */
43623 _ACEOF
43624 cat confdefs.h >>conftest.$ac_ext
43625 cat >>conftest.$ac_ext <<_ACEOF
43626 /* end confdefs.h. */
43627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43629 #define $ac_func innocuous_$ac_func
43630
43631 /* System header to define __stub macros and hopefully few prototypes,
43632 which can conflict with char $ac_func (); below.
43633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43634 <limits.h> exists even on freestanding compilers. */
43635
43636 #ifdef __STDC__
43637 # include <limits.h>
43638 #else
43639 # include <assert.h>
43640 #endif
43641
43642 #undef $ac_func
43643
43644 /* Override any gcc2 internal prototype to avoid an error. */
43645 #ifdef __cplusplus
43646 extern "C"
43647 {
43648 #endif
43649 /* We use char because int might match the return type of a gcc2
43650 builtin and then its argument prototype would still apply. */
43651 char $ac_func ();
43652 /* The GNU C library defines this for functions which it implements
43653 to always fail with ENOSYS. Some functions are actually named
43654 something starting with __ and the normal name is an alias. */
43655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43656 choke me
43657 #else
43658 char (*f) () = $ac_func;
43659 #endif
43660 #ifdef __cplusplus
43661 }
43662 #endif
43663
43664 int
43665 main ()
43666 {
43667 return f != $ac_func;
43668 ;
43669 return 0;
43670 }
43671 _ACEOF
43672 rm -f conftest.$ac_objext conftest$ac_exeext
43673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43674 (eval $ac_link) 2>conftest.er1
43675 ac_status=$?
43676 grep -v '^ *+' conftest.er1 >conftest.err
43677 rm -f conftest.er1
43678 cat conftest.err >&5
43679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43680 (exit $ac_status); } &&
43681 { ac_try='test -z "$ac_cxx_werror_flag"
43682 || test ! -s conftest.err'
43683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43684 (eval $ac_try) 2>&5
43685 ac_status=$?
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); }; } &&
43688 { ac_try='test -s conftest$ac_exeext'
43689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43690 (eval $ac_try) 2>&5
43691 ac_status=$?
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); }; }; then
43694 eval "$as_ac_var=yes"
43695 else
43696 echo "$as_me: failed program was:" >&5
43697 sed 's/^/| /' conftest.$ac_ext >&5
43698
43699 eval "$as_ac_var=no"
43700 fi
43701 rm -f conftest.err conftest.$ac_objext \
43702 conftest$ac_exeext conftest.$ac_ext
43703 fi
43704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43706 if test `eval echo '${'$as_ac_var'}'` = yes; then
43707 cat >>confdefs.h <<_ACEOF
43708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43709 _ACEOF
43710
43711 fi
43712 done
43713
43714
43715 if test "$ac_cv_func_localtime" = "yes"; then
43716 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43717 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43718 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43719 echo $ECHO_N "(cached) $ECHO_C" >&6
43720 else
43721
43722 cat >conftest.$ac_ext <<_ACEOF
43723 /* confdefs.h. */
43724 _ACEOF
43725 cat confdefs.h >>conftest.$ac_ext
43726 cat >>conftest.$ac_ext <<_ACEOF
43727 /* end confdefs.h. */
43728
43729 #include <time.h>
43730
43731 int
43732 main ()
43733 {
43734
43735 struct tm tm;
43736 tm.tm_gmtoff++;
43737
43738 ;
43739 return 0;
43740 }
43741 _ACEOF
43742 rm -f conftest.$ac_objext
43743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43744 (eval $ac_compile) 2>conftest.er1
43745 ac_status=$?
43746 grep -v '^ *+' conftest.er1 >conftest.err
43747 rm -f conftest.er1
43748 cat conftest.err >&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } &&
43751 { ac_try='test -z "$ac_cxx_werror_flag"
43752 || test ! -s conftest.err'
43753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43754 (eval $ac_try) 2>&5
43755 ac_status=$?
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); }; } &&
43758 { ac_try='test -s conftest.$ac_objext'
43759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43760 (eval $ac_try) 2>&5
43761 ac_status=$?
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); }; }; then
43764
43765 wx_cv_struct_tm_has_gmtoff=yes
43766
43767 else
43768 echo "$as_me: failed program was:" >&5
43769 sed 's/^/| /' conftest.$ac_ext >&5
43770
43771 wx_cv_struct_tm_has_gmtoff=no
43772
43773 fi
43774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43775
43776 fi
43777 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43778 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43779 fi
43780
43781 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define WX_GMTOFF_IN_TM 1
43784 _ACEOF
43785
43786 fi
43787
43788
43789
43790 for ac_func in gettimeofday ftime
43791 do
43792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43793 echo "$as_me:$LINENO: checking for $ac_func" >&5
43794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43795 if eval "test \"\${$as_ac_var+set}\" = set"; then
43796 echo $ECHO_N "(cached) $ECHO_C" >&6
43797 else
43798 cat >conftest.$ac_ext <<_ACEOF
43799 /* confdefs.h. */
43800 _ACEOF
43801 cat confdefs.h >>conftest.$ac_ext
43802 cat >>conftest.$ac_ext <<_ACEOF
43803 /* end confdefs.h. */
43804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43806 #define $ac_func innocuous_$ac_func
43807
43808 /* System header to define __stub macros and hopefully few prototypes,
43809 which can conflict with char $ac_func (); below.
43810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43811 <limits.h> exists even on freestanding compilers. */
43812
43813 #ifdef __STDC__
43814 # include <limits.h>
43815 #else
43816 # include <assert.h>
43817 #endif
43818
43819 #undef $ac_func
43820
43821 /* Override any gcc2 internal prototype to avoid an error. */
43822 #ifdef __cplusplus
43823 extern "C"
43824 {
43825 #endif
43826 /* We use char because int might match the return type of a gcc2
43827 builtin and then its argument prototype would still apply. */
43828 char $ac_func ();
43829 /* The GNU C library defines this for functions which it implements
43830 to always fail with ENOSYS. Some functions are actually named
43831 something starting with __ and the normal name is an alias. */
43832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43833 choke me
43834 #else
43835 char (*f) () = $ac_func;
43836 #endif
43837 #ifdef __cplusplus
43838 }
43839 #endif
43840
43841 int
43842 main ()
43843 {
43844 return f != $ac_func;
43845 ;
43846 return 0;
43847 }
43848 _ACEOF
43849 rm -f conftest.$ac_objext conftest$ac_exeext
43850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43851 (eval $ac_link) 2>conftest.er1
43852 ac_status=$?
43853 grep -v '^ *+' conftest.er1 >conftest.err
43854 rm -f conftest.er1
43855 cat conftest.err >&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } &&
43858 { ac_try='test -z "$ac_cxx_werror_flag"
43859 || test ! -s conftest.err'
43860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43861 (eval $ac_try) 2>&5
43862 ac_status=$?
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); }; } &&
43865 { ac_try='test -s conftest$ac_exeext'
43866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867 (eval $ac_try) 2>&5
43868 ac_status=$?
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; }; then
43871 eval "$as_ac_var=yes"
43872 else
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.$ac_ext >&5
43875
43876 eval "$as_ac_var=no"
43877 fi
43878 rm -f conftest.err conftest.$ac_objext \
43879 conftest$ac_exeext conftest.$ac_ext
43880 fi
43881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43883 if test `eval echo '${'$as_ac_var'}'` = yes; then
43884 cat >>confdefs.h <<_ACEOF
43885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43886 _ACEOF
43887 break
43888 fi
43889 done
43890
43891
43892 if test "$ac_cv_func_gettimeofday" = "yes"; then
43893 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43894 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43895 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43896 echo $ECHO_N "(cached) $ECHO_C" >&6
43897 else
43898
43899 cat >conftest.$ac_ext <<_ACEOF
43900 /* confdefs.h. */
43901 _ACEOF
43902 cat confdefs.h >>conftest.$ac_ext
43903 cat >>conftest.$ac_ext <<_ACEOF
43904 /* end confdefs.h. */
43905
43906 #include <sys/time.h>
43907 #include <unistd.h>
43908
43909 int
43910 main ()
43911 {
43912
43913 struct timeval tv;
43914 gettimeofday(&tv, NULL);
43915
43916 ;
43917 return 0;
43918 }
43919 _ACEOF
43920 rm -f conftest.$ac_objext
43921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43922 (eval $ac_compile) 2>conftest.er1
43923 ac_status=$?
43924 grep -v '^ *+' conftest.er1 >conftest.err
43925 rm -f conftest.er1
43926 cat conftest.err >&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } &&
43929 { ac_try='test -z "$ac_cxx_werror_flag"
43930 || test ! -s conftest.err'
43931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43932 (eval $ac_try) 2>&5
43933 ac_status=$?
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); }; } &&
43936 { ac_try='test -s conftest.$ac_objext'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43939 ac_status=$?
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; }; then
43942 wx_cv_func_gettimeofday_has_2_args=yes
43943 else
43944 echo "$as_me: failed program was:" >&5
43945 sed 's/^/| /' conftest.$ac_ext >&5
43946
43947 cat >conftest.$ac_ext <<_ACEOF
43948 /* confdefs.h. */
43949 _ACEOF
43950 cat confdefs.h >>conftest.$ac_ext
43951 cat >>conftest.$ac_ext <<_ACEOF
43952 /* end confdefs.h. */
43953
43954 #include <sys/time.h>
43955 #include <unistd.h>
43956
43957 int
43958 main ()
43959 {
43960
43961 struct timeval tv;
43962 gettimeofday(&tv);
43963
43964 ;
43965 return 0;
43966 }
43967 _ACEOF
43968 rm -f conftest.$ac_objext
43969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43970 (eval $ac_compile) 2>conftest.er1
43971 ac_status=$?
43972 grep -v '^ *+' conftest.er1 >conftest.err
43973 rm -f conftest.er1
43974 cat conftest.err >&5
43975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43976 (exit $ac_status); } &&
43977 { ac_try='test -z "$ac_cxx_werror_flag"
43978 || test ! -s conftest.err'
43979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43980 (eval $ac_try) 2>&5
43981 ac_status=$?
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); }; } &&
43984 { ac_try='test -s conftest.$ac_objext'
43985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43986 (eval $ac_try) 2>&5
43987 ac_status=$?
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); }; }; then
43990 wx_cv_func_gettimeofday_has_2_args=no
43991 else
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.$ac_ext >&5
43994
43995
43996 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43997 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43998 wx_cv_func_gettimeofday_has_2_args=unknown
43999
44000
44001 fi
44002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44003
44004 fi
44005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44006
44007 fi
44008 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44009 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44010
44011 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44012 cat >>confdefs.h <<\_ACEOF
44013 #define WX_GETTIMEOFDAY_NO_TZ 1
44014 _ACEOF
44015
44016 fi
44017 fi
44018
44019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44020 fi
44021
44022
44023 if test "$wxUSE_SOCKETS" = "yes"; then
44024 if test "$wxUSE_MGL" = "1"; then
44025 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44026 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44027 wxUSE_SOCKETS="no"
44028 fi
44029 fi
44030
44031 if test "$wxUSE_SOCKETS" = "yes"; then
44032 if test "$TOOLKIT" != "MSW"; then
44033 echo "$as_me:$LINENO: checking for socket" >&5
44034 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44035 if test "${ac_cv_func_socket+set}" = set; then
44036 echo $ECHO_N "(cached) $ECHO_C" >&6
44037 else
44038 cat >conftest.$ac_ext <<_ACEOF
44039 /* confdefs.h. */
44040 _ACEOF
44041 cat confdefs.h >>conftest.$ac_ext
44042 cat >>conftest.$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44044 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44046 #define socket innocuous_socket
44047
44048 /* System header to define __stub macros and hopefully few prototypes,
44049 which can conflict with char socket (); below.
44050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44051 <limits.h> exists even on freestanding compilers. */
44052
44053 #ifdef __STDC__
44054 # include <limits.h>
44055 #else
44056 # include <assert.h>
44057 #endif
44058
44059 #undef socket
44060
44061 /* Override any gcc2 internal prototype to avoid an error. */
44062 #ifdef __cplusplus
44063 extern "C"
44064 {
44065 #endif
44066 /* We use char because int might match the return type of a gcc2
44067 builtin and then its argument prototype would still apply. */
44068 char socket ();
44069 /* The GNU C library defines this for functions which it implements
44070 to always fail with ENOSYS. Some functions are actually named
44071 something starting with __ and the normal name is an alias. */
44072 #if defined (__stub_socket) || defined (__stub___socket)
44073 choke me
44074 #else
44075 char (*f) () = socket;
44076 #endif
44077 #ifdef __cplusplus
44078 }
44079 #endif
44080
44081 int
44082 main ()
44083 {
44084 return f != socket;
44085 ;
44086 return 0;
44087 }
44088 _ACEOF
44089 rm -f conftest.$ac_objext conftest$ac_exeext
44090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44091 (eval $ac_link) 2>conftest.er1
44092 ac_status=$?
44093 grep -v '^ *+' conftest.er1 >conftest.err
44094 rm -f conftest.er1
44095 cat conftest.err >&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } &&
44098 { ac_try='test -z "$ac_cxx_werror_flag"
44099 || test ! -s conftest.err'
44100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44101 (eval $ac_try) 2>&5
44102 ac_status=$?
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); }; } &&
44105 { ac_try='test -s conftest$ac_exeext'
44106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44107 (eval $ac_try) 2>&5
44108 ac_status=$?
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); }; }; then
44111 ac_cv_func_socket=yes
44112 else
44113 echo "$as_me: failed program was:" >&5
44114 sed 's/^/| /' conftest.$ac_ext >&5
44115
44116 ac_cv_func_socket=no
44117 fi
44118 rm -f conftest.err conftest.$ac_objext \
44119 conftest$ac_exeext conftest.$ac_ext
44120 fi
44121 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44122 echo "${ECHO_T}$ac_cv_func_socket" >&6
44123 if test $ac_cv_func_socket = yes; then
44124 :
44125 else
44126
44127 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44128 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44129 if test "${ac_cv_lib_socket_socket+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44131 else
44132 ac_check_lib_save_LIBS=$LIBS
44133 LIBS="-lsocket $LIBS"
44134 cat >conftest.$ac_ext <<_ACEOF
44135 /* confdefs.h. */
44136 _ACEOF
44137 cat confdefs.h >>conftest.$ac_ext
44138 cat >>conftest.$ac_ext <<_ACEOF
44139 /* end confdefs.h. */
44140
44141 /* Override any gcc2 internal prototype to avoid an error. */
44142 #ifdef __cplusplus
44143 extern "C"
44144 #endif
44145 /* We use char because int might match the return type of a gcc2
44146 builtin and then its argument prototype would still apply. */
44147 char socket ();
44148 int
44149 main ()
44150 {
44151 socket ();
44152 ;
44153 return 0;
44154 }
44155 _ACEOF
44156 rm -f conftest.$ac_objext conftest$ac_exeext
44157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44158 (eval $ac_link) 2>conftest.er1
44159 ac_status=$?
44160 grep -v '^ *+' conftest.er1 >conftest.err
44161 rm -f conftest.er1
44162 cat conftest.err >&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } &&
44165 { ac_try='test -z "$ac_cxx_werror_flag"
44166 || test ! -s conftest.err'
44167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44168 (eval $ac_try) 2>&5
44169 ac_status=$?
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); }; } &&
44172 { ac_try='test -s conftest$ac_exeext'
44173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44174 (eval $ac_try) 2>&5
44175 ac_status=$?
44176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44177 (exit $ac_status); }; }; then
44178 ac_cv_lib_socket_socket=yes
44179 else
44180 echo "$as_me: failed program was:" >&5
44181 sed 's/^/| /' conftest.$ac_ext >&5
44182
44183 ac_cv_lib_socket_socket=no
44184 fi
44185 rm -f conftest.err conftest.$ac_objext \
44186 conftest$ac_exeext conftest.$ac_ext
44187 LIBS=$ac_check_lib_save_LIBS
44188 fi
44189 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44190 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44191 if test $ac_cv_lib_socket_socket = yes; then
44192 if test "$INET_LINK" != " -lsocket"; then
44193 INET_LINK="$INET_LINK -lsocket"
44194 fi
44195 else
44196
44197 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44198 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44199 wxUSE_SOCKETS=no
44200
44201
44202 fi
44203
44204
44205
44206 fi
44207
44208 fi
44209 fi
44210
44211 if test "$wxUSE_SOCKETS" = "yes" ; then
44212 if test "$TOOLKIT" != "MSW"; then
44213 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44214 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44215 if test "${wx_cv_type_getsockname3+set}" = set; then
44216 echo $ECHO_N "(cached) $ECHO_C" >&6
44217 else
44218
44219 cat >conftest.$ac_ext <<_ACEOF
44220 /* confdefs.h. */
44221 _ACEOF
44222 cat confdefs.h >>conftest.$ac_ext
44223 cat >>conftest.$ac_ext <<_ACEOF
44224 /* end confdefs.h. */
44225
44226 #include <sys/types.h>
44227 #include <sys/socket.h>
44228
44229 int
44230 main ()
44231 {
44232
44233 socklen_t len;
44234 getsockname(0, 0, &len);
44235
44236 ;
44237 return 0;
44238 }
44239 _ACEOF
44240 rm -f conftest.$ac_objext
44241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44242 (eval $ac_compile) 2>conftest.er1
44243 ac_status=$?
44244 grep -v '^ *+' conftest.er1 >conftest.err
44245 rm -f conftest.er1
44246 cat conftest.err >&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); } &&
44249 { ac_try='test -z "$ac_cxx_werror_flag"
44250 || test ! -s conftest.err'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44253 ac_status=$?
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; } &&
44256 { ac_try='test -s conftest.$ac_objext'
44257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258 (eval $ac_try) 2>&5
44259 ac_status=$?
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; }; then
44262 wx_cv_type_getsockname3=socklen_t
44263 else
44264 echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.$ac_ext >&5
44266
44267
44268 CXXFLAGS_OLD="$CXXFLAGS"
44269 if test "$GCC" = yes ; then
44270 CXXFLAGS="-Werror $CXXFLAGS"
44271 fi
44272
44273 cat >conftest.$ac_ext <<_ACEOF
44274 /* confdefs.h. */
44275 _ACEOF
44276 cat confdefs.h >>conftest.$ac_ext
44277 cat >>conftest.$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279
44280 #include <sys/types.h>
44281 #include <sys/socket.h>
44282
44283 int
44284 main ()
44285 {
44286
44287 size_t len;
44288 getsockname(0, 0, &len);
44289
44290 ;
44291 return 0;
44292 }
44293 _ACEOF
44294 rm -f conftest.$ac_objext
44295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44296 (eval $ac_compile) 2>conftest.er1
44297 ac_status=$?
44298 grep -v '^ *+' conftest.er1 >conftest.err
44299 rm -f conftest.er1
44300 cat conftest.err >&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); } &&
44303 { ac_try='test -z "$ac_cxx_werror_flag"
44304 || test ! -s conftest.err'
44305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44306 (eval $ac_try) 2>&5
44307 ac_status=$?
44308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44309 (exit $ac_status); }; } &&
44310 { ac_try='test -s conftest.$ac_objext'
44311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44312 (eval $ac_try) 2>&5
44313 ac_status=$?
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); }; }; then
44316 wx_cv_type_getsockname3=size_t
44317 else
44318 echo "$as_me: failed program was:" >&5
44319 sed 's/^/| /' conftest.$ac_ext >&5
44320
44321 cat >conftest.$ac_ext <<_ACEOF
44322 /* confdefs.h. */
44323 _ACEOF
44324 cat confdefs.h >>conftest.$ac_ext
44325 cat >>conftest.$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44327
44328 #include <sys/types.h>
44329 #include <sys/socket.h>
44330
44331 int
44332 main ()
44333 {
44334
44335 int len;
44336 getsockname(0, 0, &len);
44337
44338 ;
44339 return 0;
44340 }
44341 _ACEOF
44342 rm -f conftest.$ac_objext
44343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44344 (eval $ac_compile) 2>conftest.er1
44345 ac_status=$?
44346 grep -v '^ *+' conftest.er1 >conftest.err
44347 rm -f conftest.er1
44348 cat conftest.err >&5
44349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44350 (exit $ac_status); } &&
44351 { ac_try='test -z "$ac_cxx_werror_flag"
44352 || test ! -s conftest.err'
44353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44354 (eval $ac_try) 2>&5
44355 ac_status=$?
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); }; } &&
44358 { ac_try='test -s conftest.$ac_objext'
44359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44360 (eval $ac_try) 2>&5
44361 ac_status=$?
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); }; }; then
44364 wx_cv_type_getsockname3=int
44365 else
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.$ac_ext >&5
44368
44369 wx_cv_type_getsockname3=unknown
44370
44371 fi
44372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44373
44374 fi
44375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44376
44377 CXXFLAGS="$CXXFLAGS_OLD"
44378
44379
44380 fi
44381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44382
44383 fi
44384 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44385 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44386
44387 if test "$wx_cv_type_getsockname3" = "unknown"; then
44388 wxUSE_SOCKETS=no
44389 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44390 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44391 else
44392 cat >>confdefs.h <<_ACEOF
44393 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44394 _ACEOF
44395
44396 fi
44397 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44398 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44399 if test "${wx_cv_type_getsockopt5+set}" = set; then
44400 echo $ECHO_N "(cached) $ECHO_C" >&6
44401 else
44402
44403 cat >conftest.$ac_ext <<_ACEOF
44404 /* confdefs.h. */
44405 _ACEOF
44406 cat confdefs.h >>conftest.$ac_ext
44407 cat >>conftest.$ac_ext <<_ACEOF
44408 /* end confdefs.h. */
44409
44410 #include <sys/types.h>
44411 #include <sys/socket.h>
44412
44413 int
44414 main ()
44415 {
44416
44417 socklen_t len;
44418 getsockopt(0, 0, 0, 0, &len);
44419
44420 ;
44421 return 0;
44422 }
44423 _ACEOF
44424 rm -f conftest.$ac_objext
44425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44426 (eval $ac_compile) 2>conftest.er1
44427 ac_status=$?
44428 grep -v '^ *+' conftest.er1 >conftest.err
44429 rm -f conftest.er1
44430 cat conftest.err >&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); } &&
44433 { ac_try='test -z "$ac_cxx_werror_flag"
44434 || test ! -s conftest.err'
44435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44436 (eval $ac_try) 2>&5
44437 ac_status=$?
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); }; } &&
44440 { ac_try='test -s conftest.$ac_objext'
44441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44442 (eval $ac_try) 2>&5
44443 ac_status=$?
44444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445 (exit $ac_status); }; }; then
44446 wx_cv_type_getsockopt5=socklen_t
44447 else
44448 echo "$as_me: failed program was:" >&5
44449 sed 's/^/| /' conftest.$ac_ext >&5
44450
44451
44452 CXXFLAGS_OLD="$CXXFLAGS"
44453 if test "$GCC" = yes ; then
44454 CXXFLAGS="-Werror $CXXFLAGS"
44455 fi
44456
44457 cat >conftest.$ac_ext <<_ACEOF
44458 /* confdefs.h. */
44459 _ACEOF
44460 cat confdefs.h >>conftest.$ac_ext
44461 cat >>conftest.$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44463
44464 #include <sys/types.h>
44465 #include <sys/socket.h>
44466
44467 int
44468 main ()
44469 {
44470
44471 size_t len;
44472 getsockopt(0, 0, 0, 0, &len);
44473
44474 ;
44475 return 0;
44476 }
44477 _ACEOF
44478 rm -f conftest.$ac_objext
44479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44480 (eval $ac_compile) 2>conftest.er1
44481 ac_status=$?
44482 grep -v '^ *+' conftest.er1 >conftest.err
44483 rm -f conftest.er1
44484 cat conftest.err >&5
44485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44486 (exit $ac_status); } &&
44487 { ac_try='test -z "$ac_cxx_werror_flag"
44488 || test ! -s conftest.err'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44491 ac_status=$?
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; } &&
44494 { ac_try='test -s conftest.$ac_objext'
44495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44496 (eval $ac_try) 2>&5
44497 ac_status=$?
44498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499 (exit $ac_status); }; }; then
44500 wx_cv_type_getsockopt5=size_t
44501 else
44502 echo "$as_me: failed program was:" >&5
44503 sed 's/^/| /' conftest.$ac_ext >&5
44504
44505 cat >conftest.$ac_ext <<_ACEOF
44506 /* confdefs.h. */
44507 _ACEOF
44508 cat confdefs.h >>conftest.$ac_ext
44509 cat >>conftest.$ac_ext <<_ACEOF
44510 /* end confdefs.h. */
44511
44512 #include <sys/types.h>
44513 #include <sys/socket.h>
44514
44515 int
44516 main ()
44517 {
44518
44519 int len;
44520 getsockopt(0, 0, 0, 0, &len);
44521
44522 ;
44523 return 0;
44524 }
44525 _ACEOF
44526 rm -f conftest.$ac_objext
44527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44528 (eval $ac_compile) 2>conftest.er1
44529 ac_status=$?
44530 grep -v '^ *+' conftest.er1 >conftest.err
44531 rm -f conftest.er1
44532 cat conftest.err >&5
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); } &&
44535 { ac_try='test -z "$ac_cxx_werror_flag"
44536 || test ! -s conftest.err'
44537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44538 (eval $ac_try) 2>&5
44539 ac_status=$?
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); }; } &&
44542 { ac_try='test -s conftest.$ac_objext'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44545 ac_status=$?
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; }; then
44548 wx_cv_type_getsockopt5=int
44549 else
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.$ac_ext >&5
44552
44553 wx_cv_type_getsockopt5=unknown
44554
44555 fi
44556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44557
44558 fi
44559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44560
44561 CXXFLAGS="$CXXFLAGS_OLD"
44562
44563
44564 fi
44565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44566
44567 fi
44568 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44569 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44570
44571 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44572 wxUSE_SOCKETS=no
44573 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44574 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44575 else
44576 cat >>confdefs.h <<_ACEOF
44577 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44578 _ACEOF
44579
44580 fi
44581 fi
44582 fi
44583
44584 if test "$wxUSE_SOCKETS" = "yes" ; then
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_SOCKETS 1
44587 _ACEOF
44588
44589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44590 fi
44591
44592 if test "$wxUSE_PROTOCOL" = "yes"; then
44593 if test "$wxUSE_SOCKETS" != "yes"; then
44594 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44595 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44596 wxUSE_PROTOCOL=no
44597 fi
44598 fi
44599
44600 if test "$wxUSE_PROTOCOL" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_PROTOCOL 1
44603 _ACEOF
44604
44605
44606 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44607 cat >>confdefs.h <<\_ACEOF
44608 #define wxUSE_PROTOCOL_HTTP 1
44609 _ACEOF
44610
44611 fi
44612 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_PROTOCOL_FTP 1
44615 _ACEOF
44616
44617 fi
44618 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_PROTOCOL_FILE 1
44621 _ACEOF
44622
44623 fi
44624 else
44625 if test "$wxUSE_FS_INET" = "yes"; then
44626 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44627 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44628 wxUSE_FS_INET="no"
44629 fi
44630 fi
44631
44632 if test "$wxUSE_URL" = "yes"; then
44633 if test "$wxUSE_PROTOCOL" != "yes"; then
44634 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44635 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44636 wxUSE_URL=no
44637 fi
44638 if test "$wxUSE_URL" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_URL 1
44641 _ACEOF
44642
44643 fi
44644 fi
44645
44646 if test "$wxUSE_VARIANT" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_VARIANT 1
44649 _ACEOF
44650
44651 fi
44652
44653 if test "$wxUSE_FS_INET" = "yes"; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define wxUSE_FS_INET 1
44656 _ACEOF
44657
44658 fi
44659
44660
44661 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44662 wxUSE_JOYSTICK=no
44663
44664 if test "$TOOLKIT" = "MSW"; then
44665 wxUSE_JOYSTICK=yes
44666
44667 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44668 if test "$USE_DARWIN" = 1; then
44669 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44670 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44671 cat >conftest.$ac_ext <<_ACEOF
44672 /* confdefs.h. */
44673 _ACEOF
44674 cat confdefs.h >>conftest.$ac_ext
44675 cat >>conftest.$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44677 #include <IOKit/hid/IOHIDLib.h>
44678 int
44679 main ()
44680 {
44681 IOHIDQueueInterface *qi = NULL;
44682 IOHIDCallbackFunction cb = NULL;
44683 qi->setEventCallout(NULL, cb, NULL, NULL);
44684 ;
44685 return 0;
44686 }
44687 _ACEOF
44688 rm -f conftest.$ac_objext
44689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44690 (eval $ac_compile) 2>conftest.er1
44691 ac_status=$?
44692 grep -v '^ *+' conftest.er1 >conftest.err
44693 rm -f conftest.er1
44694 cat conftest.err >&5
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); } &&
44697 { ac_try='test -z "$ac_cxx_werror_flag"
44698 || test ! -s conftest.err'
44699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44700 (eval $ac_try) 2>&5
44701 ac_status=$?
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); }; } &&
44704 { ac_try='test -s conftest.$ac_objext'
44705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44706 (eval $ac_try) 2>&5
44707 ac_status=$?
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); }; }; then
44710 wxUSE_JOYSTICK=yes
44711
44712 else
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44715
44716 fi
44717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44718 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44719 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44720 fi
44721
44722 else
44723
44724 for ac_header in linux/joystick.h
44725 do
44726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44728 echo "$as_me:$LINENO: checking for $ac_header" >&5
44729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44731 echo $ECHO_N "(cached) $ECHO_C" >&6
44732 fi
44733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44735 else
44736 # Is the header compilable?
44737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44739 cat >conftest.$ac_ext <<_ACEOF
44740 /* confdefs.h. */
44741 _ACEOF
44742 cat confdefs.h >>conftest.$ac_ext
44743 cat >>conftest.$ac_ext <<_ACEOF
44744 /* end confdefs.h. */
44745 $ac_includes_default
44746 #include <$ac_header>
44747 _ACEOF
44748 rm -f conftest.$ac_objext
44749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44750 (eval $ac_compile) 2>conftest.er1
44751 ac_status=$?
44752 grep -v '^ *+' conftest.er1 >conftest.err
44753 rm -f conftest.er1
44754 cat conftest.err >&5
44755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756 (exit $ac_status); } &&
44757 { ac_try='test -z "$ac_cxx_werror_flag"
44758 || test ! -s conftest.err'
44759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44760 (eval $ac_try) 2>&5
44761 ac_status=$?
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); }; } &&
44764 { ac_try='test -s conftest.$ac_objext'
44765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44766 (eval $ac_try) 2>&5
44767 ac_status=$?
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); }; }; then
44770 ac_header_compiler=yes
44771 else
44772 echo "$as_me: failed program was:" >&5
44773 sed 's/^/| /' conftest.$ac_ext >&5
44774
44775 ac_header_compiler=no
44776 fi
44777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44779 echo "${ECHO_T}$ac_header_compiler" >&6
44780
44781 # Is the header present?
44782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44784 cat >conftest.$ac_ext <<_ACEOF
44785 /* confdefs.h. */
44786 _ACEOF
44787 cat confdefs.h >>conftest.$ac_ext
44788 cat >>conftest.$ac_ext <<_ACEOF
44789 /* end confdefs.h. */
44790 #include <$ac_header>
44791 _ACEOF
44792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } >/dev/null; then
44800 if test -s conftest.err; then
44801 ac_cpp_err=$ac_cxx_preproc_warn_flag
44802 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44803 else
44804 ac_cpp_err=
44805 fi
44806 else
44807 ac_cpp_err=yes
44808 fi
44809 if test -z "$ac_cpp_err"; then
44810 ac_header_preproc=yes
44811 else
44812 echo "$as_me: failed program was:" >&5
44813 sed 's/^/| /' conftest.$ac_ext >&5
44814
44815 ac_header_preproc=no
44816 fi
44817 rm -f conftest.err conftest.$ac_ext
44818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44819 echo "${ECHO_T}$ac_header_preproc" >&6
44820
44821 # So? What about this header?
44822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44823 yes:no: )
44824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44828 ac_header_preproc=yes
44829 ;;
44830 no:yes:* )
44831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44843 (
44844 cat <<\_ASBOX
44845 ## ----------------------------------------- ##
44846 ## Report this to wx-dev@lists.wxwidgets.org ##
44847 ## ----------------------------------------- ##
44848 _ASBOX
44849 ) |
44850 sed "s/^/$as_me: WARNING: /" >&2
44851 ;;
44852 esac
44853 echo "$as_me:$LINENO: checking for $ac_header" >&5
44854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44856 echo $ECHO_N "(cached) $ECHO_C" >&6
44857 else
44858 eval "$as_ac_Header=\$ac_header_preproc"
44859 fi
44860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44862
44863 fi
44864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44865 cat >>confdefs.h <<_ACEOF
44866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44867 _ACEOF
44868 wxUSE_JOYSTICK=yes
44869 fi
44870
44871 done
44872
44873 fi
44874
44875 if test "$wxUSE_JOYSTICK" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_JOYSTICK 1
44878 _ACEOF
44879
44880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44881 else
44882 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44883 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44884 fi
44885 fi
44886
44887
44888
44889 if test "$wxUSE_FONTMAP" = "yes" ; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_FONTMAP 1
44892 _ACEOF
44893
44894 fi
44895
44896 if test "$wxUSE_UNICODE" = "yes" ; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_UNICODE 1
44899 _ACEOF
44900
44901
44902 if test "$USE_WIN32" != 1; then
44903 wxUSE_UNICODE_MSLU=no
44904 fi
44905
44906 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44907 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44908 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44909 if test "${ac_cv_lib_unicows_main+set}" = set; then
44910 echo $ECHO_N "(cached) $ECHO_C" >&6
44911 else
44912 ac_check_lib_save_LIBS=$LIBS
44913 LIBS="-lunicows $LIBS"
44914 cat >conftest.$ac_ext <<_ACEOF
44915 /* confdefs.h. */
44916 _ACEOF
44917 cat confdefs.h >>conftest.$ac_ext
44918 cat >>conftest.$ac_ext <<_ACEOF
44919 /* end confdefs.h. */
44920
44921
44922 int
44923 main ()
44924 {
44925 main ();
44926 ;
44927 return 0;
44928 }
44929 _ACEOF
44930 rm -f conftest.$ac_objext conftest$ac_exeext
44931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44932 (eval $ac_link) 2>conftest.er1
44933 ac_status=$?
44934 grep -v '^ *+' conftest.er1 >conftest.err
44935 rm -f conftest.er1
44936 cat conftest.err >&5
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); } &&
44939 { ac_try='test -z "$ac_cxx_werror_flag"
44940 || test ! -s conftest.err'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44943 ac_status=$?
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; } &&
44946 { ac_try='test -s conftest$ac_exeext'
44947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44948 (eval $ac_try) 2>&5
44949 ac_status=$?
44950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44951 (exit $ac_status); }; }; then
44952 ac_cv_lib_unicows_main=yes
44953 else
44954 echo "$as_me: failed program was:" >&5
44955 sed 's/^/| /' conftest.$ac_ext >&5
44956
44957 ac_cv_lib_unicows_main=no
44958 fi
44959 rm -f conftest.err conftest.$ac_objext \
44960 conftest$ac_exeext conftest.$ac_ext
44961 LIBS=$ac_check_lib_save_LIBS
44962 fi
44963 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44964 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44965 if test $ac_cv_lib_unicows_main = yes; then
44966
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_UNICODE_MSLU 1
44969 _ACEOF
44970
44971
44972 else
44973
44974 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44975 Applications will only run on Windows NT/2000/XP!" >&5
44976 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44977 Applications will only run on Windows NT/2000/XP!" >&2;}
44978 wxUSE_UNICODE_MSLU=no
44979
44980 fi
44981
44982 fi
44983 fi
44984
44985 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_EXPERIMENTAL_PRINTF 1
44988 _ACEOF
44989
44990 fi
44991
44992
44993 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_POSTSCRIPT 1
44996 _ACEOF
44997
44998 fi
44999
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45002 _ACEOF
45003
45004
45005 cat >>confdefs.h <<\_ACEOF
45006 #define wxUSE_NORMALIZED_PS_FONTS 1
45007 _ACEOF
45008
45009
45010
45011 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_CONSTRAINTS 1
45014 _ACEOF
45015
45016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45017 fi
45018
45019 if test "$wxUSE_MDI" = "yes"; then
45020 cat >>confdefs.h <<\_ACEOF
45021 #define wxUSE_MDI 1
45022 _ACEOF
45023
45024
45025 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_MDI_ARCHITECTURE 1
45028 _ACEOF
45029
45030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45031 fi
45032 fi
45033
45034 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45037 _ACEOF
45038
45039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45040 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45042 fi
45043 fi
45044
45045 if test "$wxUSE_HELP" = "yes"; then
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_HELP 1
45048 _ACEOF
45049
45050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45051
45052 if test "$wxUSE_MSW" = 1; then
45053 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_MS_HTML_HELP 1
45056 _ACEOF
45057
45058 fi
45059 fi
45060
45061 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45062 if test "$wxUSE_HTML" = "yes"; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_WXHTML_HELP 1
45065 _ACEOF
45066
45067 else
45068 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45069 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45070 wxUSE_WXHTML_HELP=no
45071 fi
45072 fi
45073 fi
45074
45075 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45076 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45077 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45078 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45079 else
45080 cat >>confdefs.h <<\_ACEOF
45081 #define wxUSE_PRINTING_ARCHITECTURE 1
45082 _ACEOF
45083
45084 fi
45085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45086 fi
45087
45088 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45089 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45090 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45091 { (exit 1); exit 1; }; }
45092 fi
45093
45094
45095 if test "$wxUSE_METAFILE" = "yes"; then
45096 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45097 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45098 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45099 wxUSE_METAFILE=no
45100 fi
45101 fi
45102
45103
45104 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45105 -o "$wxUSE_CLIPBOARD" = "yes" \
45106 -o "$wxUSE_OLE" = "yes" \
45107 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45108
45109 for ac_header in ole2.h
45110 do
45111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45113 echo "$as_me:$LINENO: checking for $ac_header" >&5
45114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45116 echo $ECHO_N "(cached) $ECHO_C" >&6
45117 fi
45118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45120 else
45121 # Is the header compilable?
45122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45124 cat >conftest.$ac_ext <<_ACEOF
45125 /* confdefs.h. */
45126 _ACEOF
45127 cat confdefs.h >>conftest.$ac_ext
45128 cat >>conftest.$ac_ext <<_ACEOF
45129 /* end confdefs.h. */
45130 $ac_includes_default
45131 #include <$ac_header>
45132 _ACEOF
45133 rm -f conftest.$ac_objext
45134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45135 (eval $ac_compile) 2>conftest.er1
45136 ac_status=$?
45137 grep -v '^ *+' conftest.er1 >conftest.err
45138 rm -f conftest.er1
45139 cat conftest.err >&5
45140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45141 (exit $ac_status); } &&
45142 { ac_try='test -z "$ac_cxx_werror_flag"
45143 || test ! -s conftest.err'
45144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45145 (eval $ac_try) 2>&5
45146 ac_status=$?
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); }; } &&
45149 { ac_try='test -s conftest.$ac_objext'
45150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45151 (eval $ac_try) 2>&5
45152 ac_status=$?
45153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45154 (exit $ac_status); }; }; then
45155 ac_header_compiler=yes
45156 else
45157 echo "$as_me: failed program was:" >&5
45158 sed 's/^/| /' conftest.$ac_ext >&5
45159
45160 ac_header_compiler=no
45161 fi
45162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45164 echo "${ECHO_T}$ac_header_compiler" >&6
45165
45166 # Is the header present?
45167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45169 cat >conftest.$ac_ext <<_ACEOF
45170 /* confdefs.h. */
45171 _ACEOF
45172 cat confdefs.h >>conftest.$ac_ext
45173 cat >>conftest.$ac_ext <<_ACEOF
45174 /* end confdefs.h. */
45175 #include <$ac_header>
45176 _ACEOF
45177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45179 ac_status=$?
45180 grep -v '^ *+' conftest.er1 >conftest.err
45181 rm -f conftest.er1
45182 cat conftest.err >&5
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); } >/dev/null; then
45185 if test -s conftest.err; then
45186 ac_cpp_err=$ac_cxx_preproc_warn_flag
45187 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45188 else
45189 ac_cpp_err=
45190 fi
45191 else
45192 ac_cpp_err=yes
45193 fi
45194 if test -z "$ac_cpp_err"; then
45195 ac_header_preproc=yes
45196 else
45197 echo "$as_me: failed program was:" >&5
45198 sed 's/^/| /' conftest.$ac_ext >&5
45199
45200 ac_header_preproc=no
45201 fi
45202 rm -f conftest.err conftest.$ac_ext
45203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45204 echo "${ECHO_T}$ac_header_preproc" >&6
45205
45206 # So? What about this header?
45207 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45208 yes:no: )
45209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45213 ac_header_preproc=yes
45214 ;;
45215 no:yes:* )
45216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45228 (
45229 cat <<\_ASBOX
45230 ## ----------------------------------------- ##
45231 ## Report this to wx-dev@lists.wxwidgets.org ##
45232 ## ----------------------------------------- ##
45233 _ASBOX
45234 ) |
45235 sed "s/^/$as_me: WARNING: /" >&2
45236 ;;
45237 esac
45238 echo "$as_me:$LINENO: checking for $ac_header" >&5
45239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45241 echo $ECHO_N "(cached) $ECHO_C" >&6
45242 else
45243 eval "$as_ac_Header=\$ac_header_preproc"
45244 fi
45245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45247
45248 fi
45249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45250 cat >>confdefs.h <<_ACEOF
45251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45252 _ACEOF
45253
45254 fi
45255
45256 done
45257
45258
45259 if test "$ac_cv_header_ole2_h" = "yes" ; then
45260 if test "$GCC" = yes ; then
45261 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45262 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45263 cat >conftest.$ac_ext <<_ACEOF
45264 /* confdefs.h. */
45265 _ACEOF
45266 cat confdefs.h >>conftest.$ac_ext
45267 cat >>conftest.$ac_ext <<_ACEOF
45268 /* end confdefs.h. */
45269 #include <windows.h>
45270 #include <ole2.h>
45271 int
45272 main ()
45273 {
45274
45275 ;
45276 return 0;
45277 }
45278 _ACEOF
45279 rm -f conftest.$ac_objext
45280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45281 (eval $ac_compile) 2>conftest.er1
45282 ac_status=$?
45283 grep -v '^ *+' conftest.er1 >conftest.err
45284 rm -f conftest.er1
45285 cat conftest.err >&5
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); } &&
45288 { ac_try='test -z "$ac_cxx_werror_flag"
45289 || test ! -s conftest.err'
45290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45291 (eval $ac_try) 2>&5
45292 ac_status=$?
45293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45294 (exit $ac_status); }; } &&
45295 { ac_try='test -s conftest.$ac_objext'
45296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45297 (eval $ac_try) 2>&5
45298 ac_status=$?
45299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45300 (exit $ac_status); }; }; then
45301 echo "$as_me:$LINENO: result: no" >&5
45302 echo "${ECHO_T}no" >&6
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45306
45307 echo "$as_me:$LINENO: result: yes" >&5
45308 echo "${ECHO_T}yes" >&6
45309 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45310 fi
45311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45312 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45313 if test "$wxUSE_OLE" = "yes" ; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_OLE 1
45316 _ACEOF
45317
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_OLE_AUTOMATION 1
45320 _ACEOF
45321
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_OLE_ACTIVEX 1
45324 _ACEOF
45325
45326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45327 fi
45328 fi
45329
45330 if test "$wxUSE_DATAOBJ" = "yes" ; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_DATAOBJ 1
45333 _ACEOF
45334
45335 fi
45336 else
45337 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45338 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45339
45340 wxUSE_CLIPBOARD=no
45341 wxUSE_DRAG_AND_DROP=no
45342 wxUSE_DATAOBJ=no
45343 wxUSE_OLE=no
45344 fi
45345
45346 if test "$wxUSE_METAFILE" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_METAFILE 1
45349 _ACEOF
45350
45351
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_ENH_METAFILE 1
45354 _ACEOF
45355
45356 fi
45357 fi
45358
45359 if test "$wxUSE_IPC" = "yes"; then
45360 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45361 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45362 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45363 wxUSE_IPC=no
45364 fi
45365
45366 if test "$wxUSE_IPC" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_IPC 1
45369 _ACEOF
45370
45371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45372 fi
45373 fi
45374
45375 if test "$wxUSE_DATAOBJ" = "yes"; then
45376 if test "$wxUSE_MGL" = 1; then
45377 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45378 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45379 wxUSE_DATAOBJ=no
45380 else
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_DATAOBJ 1
45383 _ACEOF
45384
45385 fi
45386 else
45387 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45388 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45389 wxUSE_CLIPBOARD=no
45390 wxUSE_DRAG_AND_DROP=no
45391 fi
45392
45393 if test "$wxUSE_CLIPBOARD" = "yes"; then
45394 if test "$wxUSE_MGL" = 1; then
45395 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45396 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45397 wxUSE_CLIPBOARD=no
45398 fi
45399
45400 if test "$wxUSE_CLIPBOARD" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_CLIPBOARD 1
45403 _ACEOF
45404
45405 fi
45406 fi
45407
45408 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45409 if test "$wxUSE_GTK" = 1; then
45410 if test "$WXGTK12" != 1; then
45411 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45412 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45413 wxUSE_DRAG_AND_DROP=no
45414 fi
45415 fi
45416
45417 if test "$wxUSE_MOTIF" = 1; then
45418 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45419 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45420 wxUSE_DRAG_AND_DROP=no
45421 fi
45422
45423 if test "$wxUSE_X11" = 1; then
45424 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45425 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45426 wxUSE_DRAG_AND_DROP=no
45427 fi
45428
45429 if test "$wxUSE_MGL" = 1; then
45430 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45431 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45432 wxUSE_DRAG_AND_DROP=no
45433 fi
45434
45435 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45436 cat >>confdefs.h <<\_ACEOF
45437 #define wxUSE_DRAG_AND_DROP 1
45438 _ACEOF
45439
45440 fi
45441
45442 fi
45443
45444 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45446 fi
45447
45448 if test "$wxUSE_SPLINES" = "yes" ; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_SPLINES 1
45451 _ACEOF
45452
45453 fi
45454
45455 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_MOUSEWHEEL 1
45458 _ACEOF
45459
45460 fi
45461
45462
45463 USES_CONTROLS=0
45464 if test "$wxUSE_CONTROLS" = "yes"; then
45465 USES_CONTROLS=1
45466 fi
45467
45468 if test "$wxUSE_ACCEL" = "yes"; then
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_ACCEL 1
45471 _ACEOF
45472
45473 USES_CONTROLS=1
45474 fi
45475
45476 if test "$wxUSE_BUTTON" = "yes"; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_BUTTON 1
45479 _ACEOF
45480
45481 USES_CONTROLS=1
45482 fi
45483
45484 if test "$wxUSE_BMPBUTTON" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_BMPBUTTON 1
45487 _ACEOF
45488
45489 USES_CONTROLS=1
45490 fi
45491
45492 if test "$wxUSE_CALCTRL" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_CALENDARCTRL 1
45495 _ACEOF
45496
45497 USES_CONTROLS=1
45498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45499 fi
45500
45501 if test "$wxUSE_CARET" = "yes"; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_CARET 1
45504 _ACEOF
45505
45506 USES_CONTROLS=1
45507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45508 fi
45509
45510 if test "$wxUSE_COMBOBOX" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_COMBOBOX 1
45513 _ACEOF
45514
45515 USES_CONTROLS=1
45516 fi
45517
45518 if test "$wxUSE_COMBOCTRL" = "yes"; then
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_COMBOCTRL 1
45521 _ACEOF
45522
45523 USES_CONTROLS=1
45524 fi
45525
45526 if test "$wxUSE_CHOICE" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_CHOICE 1
45529 _ACEOF
45530
45531 USES_CONTROLS=1
45532 fi
45533
45534 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_CHOICEBOOK 1
45537 _ACEOF
45538
45539 USES_CONTROLS=1
45540 fi
45541
45542 if test "$wxUSE_CHECKBOX" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_CHECKBOX 1
45545 _ACEOF
45546
45547 USES_CONTROLS=1
45548 fi
45549
45550 if test "$wxUSE_CHECKLST" = "yes"; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_CHECKLISTBOX 1
45553 _ACEOF
45554
45555 USES_CONTROLS=1
45556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45557 fi
45558
45559 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_COLOURPICKERCTRL 1
45562 _ACEOF
45563
45564 USES_CONTROLS=1
45565 fi
45566
45567 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_DATEPICKCTRL 1
45570 _ACEOF
45571
45572 USES_CONTROLS=1
45573 fi
45574
45575 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_DIRPICKERCTRL 1
45578 _ACEOF
45579
45580 USES_CONTROLS=1
45581 fi
45582
45583 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_FILEPICKERCTRL 1
45586 _ACEOF
45587
45588 USES_CONTROLS=1
45589 fi
45590
45591 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_FONTPICKERCTRL 1
45594 _ACEOF
45595
45596 USES_CONTROLS=1
45597 fi
45598
45599 if test "$wxUSE_DISPLAY" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_DISPLAY 1
45602 _ACEOF
45603
45604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45605 fi
45606
45607 if test "$wxUSE_GAUGE" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_GAUGE 1
45610 _ACEOF
45611
45612 USES_CONTROLS=1
45613 fi
45614
45615 if test "$wxUSE_GRID" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_GRID 1
45618 _ACEOF
45619
45620 USES_CONTROLS=1
45621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45622 fi
45623
45624 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_HYPERLINKCTRL 1
45627 _ACEOF
45628
45629 USES_CONTROLS=1
45630 fi
45631
45632 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_BITMAPCOMBOBOX 1
45635 _ACEOF
45636
45637 USES_CONTROLS=1
45638 fi
45639
45640 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_DATAVIEWCTRL 1
45643 _ACEOF
45644
45645 USES_CONTROLS=1
45646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45647 fi
45648
45649 if test "$wxUSE_IMAGLIST" = "yes"; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_IMAGLIST 1
45652 _ACEOF
45653
45654 fi
45655
45656 if test "$wxUSE_LISTBOOK" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_LISTBOOK 1
45659 _ACEOF
45660
45661 USES_CONTROLS=1
45662 fi
45663
45664 if test "$wxUSE_LISTBOX" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_LISTBOX 1
45667 _ACEOF
45668
45669 USES_CONTROLS=1
45670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45671 fi
45672
45673 if test "$wxUSE_LISTCTRL" = "yes"; then
45674 if test "$wxUSE_IMAGLIST" = "yes"; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_LISTCTRL 1
45677 _ACEOF
45678
45679 USES_CONTROLS=1
45680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45681 else
45682 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45683 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45684 fi
45685 fi
45686
45687 if test "$wxUSE_NOTEBOOK" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_NOTEBOOK 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45694 fi
45695
45696 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_ODCOMBOBOX 1
45699 _ACEOF
45700
45701 USES_CONTROLS=1
45702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45703 fi
45704
45705
45706 if test "$wxUSE_RADIOBOX" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_RADIOBOX 1
45709 _ACEOF
45710
45711 USES_CONTROLS=1
45712 fi
45713
45714 if test "$wxUSE_RADIOBTN" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_RADIOBTN 1
45717 _ACEOF
45718
45719 USES_CONTROLS=1
45720 fi
45721
45722 if test "$wxUSE_SASH" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_SASH 1
45725 _ACEOF
45726
45727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45728 fi
45729
45730 if test "$wxUSE_SCROLLBAR" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_SCROLLBAR 1
45733 _ACEOF
45734
45735 USES_CONTROLS=1
45736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45737 fi
45738
45739 if test "$wxUSE_SLIDER" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_SLIDER 1
45742 _ACEOF
45743
45744 USES_CONTROLS=1
45745 fi
45746
45747 if test "$wxUSE_SPINBTN" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_SPINBTN 1
45750 _ACEOF
45751
45752 USES_CONTROLS=1
45753 fi
45754
45755 if test "$wxUSE_SPINCTRL" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_SPINCTRL 1
45758 _ACEOF
45759
45760 USES_CONTROLS=1
45761 fi
45762
45763 if test "$wxUSE_SPLITTER" = "yes"; then
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_SPLITTER 1
45766 _ACEOF
45767
45768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45769 fi
45770
45771 if test "$wxUSE_STATBMP" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_STATBMP 1
45774 _ACEOF
45775
45776 USES_CONTROLS=1
45777 fi
45778
45779 if test "$wxUSE_STATBOX" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_STATBOX 1
45782 _ACEOF
45783
45784 USES_CONTROLS=1
45785 fi
45786
45787 if test "$wxUSE_STATTEXT" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_STATTEXT 1
45790 _ACEOF
45791
45792 USES_CONTROLS=1
45793 fi
45794
45795 if test "$wxUSE_STATLINE" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_STATLINE 1
45798 _ACEOF
45799
45800 USES_CONTROLS=1
45801 fi
45802
45803 if test "$wxUSE_STATUSBAR" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_NATIVE_STATUSBAR 1
45806 _ACEOF
45807
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_STATUSBAR 1
45810 _ACEOF
45811
45812 USES_CONTROLS=1
45813
45814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45815 fi
45816
45817 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_TAB_DIALOG 1
45820 _ACEOF
45821
45822 fi
45823
45824 if test "$wxUSE_TEXTCTRL" = "yes"; then
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_TEXTCTRL 1
45827 _ACEOF
45828
45829 USES_CONTROLS=1
45830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45831 fi
45832
45833 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45834 if test "$wxUSE_COCOA" = 1 ; then
45835 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45836 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45837 wxUSE_TOGGLEBTN=no
45838 fi
45839
45840 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_TOGGLEBTN 1
45843 _ACEOF
45844
45845 USES_CONTROLS=1
45846 fi
45847 fi
45848
45849 if test "$wxUSE_TOOLBAR" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_TOOLBAR 1
45852 _ACEOF
45853
45854 USES_CONTROLS=1
45855
45856 if test "$wxUSE_UNIVERSAL" = "yes"; then
45857 wxUSE_TOOLBAR_NATIVE="no"
45858 else
45859 wxUSE_TOOLBAR_NATIVE="yes"
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_TOOLBAR_NATIVE 1
45862 _ACEOF
45863
45864 fi
45865
45866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45867 fi
45868
45869 if test "$wxUSE_TOOLTIPS" = "yes"; then
45870 if test "$wxUSE_MOTIF" = 1; then
45871 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45872 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45873 else
45874 if test "$wxUSE_UNIVERSAL" = "yes"; then
45875 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45876 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45877 else
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_TOOLTIPS 1
45880 _ACEOF
45881
45882 fi
45883 fi
45884 fi
45885
45886 if test "$wxUSE_TREEBOOK" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_TREEBOOK 1
45889 _ACEOF
45890
45891 USES_CONTROLS=1
45892 fi
45893
45894 if test "$wxUSE_TOOLBOOK" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_TOOLBOOK 1
45897 _ACEOF
45898
45899 USES_CONTROLS=1
45900 fi
45901
45902 if test "$wxUSE_TREECTRL" = "yes"; then
45903 if test "$wxUSE_IMAGLIST" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_TREECTRL 1
45906 _ACEOF
45907
45908 USES_CONTROLS=1
45909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45910 else
45911 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45912 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45913 fi
45914 fi
45915
45916 if test "$wxUSE_POPUPWIN" = "yes"; then
45917 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45918 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45919 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45920 else
45921 if test "$wxUSE_PM" = 1; then
45922 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45923 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45924 else
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_POPUPWIN 1
45927 _ACEOF
45928
45929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45930
45931 USES_CONTROLS=1
45932 fi
45933 fi
45934 fi
45935
45936 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45937 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45938 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45939 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45940 else
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_DIALUP_MANAGER 1
45943 _ACEOF
45944
45945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45946 fi
45947 fi
45948
45949 if test "$wxUSE_TIPWINDOW" = "yes"; then
45950 if test "$wxUSE_PM" = 1; then
45951 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45952 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45953 else
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_TIPWINDOW 1
45956 _ACEOF
45957
45958 fi
45959 fi
45960
45961 if test "$USES_CONTROLS" = 1; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_CONTROLS 1
45964 _ACEOF
45965
45966 fi
45967
45968
45969 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_ACCESSIBILITY 1
45972 _ACEOF
45973
45974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45975 fi
45976
45977 if test "$wxUSE_DC_CACHEING" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_DC_CACHEING 1
45980 _ACEOF
45981
45982 fi
45983
45984 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_DRAGIMAGE 1
45987 _ACEOF
45988
45989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45990 fi
45991
45992 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45993 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45994 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45995 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45996 else
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_EXCEPTIONS 1
45999 _ACEOF
46000
46001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46002 fi
46003 fi
46004
46005 USE_HTML=0
46006 if test "$wxUSE_HTML" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_HTML 1
46009 _ACEOF
46010
46011 USE_HTML=1
46012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46013 if test "$wxUSE_MAC" = 1; then
46014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46015 fi
46016 fi
46017 if test "$wxUSE_WEBKIT" = "yes"; then
46018 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46019 old_CPPFLAGS="$CPPFLAGS"
46020 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46021 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46022 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46023 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46024 echo $ECHO_N "(cached) $ECHO_C" >&6
46025 else
46026 cat >conftest.$ac_ext <<_ACEOF
46027 /* confdefs.h. */
46028 _ACEOF
46029 cat confdefs.h >>conftest.$ac_ext
46030 cat >>conftest.$ac_ext <<_ACEOF
46031 /* end confdefs.h. */
46032 #include <Carbon/Carbon.h>
46033
46034 #include <WebKit/HIWebView.h>
46035 _ACEOF
46036 rm -f conftest.$ac_objext
46037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46038 (eval $ac_compile) 2>conftest.er1
46039 ac_status=$?
46040 grep -v '^ *+' conftest.er1 >conftest.err
46041 rm -f conftest.er1
46042 cat conftest.err >&5
46043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46044 (exit $ac_status); } &&
46045 { ac_try='test -z "$ac_cxx_werror_flag"
46046 || test ! -s conftest.err'
46047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46048 (eval $ac_try) 2>&5
46049 ac_status=$?
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); }; } &&
46052 { ac_try='test -s conftest.$ac_objext'
46053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46054 (eval $ac_try) 2>&5
46055 ac_status=$?
46056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46057 (exit $ac_status); }; }; then
46058 ac_cv_header_WebKit_HIWebView_h=yes
46059 else
46060 echo "$as_me: failed program was:" >&5
46061 sed 's/^/| /' conftest.$ac_ext >&5
46062
46063 ac_cv_header_WebKit_HIWebView_h=no
46064 fi
46065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46066 fi
46067 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46068 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46069 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46070
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_WEBKIT 1
46073 _ACEOF
46074
46075 WEBKIT_LINK="-framework WebKit"
46076
46077 else
46078
46079 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46080 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46081 wxUSE_WEBKIT=no
46082
46083 fi
46084
46085
46086 CPPFLAGS="$old_CPPFLAGS"
46087 elif test "$wxUSE_COCOA" = 1; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_WEBKIT 1
46090 _ACEOF
46091
46092 else
46093 wxUSE_WEBKIT=no
46094 fi
46095 fi
46096
46097 USE_XRC=0
46098 if test "$wxUSE_XRC" = "yes"; then
46099 if test "$wxUSE_XML" != "yes"; then
46100 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46101 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46102 wxUSE_XRC=no
46103 else
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_XRC 1
46106 _ACEOF
46107
46108 USE_XRC=1
46109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46110 fi
46111 fi
46112
46113 USE_AUI=0
46114 if test "$wxUSE_AUI" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_AUI 1
46117 _ACEOF
46118
46119 USE_AUI=1
46120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46121 fi
46122
46123 if test "$wxUSE_MENUS" = "yes"; then
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_MENUS 1
46126 _ACEOF
46127
46128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46129 fi
46130
46131 if test "$wxUSE_METAFILE" = "yes"; then
46132 cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_METAFILE 1
46134 _ACEOF
46135
46136 fi
46137
46138 if test "$wxUSE_MIMETYPE" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_MIMETYPE 1
46141 _ACEOF
46142
46143 fi
46144
46145 if test "$wxUSE_MINIFRAME" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_MINIFRAME 1
46148 _ACEOF
46149
46150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46151 fi
46152
46153 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_SYSTEM_OPTIONS 1
46156 _ACEOF
46157
46158 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46159 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46161 fi
46162 fi
46163
46164
46165 if test "$wxUSE_VALIDATORS" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_VALIDATORS 1
46168 _ACEOF
46169
46170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46171 fi
46172
46173 if test "$wxUSE_PALETTE" = "yes" ; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_PALETTE 1
46176 _ACEOF
46177
46178 fi
46179
46180 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46181 LIBS=" -lunicows $LIBS"
46182 fi
46183
46184 USE_RICHTEXT=0
46185 if test "$wxUSE_RICHTEXT" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_RICHTEXT 1
46188 _ACEOF
46189
46190 USE_RICHTEXT=1
46191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46192 fi
46193
46194 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_GRAPHICS_CONTEXT 1
46197 _ACEOF
46198
46199 fi
46200
46201
46202 if test "$wxUSE_IMAGE" = "yes" ; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_IMAGE 1
46205 _ACEOF
46206
46207
46208 if test "$wxUSE_GIF" = "yes" ; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_GIF 1
46211 _ACEOF
46212
46213 fi
46214
46215 if test "$wxUSE_PCX" = "yes" ; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_PCX 1
46218 _ACEOF
46219
46220 fi
46221
46222 if test "$wxUSE_IFF" = "yes" ; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_IFF 1
46225 _ACEOF
46226
46227 fi
46228
46229 if test "$wxUSE_PNM" = "yes" ; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_PNM 1
46232 _ACEOF
46233
46234 fi
46235
46236 if test "$wxUSE_XPM" = "yes" ; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_XPM 1
46239 _ACEOF
46240
46241 fi
46242
46243 if test "$wxUSE_ICO_CUR" = "yes" ; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_ICO_CUR 1
46246 _ACEOF
46247
46248 fi
46249 fi
46250
46251
46252 if test "$wxUSE_ABOUTDLG" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_ABOUTDLG 1
46255 _ACEOF
46256
46257 fi
46258
46259 if test "$wxUSE_CHOICEDLG" = "yes"; then
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_CHOICEDLG 1
46262 _ACEOF
46263
46264 fi
46265
46266 if test "$wxUSE_COLOURDLG" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_COLOURDLG 1
46269 _ACEOF
46270
46271 fi
46272
46273 if test "$wxUSE_FILEDLG" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_FILEDLG 1
46276 _ACEOF
46277
46278 fi
46279
46280 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_FINDREPLDLG 1
46283 _ACEOF
46284
46285 fi
46286
46287 if test "$wxUSE_FONTDLG" = "yes"; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_FONTDLG 1
46290 _ACEOF
46291
46292 fi
46293
46294 if test "$wxUSE_DIRDLG" = "yes"; then
46295 if test "$wxUSE_TREECTRL" != "yes"; then
46296 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46297 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46298 else
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_DIRDLG 1
46301 _ACEOF
46302
46303 fi
46304 fi
46305
46306 if test "$wxUSE_MSGDLG" = "yes"; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_MSGDLG 1
46309 _ACEOF
46310
46311 fi
46312
46313 if test "$wxUSE_NUMBERDLG" = "yes"; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_NUMBERDLG 1
46316 _ACEOF
46317
46318 fi
46319
46320 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46321 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46322 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46323 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46324 else
46325 cat >>confdefs.h <<\_ACEOF
46326 #define wxUSE_PROGRESSDLG 1
46327 _ACEOF
46328
46329 fi
46330 fi
46331
46332 if test "$wxUSE_SPLASH" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_SPLASH 1
46335 _ACEOF
46336
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46338 fi
46339
46340 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46341 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46342 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46343 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46344 else
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_STARTUP_TIPS 1
46347 _ACEOF
46348
46349 fi
46350 fi
46351
46352 if test "$wxUSE_TEXTDLG" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_TEXTDLG 1
46355 _ACEOF
46356
46357 fi
46358
46359 if test "$wxUSE_WIZARDDLG" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_WIZARDDLG 1
46362 _ACEOF
46363
46364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46365 fi
46366
46367
46368 USE_MEDIA=0
46369
46370 if test "$wxUSE_MEDIACTRL" = "yes"; then
46371 USE_MEDIA=1
46372
46373 if test "$wxUSE_GTK" = 1; then
46374 wxUSE_GSTREAMER="no"
46375
46376 GST_VERSION_MAJOR=0
46377 GST_VERSION_MINOR=10
46378 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46379
46380 if test "$wxUSE_GSTREAMER8" = "no"; then
46381
46382 pkg_failed=no
46383 echo "$as_me:$LINENO: checking for GST" >&5
46384 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46385
46386 if test -n "$PKG_CONFIG"; then
46387 if test -n "$GST_CFLAGS"; then
46388 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46389 else
46390 if test -n "$PKG_CONFIG" && \
46391 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46392 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46393 ac_status=$?
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); }; then
46396 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46397 else
46398 pkg_failed=yes
46399 fi
46400 fi
46401 else
46402 pkg_failed=untried
46403 fi
46404 if test -n "$PKG_CONFIG"; then
46405 if test -n "$GST_LIBS"; then
46406 pkg_cv_GST_LIBS="$GST_LIBS"
46407 else
46408 if test -n "$PKG_CONFIG" && \
46409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46410 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46411 ac_status=$?
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); }; then
46414 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46415 else
46416 pkg_failed=yes
46417 fi
46418 fi
46419 else
46420 pkg_failed=untried
46421 fi
46422
46423
46424
46425 if test $pkg_failed = yes; then
46426
46427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46428 _pkg_short_errors_supported=yes
46429 else
46430 _pkg_short_errors_supported=no
46431 fi
46432 if test $_pkg_short_errors_supported = yes; then
46433 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46434 else
46435 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46436 fi
46437 # Put the nasty error message in config.log where it belongs
46438 echo "$GST_PKG_ERRORS" >&5
46439
46440
46441 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46442 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46443 GST_VERSION_MINOR=8
46444
46445
46446 elif test $pkg_failed = untried; then
46447
46448 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46449 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46450 GST_VERSION_MINOR=8
46451
46452
46453 else
46454 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46455 GST_LIBS=$pkg_cv_GST_LIBS
46456 echo "$as_me:$LINENO: result: yes" >&5
46457 echo "${ECHO_T}yes" >&6
46458
46459 wxUSE_GSTREAMER="yes"
46460 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46461
46462 fi
46463 else
46464 GST_VERSION_MINOR=8
46465 fi
46466
46467 if test $GST_VERSION_MINOR = "8"; then
46468 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46469
46470 pkg_failed=no
46471 echo "$as_me:$LINENO: checking for GST" >&5
46472 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46473
46474 if test -n "$PKG_CONFIG"; then
46475 if test -n "$GST_CFLAGS"; then
46476 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46477 else
46478 if test -n "$PKG_CONFIG" && \
46479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46480 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46481 ac_status=$?
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; then
46484 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46485 else
46486 pkg_failed=yes
46487 fi
46488 fi
46489 else
46490 pkg_failed=untried
46491 fi
46492 if test -n "$PKG_CONFIG"; then
46493 if test -n "$GST_LIBS"; then
46494 pkg_cv_GST_LIBS="$GST_LIBS"
46495 else
46496 if test -n "$PKG_CONFIG" && \
46497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46498 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46499 ac_status=$?
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); }; then
46502 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46503 else
46504 pkg_failed=yes
46505 fi
46506 fi
46507 else
46508 pkg_failed=untried
46509 fi
46510
46511
46512
46513 if test $pkg_failed = yes; then
46514
46515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46516 _pkg_short_errors_supported=yes
46517 else
46518 _pkg_short_errors_supported=no
46519 fi
46520 if test $_pkg_short_errors_supported = yes; then
46521 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46522 else
46523 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46524 fi
46525 # Put the nasty error message in config.log where it belongs
46526 echo "$GST_PKG_ERRORS" >&5
46527
46528
46529 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46530 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46531
46532 elif test $pkg_failed = untried; then
46533
46534 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46535 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46536
46537 else
46538 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46539 GST_LIBS=$pkg_cv_GST_LIBS
46540 echo "$as_me:$LINENO: result: yes" >&5
46541 echo "${ECHO_T}yes" >&6
46542 wxUSE_GSTREAMER="yes"
46543 fi
46544 fi
46545
46546
46547 if test "$wxUSE_GSTREAMER" = "yes"; then
46548 case "${host}" in
46549 *-*-solaris2* )
46550 if "$GCC" = yes; then
46551 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46552 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46553 fi
46554 esac
46555
46556 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46557 LIBS="$GST_LIBS $LIBS"
46558
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_GSTREAMER 1
46561 _ACEOF
46562
46563 else
46564 USE_MEDIA=0
46565 fi
46566 fi
46567
46568 if test $USE_MEDIA = 1; then
46569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_MEDIACTRL 1
46572 _ACEOF
46573
46574 fi
46575 fi
46576
46577
46578 if test "$cross_compiling" = "yes"; then
46579 OSINFO="\"$host\""
46580 else
46581 OSINFO=`uname -s -r -m`
46582 OSINFO="\"$OSINFO\""
46583 fi
46584
46585 cat >>confdefs.h <<_ACEOF
46586 #define WXWIN_OS_DESCRIPTION $OSINFO
46587 _ACEOF
46588
46589
46590
46591 if test "x$prefix" != "xNONE"; then
46592 wxPREFIX=$prefix
46593 else
46594 wxPREFIX=$ac_default_prefix
46595 fi
46596
46597 cat >>confdefs.h <<_ACEOF
46598 #define wxINSTALL_PREFIX "$wxPREFIX"
46599 _ACEOF
46600
46601
46602
46603
46604 CORE_BASE_LIBS="net base"
46605 CORE_GUI_LIBS="adv core"
46606
46607 if test "$wxUSE_XML" = "yes" ; then
46608 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46609 fi
46610 if test "$wxUSE_ODBC" != "no" ; then
46611 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46612 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46613 fi
46614 if test "$wxUSE_HTML" = "yes" ; then
46615 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46616 fi
46617 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46618 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46619 fi
46620 if test "$wxUSE_XRC" = "yes" ; then
46621 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46622 fi
46623 if test "$wxUSE_AUI" = "yes" ; then
46624 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46625 fi
46626
46627 if test "$wxUSE_GUI" != "yes"; then
46628 CORE_GUI_LIBS=""
46629 fi
46630
46631
46632
46633
46634
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640
46641
46642
46643 if test "$wxUSE_MAC" = 1 ; then
46644 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46645 if test "$USE_DARWIN" = 1; then
46646 LDFLAGS="$LDFLAGS -framework QuickTime"
46647 else
46648 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46649 fi
46650 fi
46651 if test "$USE_DARWIN" = 1; then
46652 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46653 else
46654 LDFLAGS="$LDFLAGS -lCarbonLib"
46655 fi
46656 fi
46657 if test "$wxUSE_COCOA" = 1 ; then
46658 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46659 if test "$wxUSE_MEDIACTRL" = "yes"; then
46660 LDFLAGS="$LDFLAGS -framework QuickTime"
46661 fi
46662 fi
46663 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46664 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46665 fi
46666
46667 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46668
46669 if test "$wxUSE_GUI" = "yes"; then
46670
46671
46672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46673 dynamic erase event exec font image minimal mobile \
46674 mobile/wxedit mobile/styles propsize render \
46675 rotate shaped vscroll widgets"
46676
46677 if test "$wxUSE_MONOLITHIC" != "yes"; then
46678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46679 fi
46680 if test "$TOOLKIT" = "MSW"; then
46681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46682 if test "$wxUSE_UNIVERSAL" != "yes"; then
46683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46684 fi
46685 fi
46686 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46688 fi
46689 else
46690 SAMPLES_SUBDIRS="console"
46691 fi
46692
46693
46694 if test "x$INTELCC" = "xyes" ; then
46695 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46696 elif test "$GCC" = yes ; then
46697 CWARNINGS="-Wall -Wundef"
46698 fi
46699
46700 if test "x$INTELCXX" = "xyes" ; then
46701 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46702 elif test "$GXX" = yes ; then
46703 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46704 fi
46705
46706
46707 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46708 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46709
46710
46711 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46712 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46713 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46714 $CPPFLAGS `
46715
46716 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46717 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46718 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46719
46720 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46721
46722
46723 if test "x$MWCC" = "xyes"; then
46724
46725 CC="$CC -cwd source -I-"
46726 CXX="$CXX -cwd source -I-"
46727 fi
46728
46729
46730 LIBS=`echo $LIBS`
46731 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46732 EXTRALIBS_XML="$EXPAT_LINK"
46733 EXTRALIBS_HTML="$MSPACK_LINK"
46734 EXTRALIBS_ODBC="$ODBC_LINK"
46735 if test "$wxUSE_GUI" = "yes"; then
46736 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46737 fi
46738 if test "$wxUSE_OPENGL" = "yes"; then
46739 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46740 fi
46741
46742 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46743
46744 WXCONFIG_LIBS="$LIBS"
46745
46746 if test "$wxUSE_REGEX" = "builtin" ; then
46747 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46748 fi
46749 if test "$wxUSE_EXPAT" = "builtin" ; then
46750 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46751 fi
46752 if test "$wxUSE_ODBC" = "builtin" ; then
46753 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46754 fi
46755 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46756 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46757 fi
46758 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46759 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46760 fi
46761 if test "$wxUSE_LIBPNG" = "builtin" ; then
46762 wxconfig_3rdparty="png $wxconfig_3rdparty"
46763 fi
46764 if test "$wxUSE_ZLIB" = "builtin" ; then
46765 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46766 fi
46767
46768 for i in $wxconfig_3rdparty ; do
46769 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46770 done
46771
46772
46773 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46774 WXUNIV=1
46775
46776 case "$wxUNIV_THEMES" in
46777 ''|all)
46778 cat >>confdefs.h <<\_ACEOF
46779 #define wxUSE_ALL_THEMES 1
46780 _ACEOF
46781
46782 ;;
46783
46784 *)
46785 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46786 cat >>confdefs.h <<_ACEOF
46787 #define wxUSE_THEME_$t 1
46788 _ACEOF
46789
46790 done
46791 esac
46792 else
46793 WXUNIV=0
46794 fi
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804 if test $wxUSE_MONOLITHIC = "yes" ; then
46805 MONOLITHIC=1
46806 else
46807 MONOLITHIC=0
46808 fi
46809
46810 if test $wxUSE_PLUGINS = "yes" ; then
46811 USE_PLUGINS=1
46812 else
46813 USE_PLUGINS=0
46814 fi
46815
46816 if test $wxUSE_ODBC != "no" ; then
46817 USE_ODBC=1
46818 else
46819 USE_ODBC=0
46820 fi
46821
46822 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46823 USE_QA=1
46824 else
46825 USE_QA=0
46826 fi
46827
46828 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46829 OFFICIAL_BUILD=1
46830 else
46831 OFFICIAL_BUILD=0
46832 fi
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46859
46860
46861
46862
46863
46864
46865
46866
46867 case "$TOOLKIT" in
46868 GTK)
46869 TOOLKIT_DESC="GTK+"
46870 if test "$WXGTK20" = 1; then
46871 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46872 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46873 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46874 fi
46875 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46876 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46877 fi
46878 if test "$wxUSE_LIBHILDON" = "yes"; then
46879 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46880 fi
46881
46882 if test "$TOOLKIT_EXTRA" != ""; then
46883 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46884 fi
46885 fi
46886 ;;
46887
46888 ?*)
46889 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46890 ;;
46891
46892 *)
46893 TOOLKIT_DESC="base only"
46894 ;;
46895 esac
46896
46897 if test "$wxUSE_WINE" = "yes"; then
46898 BAKEFILE_FORCE_PLATFORM=win32
46899 fi
46900
46901 if test "$wxUSE_MAC" = 1 ; then
46902 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46903 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46904 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46905 else
46906 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46907 fi
46908 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46909 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46910 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46911 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46912 bk_use_pch=no
46913 fi
46914 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46915 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46916 fi
46917
46918
46919
46920
46921 if test "x$BAKEFILE_HOST" = "x"; then
46922 if test "x${host}" = "x" ; then
46923 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46924 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46925 { (exit 1); exit 1; }; }
46926 fi
46927
46928 BAKEFILE_HOST="${host}"
46929 fi
46930
46931 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46932
46933 if test -n "$ac_tool_prefix"; then
46934 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46935 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46936 echo "$as_me:$LINENO: checking for $ac_word" >&5
46937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46938 if test "${ac_cv_prog_RANLIB+set}" = set; then
46939 echo $ECHO_N "(cached) $ECHO_C" >&6
46940 else
46941 if test -n "$RANLIB"; then
46942 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46943 else
46944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46945 for as_dir in $PATH
46946 do
46947 IFS=$as_save_IFS
46948 test -z "$as_dir" && as_dir=.
46949 for ac_exec_ext in '' $ac_executable_extensions; do
46950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46951 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46953 break 2
46954 fi
46955 done
46956 done
46957
46958 fi
46959 fi
46960 RANLIB=$ac_cv_prog_RANLIB
46961 if test -n "$RANLIB"; then
46962 echo "$as_me:$LINENO: result: $RANLIB" >&5
46963 echo "${ECHO_T}$RANLIB" >&6
46964 else
46965 echo "$as_me:$LINENO: result: no" >&5
46966 echo "${ECHO_T}no" >&6
46967 fi
46968
46969 fi
46970 if test -z "$ac_cv_prog_RANLIB"; then
46971 ac_ct_RANLIB=$RANLIB
46972 # Extract the first word of "ranlib", so it can be a program name with args.
46973 set dummy ranlib; ac_word=$2
46974 echo "$as_me:$LINENO: checking for $ac_word" >&5
46975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46976 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46977 echo $ECHO_N "(cached) $ECHO_C" >&6
46978 else
46979 if test -n "$ac_ct_RANLIB"; then
46980 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46981 else
46982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46983 for as_dir in $PATH
46984 do
46985 IFS=$as_save_IFS
46986 test -z "$as_dir" && as_dir=.
46987 for ac_exec_ext in '' $ac_executable_extensions; do
46988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46989 ac_cv_prog_ac_ct_RANLIB="ranlib"
46990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46991 break 2
46992 fi
46993 done
46994 done
46995
46996 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46997 fi
46998 fi
46999 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47000 if test -n "$ac_ct_RANLIB"; then
47001 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47002 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47003 else
47004 echo "$as_me:$LINENO: result: no" >&5
47005 echo "${ECHO_T}no" >&6
47006 fi
47007
47008 RANLIB=$ac_ct_RANLIB
47009 else
47010 RANLIB="$ac_cv_prog_RANLIB"
47011 fi
47012
47013 # Find a good install program. We prefer a C program (faster),
47014 # so one script is as good as another. But avoid the broken or
47015 # incompatible versions:
47016 # SysV /etc/install, /usr/sbin/install
47017 # SunOS /usr/etc/install
47018 # IRIX /sbin/install
47019 # AIX /bin/install
47020 # AmigaOS /C/install, which installs bootblocks on floppy discs
47021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47024 # OS/2's system install, which has a completely different semantic
47025 # ./install, which can be erroneously created by make from ./install.sh.
47026 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47028 if test -z "$INSTALL"; then
47029 if test "${ac_cv_path_install+set}" = set; then
47030 echo $ECHO_N "(cached) $ECHO_C" >&6
47031 else
47032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47033 for as_dir in $PATH
47034 do
47035 IFS=$as_save_IFS
47036 test -z "$as_dir" && as_dir=.
47037 # Account for people who put trailing slashes in PATH elements.
47038 case $as_dir/ in
47039 ./ | .// | /cC/* | \
47040 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47041 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47042 /usr/ucb/* ) ;;
47043 *)
47044 # OSF1 and SCO ODT 3.0 have their own names for install.
47045 # Don't use installbsd from OSF since it installs stuff as root
47046 # by default.
47047 for ac_prog in ginstall scoinst install; do
47048 for ac_exec_ext in '' $ac_executable_extensions; do
47049 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47050 if test $ac_prog = install &&
47051 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47052 # AIX install. It has an incompatible calling convention.
47053 :
47054 elif test $ac_prog = install &&
47055 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47056 # program-specific install script used by HP pwplus--don't use.
47057 :
47058 else
47059 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47060 break 3
47061 fi
47062 fi
47063 done
47064 done
47065 ;;
47066 esac
47067 done
47068
47069
47070 fi
47071 if test "${ac_cv_path_install+set}" = set; then
47072 INSTALL=$ac_cv_path_install
47073 else
47074 # As a last resort, use the slow shell script. We don't cache a
47075 # path for INSTALL within a source directory, because that will
47076 # break other packages using the cache if that directory is
47077 # removed, or if the path is relative.
47078 INSTALL=$ac_install_sh
47079 fi
47080 fi
47081 echo "$as_me:$LINENO: result: $INSTALL" >&5
47082 echo "${ECHO_T}$INSTALL" >&6
47083
47084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47085 # It thinks the first close brace ends the variable substitution.
47086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47087
47088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47089
47090 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47091
47092 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47093 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47094 LN_S=$as_ln_s
47095 if test "$LN_S" = "ln -s"; then
47096 echo "$as_me:$LINENO: result: yes" >&5
47097 echo "${ECHO_T}yes" >&6
47098 else
47099 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47100 echo "${ECHO_T}no, using $LN_S" >&6
47101 fi
47102
47103
47104 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47105 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47106 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47107 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47108 echo $ECHO_N "(cached) $ECHO_C" >&6
47109 else
47110 cat >conftest.make <<\_ACEOF
47111 all:
47112 @echo 'ac_maketemp="$(MAKE)"'
47113 _ACEOF
47114 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47115 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47116 if test -n "$ac_maketemp"; then
47117 eval ac_cv_prog_make_${ac_make}_set=yes
47118 else
47119 eval ac_cv_prog_make_${ac_make}_set=no
47120 fi
47121 rm -f conftest.make
47122 fi
47123 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47124 echo "$as_me:$LINENO: result: yes" >&5
47125 echo "${ECHO_T}yes" >&6
47126 SET_MAKE=
47127 else
47128 echo "$as_me:$LINENO: result: no" >&5
47129 echo "${ECHO_T}no" >&6
47130 SET_MAKE="MAKE=${MAKE-make}"
47131 fi
47132
47133
47134
47135 if test -n "$ac_tool_prefix"; then
47136 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47137 set dummy ${ac_tool_prefix}ar; ac_word=$2
47138 echo "$as_me:$LINENO: checking for $ac_word" >&5
47139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47140 if test "${ac_cv_prog_AR+set}" = set; then
47141 echo $ECHO_N "(cached) $ECHO_C" >&6
47142 else
47143 if test -n "$AR"; then
47144 ac_cv_prog_AR="$AR" # Let the user override the test.
47145 else
47146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47147 for as_dir in $PATH
47148 do
47149 IFS=$as_save_IFS
47150 test -z "$as_dir" && as_dir=.
47151 for ac_exec_ext in '' $ac_executable_extensions; do
47152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47153 ac_cv_prog_AR="${ac_tool_prefix}ar"
47154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47155 break 2
47156 fi
47157 done
47158 done
47159
47160 fi
47161 fi
47162 AR=$ac_cv_prog_AR
47163 if test -n "$AR"; then
47164 echo "$as_me:$LINENO: result: $AR" >&5
47165 echo "${ECHO_T}$AR" >&6
47166 else
47167 echo "$as_me:$LINENO: result: no" >&5
47168 echo "${ECHO_T}no" >&6
47169 fi
47170
47171 fi
47172 if test -z "$ac_cv_prog_AR"; then
47173 ac_ct_AR=$AR
47174 # Extract the first word of "ar", so it can be a program name with args.
47175 set dummy ar; ac_word=$2
47176 echo "$as_me:$LINENO: checking for $ac_word" >&5
47177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47178 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47179 echo $ECHO_N "(cached) $ECHO_C" >&6
47180 else
47181 if test -n "$ac_ct_AR"; then
47182 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47183 else
47184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47185 for as_dir in $PATH
47186 do
47187 IFS=$as_save_IFS
47188 test -z "$as_dir" && as_dir=.
47189 for ac_exec_ext in '' $ac_executable_extensions; do
47190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47191 ac_cv_prog_ac_ct_AR="ar"
47192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47193 break 2
47194 fi
47195 done
47196 done
47197
47198 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47199 fi
47200 fi
47201 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47202 if test -n "$ac_ct_AR"; then
47203 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47204 echo "${ECHO_T}$ac_ct_AR" >&6
47205 else
47206 echo "$as_me:$LINENO: result: no" >&5
47207 echo "${ECHO_T}no" >&6
47208 fi
47209
47210 AR=$ac_ct_AR
47211 else
47212 AR="$ac_cv_prog_AR"
47213 fi
47214
47215 if test -n "$ac_tool_prefix"; then
47216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47217 set dummy ${ac_tool_prefix}strip; ac_word=$2
47218 echo "$as_me:$LINENO: checking for $ac_word" >&5
47219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47220 if test "${ac_cv_prog_STRIP+set}" = set; then
47221 echo $ECHO_N "(cached) $ECHO_C" >&6
47222 else
47223 if test -n "$STRIP"; then
47224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47225 else
47226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47227 for as_dir in $PATH
47228 do
47229 IFS=$as_save_IFS
47230 test -z "$as_dir" && as_dir=.
47231 for ac_exec_ext in '' $ac_executable_extensions; do
47232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47235 break 2
47236 fi
47237 done
47238 done
47239
47240 fi
47241 fi
47242 STRIP=$ac_cv_prog_STRIP
47243 if test -n "$STRIP"; then
47244 echo "$as_me:$LINENO: result: $STRIP" >&5
47245 echo "${ECHO_T}$STRIP" >&6
47246 else
47247 echo "$as_me:$LINENO: result: no" >&5
47248 echo "${ECHO_T}no" >&6
47249 fi
47250
47251 fi
47252 if test -z "$ac_cv_prog_STRIP"; then
47253 ac_ct_STRIP=$STRIP
47254 # Extract the first word of "strip", so it can be a program name with args.
47255 set dummy strip; ac_word=$2
47256 echo "$as_me:$LINENO: checking for $ac_word" >&5
47257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47259 echo $ECHO_N "(cached) $ECHO_C" >&6
47260 else
47261 if test -n "$ac_ct_STRIP"; then
47262 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47263 else
47264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47265 for as_dir in $PATH
47266 do
47267 IFS=$as_save_IFS
47268 test -z "$as_dir" && as_dir=.
47269 for ac_exec_ext in '' $ac_executable_extensions; do
47270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47271 ac_cv_prog_ac_ct_STRIP="strip"
47272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47273 break 2
47274 fi
47275 done
47276 done
47277
47278 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47279 fi
47280 fi
47281 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47282 if test -n "$ac_ct_STRIP"; then
47283 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47284 echo "${ECHO_T}$ac_ct_STRIP" >&6
47285 else
47286 echo "$as_me:$LINENO: result: no" >&5
47287 echo "${ECHO_T}no" >&6
47288 fi
47289
47290 STRIP=$ac_ct_STRIP
47291 else
47292 STRIP="$ac_cv_prog_STRIP"
47293 fi
47294
47295 if test -n "$ac_tool_prefix"; then
47296 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47297 set dummy ${ac_tool_prefix}nm; ac_word=$2
47298 echo "$as_me:$LINENO: checking for $ac_word" >&5
47299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47300 if test "${ac_cv_prog_NM+set}" = set; then
47301 echo $ECHO_N "(cached) $ECHO_C" >&6
47302 else
47303 if test -n "$NM"; then
47304 ac_cv_prog_NM="$NM" # Let the user override the test.
47305 else
47306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47307 for as_dir in $PATH
47308 do
47309 IFS=$as_save_IFS
47310 test -z "$as_dir" && as_dir=.
47311 for ac_exec_ext in '' $ac_executable_extensions; do
47312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47313 ac_cv_prog_NM="${ac_tool_prefix}nm"
47314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47315 break 2
47316 fi
47317 done
47318 done
47319
47320 fi
47321 fi
47322 NM=$ac_cv_prog_NM
47323 if test -n "$NM"; then
47324 echo "$as_me:$LINENO: result: $NM" >&5
47325 echo "${ECHO_T}$NM" >&6
47326 else
47327 echo "$as_me:$LINENO: result: no" >&5
47328 echo "${ECHO_T}no" >&6
47329 fi
47330
47331 fi
47332 if test -z "$ac_cv_prog_NM"; then
47333 ac_ct_NM=$NM
47334 # Extract the first word of "nm", so it can be a program name with args.
47335 set dummy nm; ac_word=$2
47336 echo "$as_me:$LINENO: checking for $ac_word" >&5
47337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47338 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47339 echo $ECHO_N "(cached) $ECHO_C" >&6
47340 else
47341 if test -n "$ac_ct_NM"; then
47342 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47343 else
47344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47345 for as_dir in $PATH
47346 do
47347 IFS=$as_save_IFS
47348 test -z "$as_dir" && as_dir=.
47349 for ac_exec_ext in '' $ac_executable_extensions; do
47350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47351 ac_cv_prog_ac_ct_NM="nm"
47352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47353 break 2
47354 fi
47355 done
47356 done
47357
47358 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47359 fi
47360 fi
47361 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47362 if test -n "$ac_ct_NM"; then
47363 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47364 echo "${ECHO_T}$ac_ct_NM" >&6
47365 else
47366 echo "$as_me:$LINENO: result: no" >&5
47367 echo "${ECHO_T}no" >&6
47368 fi
47369
47370 NM=$ac_ct_NM
47371 else
47372 NM="$ac_cv_prog_NM"
47373 fi
47374
47375
47376 case ${BAKEFILE_HOST} in
47377 *-hp-hpux* )
47378 INSTALL_DIR="mkdir -p"
47379 ;;
47380 *) INSTALL_DIR="$INSTALL -d"
47381 ;;
47382 esac
47383
47384
47385 LDFLAGS_GUI=
47386 case ${BAKEFILE_HOST} in
47387 *-*-cygwin* | *-*-mingw32* )
47388 LDFLAGS_GUI="-mwindows"
47389 esac
47390
47391
47392 fi
47393
47394 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47395 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47396 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47397 echo $ECHO_N "(cached) $ECHO_C" >&6
47398 else
47399
47400 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47401 egrep -s GNU > /dev/null); then
47402 bakefile_cv_prog_makeisgnu="yes"
47403 else
47404 bakefile_cv_prog_makeisgnu="no"
47405 fi
47406
47407 fi
47408 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47409 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47410
47411 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47412 IF_GNU_MAKE=""
47413 else
47414 IF_GNU_MAKE="#"
47415 fi
47416
47417
47418
47419 PLATFORM_UNIX=0
47420 PLATFORM_WIN32=0
47421 PLATFORM_MSDOS=0
47422 PLATFORM_MAC=0
47423 PLATFORM_MACOS=0
47424 PLATFORM_MACOSX=0
47425 PLATFORM_OS2=0
47426 PLATFORM_BEOS=0
47427
47428 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47429 case "${BAKEFILE_HOST}" in
47430 *-*-mingw32* )
47431 PLATFORM_WIN32=1
47432 ;;
47433 *-pc-msdosdjgpp )
47434 PLATFORM_MSDOS=1
47435 ;;
47436 *-pc-os2_emx | *-pc-os2-emx )
47437 PLATFORM_OS2=1
47438 ;;
47439 *-*-darwin* )
47440 PLATFORM_MAC=1
47441 PLATFORM_MACOSX=1
47442 ;;
47443 *-*-beos* )
47444 PLATFORM_BEOS=1
47445 ;;
47446 powerpc-apple-macos* )
47447 PLATFORM_MAC=1
47448 PLATFORM_MACOS=1
47449 ;;
47450 * )
47451 PLATFORM_UNIX=1
47452 ;;
47453 esac
47454 else
47455 case "$BAKEFILE_FORCE_PLATFORM" in
47456 win32 )
47457 PLATFORM_WIN32=1
47458 ;;
47459 msdos )
47460 PLATFORM_MSDOS=1
47461 ;;
47462 os2 )
47463 PLATFORM_OS2=1
47464 ;;
47465 darwin )
47466 PLATFORM_MAC=1
47467 PLATFORM_MACOSX=1
47468 ;;
47469 unix )
47470 PLATFORM_UNIX=1
47471 ;;
47472 beos )
47473 PLATFORM_BEOS=1
47474 ;;
47475 * )
47476 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47477 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47478 { (exit 1); exit 1; }; }
47479 ;;
47480 esac
47481 fi
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493 # Check whether --enable-omf or --disable-omf was given.
47494 if test "${enable_omf+set}" = set; then
47495 enableval="$enable_omf"
47496 bk_os2_use_omf="$enableval"
47497 fi;
47498
47499 case "${BAKEFILE_HOST}" in
47500 *-*-darwin* )
47501 if test "x$GCC" = "xyes"; then
47502 CFLAGS="$CFLAGS -fno-common"
47503 CXXFLAGS="$CXXFLAGS -fno-common"
47504 fi
47505 if test "x$XLCC" = "xyes"; then
47506 CFLAGS="$CFLAGS -qnocommon"
47507 CXXFLAGS="$CXXFLAGS -qnocommon"
47508 fi
47509 ;;
47510
47511 *-pc-os2_emx | *-pc-os2-emx )
47512 if test "x$bk_os2_use_omf" = "xyes" ; then
47513 AR=emxomfar
47514 RANLIB=:
47515 LDFLAGS="-Zomf $LDFLAGS"
47516 CFLAGS="-Zomf $CFLAGS"
47517 CXXFLAGS="-Zomf $CXXFLAGS"
47518 OS2_LIBEXT="lib"
47519 else
47520 OS2_LIBEXT="a"
47521 fi
47522 ;;
47523
47524 i*86-*-beos* )
47525 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47526 ;;
47527 esac
47528
47529
47530 SO_SUFFIX="so"
47531 SO_SUFFIX_MODULE="so"
47532 EXEEXT=""
47533 LIBPREFIX="lib"
47534 LIBEXT=".a"
47535 DLLPREFIX="lib"
47536 DLLPREFIX_MODULE=""
47537 DLLIMP_SUFFIX=""
47538 dlldir="$libdir"
47539
47540 case "${BAKEFILE_HOST}" in
47541 *-hp-hpux* )
47542 SO_SUFFIX="sl"
47543 SO_SUFFIX_MODULE="sl"
47544 ;;
47545 *-*-aix* )
47546 SO_SUFFIX="a"
47547 SO_SUFFIX_MODULE="a"
47548 ;;
47549 *-*-cygwin* )
47550 SO_SUFFIX="dll"
47551 SO_SUFFIX_MODULE="dll"
47552 DLLIMP_SUFFIX="dll.a"
47553 EXEEXT=".exe"
47554 DLLPREFIX="cyg"
47555 dlldir="$bindir"
47556 ;;
47557 *-*-mingw32* )
47558 SO_SUFFIX="dll"
47559 SO_SUFFIX_MODULE="dll"
47560 DLLIMP_SUFFIX="dll.a"
47561 EXEEXT=".exe"
47562 DLLPREFIX=""
47563 dlldir="$bindir"
47564 ;;
47565 *-pc-msdosdjgpp )
47566 EXEEXT=".exe"
47567 DLLPREFIX=""
47568 dlldir="$bindir"
47569 ;;
47570 *-pc-os2_emx | *-pc-os2-emx )
47571 SO_SUFFIX="dll"
47572 SO_SUFFIX_MODULE="dll"
47573 DLLIMP_SUFFIX=$OS2_LIBEXT
47574 EXEEXT=".exe"
47575 DLLPREFIX=""
47576 LIBPREFIX=""
47577 LIBEXT=".$OS2_LIBEXT"
47578 dlldir="$bindir"
47579 ;;
47580 *-*-darwin* )
47581 SO_SUFFIX="dylib"
47582 SO_SUFFIX_MODULE="bundle"
47583 ;;
47584 esac
47585
47586 if test "x$DLLIMP_SUFFIX" = "x" ; then
47587 DLLIMP_SUFFIX="$SO_SUFFIX"
47588 fi
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601 PIC_FLAG=""
47602 if test "x$GCC" = "xyes"; then
47603 PIC_FLAG="-fPIC"
47604 fi
47605
47606 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47607 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47608 WINDOWS_IMPLIB=0
47609
47610 case "${BAKEFILE_HOST}" in
47611 *-hp-hpux* )
47612 if test "x$GCC" != "xyes"; then
47613 LDFLAGS="$LDFLAGS -L/usr/lib"
47614
47615 SHARED_LD_CC="${CC} -b -o"
47616 SHARED_LD_CXX="${CXX} -b -o"
47617 PIC_FLAG="+Z"
47618 fi
47619 ;;
47620
47621 *-*-linux* )
47622 if test "x$GCC" != "xyes"; then
47623 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47624 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47625 if test "${bakefile_cv_prog_icc+set}" = set; then
47626 echo $ECHO_N "(cached) $ECHO_C" >&6
47627 else
47628
47629 cat >conftest.$ac_ext <<_ACEOF
47630 /* confdefs.h. */
47631 _ACEOF
47632 cat confdefs.h >>conftest.$ac_ext
47633 cat >>conftest.$ac_ext <<_ACEOF
47634 /* end confdefs.h. */
47635
47636 int
47637 main ()
47638 {
47639
47640 #ifndef __INTEL_COMPILER
47641 This is not ICC
47642 #endif
47643
47644 ;
47645 return 0;
47646 }
47647 _ACEOF
47648 rm -f conftest.$ac_objext
47649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47650 (eval $ac_compile) 2>conftest.er1
47651 ac_status=$?
47652 grep -v '^ *+' conftest.er1 >conftest.err
47653 rm -f conftest.er1
47654 cat conftest.err >&5
47655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47656 (exit $ac_status); } &&
47657 { ac_try='test -z "$ac_c_werror_flag"
47658 || test ! -s conftest.err'
47659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47660 (eval $ac_try) 2>&5
47661 ac_status=$?
47662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47663 (exit $ac_status); }; } &&
47664 { ac_try='test -s conftest.$ac_objext'
47665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47666 (eval $ac_try) 2>&5
47667 ac_status=$?
47668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47669 (exit $ac_status); }; }; then
47670 bakefile_cv_prog_icc=yes
47671 else
47672 echo "$as_me: failed program was:" >&5
47673 sed 's/^/| /' conftest.$ac_ext >&5
47674
47675 bakefile_cv_prog_icc=no
47676
47677 fi
47678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47679
47680 fi
47681 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47682 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47683 if test "$bakefile_cv_prog_icc" = "yes"; then
47684 PIC_FLAG="-KPIC"
47685 fi
47686 fi
47687 ;;
47688
47689 *-*-solaris2* )
47690 if test "x$GCC" != xyes ; then
47691 SHARED_LD_CC="${CC} -G -o"
47692 SHARED_LD_CXX="${CXX} -G -o"
47693 PIC_FLAG="-KPIC"
47694 fi
47695 ;;
47696
47697 *-*-darwin* )
47698
47699 D='$'
47700 cat <<EOF >shared-ld-sh
47701 #!/bin/sh
47702 #-----------------------------------------------------------------------------
47703 #-- Name: distrib/mac/shared-ld-sh
47704 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47705 #-- Author: Gilles Depeyrot
47706 #-- Copyright: (c) 2002 Gilles Depeyrot
47707 #-- Licence: any use permitted
47708 #-----------------------------------------------------------------------------
47709
47710 verbose=0
47711 args=""
47712 objects=""
47713 linking_flag="-dynamiclib"
47714 ldargs="-r -keep_private_externs -nostdlib"
47715
47716 while test ${D}# -gt 0; do
47717 case ${D}1 in
47718
47719 -v)
47720 verbose=1
47721 ;;
47722
47723 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47724 # collect these options and values
47725 args="${D}{args} ${D}1 ${D}2"
47726 shift
47727 ;;
47728
47729 -s|-Wl,*)
47730 # collect these load args
47731 ldargs="${D}{ldargs} ${D}1"
47732 ;;
47733
47734 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47735 # collect these options
47736 args="${D}{args} ${D}1"
47737 ;;
47738
47739 -dynamiclib|-bundle)
47740 linking_flag="${D}1"
47741 ;;
47742
47743 -*)
47744 echo "shared-ld: unhandled option '${D}1'"
47745 exit 1
47746 ;;
47747
47748 *.o | *.a | *.dylib)
47749 # collect object files
47750 objects="${D}{objects} ${D}1"
47751 ;;
47752
47753 *)
47754 echo "shared-ld: unhandled argument '${D}1'"
47755 exit 1
47756 ;;
47757
47758 esac
47759 shift
47760 done
47761
47762 status=0
47763
47764 #
47765 # Link one module containing all the others
47766 #
47767 if test ${D}{verbose} = 1; then
47768 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47769 fi
47770 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47771 status=${D}?
47772
47773 #
47774 # Link the shared library from the single module created, but only if the
47775 # previous command didn't fail:
47776 #
47777 if test ${D}{status} = 0; then
47778 if test ${D}{verbose} = 1; then
47779 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47780 fi
47781 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47782 status=${D}?
47783 fi
47784
47785 #
47786 # Remove intermediate module
47787 #
47788 rm -f master.${D}${D}.o
47789
47790 exit ${D}status
47791 EOF
47792
47793 chmod +x shared-ld-sh
47794
47795 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47796 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47797
47798
47799 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47800 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47801 if test "${bakefile_cv_gcc31+set}" = set; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 else
47804
47805 cat >conftest.$ac_ext <<_ACEOF
47806 /* confdefs.h. */
47807 _ACEOF
47808 cat confdefs.h >>conftest.$ac_ext
47809 cat >>conftest.$ac_ext <<_ACEOF
47810 /* end confdefs.h. */
47811
47812 int
47813 main ()
47814 {
47815
47816 #if (__GNUC__ < 3) || \
47817 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47818 This is old gcc
47819 #endif
47820
47821 ;
47822 return 0;
47823 }
47824 _ACEOF
47825 rm -f conftest.$ac_objext
47826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47827 (eval $ac_compile) 2>conftest.er1
47828 ac_status=$?
47829 grep -v '^ *+' conftest.er1 >conftest.err
47830 rm -f conftest.er1
47831 cat conftest.err >&5
47832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833 (exit $ac_status); } &&
47834 { ac_try='test -z "$ac_c_werror_flag"
47835 || test ! -s conftest.err'
47836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47837 (eval $ac_try) 2>&5
47838 ac_status=$?
47839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47840 (exit $ac_status); }; } &&
47841 { ac_try='test -s conftest.$ac_objext'
47842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47843 (eval $ac_try) 2>&5
47844 ac_status=$?
47845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47846 (exit $ac_status); }; }; then
47847
47848 bakefile_cv_gcc31=yes
47849
47850 else
47851 echo "$as_me: failed program was:" >&5
47852 sed 's/^/| /' conftest.$ac_ext >&5
47853
47854
47855 bakefile_cv_gcc31=no
47856
47857
47858 fi
47859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47860
47861 fi
47862 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47863 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47864 if test "$bakefile_cv_gcc31" = "no"; then
47865 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47866 SHARED_LD_CXX="$SHARED_LD_CC"
47867 else
47868 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47869 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47870 fi
47871
47872 if test "x$GCC" == "xyes"; then
47873 PIC_FLAG="-dynamic -fPIC"
47874 fi
47875 if test "x$XLCC" = "xyes"; then
47876 PIC_FLAG="-dynamic -DPIC"
47877 fi
47878 ;;
47879
47880 *-*-aix* )
47881 if test "x$GCC" = "xyes"; then
47882 PIC_FLAG=""
47883
47884 case "${BAKEFILE_HOST}" in
47885 *-*-aix5* )
47886 LD_EXPFULL="-Wl,-bexpfull"
47887 ;;
47888 esac
47889
47890 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47891 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47892 else
47893 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47894 set dummy makeC++SharedLib; ac_word=$2
47895 echo "$as_me:$LINENO: checking for $ac_word" >&5
47896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47897 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47898 echo $ECHO_N "(cached) $ECHO_C" >&6
47899 else
47900 if test -n "$AIX_CXX_LD"; then
47901 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47902 else
47903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47904 for as_dir in $PATH
47905 do
47906 IFS=$as_save_IFS
47907 test -z "$as_dir" && as_dir=.
47908 for ac_exec_ext in '' $ac_executable_extensions; do
47909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47910 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47912 break 2
47913 fi
47914 done
47915 done
47916
47917 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47918 fi
47919 fi
47920 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47921 if test -n "$AIX_CXX_LD"; then
47922 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47923 echo "${ECHO_T}$AIX_CXX_LD" >&6
47924 else
47925 echo "$as_me:$LINENO: result: no" >&5
47926 echo "${ECHO_T}no" >&6
47927 fi
47928
47929 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47930 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47931 fi
47932 ;;
47933
47934 *-*-beos* )
47935 SHARED_LD_CC="${LD} -nostart -o"
47936 SHARED_LD_CXX="${LD} -nostart -o"
47937 ;;
47938
47939 *-*-irix* )
47940 if test "x$GCC" != "xyes"; then
47941 PIC_FLAG="-KPIC"
47942 fi
47943 ;;
47944
47945 *-*-cygwin* | *-*-mingw32* )
47946 PIC_FLAG=""
47947 SHARED_LD_CC="\$(CC) -shared -o"
47948 SHARED_LD_CXX="\$(CXX) -shared -o"
47949 WINDOWS_IMPLIB=1
47950 ;;
47951
47952 *-pc-os2_emx | *-pc-os2-emx )
47953 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47954 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47955 PIC_FLAG=""
47956
47957 D='$'
47958 cat <<EOF >dllar.sh
47959 #!/bin/sh
47960 #
47961 # dllar - a tool to build both a .dll and an .a file
47962 # from a set of object (.o) files for EMX/OS2.
47963 #
47964 # Written by Andrew Zabolotny, bit@freya.etu.ru
47965 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47966 #
47967 # This script will accept a set of files on the command line.
47968 # All the public symbols from the .o files will be exported into
47969 # a .DEF file, then linker will be run (through gcc) against them to
47970 # build a shared library consisting of all given .o files. All libraries
47971 # (.a) will be first decompressed into component .o files then act as
47972 # described above. You can optionally give a description (-d "description")
47973 # which will be put into .DLL. To see the list of accepted options (as well
47974 # as command-line format) simply run this program without options. The .DLL
47975 # is built to be imported by name (there is no guarantee that new versions
47976 # of the library you build will have same ordinals for same symbols).
47977 #
47978 # dllar is free software; you can redistribute it and/or modify
47979 # it under the terms of the GNU General Public License as published by
47980 # the Free Software Foundation; either version 2, or (at your option)
47981 # any later version.
47982 #
47983 # dllar is distributed in the hope that it will be useful,
47984 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47985 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47986 # GNU General Public License for more details.
47987 #
47988 # You should have received a copy of the GNU General Public License
47989 # along with dllar; see the file COPYING. If not, write to the Free
47990 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47991 # 02111-1307, USA.
47992
47993 # To successfuly run this program you will need:
47994 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47995 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47996 # - gcc
47997 # (used to build the .dll)
47998 # - emxexp
47999 # (used to create .def file from .o files)
48000 # - emximp
48001 # (used to create .a file from .def file)
48002 # - GNU text utilites (cat, sort, uniq)
48003 # used to process emxexp output
48004 # - GNU file utilities (mv, rm)
48005 # - GNU sed
48006 # - lxlite (optional, see flag below)
48007 # (used for general .dll cleanup)
48008 #
48009
48010 flag_USE_LXLITE=1;
48011
48012 #
48013 # helper functions
48014 # basnam, variant of basename, which does _not_ remove the path, _iff_
48015 # second argument (suffix to remove) is given
48016 basnam(){
48017 case ${D}# in
48018 1)
48019 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48020 ;;
48021 2)
48022 echo ${D}1 | sed 's/'${D}2'${D}//'
48023 ;;
48024 *)
48025 echo "error in basnam ${D}*"
48026 exit 8
48027 ;;
48028 esac
48029 }
48030
48031 # Cleanup temporary files and output
48032 CleanUp() {
48033 cd ${D}curDir
48034 for i in ${D}inputFiles ; do
48035 case ${D}i in
48036 *!)
48037 rm -rf \`basnam ${D}i !\`
48038 ;;
48039 *)
48040 ;;
48041 esac
48042 done
48043
48044 # Kill result in case of failure as there is just to many stupid make/nmake
48045 # things out there which doesn't do this.
48046 if [ ${D}# -eq 0 ]; then
48047 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48048 fi
48049 }
48050
48051 # Print usage and exit script with rc=1.
48052 PrintHelp() {
48053 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48054 echo ' [-name-mangler-script script.sh]'
48055 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48056 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48057 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48058 echo ' [*.o] [*.a]'
48059 echo '*> "output_file" should have no extension.'
48060 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48061 echo ' The import library name is derived from this and is set to "name".a,'
48062 echo ' unless overridden by -import'
48063 echo '*> "importlib_name" should have no extension.'
48064 echo ' If it has the .o, or .a extension, it is automatically removed.'
48065 echo ' This name is used as the import library name and may be longer and'
48066 echo ' more descriptive than the DLL name which has to follow the old '
48067 echo ' 8.3 convention of FAT.'
48068 echo '*> "script.sh may be given to override the output_file name by a'
48069 echo ' different name. It is mainly useful if the regular make process'
48070 echo ' of some package does not take into account OS/2 restriction of'
48071 echo ' DLL name lengths. It takes the importlib name as input and is'
48072 echo ' supposed to procude a shorter name as output. The script should'
48073 echo ' expect to get importlib_name without extension and should produce'
48074 echo ' a (max.) 8 letter name without extension.'
48075 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48076 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48077 echo ' These flags will be put at the start of GCC command line.'
48078 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48079 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48080 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48081 echo ' If the last character of a symbol is "*", all symbols beginning'
48082 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48083 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48084 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48085 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48086 echo ' C runtime DLLs.'
48087 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48088 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48089 echo ' unchanged to GCC at the end of command line.'
48090 echo '*> If you create a DLL from a library and you do not specify -o,'
48091 echo ' the basename for DLL and import library will be set to library name,'
48092 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48093 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48094 echo ' library will be renamed into gcc_s.a.'
48095 echo '--------'
48096 echo 'Example:'
48097 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48098 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48099 CleanUp
48100 exit 1
48101 }
48102
48103 # Execute a command.
48104 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48105 # @Uses Whatever CleanUp() uses.
48106 doCommand() {
48107 echo "${D}*"
48108 eval ${D}*
48109 rcCmd=${D}?
48110
48111 if [ ${D}rcCmd -ne 0 ]; then
48112 echo "command failed, exit code="${D}rcCmd
48113 CleanUp
48114 exit ${D}rcCmd
48115 fi
48116 }
48117
48118 # main routine
48119 # setup globals
48120 cmdLine=${D}*
48121 outFile=""
48122 outimpFile=""
48123 inputFiles=""
48124 renameScript=""
48125 description=""
48126 CC=gcc.exe
48127 CFLAGS="-s -Zcrtdll"
48128 EXTRA_CFLAGS=""
48129 EXPORT_BY_ORDINALS=0
48130 exclude_symbols=""
48131 library_flags=""
48132 curDir=\`pwd\`
48133 curDirS=curDir
48134 case ${D}curDirS in
48135 */)
48136 ;;
48137 *)
48138 curDirS=${D}{curDirS}"/"
48139 ;;
48140 esac
48141 # Parse commandline
48142 libsToLink=0
48143 omfLinking=0
48144 while [ ${D}1 ]; do
48145 case ${D}1 in
48146 -ord*)
48147 EXPORT_BY_ORDINALS=1;
48148 ;;
48149 -o*)
48150 shift
48151 outFile=${D}1
48152 ;;
48153 -i*)
48154 shift
48155 outimpFile=${D}1
48156 ;;
48157 -name-mangler-script)
48158 shift
48159 renameScript=${D}1
48160 ;;
48161 -d*)
48162 shift
48163 description=${D}1
48164 ;;
48165 -f*)
48166 shift
48167 CFLAGS=${D}1
48168 ;;
48169 -c*)
48170 shift
48171 CC=${D}1
48172 ;;
48173 -h*)
48174 PrintHelp
48175 ;;
48176 -ex*)
48177 shift
48178 exclude_symbols=${D}{exclude_symbols}${D}1" "
48179 ;;
48180 -libf*)
48181 shift
48182 library_flags=${D}{library_flags}${D}1" "
48183 ;;
48184 -nocrt*)
48185 CFLAGS="-s"
48186 ;;
48187 -nolxl*)
48188 flag_USE_LXLITE=0
48189 ;;
48190 -* | /*)
48191 case ${D}1 in
48192 -L* | -l*)
48193 libsToLink=1
48194 ;;
48195 -Zomf)
48196 omfLinking=1
48197 ;;
48198 *)
48199 ;;
48200 esac
48201 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48202 ;;
48203 *.dll)
48204 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48205 if [ ${D}omfLinking -eq 1 ]; then
48206 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48207 else
48208 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48209 fi
48210 ;;
48211 *)
48212 found=0;
48213 if [ ${D}libsToLink -ne 0 ]; then
48214 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48215 else
48216 for file in ${D}1 ; do
48217 if [ -f ${D}file ]; then
48218 inputFiles="${D}{inputFiles} ${D}file"
48219 found=1
48220 fi
48221 done
48222 if [ ${D}found -eq 0 ]; then
48223 echo "ERROR: No file(s) found: "${D}1
48224 exit 8
48225 fi
48226 fi
48227 ;;
48228 esac
48229 shift
48230 done # iterate cmdline words
48231
48232 #
48233 if [ -z "${D}inputFiles" ]; then
48234 echo "dllar: no input files"
48235 PrintHelp
48236 fi
48237
48238 # Now extract all .o files from .a files
48239 newInputFiles=""
48240 for file in ${D}inputFiles ; do
48241 case ${D}file in
48242 *.a | *.lib)
48243 case ${D}file in
48244 *.a)
48245 suffix=".a"
48246 AR="ar"
48247 ;;
48248 *.lib)
48249 suffix=".lib"
48250 AR="emxomfar"
48251 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48252 ;;
48253 *)
48254 ;;
48255 esac
48256 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48257 mkdir ${D}dirname
48258 if [ ${D}? -ne 0 ]; then
48259 echo "Failed to create subdirectory ./${D}dirname"
48260 CleanUp
48261 exit 8;
48262 fi
48263 # Append '!' to indicate archive
48264 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48265 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48266 cd ${D}curDir
48267 found=0;
48268 for subfile in ${D}dirname/*.o* ; do
48269 if [ -f ${D}subfile ]; then
48270 found=1
48271 if [ -s ${D}subfile ]; then
48272 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48273 newInputFiles="${D}newInputFiles ${D}subfile"
48274 fi
48275 fi
48276 done
48277 if [ ${D}found -eq 0 ]; then
48278 echo "WARNING: there are no files in archive \\'${D}file\\'"
48279 fi
48280 ;;
48281 *)
48282 newInputFiles="${D}{newInputFiles} ${D}file"
48283 ;;
48284 esac
48285 done
48286 inputFiles="${D}newInputFiles"
48287
48288 # Output filename(s).
48289 do_backup=0;
48290 if [ -z ${D}outFile ]; then
48291 do_backup=1;
48292 set outFile ${D}inputFiles; outFile=${D}2
48293 fi
48294
48295 # If it is an archive, remove the '!' and the '_%' suffixes
48296 case ${D}outFile in
48297 *_%!)
48298 outFile=\`basnam ${D}outFile _%!\`
48299 ;;
48300 *)
48301 ;;
48302 esac
48303 case ${D}outFile in
48304 *.dll)
48305 outFile=\`basnam ${D}outFile .dll\`
48306 ;;
48307 *.DLL)
48308 outFile=\`basnam ${D}outFile .DLL\`
48309 ;;
48310 *.o)
48311 outFile=\`basnam ${D}outFile .o\`
48312 ;;
48313 *.obj)
48314 outFile=\`basnam ${D}outFile .obj\`
48315 ;;
48316 *.a)
48317 outFile=\`basnam ${D}outFile .a\`
48318 ;;
48319 *.lib)
48320 outFile=\`basnam ${D}outFile .lib\`
48321 ;;
48322 *)
48323 ;;
48324 esac
48325 case ${D}outimpFile in
48326 *.a)
48327 outimpFile=\`basnam ${D}outimpFile .a\`
48328 ;;
48329 *.lib)
48330 outimpFile=\`basnam ${D}outimpFile .lib\`
48331 ;;
48332 *)
48333 ;;
48334 esac
48335 if [ -z ${D}outimpFile ]; then
48336 outimpFile=${D}outFile
48337 fi
48338 defFile="${D}{outFile}.def"
48339 arcFile="${D}{outimpFile}.a"
48340 arcFile2="${D}{outimpFile}.lib"
48341
48342 #create ${D}dllFile as something matching 8.3 restrictions,
48343 if [ -z ${D}renameScript ] ; then
48344 dllFile="${D}outFile"
48345 else
48346 dllFile=\`${D}renameScript ${D}outimpFile\`
48347 fi
48348
48349 if [ ${D}do_backup -ne 0 ] ; then
48350 if [ -f ${D}arcFile ] ; then
48351 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48352 fi
48353 if [ -f ${D}arcFile2 ] ; then
48354 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48355 fi
48356 fi
48357
48358 # Extract public symbols from all the object files.
48359 tmpdefFile=${D}{defFile}_%
48360 rm -f ${D}tmpdefFile
48361 for file in ${D}inputFiles ; do
48362 case ${D}file in
48363 *!)
48364 ;;
48365 *)
48366 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48367 ;;
48368 esac
48369 done
48370
48371 # Create the def file.
48372 rm -f ${D}defFile
48373 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48374 dllFile="${D}{dllFile}.dll"
48375 if [ ! -z ${D}description ]; then
48376 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48377 fi
48378 echo "EXPORTS" >> ${D}defFile
48379
48380 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48381 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48382
48383 # Checks if the export is ok or not.
48384 for word in ${D}exclude_symbols; do
48385 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48386 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48387 done
48388
48389
48390 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48391 sed "=" < ${D}tmpdefFile | \\
48392 sed '
48393 N
48394 : loop
48395 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48396 t loop
48397 ' > ${D}{tmpdefFile}%
48398 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48399 else
48400 rm -f ${D}{tmpdefFile}%
48401 fi
48402 cat ${D}tmpdefFile >> ${D}defFile
48403 rm -f ${D}tmpdefFile
48404
48405 # Do linking, create implib, and apply lxlite.
48406 gccCmdl="";
48407 for file in ${D}inputFiles ; do
48408 case ${D}file in
48409 *!)
48410 ;;
48411 *)
48412 gccCmdl="${D}gccCmdl ${D}file"
48413 ;;
48414 esac
48415 done
48416 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48417 touch "${D}{outFile}.dll"
48418
48419 doCommand "emximp -o ${D}arcFile ${D}defFile"
48420 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48421 add_flags="";
48422 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48423 add_flags="-ynd"
48424 fi
48425 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48426 fi
48427 doCommand "emxomf -s -l ${D}arcFile"
48428
48429 # Successful exit.
48430 CleanUp 1
48431 exit 0
48432 EOF
48433
48434 chmod +x dllar.sh
48435 ;;
48436
48437 powerpc-apple-macos* | \
48438 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48439 *-*-sunos4* | \
48440 *-*-osf* | \
48441 *-*-dgux5* | \
48442 *-*-sysv5* | \
48443 *-pc-msdosdjgpp )
48444 ;;
48445
48446 *)
48447 esac
48448
48449 if test "x$PIC_FLAG" != "x" ; then
48450 PIC_FLAG="$PIC_FLAG -DPIC"
48451 fi
48452
48453 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48454 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48455 fi
48456 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48457 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48458 fi
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468 USE_SOVERSION=0
48469 USE_SOVERLINUX=0
48470 USE_SOVERSOLARIS=0
48471 USE_SOVERCYGWIN=0
48472 USE_SOSYMLINKS=0
48473 USE_MACVERSION=0
48474 SONAME_FLAG=
48475
48476 case "${BAKEFILE_HOST}" in
48477 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48478 SONAME_FLAG="-Wl,-soname,"
48479 USE_SOVERSION=1
48480 USE_SOVERLINUX=1
48481 USE_SOSYMLINKS=1
48482 ;;
48483
48484 *-*-solaris2* )
48485 SONAME_FLAG="-h "
48486 USE_SOVERSION=1
48487 USE_SOVERSOLARIS=1
48488 USE_SOSYMLINKS=1
48489 ;;
48490
48491 *-*-darwin* )
48492 USE_MACVERSION=1
48493 USE_SOVERSION=1
48494 USE_SOSYMLINKS=1
48495 ;;
48496
48497 *-*-cygwin* )
48498 USE_SOVERSION=1
48499 USE_SOVERCYGWIN=1
48500 ;;
48501 esac
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48513 if test "${enable_dependency_tracking+set}" = set; then
48514 enableval="$enable_dependency_tracking"
48515 bk_use_trackdeps="$enableval"
48516 fi;
48517
48518 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48519 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48520
48521 if test "x$bk_use_trackdeps" = "xno" ; then
48522 DEPS_TRACKING=0
48523 echo "$as_me:$LINENO: result: disabled" >&5
48524 echo "${ECHO_T}disabled" >&6
48525 else
48526 DEPS_TRACKING=1
48527
48528 if test "x$GCC" = "xyes"; then
48529 DEPSMODE=gcc
48530 case "${BAKEFILE_HOST}" in
48531 *-*-darwin* )
48532 DEPSFLAG="-no-cpp-precomp -MMD"
48533 ;;
48534 * )
48535 DEPSFLAG="-MMD"
48536 ;;
48537 esac
48538 echo "$as_me:$LINENO: result: gcc" >&5
48539 echo "${ECHO_T}gcc" >&6
48540 elif test "x$MWCC" = "xyes"; then
48541 DEPSMODE=mwcc
48542 DEPSFLAG="-MM"
48543 echo "$as_me:$LINENO: result: mwcc" >&5
48544 echo "${ECHO_T}mwcc" >&6
48545 elif test "x$SUNCC" = "xyes"; then
48546 DEPSMODE=unixcc
48547 DEPSFLAG="-xM1"
48548 echo "$as_me:$LINENO: result: Sun cc" >&5
48549 echo "${ECHO_T}Sun cc" >&6
48550 elif test "x$SGICC" = "xyes"; then
48551 DEPSMODE=unixcc
48552 DEPSFLAG="-M"
48553 echo "$as_me:$LINENO: result: SGI cc" >&5
48554 echo "${ECHO_T}SGI cc" >&6
48555 elif test "x$HPCC" = "xyes"; then
48556 DEPSMODE=unixcc
48557 DEPSFLAG="+make"
48558 echo "$as_me:$LINENO: result: HP cc" >&5
48559 echo "${ECHO_T}HP cc" >&6
48560 elif test "x$COMPAQCC" = "xyes"; then
48561 DEPSMODE=gcc
48562 DEPSFLAG="-MD"
48563 echo "$as_me:$LINENO: result: Compaq cc" >&5
48564 echo "${ECHO_T}Compaq cc" >&6
48565 else
48566 DEPS_TRACKING=0
48567 echo "$as_me:$LINENO: result: none" >&5
48568 echo "${ECHO_T}none" >&6
48569 fi
48570
48571 if test $DEPS_TRACKING = 1 ; then
48572
48573 D='$'
48574 cat <<EOF >bk-deps
48575 #!/bin/sh
48576
48577 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48578 # script. It is used to track C/C++ files dependencies in portable way.
48579 #
48580 # Permission is given to use this file in any way.
48581
48582 DEPSMODE=${DEPSMODE}
48583 DEPSDIR=.deps
48584 DEPSFLAG="${DEPSFLAG}"
48585
48586 mkdir -p ${D}DEPSDIR
48587
48588 if test ${D}DEPSMODE = gcc ; then
48589 ${D}* ${D}{DEPSFLAG}
48590 status=${D}?
48591 if test ${D}{status} != 0 ; then
48592 exit ${D}{status}
48593 fi
48594 # move created file to the location we want it in:
48595 while test ${D}# -gt 0; do
48596 case "${D}1" in
48597 -o )
48598 shift
48599 objfile=${D}1
48600 ;;
48601 -* )
48602 ;;
48603 * )
48604 srcfile=${D}1
48605 ;;
48606 esac
48607 shift
48608 done
48609 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48610 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48611 if test -f ${D}depfile ; then
48612 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48613 rm -f ${D}depfile
48614 else
48615 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48616 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48617 if test ! -f ${D}depfile ; then
48618 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48619 depfile="${D}objfile.d"
48620 fi
48621 if test -f ${D}depfile ; then
48622 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48623 rm -f ${D}depfile
48624 fi
48625 fi
48626 exit 0
48627 elif test ${D}DEPSMODE = mwcc ; then
48628 ${D}* || exit ${D}?
48629 # Run mwcc again with -MM and redirect into the dep file we want
48630 # NOTE: We can't use shift here because we need ${D}* to be valid
48631 prevarg=
48632 for arg in ${D}* ; do
48633 if test "${D}prevarg" = "-o"; then
48634 objfile=${D}arg
48635 else
48636 case "${D}arg" in
48637 -* )
48638 ;;
48639 * )
48640 srcfile=${D}arg
48641 ;;
48642 esac
48643 fi
48644 prevarg="${D}arg"
48645 done
48646 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48647 exit 0
48648 elif test ${D}DEPSMODE = unixcc; then
48649 ${D}* || exit ${D}?
48650 # Run compiler again with deps flag and redirect into the dep file.
48651 # It doesn't work if the '-o FILE' option is used, but without it the
48652 # dependency file will contain the wrong name for the object. So it is
48653 # removed from the command line, and the dep file is fixed with sed.
48654 cmd=""
48655 while test ${D}# -gt 0; do
48656 case "${D}1" in
48657 -o )
48658 shift
48659 objfile=${D}1
48660 ;;
48661 * )
48662 eval arg${D}#=\\${D}1
48663 cmd="${D}cmd \\${D}arg${D}#"
48664 ;;
48665 esac
48666 shift
48667 done
48668 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48669 exit 0
48670 else
48671 ${D}*
48672 exit ${D}?
48673 fi
48674 EOF
48675
48676 chmod +x bk-deps
48677 fi
48678 fi
48679
48680
48681
48682
48683 case ${BAKEFILE_HOST} in
48684 *-*-cygwin* | *-*-mingw32* )
48685 if test -n "$ac_tool_prefix"; then
48686 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48687 set dummy ${ac_tool_prefix}windres; ac_word=$2
48688 echo "$as_me:$LINENO: checking for $ac_word" >&5
48689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48690 if test "${ac_cv_prog_WINDRES+set}" = set; then
48691 echo $ECHO_N "(cached) $ECHO_C" >&6
48692 else
48693 if test -n "$WINDRES"; then
48694 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48695 else
48696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48697 for as_dir in $PATH
48698 do
48699 IFS=$as_save_IFS
48700 test -z "$as_dir" && as_dir=.
48701 for ac_exec_ext in '' $ac_executable_extensions; do
48702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48703 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48705 break 2
48706 fi
48707 done
48708 done
48709
48710 fi
48711 fi
48712 WINDRES=$ac_cv_prog_WINDRES
48713 if test -n "$WINDRES"; then
48714 echo "$as_me:$LINENO: result: $WINDRES" >&5
48715 echo "${ECHO_T}$WINDRES" >&6
48716 else
48717 echo "$as_me:$LINENO: result: no" >&5
48718 echo "${ECHO_T}no" >&6
48719 fi
48720
48721 fi
48722 if test -z "$ac_cv_prog_WINDRES"; then
48723 ac_ct_WINDRES=$WINDRES
48724 # Extract the first word of "windres", so it can be a program name with args.
48725 set dummy windres; ac_word=$2
48726 echo "$as_me:$LINENO: checking for $ac_word" >&5
48727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48728 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48729 echo $ECHO_N "(cached) $ECHO_C" >&6
48730 else
48731 if test -n "$ac_ct_WINDRES"; then
48732 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48733 else
48734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48735 for as_dir in $PATH
48736 do
48737 IFS=$as_save_IFS
48738 test -z "$as_dir" && as_dir=.
48739 for ac_exec_ext in '' $ac_executable_extensions; do
48740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48741 ac_cv_prog_ac_ct_WINDRES="windres"
48742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48743 break 2
48744 fi
48745 done
48746 done
48747
48748 fi
48749 fi
48750 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48751 if test -n "$ac_ct_WINDRES"; then
48752 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48753 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48754 else
48755 echo "$as_me:$LINENO: result: no" >&5
48756 echo "${ECHO_T}no" >&6
48757 fi
48758
48759 WINDRES=$ac_ct_WINDRES
48760 else
48761 WINDRES="$ac_cv_prog_WINDRES"
48762 fi
48763
48764 ;;
48765
48766 *-*-darwin* | powerpc-apple-macos* )
48767 # Extract the first word of "Rez", so it can be a program name with args.
48768 set dummy Rez; ac_word=$2
48769 echo "$as_me:$LINENO: checking for $ac_word" >&5
48770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48771 if test "${ac_cv_prog_REZ+set}" = set; then
48772 echo $ECHO_N "(cached) $ECHO_C" >&6
48773 else
48774 if test -n "$REZ"; then
48775 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48776 else
48777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48778 for as_dir in $PATH
48779 do
48780 IFS=$as_save_IFS
48781 test -z "$as_dir" && as_dir=.
48782 for ac_exec_ext in '' $ac_executable_extensions; do
48783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48784 ac_cv_prog_REZ="Rez"
48785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48786 break 2
48787 fi
48788 done
48789 done
48790
48791 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48792 fi
48793 fi
48794 REZ=$ac_cv_prog_REZ
48795 if test -n "$REZ"; then
48796 echo "$as_me:$LINENO: result: $REZ" >&5
48797 echo "${ECHO_T}$REZ" >&6
48798 else
48799 echo "$as_me:$LINENO: result: no" >&5
48800 echo "${ECHO_T}no" >&6
48801 fi
48802
48803 # Extract the first word of "SetFile", so it can be a program name with args.
48804 set dummy SetFile; ac_word=$2
48805 echo "$as_me:$LINENO: checking for $ac_word" >&5
48806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48807 if test "${ac_cv_prog_SETFILE+set}" = set; then
48808 echo $ECHO_N "(cached) $ECHO_C" >&6
48809 else
48810 if test -n "$SETFILE"; then
48811 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48812 else
48813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48814 for as_dir in $PATH
48815 do
48816 IFS=$as_save_IFS
48817 test -z "$as_dir" && as_dir=.
48818 for ac_exec_ext in '' $ac_executable_extensions; do
48819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48820 ac_cv_prog_SETFILE="SetFile"
48821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48822 break 2
48823 fi
48824 done
48825 done
48826
48827 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48828 fi
48829 fi
48830 SETFILE=$ac_cv_prog_SETFILE
48831 if test -n "$SETFILE"; then
48832 echo "$as_me:$LINENO: result: $SETFILE" >&5
48833 echo "${ECHO_T}$SETFILE" >&6
48834 else
48835 echo "$as_me:$LINENO: result: no" >&5
48836 echo "${ECHO_T}no" >&6
48837 fi
48838
48839 ;;
48840 esac
48841
48842
48843
48844
48845
48846
48847 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48848
48849
48850 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48851
48852
48853
48854 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48855 if test "${enable_precomp_headers+set}" = set; then
48856 enableval="$enable_precomp_headers"
48857 bk_use_pch="$enableval"
48858 fi;
48859
48860 GCC_PCH=0
48861 ICC_PCH=0
48862 USE_PCH=0
48863
48864 case ${BAKEFILE_HOST} in
48865 *-*-cygwin* )
48866 bk_use_pch="no"
48867 ;;
48868 esac
48869
48870 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48871 if test "x$GCC" = "xyes"; then
48872 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48873 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48874 cat >conftest.$ac_ext <<_ACEOF
48875 /* confdefs.h. */
48876 _ACEOF
48877 cat confdefs.h >>conftest.$ac_ext
48878 cat >>conftest.$ac_ext <<_ACEOF
48879 /* end confdefs.h. */
48880
48881 int
48882 main ()
48883 {
48884
48885 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48886 There is no PCH support
48887 #endif
48888 #if (__GNUC__ < 3)
48889 There is no PCH support
48890 #endif
48891 #if (__GNUC__ == 3) && \
48892 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48893 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48894 ( defined(__INTEL_COMPILER) )
48895 There is no PCH support
48896 #endif
48897
48898 ;
48899 return 0;
48900 }
48901 _ACEOF
48902 rm -f conftest.$ac_objext
48903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48904 (eval $ac_compile) 2>conftest.er1
48905 ac_status=$?
48906 grep -v '^ *+' conftest.er1 >conftest.err
48907 rm -f conftest.er1
48908 cat conftest.err >&5
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); } &&
48911 { ac_try='test -z "$ac_c_werror_flag"
48912 || test ! -s conftest.err'
48913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48914 (eval $ac_try) 2>&5
48915 ac_status=$?
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; } &&
48918 { ac_try='test -s conftest.$ac_objext'
48919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48920 (eval $ac_try) 2>&5
48921 ac_status=$?
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; }; then
48924
48925 echo "$as_me:$LINENO: result: yes" >&5
48926 echo "${ECHO_T}yes" >&6
48927 GCC_PCH=1
48928
48929 else
48930 echo "$as_me: failed program was:" >&5
48931 sed 's/^/| /' conftest.$ac_ext >&5
48932
48933
48934 cat >conftest.$ac_ext <<_ACEOF
48935 /* confdefs.h. */
48936 _ACEOF
48937 cat confdefs.h >>conftest.$ac_ext
48938 cat >>conftest.$ac_ext <<_ACEOF
48939 /* end confdefs.h. */
48940
48941 int
48942 main ()
48943 {
48944
48945 #if !defined(__INTEL_COMPILER) || \
48946 (__INTEL_COMPILER < 800)
48947 There is no PCH support
48948 #endif
48949
48950 ;
48951 return 0;
48952 }
48953 _ACEOF
48954 rm -f conftest.$ac_objext
48955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48956 (eval $ac_compile) 2>conftest.er1
48957 ac_status=$?
48958 grep -v '^ *+' conftest.er1 >conftest.err
48959 rm -f conftest.er1
48960 cat conftest.err >&5
48961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48962 (exit $ac_status); } &&
48963 { ac_try='test -z "$ac_c_werror_flag"
48964 || test ! -s conftest.err'
48965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48966 (eval $ac_try) 2>&5
48967 ac_status=$?
48968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48969 (exit $ac_status); }; } &&
48970 { ac_try='test -s conftest.$ac_objext'
48971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48972 (eval $ac_try) 2>&5
48973 ac_status=$?
48974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48975 (exit $ac_status); }; }; then
48976
48977 echo "$as_me:$LINENO: result: yes" >&5
48978 echo "${ECHO_T}yes" >&6
48979 ICC_PCH=1
48980
48981 else
48982 echo "$as_me: failed program was:" >&5
48983 sed 's/^/| /' conftest.$ac_ext >&5
48984
48985
48986 echo "$as_me:$LINENO: result: no" >&5
48987 echo "${ECHO_T}no" >&6
48988
48989 fi
48990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48991
48992 fi
48993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48994 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48995 USE_PCH=1
48996
48997 D='$'
48998 cat <<EOF >bk-make-pch
48999 #!/bin/sh
49000
49001 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49002 # script. It is used to generated precompiled headers.
49003 #
49004 # Permission is given to use this file in any way.
49005
49006 outfile="${D}{1}"
49007 header="${D}{2}"
49008 shift
49009 shift
49010
49011 compiler=""
49012 headerfile=""
49013
49014 while test ${D}{#} -gt 0; do
49015 add_to_cmdline=1
49016 case "${D}{1}" in
49017 -I* )
49018 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49019 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49020 headerfile="${D}{incdir}/${D}{header}"
49021 fi
49022 ;;
49023 -use-pch|-use_pch )
49024 shift
49025 add_to_cmdline=0
49026 ;;
49027 esac
49028 if test ${D}add_to_cmdline = 1 ; then
49029 compiler="${D}{compiler} ${D}{1}"
49030 fi
49031 shift
49032 done
49033
49034 if test "x${D}{headerfile}" = "x" ; then
49035 echo "error: can't find header ${D}{header} in include paths" >&2
49036 else
49037 if test -f ${D}{outfile} ; then
49038 rm -f ${D}{outfile}
49039 else
49040 mkdir -p \`dirname ${D}{outfile}\`
49041 fi
49042 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49043 mkdir -p .deps
49044 if test "x${GCC_PCH}" = "x1" ; then
49045 # can do this because gcc is >= 3.4:
49046 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49047 elif test "x${ICC_PCH}" = "x1" ; then
49048 filename=pch_gen-${D}${D}
49049 file=${D}{filename}.c
49050 dfile=${D}{filename}.d
49051 cat > ${D}file <<EOT
49052 #include "${D}header"
49053 EOT
49054 # using -MF icc complains about differing command lines in creation/use
49055 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49056 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49057 rm -f ${D}file ${D}dfile ${D}{filename}.o
49058 fi
49059 exit ${D}{?}
49060 fi
49061 EOF
49062
49063 chmod +x bk-make-pch
49064 fi
49065 fi
49066 fi
49067
49068
49069
49070
49071 COND_BUILD_DEBUG="#"
49072 if test "x$BUILD" = "xdebug" ; then
49073 COND_BUILD_DEBUG=""
49074 fi
49075
49076 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49077 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49078 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49079 fi
49080
49081 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49082 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49083 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49084 fi
49085
49086 COND_BUILD_DEBUG_UNICODE_0="#"
49087 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49088 COND_BUILD_DEBUG_UNICODE_0=""
49089 fi
49090
49091 COND_BUILD_DEBUG_UNICODE_1="#"
49092 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49093 COND_BUILD_DEBUG_UNICODE_1=""
49094 fi
49095
49096 COND_BUILD_RELEASE="#"
49097 if test "x$BUILD" = "xrelease" ; then
49098 COND_BUILD_RELEASE=""
49099 fi
49100
49101 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49102 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49103 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49104 fi
49105
49106 COND_BUILD_RELEASE_UNICODE_0="#"
49107 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49108 COND_BUILD_RELEASE_UNICODE_0=""
49109 fi
49110
49111 COND_BUILD_RELEASE_UNICODE_1="#"
49112 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49113 COND_BUILD_RELEASE_UNICODE_1=""
49114 fi
49115
49116 COND_DEBUG_FLAG_1="#"
49117 if test "x$DEBUG_FLAG" = "x1" ; then
49118 COND_DEBUG_FLAG_1=""
49119 fi
49120
49121 COND_DEBUG_INFO_0="#"
49122 if test "x$DEBUG_INFO" = "x0" ; then
49123 COND_DEBUG_INFO_0=""
49124 fi
49125
49126 COND_DEBUG_INFO_1="#"
49127 if test "x$DEBUG_INFO" = "x1" ; then
49128 COND_DEBUG_INFO_1=""
49129 fi
49130
49131 COND_DEPS_TRACKING_0="#"
49132 if test "x$DEPS_TRACKING" = "x0" ; then
49133 COND_DEPS_TRACKING_0=""
49134 fi
49135
49136 COND_DEPS_TRACKING_1="#"
49137 if test "x$DEPS_TRACKING" = "x1" ; then
49138 COND_DEPS_TRACKING_1=""
49139 fi
49140
49141 COND_GCC_PCH_1="#"
49142 if test "x$GCC_PCH" = "x1" ; then
49143 COND_GCC_PCH_1=""
49144 fi
49145
49146 COND_ICC_PCH_1="#"
49147 if test "x$ICC_PCH" = "x1" ; then
49148 COND_ICC_PCH_1=""
49149 fi
49150
49151 COND_MONOLITHIC_0="#"
49152 if test "x$MONOLITHIC" = "x0" ; then
49153 COND_MONOLITHIC_0=""
49154 fi
49155
49156 COND_MONOLITHIC_0_SHARED_0="#"
49157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49158 COND_MONOLITHIC_0_SHARED_0=""
49159 fi
49160
49161 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49163 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49164 fi
49165
49166 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49168 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49169 fi
49170
49171 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49173 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49174 fi
49175
49176 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49178 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49179 fi
49180
49181 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49183 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49184 fi
49185
49186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49187 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49188 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49189 fi
49190
49191 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49192 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49193 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49194 fi
49195
49196 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49197 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49198 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49199 fi
49200
49201 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49202 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49203 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49204 fi
49205
49206 COND_MONOLITHIC_0_SHARED_1="#"
49207 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49208 COND_MONOLITHIC_0_SHARED_1=""
49209 fi
49210
49211 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49213 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49214 fi
49215
49216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49218 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49219 fi
49220
49221 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49222 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49223 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49224 fi
49225
49226 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49227 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49228 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49229 fi
49230
49231 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49232 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49233 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49234 fi
49235
49236 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49237 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49238 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49239 fi
49240
49241 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49242 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49243 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49244 fi
49245
49246 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49248 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49249 fi
49250
49251 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49253 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49254 fi
49255
49256 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49257 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49258 COND_MONOLITHIC_0_USE_MEDIA_1=""
49259 fi
49260
49261 COND_MONOLITHIC_0_USE_ODBC_1="#"
49262 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49263 COND_MONOLITHIC_0_USE_ODBC_1=""
49264 fi
49265
49266 COND_MONOLITHIC_1="#"
49267 if test "x$MONOLITHIC" = "x1" ; then
49268 COND_MONOLITHIC_1=""
49269 fi
49270
49271 COND_MONOLITHIC_1_SHARED_0="#"
49272 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49273 COND_MONOLITHIC_1_SHARED_0=""
49274 fi
49275
49276 COND_MONOLITHIC_1_SHARED_1="#"
49277 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49278 COND_MONOLITHIC_1_SHARED_1=""
49279 fi
49280
49281 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49282 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49283 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49284 fi
49285
49286 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49287 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49288 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49289 fi
49290
49291 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49292 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49293 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49294 fi
49295
49296 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49297 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49298 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49299 fi
49300
49301 COND_PLATFORM_MACOSX_1="#"
49302 if test "x$PLATFORM_MACOSX" = "x1" ; then
49303 COND_PLATFORM_MACOSX_1=""
49304 fi
49305
49306 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49307 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49308 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49309 fi
49310
49311 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49312 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49313 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49314 fi
49315
49316 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49317 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49318 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49319 fi
49320
49321 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49323 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49324 fi
49325
49326 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49327 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49328 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49329 fi
49330
49331 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49333 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49334 fi
49335
49336 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49338 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49339 fi
49340
49341 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49343 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49344 fi
49345
49346 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49348 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49349 fi
49350
49351 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49352 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49353 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49354 fi
49355
49356 COND_PLATFORM_MACOS_1="#"
49357 if test "x$PLATFORM_MACOS" = "x1" ; then
49358 COND_PLATFORM_MACOS_1=""
49359 fi
49360
49361 COND_PLATFORM_MAC_1="#"
49362 if test "x$PLATFORM_MAC" = "x1" ; then
49363 COND_PLATFORM_MAC_1=""
49364 fi
49365
49366 COND_PLATFORM_MSDOS_0="#"
49367 if test "x$PLATFORM_MSDOS" = "x0" ; then
49368 COND_PLATFORM_MSDOS_0=""
49369 fi
49370
49371 COND_PLATFORM_MSDOS_1="#"
49372 if test "x$PLATFORM_MSDOS" = "x1" ; then
49373 COND_PLATFORM_MSDOS_1=""
49374 fi
49375
49376 COND_PLATFORM_OS2_1="#"
49377 if test "x$PLATFORM_OS2" = "x1" ; then
49378 COND_PLATFORM_OS2_1=""
49379 fi
49380
49381 COND_PLATFORM_UNIX_0="#"
49382 if test "x$PLATFORM_UNIX" = "x0" ; then
49383 COND_PLATFORM_UNIX_0=""
49384 fi
49385
49386 COND_PLATFORM_UNIX_1="#"
49387 if test "x$PLATFORM_UNIX" = "x1" ; then
49388 COND_PLATFORM_UNIX_1=""
49389 fi
49390
49391 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49392 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49393 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49394 fi
49395
49396 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49397 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49398 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49399 fi
49400
49401 COND_PLATFORM_WIN32_0="#"
49402 if test "x$PLATFORM_WIN32" = "x0" ; then
49403 COND_PLATFORM_WIN32_0=""
49404 fi
49405
49406 COND_PLATFORM_WIN32_1="#"
49407 if test "x$PLATFORM_WIN32" = "x1" ; then
49408 COND_PLATFORM_WIN32_1=""
49409 fi
49410
49411 COND_SHARED_0="#"
49412 if test "x$SHARED" = "x0" ; then
49413 COND_SHARED_0=""
49414 fi
49415
49416 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49417 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49418 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49419 fi
49420
49421 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49422 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49423 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49424 fi
49425
49426 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49427 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49428 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49429 fi
49430
49431 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49432 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49433 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49434 fi
49435
49436 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49437 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49438 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49439 fi
49440
49441 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49442 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49443 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49444 fi
49445
49446 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49447 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49448 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49449 fi
49450
49451 COND_SHARED_0_USE_XRC_1="#"
49452 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49453 COND_SHARED_0_USE_XRC_1=""
49454 fi
49455
49456 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49457 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49458 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49459 fi
49460
49461 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49462 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49463 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49464 fi
49465
49466 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49467 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49468 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49469 fi
49470
49471 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49472 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49473 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49474 fi
49475
49476 COND_SHARED_1="#"
49477 if test "x$SHARED" = "x1" ; then
49478 COND_SHARED_1=""
49479 fi
49480
49481 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49482 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49483 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49484 fi
49485
49486 COND_SHARED_1_USE_XRC_1="#"
49487 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49488 COND_SHARED_1_USE_XRC_1=""
49489 fi
49490
49491 COND_TOOLKIT_="#"
49492 if test "x$TOOLKIT" = "x" ; then
49493 COND_TOOLKIT_=""
49494 fi
49495
49496 COND_TOOLKIT_COCOA="#"
49497 if test "x$TOOLKIT" = "xCOCOA" ; then
49498 COND_TOOLKIT_COCOA=""
49499 fi
49500
49501 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49502 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49503 COND_TOOLKIT_COCOA_USE_GUI_1=""
49504 fi
49505
49506 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49507 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49508 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49509 fi
49510
49511 COND_TOOLKIT_DFB="#"
49512 if test "x$TOOLKIT" = "xDFB" ; then
49513 COND_TOOLKIT_DFB=""
49514 fi
49515
49516 COND_TOOLKIT_DFB_USE_GUI_1="#"
49517 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49518 COND_TOOLKIT_DFB_USE_GUI_1=""
49519 fi
49520
49521 COND_TOOLKIT_GTK="#"
49522 if test "x$TOOLKIT" = "xGTK" ; then
49523 COND_TOOLKIT_GTK=""
49524 fi
49525
49526 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49527 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49529 fi
49530
49531 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49532 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49533 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49534 fi
49535
49536 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49537 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49538 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49539 fi
49540
49541 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49542 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49543 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49544 fi
49545
49546 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49547 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49548 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49549 fi
49550
49551 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49552 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49553 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49554 fi
49555
49556 COND_TOOLKIT_GTK_USE_GUI_1="#"
49557 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49558 COND_TOOLKIT_GTK_USE_GUI_1=""
49559 fi
49560
49561 COND_TOOLKIT_MAC="#"
49562 if test "x$TOOLKIT" = "xMAC" ; then
49563 COND_TOOLKIT_MAC=""
49564 fi
49565
49566 COND_TOOLKIT_MAC_USE_GUI_1="#"
49567 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49568 COND_TOOLKIT_MAC_USE_GUI_1=""
49569 fi
49570
49571 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49572 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49573 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49574 fi
49575
49576 COND_TOOLKIT_MGL="#"
49577 if test "x$TOOLKIT" = "xMGL" ; then
49578 COND_TOOLKIT_MGL=""
49579 fi
49580
49581 COND_TOOLKIT_MGL_USE_GUI_1="#"
49582 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49583 COND_TOOLKIT_MGL_USE_GUI_1=""
49584 fi
49585
49586 COND_TOOLKIT_MOTIF="#"
49587 if test "x$TOOLKIT" = "xMOTIF" ; then
49588 COND_TOOLKIT_MOTIF=""
49589 fi
49590
49591 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49592 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49593 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49594 fi
49595
49596 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49597 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49598 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49599 fi
49600
49601 COND_TOOLKIT_MSW="#"
49602 if test "x$TOOLKIT" = "xMSW" ; then
49603 COND_TOOLKIT_MSW=""
49604 fi
49605
49606 COND_TOOLKIT_MSW_USE_GUI_1="#"
49607 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49608 COND_TOOLKIT_MSW_USE_GUI_1=""
49609 fi
49610
49611 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49612 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49613 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49614 fi
49615
49616 COND_TOOLKIT_MSW_WXUNIV_0="#"
49617 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49618 COND_TOOLKIT_MSW_WXUNIV_0=""
49619 fi
49620
49621 COND_TOOLKIT_PM="#"
49622 if test "x$TOOLKIT" = "xPM" ; then
49623 COND_TOOLKIT_PM=""
49624 fi
49625
49626 COND_TOOLKIT_PM_USE_GUI_1="#"
49627 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49628 COND_TOOLKIT_PM_USE_GUI_1=""
49629 fi
49630
49631 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49632 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49633 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49634 fi
49635
49636 COND_TOOLKIT_WINCE="#"
49637 if test "x$TOOLKIT" = "xWINCE" ; then
49638 COND_TOOLKIT_WINCE=""
49639 fi
49640
49641 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49642 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49643 COND_TOOLKIT_WINCE_USE_GUI_1=""
49644 fi
49645
49646 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49647 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49648 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49649 fi
49650
49651 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49652 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49653 COND_TOOLKIT_WINCE_WXUNIV_0=""
49654 fi
49655
49656 COND_TOOLKIT_X11="#"
49657 if test "x$TOOLKIT" = "xX11" ; then
49658 COND_TOOLKIT_X11=""
49659 fi
49660
49661 COND_TOOLKIT_X11_USE_GUI_1="#"
49662 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49663 COND_TOOLKIT_X11_USE_GUI_1=""
49664 fi
49665
49666 COND_UNICODE_1="#"
49667 if test "x$UNICODE" = "x1" ; then
49668 COND_UNICODE_1=""
49669 fi
49670
49671 COND_USE_EXCEPTIONS_0="#"
49672 if test "x$USE_EXCEPTIONS" = "x0" ; then
49673 COND_USE_EXCEPTIONS_0=""
49674 fi
49675
49676 COND_USE_EXCEPTIONS_1="#"
49677 if test "x$USE_EXCEPTIONS" = "x1" ; then
49678 COND_USE_EXCEPTIONS_1=""
49679 fi
49680
49681 COND_USE_GUI_0="#"
49682 if test "x$USE_GUI" = "x0" ; then
49683 COND_USE_GUI_0=""
49684 fi
49685
49686 COND_USE_GUI_1="#"
49687 if test "x$USE_GUI" = "x1" ; then
49688 COND_USE_GUI_1=""
49689 fi
49690
49691 COND_USE_GUI_1_WXUNIV_0="#"
49692 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49693 COND_USE_GUI_1_WXUNIV_0=""
49694 fi
49695
49696 COND_USE_GUI_1_WXUNIV_1="#"
49697 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49698 COND_USE_GUI_1_WXUNIV_1=""
49699 fi
49700
49701 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49702 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49703 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49704 fi
49705
49706 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49707 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49708 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49709 fi
49710
49711 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49712 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49713 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49714 fi
49715
49716 COND_USE_ODBC_1="#"
49717 if test "x$USE_ODBC" = "x1" ; then
49718 COND_USE_ODBC_1=""
49719 fi
49720
49721 COND_USE_OPENGL_1="#"
49722 if test "x$USE_OPENGL" = "x1" ; then
49723 COND_USE_OPENGL_1=""
49724 fi
49725
49726 COND_USE_PCH_1="#"
49727 if test "x$USE_PCH" = "x1" ; then
49728 COND_USE_PCH_1=""
49729 fi
49730
49731 COND_USE_PLUGINS_0="#"
49732 if test "x$USE_PLUGINS" = "x0" ; then
49733 COND_USE_PLUGINS_0=""
49734 fi
49735
49736 COND_USE_RTTI_0="#"
49737 if test "x$USE_RTTI" = "x0" ; then
49738 COND_USE_RTTI_0=""
49739 fi
49740
49741 COND_USE_RTTI_1="#"
49742 if test "x$USE_RTTI" = "x1" ; then
49743 COND_USE_RTTI_1=""
49744 fi
49745
49746 COND_USE_SOSYMLINKS_1="#"
49747 if test "x$USE_SOSYMLINKS" = "x1" ; then
49748 COND_USE_SOSYMLINKS_1=""
49749 fi
49750
49751 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49752 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49753 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49754 fi
49755
49756 COND_USE_SOVERLINUX_1="#"
49757 if test "x$USE_SOVERLINUX" = "x1" ; then
49758 COND_USE_SOVERLINUX_1=""
49759 fi
49760
49761 COND_USE_SOVERSION_0="#"
49762 if test "x$USE_SOVERSION" = "x0" ; then
49763 COND_USE_SOVERSION_0=""
49764 fi
49765
49766 COND_USE_SOVERSOLARIS_1="#"
49767 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49768 COND_USE_SOVERSOLARIS_1=""
49769 fi
49770
49771 COND_USE_THREADS_0="#"
49772 if test "x$USE_THREADS" = "x0" ; then
49773 COND_USE_THREADS_0=""
49774 fi
49775
49776 COND_USE_THREADS_1="#"
49777 if test "x$USE_THREADS" = "x1" ; then
49778 COND_USE_THREADS_1=""
49779 fi
49780
49781 COND_USE_XRC_1="#"
49782 if test "x$USE_XRC" = "x1" ; then
49783 COND_USE_XRC_1=""
49784 fi
49785
49786 COND_WINDOWS_IMPLIB_1="#"
49787 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49788 COND_WINDOWS_IMPLIB_1=""
49789 fi
49790
49791 COND_WITH_PLUGIN_SDL_1="#"
49792 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49793 COND_WITH_PLUGIN_SDL_1=""
49794 fi
49795
49796 COND_WXUNIV_0="#"
49797 if test "x$WXUNIV" = "x0" ; then
49798 COND_WXUNIV_0=""
49799 fi
49800
49801 COND_WXUNIV_1="#"
49802 if test "x$WXUNIV" = "x1" ; then
49803 COND_WXUNIV_1=""
49804 fi
49805
49806 COND_WXUSE_EXPAT_BUILTIN="#"
49807 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49808 COND_WXUSE_EXPAT_BUILTIN=""
49809 fi
49810
49811 COND_WXUSE_LIBJPEG_BUILTIN="#"
49812 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49813 COND_WXUSE_LIBJPEG_BUILTIN=""
49814 fi
49815
49816 COND_WXUSE_LIBPNG_BUILTIN="#"
49817 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49818 COND_WXUSE_LIBPNG_BUILTIN=""
49819 fi
49820
49821 COND_WXUSE_LIBTIFF_BUILTIN="#"
49822 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49823 COND_WXUSE_LIBTIFF_BUILTIN=""
49824 fi
49825
49826 COND_WXUSE_ODBC_BUILTIN="#"
49827 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49828 COND_WXUSE_ODBC_BUILTIN=""
49829 fi
49830
49831 COND_WXUSE_REGEX_BUILTIN="#"
49832 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49833 COND_WXUSE_REGEX_BUILTIN=""
49834 fi
49835
49836 COND_WXUSE_ZLIB_BUILTIN="#"
49837 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49838 COND_WXUSE_ZLIB_BUILTIN=""
49839 fi
49840
49841
49842
49843 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49844 { { 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
49845 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;}
49846 { (exit 1); exit 1; }; }
49847 fi
49848
49849 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49850 { { 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
49851 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;}
49852 { (exit 1); exit 1; }; }
49853 fi
49854
49855
49856
49857 if test "$wxUSE_MAC" = 1 ; then
49858 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49859 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49860 mv temp bk-deps
49861 chmod +x bk-deps
49862 fi
49863 fi
49864
49865 if test "$wxUSE_SHARED" = "yes"; then
49866
49867 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49868 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49869
49870 case "${host}" in
49871 *-pc-os2_emx | *-pc-os2-emx )
49872 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49873 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49874 cp -p ${srcdir}/src/os2/dllnames.sh .
49875 cp -p ${srcdir}/src/os2/dllar.sh .
49876 ;;
49877 esac
49878 else
49879
49880 EXE_LINKER="$CXX -o"
49881
49882 fi
49883 if test "$wxUSE_OMF" = "yes"; then
49884 case "${host}" in
49885 *-pc-os2_emx | *-pc-os2-emx )
49886 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49887 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49888 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49889 ;;
49890 esac
49891 fi
49892
49893 if test $GCC_PCH = 1 ; then
49894 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49895 fi
49896
49897 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49898
49899 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49962 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49963 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49964 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49965 echo $ECHO_N "(cached) $ECHO_C" >&6
49966 else
49967 cat >conftest.make <<\_ACEOF
49968 all:
49969 @echo 'ac_maketemp="$(MAKE)"'
49970 _ACEOF
49971 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49972 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49973 if test -n "$ac_maketemp"; then
49974 eval ac_cv_prog_make_${ac_make}_set=yes
49975 else
49976 eval ac_cv_prog_make_${ac_make}_set=no
49977 fi
49978 rm -f conftest.make
49979 fi
49980 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49981 echo "$as_me:$LINENO: result: yes" >&5
49982 echo "${ECHO_T}yes" >&6
49983 SET_MAKE=
49984 else
49985 echo "$as_me:$LINENO: result: no" >&5
49986 echo "${ECHO_T}no" >&6
49987 SET_MAKE="MAKE=${MAKE-make}"
49988 fi
49989
49990
49991
49992 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49993
49994
49995 if test "$USE_WIN32" = 1; then
49996 ac_config_commands="$ac_config_commands
49997 rcdefs.h
49998 "
49999
50000 fi
50001
50002 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50003
50004
50005 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50006
50007
50008 ac_config_files="$ac_config_files version-script Makefile"
50009
50010
50011 ac_config_commands="$ac_config_commands wx-config"
50012
50013
50014
50015 if test "$wxWITH_SUBDIRS" != "no"; then
50016 if test "$wxUSE_GUI" = "yes"; then
50017 SUBDIRS="samples demos utils contrib"
50018 else SUBDIRS="samples utils"
50019 fi
50020
50021
50022
50023 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50024 if test "${with_cppunit_prefix+set}" = set; then
50025 withval="$with_cppunit_prefix"
50026 cppunit_config_prefix="$withval"
50027 else
50028 cppunit_config_prefix=""
50029 fi;
50030
50031 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50032 if test "${with_cppunit_exec_prefix+set}" = set; then
50033 withval="$with_cppunit_exec_prefix"
50034 cppunit_config_exec_prefix="$withval"
50035 else
50036 cppunit_config_exec_prefix=""
50037 fi;
50038
50039 if test x$cppunit_config_exec_prefix != x ; then
50040 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50041 if test x${CPPUNIT_CONFIG+set} != xset ; then
50042 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50043 fi
50044 fi
50045 if test x$cppunit_config_prefix != x ; then
50046 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50047 if test x${CPPUNIT_CONFIG+set} != xset ; then
50048 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50049 fi
50050 fi
50051
50052 # Extract the first word of "cppunit-config", so it can be a program name with args.
50053 set dummy cppunit-config; ac_word=$2
50054 echo "$as_me:$LINENO: checking for $ac_word" >&5
50055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50056 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50058 else
50059 case $CPPUNIT_CONFIG in
50060 [\\/]* | ?:[\\/]*)
50061 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50062 ;;
50063 *)
50064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50065 for as_dir in $PATH
50066 do
50067 IFS=$as_save_IFS
50068 test -z "$as_dir" && as_dir=.
50069 for ac_exec_ext in '' $ac_executable_extensions; do
50070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50071 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50073 break 2
50074 fi
50075 done
50076 done
50077
50078 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50079 ;;
50080 esac
50081 fi
50082 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50083
50084 if test -n "$CPPUNIT_CONFIG"; then
50085 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50086 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50087 else
50088 echo "$as_me:$LINENO: result: no" >&5
50089 echo "${ECHO_T}no" >&6
50090 fi
50091
50092 cppunit_version_min=1.8.0
50093
50094 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50095 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50096 no_cppunit=""
50097 if test "$CPPUNIT_CONFIG" = "no" ; then
50098 echo "$as_me:$LINENO: result: no" >&5
50099 echo "${ECHO_T}no" >&6
50100 no_cppunit=yes
50101 else
50102 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50103 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50104 cppunit_version=`$CPPUNIT_CONFIG --version`
50105
50106 cppunit_major_version=`echo $cppunit_version | \
50107 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50108 cppunit_minor_version=`echo $cppunit_version | \
50109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50110 cppunit_micro_version=`echo $cppunit_version | \
50111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50112
50113 cppunit_major_min=`echo $cppunit_version_min | \
50114 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50115 cppunit_minor_min=`echo $cppunit_version_min | \
50116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50117 cppunit_micro_min=`echo $cppunit_version_min | \
50118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50119
50120 cppunit_version_proper=`expr \
50121 $cppunit_major_version \> $cppunit_major_min \| \
50122 $cppunit_major_version \= $cppunit_major_min \& \
50123 $cppunit_minor_version \> $cppunit_minor_min \| \
50124 $cppunit_major_version \= $cppunit_major_min \& \
50125 $cppunit_minor_version \= $cppunit_minor_min \& \
50126 $cppunit_micro_version \>= $cppunit_micro_min `
50127
50128 if test "$cppunit_version_proper" = "1" ; then
50129 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50130 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50131 else
50132 echo "$as_me:$LINENO: result: no" >&5
50133 echo "${ECHO_T}no" >&6
50134 no_cppunit=yes
50135 fi
50136 fi
50137
50138 if test "x$no_cppunit" = x ; then
50139 SUBDIRS="$SUBDIRS tests"
50140 else
50141 CPPUNIT_CFLAGS=""
50142 CPPUNIT_LIBS=""
50143 :
50144 fi
50145
50146
50147
50148
50149
50150 for subdir in `echo $SUBDIRS`; do
50151 if test -d ${srcdir}/${subdir} ; then
50152 if test "$wxUSE_GUI" = "yes"; then
50153 if test ${subdir} = "samples"; then
50154 makefiles="samples/Makefile.in $makefiles"
50155 for sample in `echo $SAMPLES_SUBDIRS`; do
50156 if test -d $srcdir/samples/$sample; then
50157 makefiles="samples/$sample/Makefile.in $makefiles"
50158 fi
50159 done
50160 else
50161 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50162 eval "disabled=\$$disabled_var"
50163 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50164 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50165 fi
50166 else if test ${subdir} = "samples"; then
50167 makefiles="samples/Makefile.in samples/console/Makefile.in"
50168 elif test ${subdir} = "utils"; then
50169 makefiles=""
50170 for util in HelpGen tex2rtf ; do
50171 if test -d $srcdir/utils/$util ; then
50172 makefiles="utils/$util/Makefile.in \
50173 utils/$util/src/Makefile.in \
50174 $makefiles"
50175 fi
50176 done
50177 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50178 fi
50179 fi
50180
50181 for mkin in $makefiles ; do
50182 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50183 ac_config_files="$ac_config_files $mk"
50184
50185 done
50186 fi
50187 done
50188 fi
50189 cat >confcache <<\_ACEOF
50190 # This file is a shell script that caches the results of configure
50191 # tests run on this system so they can be shared between configure
50192 # scripts and configure runs, see configure's option --config-cache.
50193 # It is not useful on other systems. If it contains results you don't
50194 # want to keep, you may remove or edit it.
50195 #
50196 # config.status only pays attention to the cache file if you give it
50197 # the --recheck option to rerun configure.
50198 #
50199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50201 # following values.
50202
50203 _ACEOF
50204
50205 # The following way of writing the cache mishandles newlines in values,
50206 # but we know of no workaround that is simple, portable, and efficient.
50207 # So, don't put newlines in cache variables' values.
50208 # Ultrix sh set writes to stderr and can't be redirected directly,
50209 # and sets the high bit in the cache file unless we assign to the vars.
50210 {
50211 (set) 2>&1 |
50212 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50213 *ac_space=\ *)
50214 # `set' does not quote correctly, so add quotes (double-quote
50215 # substitution turns \\\\ into \\, and sed turns \\ into \).
50216 sed -n \
50217 "s/'/'\\\\''/g;
50218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50219 ;;
50220 *)
50221 # `set' quotes correctly as required by POSIX, so do not add quotes.
50222 sed -n \
50223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50224 ;;
50225 esac;
50226 } |
50227 sed '
50228 t clear
50229 : clear
50230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50231 t end
50232 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50233 : end' >>confcache
50234 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50235 if test -w $cache_file; then
50236 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50237 cat confcache >$cache_file
50238 else
50239 echo "not updating unwritable cache $cache_file"
50240 fi
50241 fi
50242 rm -f confcache
50243
50244 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50245 # Let make expand exec_prefix.
50246 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50247
50248 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50249 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50250 # trailing colons and then remove the whole line if VPATH becomes empty
50251 # (actually we leave an empty line to preserve line numbers).
50252 if test "x$srcdir" = x.; then
50253 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50254 s/:*\$(srcdir):*/:/;
50255 s/:*\${srcdir}:*/:/;
50256 s/:*@srcdir@:*/:/;
50257 s/^\([^=]*=[ ]*\):*/\1/;
50258 s/:*$//;
50259 s/^[^=]*=[ ]*$//;
50260 }'
50261 fi
50262
50263 DEFS=-DHAVE_CONFIG_H
50264
50265 ac_libobjs=
50266 ac_ltlibobjs=
50267 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50268 # 1. Remove the extension, and $U if already installed.
50269 ac_i=`echo "$ac_i" |
50270 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50271 # 2. Add them.
50272 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50273 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50274 done
50275 LIBOBJS=$ac_libobjs
50276
50277 LTLIBOBJS=$ac_ltlibobjs
50278
50279
50280
50281 : ${CONFIG_STATUS=./config.status}
50282 ac_clean_files_save=$ac_clean_files
50283 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50284 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50285 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50286 cat >$CONFIG_STATUS <<_ACEOF
50287 #! $SHELL
50288 # Generated by $as_me.
50289 # Run this file to recreate the current configuration.
50290 # Compiler output produced by configure, useful for debugging
50291 # configure, is in config.log if it exists.
50292
50293 debug=false
50294 ac_cs_recheck=false
50295 ac_cs_silent=false
50296 SHELL=\${CONFIG_SHELL-$SHELL}
50297 _ACEOF
50298
50299 cat >>$CONFIG_STATUS <<\_ACEOF
50300 ## --------------------- ##
50301 ## M4sh Initialization. ##
50302 ## --------------------- ##
50303
50304 # Be Bourne compatible
50305 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50306 emulate sh
50307 NULLCMD=:
50308 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50309 # is contrary to our usage. Disable this feature.
50310 alias -g '${1+"$@"}'='"$@"'
50311 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50312 set -o posix
50313 fi
50314 DUALCASE=1; export DUALCASE # for MKS sh
50315
50316 # Support unset when possible.
50317 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50318 as_unset=unset
50319 else
50320 as_unset=false
50321 fi
50322
50323
50324 # Work around bugs in pre-3.0 UWIN ksh.
50325 $as_unset ENV MAIL MAILPATH
50326 PS1='$ '
50327 PS2='> '
50328 PS4='+ '
50329
50330 # NLS nuisances.
50331 for as_var in \
50332 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50333 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50334 LC_TELEPHONE LC_TIME
50335 do
50336 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50337 eval $as_var=C; export $as_var
50338 else
50339 $as_unset $as_var
50340 fi
50341 done
50342
50343 # Required to use basename.
50344 if expr a : '\(a\)' >/dev/null 2>&1; then
50345 as_expr=expr
50346 else
50347 as_expr=false
50348 fi
50349
50350 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50351 as_basename=basename
50352 else
50353 as_basename=false
50354 fi
50355
50356
50357 # Name of the executable.
50358 as_me=`$as_basename "$0" ||
50359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50360 X"$0" : 'X\(//\)$' \| \
50361 X"$0" : 'X\(/\)$' \| \
50362 . : '\(.\)' 2>/dev/null ||
50363 echo X/"$0" |
50364 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50365 /^X\/\(\/\/\)$/{ s//\1/; q; }
50366 /^X\/\(\/\).*/{ s//\1/; q; }
50367 s/.*/./; q'`
50368
50369
50370 # PATH needs CR, and LINENO needs CR and PATH.
50371 # Avoid depending upon Character Ranges.
50372 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50373 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50374 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50375 as_cr_digits='0123456789'
50376 as_cr_alnum=$as_cr_Letters$as_cr_digits
50377
50378 # The user is always right.
50379 if test "${PATH_SEPARATOR+set}" != set; then
50380 echo "#! /bin/sh" >conf$$.sh
50381 echo "exit 0" >>conf$$.sh
50382 chmod +x conf$$.sh
50383 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50384 PATH_SEPARATOR=';'
50385 else
50386 PATH_SEPARATOR=:
50387 fi
50388 rm -f conf$$.sh
50389 fi
50390
50391
50392 as_lineno_1=$LINENO
50393 as_lineno_2=$LINENO
50394 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50395 test "x$as_lineno_1" != "x$as_lineno_2" &&
50396 test "x$as_lineno_3" = "x$as_lineno_2" || {
50397 # Find who we are. Look in the path if we contain no path at all
50398 # relative or not.
50399 case $0 in
50400 *[\\/]* ) as_myself=$0 ;;
50401 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50402 for as_dir in $PATH
50403 do
50404 IFS=$as_save_IFS
50405 test -z "$as_dir" && as_dir=.
50406 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50407 done
50408
50409 ;;
50410 esac
50411 # We did not find ourselves, most probably we were run as `sh COMMAND'
50412 # in which case we are not to be found in the path.
50413 if test "x$as_myself" = x; then
50414 as_myself=$0
50415 fi
50416 if test ! -f "$as_myself"; then
50417 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50418 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50419 { (exit 1); exit 1; }; }
50420 fi
50421 case $CONFIG_SHELL in
50422 '')
50423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50424 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50425 do
50426 IFS=$as_save_IFS
50427 test -z "$as_dir" && as_dir=.
50428 for as_base in sh bash ksh sh5; do
50429 case $as_dir in
50430 /*)
50431 if ("$as_dir/$as_base" -c '
50432 as_lineno_1=$LINENO
50433 as_lineno_2=$LINENO
50434 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50435 test "x$as_lineno_1" != "x$as_lineno_2" &&
50436 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50437 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50438 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50439 CONFIG_SHELL=$as_dir/$as_base
50440 export CONFIG_SHELL
50441 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50442 fi;;
50443 esac
50444 done
50445 done
50446 ;;
50447 esac
50448
50449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50450 # uniformly replaced by the line number. The first 'sed' inserts a
50451 # line-number line before each line; the second 'sed' does the real
50452 # work. The second script uses 'N' to pair each line-number line
50453 # with the numbered line, and appends trailing '-' during
50454 # substitution so that $LINENO is not a special case at line end.
50455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50456 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50457 sed '=' <$as_myself |
50458 sed '
50459 N
50460 s,$,-,
50461 : loop
50462 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50463 t loop
50464 s,-$,,
50465 s,^['$as_cr_digits']*\n,,
50466 ' >$as_me.lineno &&
50467 chmod +x $as_me.lineno ||
50468 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50469 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50470 { (exit 1); exit 1; }; }
50471
50472 # Don't try to exec as it changes $[0], causing all sort of problems
50473 # (the dirname of $[0] is not the place where we might find the
50474 # original and so on. Autoconf is especially sensible to this).
50475 . ./$as_me.lineno
50476 # Exit status is that of the last command.
50477 exit
50478 }
50479
50480
50481 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50482 *c*,-n*) ECHO_N= ECHO_C='
50483 ' ECHO_T=' ' ;;
50484 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50485 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50486 esac
50487
50488 if expr a : '\(a\)' >/dev/null 2>&1; then
50489 as_expr=expr
50490 else
50491 as_expr=false
50492 fi
50493
50494 rm -f conf$$ conf$$.exe conf$$.file
50495 echo >conf$$.file
50496 if ln -s conf$$.file conf$$ 2>/dev/null; then
50497 # We could just check for DJGPP; but this test a) works b) is more generic
50498 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50499 if test -f conf$$.exe; then
50500 # Don't use ln at all; we don't have any links
50501 as_ln_s='cp -p'
50502 else
50503 as_ln_s='ln -s'
50504 fi
50505 elif ln conf$$.file conf$$ 2>/dev/null; then
50506 as_ln_s=ln
50507 else
50508 as_ln_s='cp -p'
50509 fi
50510 rm -f conf$$ conf$$.exe conf$$.file
50511
50512 if mkdir -p . 2>/dev/null; then
50513 as_mkdir_p=:
50514 else
50515 test -d ./-p && rmdir ./-p
50516 as_mkdir_p=false
50517 fi
50518
50519 as_executable_p="test -f"
50520
50521 # Sed expression to map a string onto a valid CPP name.
50522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50523
50524 # Sed expression to map a string onto a valid variable name.
50525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50526
50527
50528 # IFS
50529 # We need space, tab and new line, in precisely that order.
50530 as_nl='
50531 '
50532 IFS=" $as_nl"
50533
50534 # CDPATH.
50535 $as_unset CDPATH
50536
50537 exec 6>&1
50538
50539 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50540 # report actual input values of CONFIG_FILES etc. instead of their
50541 # values after options handling. Logging --version etc. is OK.
50542 exec 5>>config.log
50543 {
50544 echo
50545 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50546 ## Running $as_me. ##
50547 _ASBOX
50548 } >&5
50549 cat >&5 <<_CSEOF
50550
50551 This file was extended by wxWidgets $as_me 2.7.1, which was
50552 generated by GNU Autoconf 2.59. Invocation command line was
50553
50554 CONFIG_FILES = $CONFIG_FILES
50555 CONFIG_HEADERS = $CONFIG_HEADERS
50556 CONFIG_LINKS = $CONFIG_LINKS
50557 CONFIG_COMMANDS = $CONFIG_COMMANDS
50558 $ $0 $@
50559
50560 _CSEOF
50561 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50562 echo >&5
50563 _ACEOF
50564
50565 # Files that config.status was made for.
50566 if test -n "$ac_config_files"; then
50567 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50568 fi
50569
50570 if test -n "$ac_config_headers"; then
50571 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50572 fi
50573
50574 if test -n "$ac_config_links"; then
50575 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50576 fi
50577
50578 if test -n "$ac_config_commands"; then
50579 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50580 fi
50581
50582 cat >>$CONFIG_STATUS <<\_ACEOF
50583
50584 ac_cs_usage="\
50585 \`$as_me' instantiates files from templates according to the
50586 current configuration.
50587
50588 Usage: $0 [OPTIONS] [FILE]...
50589
50590 -h, --help print this help, then exit
50591 -V, --version print version number, then exit
50592 -q, --quiet do not print progress messages
50593 -d, --debug don't remove temporary files
50594 --recheck update $as_me by reconfiguring in the same conditions
50595 --file=FILE[:TEMPLATE]
50596 instantiate the configuration file FILE
50597 --header=FILE[:TEMPLATE]
50598 instantiate the configuration header FILE
50599
50600 Configuration files:
50601 $config_files
50602
50603 Configuration headers:
50604 $config_headers
50605
50606 Configuration commands:
50607 $config_commands
50608
50609 Report bugs to <bug-autoconf@gnu.org>."
50610 _ACEOF
50611
50612 cat >>$CONFIG_STATUS <<_ACEOF
50613 ac_cs_version="\\
50614 wxWidgets config.status 2.7.1
50615 configured by $0, generated by GNU Autoconf 2.59,
50616 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50617
50618 Copyright (C) 2003 Free Software Foundation, Inc.
50619 This config.status script is free software; the Free Software Foundation
50620 gives unlimited permission to copy, distribute and modify it."
50621 srcdir=$srcdir
50622 INSTALL="$INSTALL"
50623 _ACEOF
50624
50625 cat >>$CONFIG_STATUS <<\_ACEOF
50626 # If no file are specified by the user, then we need to provide default
50627 # value. By we need to know if files were specified by the user.
50628 ac_need_defaults=:
50629 while test $# != 0
50630 do
50631 case $1 in
50632 --*=*)
50633 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50634 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50635 ac_shift=:
50636 ;;
50637 -*)
50638 ac_option=$1
50639 ac_optarg=$2
50640 ac_shift=shift
50641 ;;
50642 *) # This is not an option, so the user has probably given explicit
50643 # arguments.
50644 ac_option=$1
50645 ac_need_defaults=false;;
50646 esac
50647
50648 case $ac_option in
50649 # Handling of the options.
50650 _ACEOF
50651 cat >>$CONFIG_STATUS <<\_ACEOF
50652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50653 ac_cs_recheck=: ;;
50654 --version | --vers* | -V )
50655 echo "$ac_cs_version"; exit 0 ;;
50656 --he | --h)
50657 # Conflict between --help and --header
50658 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50659 Try \`$0 --help' for more information." >&5
50660 echo "$as_me: error: ambiguous option: $1
50661 Try \`$0 --help' for more information." >&2;}
50662 { (exit 1); exit 1; }; };;
50663 --help | --hel | -h )
50664 echo "$ac_cs_usage"; exit 0 ;;
50665 --debug | --d* | -d )
50666 debug=: ;;
50667 --file | --fil | --fi | --f )
50668 $ac_shift
50669 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50670 ac_need_defaults=false;;
50671 --header | --heade | --head | --hea )
50672 $ac_shift
50673 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50674 ac_need_defaults=false;;
50675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50677 ac_cs_silent=: ;;
50678
50679 # This is an error.
50680 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50681 Try \`$0 --help' for more information." >&5
50682 echo "$as_me: error: unrecognized option: $1
50683 Try \`$0 --help' for more information." >&2;}
50684 { (exit 1); exit 1; }; } ;;
50685
50686 *) ac_config_targets="$ac_config_targets $1" ;;
50687
50688 esac
50689 shift
50690 done
50691
50692 ac_configure_extra_args=
50693
50694 if $ac_cs_silent; then
50695 exec 6>/dev/null
50696 ac_configure_extra_args="$ac_configure_extra_args --silent"
50697 fi
50698
50699 _ACEOF
50700 cat >>$CONFIG_STATUS <<_ACEOF
50701 if \$ac_cs_recheck; then
50702 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50703 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50704 fi
50705
50706 _ACEOF
50707
50708 cat >>$CONFIG_STATUS <<_ACEOF
50709 #
50710 # INIT-COMMANDS section.
50711 #
50712
50713
50714 CPP="$CPP"
50715 infile="$srcdir/include/wx/msw/genrcdefs.h"
50716 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50717
50718
50719 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50720 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50721 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50722 LN_S="${LN_S}"
50723
50724
50725 _ACEOF
50726
50727
50728
50729 cat >>$CONFIG_STATUS <<\_ACEOF
50730 for ac_config_target in $ac_config_targets
50731 do
50732 case "$ac_config_target" in
50733 # Handling of arguments.
50734 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50735 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50736 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50737 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50738 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50739 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50740 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50741 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50742 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50743 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50744 { (exit 1); exit 1; }; };;
50745 esac
50746 done
50747
50748 # If the user did not use the arguments to specify the items to instantiate,
50749 # then the envvar interface is used. Set only those that are not.
50750 # We use the long form for the default assignment because of an extremely
50751 # bizarre bug on SunOS 4.1.3.
50752 if $ac_need_defaults; then
50753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50755 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50756 fi
50757
50758 # Have a temporary directory for convenience. Make it in the build tree
50759 # simply because there is no reason to put it here, and in addition,
50760 # creating and moving files from /tmp can sometimes cause problems.
50761 # Create a temporary directory, and hook for its removal unless debugging.
50762 $debug ||
50763 {
50764 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50765 trap '{ (exit 1); exit 1; }' 1 2 13 15
50766 }
50767
50768 # Create a (secure) tmp directory for tmp files.
50769
50770 {
50771 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50772 test -n "$tmp" && test -d "$tmp"
50773 } ||
50774 {
50775 tmp=./confstat$$-$RANDOM
50776 (umask 077 && mkdir $tmp)
50777 } ||
50778 {
50779 echo "$me: cannot create a temporary directory in ." >&2
50780 { (exit 1); exit 1; }
50781 }
50782
50783 _ACEOF
50784
50785 cat >>$CONFIG_STATUS <<_ACEOF
50786
50787 #
50788 # CONFIG_FILES section.
50789 #
50790
50791 # No need to generate the scripts if there are no CONFIG_FILES.
50792 # This happens for instance when ./config.status config.h
50793 if test -n "\$CONFIG_FILES"; then
50794 # Protect against being on the right side of a sed subst in config.status.
50795 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50796 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50797 s,@SHELL@,$SHELL,;t t
50798 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50799 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50800 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50801 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50802 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50803 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50804 s,@exec_prefix@,$exec_prefix,;t t
50805 s,@prefix@,$prefix,;t t
50806 s,@program_transform_name@,$program_transform_name,;t t
50807 s,@bindir@,$bindir,;t t
50808 s,@sbindir@,$sbindir,;t t
50809 s,@libexecdir@,$libexecdir,;t t
50810 s,@datadir@,$datadir,;t t
50811 s,@sysconfdir@,$sysconfdir,;t t
50812 s,@sharedstatedir@,$sharedstatedir,;t t
50813 s,@localstatedir@,$localstatedir,;t t
50814 s,@libdir@,$libdir,;t t
50815 s,@includedir@,$includedir,;t t
50816 s,@oldincludedir@,$oldincludedir,;t t
50817 s,@infodir@,$infodir,;t t
50818 s,@mandir@,$mandir,;t t
50819 s,@build_alias@,$build_alias,;t t
50820 s,@host_alias@,$host_alias,;t t
50821 s,@target_alias@,$target_alias,;t t
50822 s,@DEFS@,$DEFS,;t t
50823 s,@ECHO_C@,$ECHO_C,;t t
50824 s,@ECHO_N@,$ECHO_N,;t t
50825 s,@ECHO_T@,$ECHO_T,;t t
50826 s,@LIBS@,$LIBS,;t t
50827 s,@build@,$build,;t t
50828 s,@build_cpu@,$build_cpu,;t t
50829 s,@build_vendor@,$build_vendor,;t t
50830 s,@build_os@,$build_os,;t t
50831 s,@host@,$host,;t t
50832 s,@host_cpu@,$host_cpu,;t t
50833 s,@host_vendor@,$host_vendor,;t t
50834 s,@host_os@,$host_os,;t t
50835 s,@target@,$target,;t t
50836 s,@target_cpu@,$target_cpu,;t t
50837 s,@target_vendor@,$target_vendor,;t t
50838 s,@target_os@,$target_os,;t t
50839 s,@CC@,$CC,;t t
50840 s,@CFLAGS@,$CFLAGS,;t t
50841 s,@LDFLAGS@,$LDFLAGS,;t t
50842 s,@CPPFLAGS@,$CPPFLAGS,;t t
50843 s,@ac_ct_CC@,$ac_ct_CC,;t t
50844 s,@EXEEXT@,$EXEEXT,;t t
50845 s,@OBJEXT@,$OBJEXT,;t t
50846 s,@CPP@,$CPP,;t t
50847 s,@EGREP@,$EGREP,;t t
50848 s,@CXX@,$CXX,;t t
50849 s,@CXXFLAGS@,$CXXFLAGS,;t t
50850 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50851 s,@RANLIB@,$RANLIB,;t t
50852 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50853 s,@AR@,$AR,;t t
50854 s,@ac_ct_AR@,$ac_ct_AR,;t t
50855 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50856 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50857 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50858 s,@STRIP@,$STRIP,;t t
50859 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50860 s,@WINDRES@,$WINDRES,;t t
50861 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50862 s,@DLLTOOL@,$DLLTOOL,;t t
50863 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50864 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50865 s,@LN_S@,$LN_S,;t t
50866 s,@CXXCPP@,$CXXCPP,;t t
50867 s,@subdirs@,$subdirs,;t t
50868 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50869 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50870 s,@GTK_LIBS@,$GTK_LIBS,;t t
50871 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50872 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50873 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50874 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50875 s,@X_CFLAGS@,$X_CFLAGS,;t t
50876 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50877 s,@X_LIBS@,$X_LIBS,;t t
50878 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50879 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50880 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50881 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50882 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50883 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50884 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50885 s,@REZ@,$REZ,;t t
50886 s,@DEREZ@,$DEREZ,;t t
50887 s,@SETFILE@,$SETFILE,;t t
50888 s,@LIBICONV@,$LIBICONV,;t t
50889 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50890 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50891 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50892 s,@SDL_LIBS@,$SDL_LIBS,;t t
50893 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50894 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50895 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50896 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50897 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50898 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50899 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50900 s,@GST_LIBS@,$GST_LIBS,;t t
50901 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50902 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50903 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50904 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50905 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50906 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50907 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50908 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50909 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50910 s,@VENDOR@,$VENDOR,;t t
50911 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50912 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50913 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50914 s,@WXUNIV@,$WXUNIV,;t t
50915 s,@MONOLITHIC@,$MONOLITHIC,;t t
50916 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50917 s,@EXTRALIBS@,$EXTRALIBS,;t t
50918 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50919 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50920 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50921 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50922 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50923 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50924 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50925 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50926 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50927 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50928 s,@UNICODE@,$UNICODE,;t t
50929 s,@BUILD@,$BUILD,;t t
50930 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50931 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50932 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50933 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50934 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50935 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50936 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50937 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50938 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50939 s,@SET_MAKE@,$SET_MAKE,;t t
50940 s,@MAKE_SET@,$MAKE_SET,;t t
50941 s,@NM@,$NM,;t t
50942 s,@ac_ct_NM@,$ac_ct_NM,;t t
50943 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50944 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50945 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50946 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50947 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50948 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50949 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50950 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50951 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50952 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50953 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50954 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50955 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50956 s,@LIBPREFIX@,$LIBPREFIX,;t t
50957 s,@LIBEXT@,$LIBEXT,;t t
50958 s,@DLLPREFIX@,$DLLPREFIX,;t t
50959 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50960 s,@dlldir@,$dlldir,;t t
50961 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50962 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50963 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50964 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50965 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50966 s,@PIC_FLAG@,$PIC_FLAG,;t t
50967 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50968 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50969 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50970 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50971 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50972 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50973 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50974 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50975 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50976 s,@GCC_PCH@,$GCC_PCH,;t t
50977 s,@ICC_PCH@,$ICC_PCH,;t t
50978 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50979 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50980 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50981 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50982 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50983 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50984 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50985 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50986 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50987 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50988 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50989 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50990 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50991 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50992 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50993 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50994 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50995 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50996 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50997 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50998 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
50999 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
51000 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
51001 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
51002 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51003 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51004 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51005 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51006 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51007 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51008 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
51009 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
51010 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
51011 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
51012 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51013 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51014 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51015 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51016 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51017 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51018 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51019 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51020 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51021 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51022 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51023 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51024 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51025 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51026 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51027 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51028 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51029 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51030 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
51031 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51032 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51033 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51034 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51035 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51036 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51037 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51038 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51039 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51040 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51041 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51042 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51043 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51044 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51045 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51046 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51047 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51048 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51049 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51050 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51051 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51052 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51053 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51054 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51055 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51056 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51057 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51058 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51059 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51060 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51061 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51062 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51063 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51064 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51065 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51066 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51067 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51068 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51069 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51070 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51071 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51072 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
51073 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51074 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51075 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51076 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51077 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51078 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51079 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51080 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51081 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51082 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51083 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51084 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51085 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51086 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51087 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51088 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51089 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51090 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51091 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51092 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51093 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51094 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51095 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51096 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51097 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51098 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51099 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51100 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51101 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51102 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51103 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51104 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51105 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51106 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51107 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51108 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51109 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51110 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51111 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51112 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51113 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51114 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51115 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51116 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51117 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51118 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51119 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51120 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51121 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51122 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51123 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51124 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51125 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51126 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51127 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51128 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51129 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51130 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51131 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51132 s,@SHARED@,$SHARED,;t t
51133 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51134 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51135 s,@USE_GUI@,$USE_GUI,;t t
51136 s,@AFMINSTALL@,$AFMINSTALL,;t t
51137 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51138 s,@TOOLKIT@,$TOOLKIT,;t t
51139 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51140 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51141 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51142 s,@cross_compiling@,$cross_compiling,;t t
51143 s,@WIDGET_SET@,$WIDGET_SET,;t t
51144 s,@WX_RELEASE@,$WX_RELEASE,;t t
51145 s,@WX_VERSION@,$WX_VERSION,;t t
51146 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51147 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51148 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51149 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51150 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51151 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51152 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51153 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51154 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51155 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51156 s,@EXE_LINKER@,$EXE_LINKER,;t t
51157 s,@GUIDIST@,$GUIDIST,;t t
51158 s,@DISTDIR@,$DISTDIR,;t t
51159 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51160 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51161 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51162 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51163 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51164 s,@RESCOMP@,$RESCOMP,;t t
51165 s,@RESFLAGS@,$RESFLAGS,;t t
51166 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51167 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51168 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51169 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51170 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51171 s,@MACSETFILE@,$MACSETFILE,;t t
51172 s,@GCC@,$GCC,;t t
51173 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51174 s,@LIBOBJS@,$LIBOBJS,;t t
51175 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51176 CEOF
51177
51178 _ACEOF
51179
51180 cat >>$CONFIG_STATUS <<\_ACEOF
51181 # Split the substitutions into bite-sized pieces for seds with
51182 # small command number limits, like on Digital OSF/1 and HP-UX.
51183 ac_max_sed_lines=48
51184 ac_sed_frag=1 # Number of current file.
51185 ac_beg=1 # First line for current file.
51186 ac_end=$ac_max_sed_lines # Line after last line for current file.
51187 ac_more_lines=:
51188 ac_sed_cmds=
51189 while $ac_more_lines; do
51190 if test $ac_beg -gt 1; then
51191 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51192 else
51193 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51194 fi
51195 if test ! -s $tmp/subs.frag; then
51196 ac_more_lines=false
51197 else
51198 # The purpose of the label and of the branching condition is to
51199 # speed up the sed processing (if there are no `@' at all, there
51200 # is no need to browse any of the substitutions).
51201 # These are the two extra sed commands mentioned above.
51202 (echo ':t
51203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51204 if test -z "$ac_sed_cmds"; then
51205 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51206 else
51207 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51208 fi
51209 ac_sed_frag=`expr $ac_sed_frag + 1`
51210 ac_beg=$ac_end
51211 ac_end=`expr $ac_end + $ac_max_sed_lines`
51212 fi
51213 done
51214 if test -z "$ac_sed_cmds"; then
51215 ac_sed_cmds=cat
51216 fi
51217 fi # test -n "$CONFIG_FILES"
51218
51219 _ACEOF
51220 cat >>$CONFIG_STATUS <<\_ACEOF
51221 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51222 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51223 case $ac_file in
51224 - | *:- | *:-:* ) # input from stdin
51225 cat >$tmp/stdin
51226 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51227 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51228 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51230 * ) ac_file_in=$ac_file.in ;;
51231 esac
51232
51233 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51234 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51235 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51236 X"$ac_file" : 'X\(//\)[^/]' \| \
51237 X"$ac_file" : 'X\(//\)$' \| \
51238 X"$ac_file" : 'X\(/\)' \| \
51239 . : '\(.\)' 2>/dev/null ||
51240 echo X"$ac_file" |
51241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51243 /^X\(\/\/\)$/{ s//\1/; q; }
51244 /^X\(\/\).*/{ s//\1/; q; }
51245 s/.*/./; q'`
51246 { if $as_mkdir_p; then
51247 mkdir -p "$ac_dir"
51248 else
51249 as_dir="$ac_dir"
51250 as_dirs=
51251 while test ! -d "$as_dir"; do
51252 as_dirs="$as_dir $as_dirs"
51253 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51255 X"$as_dir" : 'X\(//\)[^/]' \| \
51256 X"$as_dir" : 'X\(//\)$' \| \
51257 X"$as_dir" : 'X\(/\)' \| \
51258 . : '\(.\)' 2>/dev/null ||
51259 echo X"$as_dir" |
51260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51262 /^X\(\/\/\)$/{ s//\1/; q; }
51263 /^X\(\/\).*/{ s//\1/; q; }
51264 s/.*/./; q'`
51265 done
51266 test ! -n "$as_dirs" || mkdir $as_dirs
51267 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51268 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51269 { (exit 1); exit 1; }; }; }
51270
51271 ac_builddir=.
51272
51273 if test "$ac_dir" != .; then
51274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51275 # A "../" for each directory in $ac_dir_suffix.
51276 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51277 else
51278 ac_dir_suffix= ac_top_builddir=
51279 fi
51280
51281 case $srcdir in
51282 .) # No --srcdir option. We are building in place.
51283 ac_srcdir=.
51284 if test -z "$ac_top_builddir"; then
51285 ac_top_srcdir=.
51286 else
51287 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51288 fi ;;
51289 [\\/]* | ?:[\\/]* ) # Absolute path.
51290 ac_srcdir=$srcdir$ac_dir_suffix;
51291 ac_top_srcdir=$srcdir ;;
51292 *) # Relative path.
51293 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51294 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51295 esac
51296
51297 # Do not use `cd foo && pwd` to compute absolute paths, because
51298 # the directories may not exist.
51299 case `pwd` in
51300 .) ac_abs_builddir="$ac_dir";;
51301 *)
51302 case "$ac_dir" in
51303 .) ac_abs_builddir=`pwd`;;
51304 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51305 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51306 esac;;
51307 esac
51308 case $ac_abs_builddir in
51309 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51310 *)
51311 case ${ac_top_builddir}. in
51312 .) ac_abs_top_builddir=$ac_abs_builddir;;
51313 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51314 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51315 esac;;
51316 esac
51317 case $ac_abs_builddir in
51318 .) ac_abs_srcdir=$ac_srcdir;;
51319 *)
51320 case $ac_srcdir in
51321 .) ac_abs_srcdir=$ac_abs_builddir;;
51322 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51323 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51324 esac;;
51325 esac
51326 case $ac_abs_builddir in
51327 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51328 *)
51329 case $ac_top_srcdir in
51330 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51331 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51332 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51333 esac;;
51334 esac
51335
51336
51337 case $INSTALL in
51338 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51339 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51340 esac
51341
51342 if test x"$ac_file" != x-; then
51343 { echo "$as_me:$LINENO: creating $ac_file" >&5
51344 echo "$as_me: creating $ac_file" >&6;}
51345 rm -f "$ac_file"
51346 fi
51347 # Let's still pretend it is `configure' which instantiates (i.e., don't
51348 # use $as_me), people would be surprised to read:
51349 # /* config.h. Generated by config.status. */
51350 if test x"$ac_file" = x-; then
51351 configure_input=
51352 else
51353 configure_input="$ac_file. "
51354 fi
51355 configure_input=$configure_input"Generated from `echo $ac_file_in |
51356 sed 's,.*/,,'` by configure."
51357
51358 # First look for the input files in the build tree, otherwise in the
51359 # src tree.
51360 ac_file_inputs=`IFS=:
51361 for f in $ac_file_in; do
51362 case $f in
51363 -) echo $tmp/stdin ;;
51364 [\\/$]*)
51365 # Absolute (can't be DOS-style, as IFS=:)
51366 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51367 echo "$as_me: error: cannot find input file: $f" >&2;}
51368 { (exit 1); exit 1; }; }
51369 echo "$f";;
51370 *) # Relative
51371 if test -f "$f"; then
51372 # Build tree
51373 echo "$f"
51374 elif test -f "$srcdir/$f"; then
51375 # Source tree
51376 echo "$srcdir/$f"
51377 else
51378 # /dev/null tree
51379 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51380 echo "$as_me: error: cannot find input file: $f" >&2;}
51381 { (exit 1); exit 1; }; }
51382 fi;;
51383 esac
51384 done` || { (exit 1); exit 1; }
51385 _ACEOF
51386 cat >>$CONFIG_STATUS <<_ACEOF
51387 sed "$ac_vpsub
51388 $extrasub
51389 _ACEOF
51390 cat >>$CONFIG_STATUS <<\_ACEOF
51391 :t
51392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51393 s,@configure_input@,$configure_input,;t t
51394 s,@srcdir@,$ac_srcdir,;t t
51395 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51396 s,@top_srcdir@,$ac_top_srcdir,;t t
51397 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51398 s,@builddir@,$ac_builddir,;t t
51399 s,@abs_builddir@,$ac_abs_builddir,;t t
51400 s,@top_builddir@,$ac_top_builddir,;t t
51401 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51402 s,@INSTALL@,$ac_INSTALL,;t t
51403 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51404 rm -f $tmp/stdin
51405 if test x"$ac_file" != x-; then
51406 mv $tmp/out $ac_file
51407 else
51408 cat $tmp/out
51409 rm -f $tmp/out
51410 fi
51411
51412 # Run the commands associated with the file.
51413 case $ac_file in
51414 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51415 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51416 esac
51417 done
51418 _ACEOF
51419 cat >>$CONFIG_STATUS <<\_ACEOF
51420
51421 #
51422 # CONFIG_HEADER section.
51423 #
51424
51425 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51426 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51427 #
51428 # ac_d sets the value in "#define NAME VALUE" lines.
51429 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51430 ac_dB='[ ].*$,\1#\2'
51431 ac_dC=' '
51432 ac_dD=',;t'
51433 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51434 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51435 ac_uB='$,\1#\2define\3'
51436 ac_uC=' '
51437 ac_uD=',;t'
51438
51439 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51441 case $ac_file in
51442 - | *:- | *:-:* ) # input from stdin
51443 cat >$tmp/stdin
51444 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51445 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51446 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51447 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51448 * ) ac_file_in=$ac_file.in ;;
51449 esac
51450
51451 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51452 echo "$as_me: creating $ac_file" >&6;}
51453
51454 # First look for the input files in the build tree, otherwise in the
51455 # src tree.
51456 ac_file_inputs=`IFS=:
51457 for f in $ac_file_in; do
51458 case $f in
51459 -) echo $tmp/stdin ;;
51460 [\\/$]*)
51461 # Absolute (can't be DOS-style, as IFS=:)
51462 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51463 echo "$as_me: error: cannot find input file: $f" >&2;}
51464 { (exit 1); exit 1; }; }
51465 # Do quote $f, to prevent DOS paths from being IFS'd.
51466 echo "$f";;
51467 *) # Relative
51468 if test -f "$f"; then
51469 # Build tree
51470 echo "$f"
51471 elif test -f "$srcdir/$f"; then
51472 # Source tree
51473 echo "$srcdir/$f"
51474 else
51475 # /dev/null tree
51476 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51477 echo "$as_me: error: cannot find input file: $f" >&2;}
51478 { (exit 1); exit 1; }; }
51479 fi;;
51480 esac
51481 done` || { (exit 1); exit 1; }
51482 # Remove the trailing spaces.
51483 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51484
51485 _ACEOF
51486
51487 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51488 # `conftest.undefs', that substitutes the proper values into
51489 # config.h.in to produce config.h. The first handles `#define'
51490 # templates, and the second `#undef' templates.
51491 # And first: Protect against being on the right side of a sed subst in
51492 # config.status. Protect against being in an unquoted here document
51493 # in config.status.
51494 rm -f conftest.defines conftest.undefs
51495 # Using a here document instead of a string reduces the quoting nightmare.
51496 # Putting comments in sed scripts is not portable.
51497 #
51498 # `end' is used to avoid that the second main sed command (meant for
51499 # 0-ary CPP macros) applies to n-ary macro definitions.
51500 # See the Autoconf documentation for `clear'.
51501 cat >confdef2sed.sed <<\_ACEOF
51502 s/[\\&,]/\\&/g
51503 s,[\\$`],\\&,g
51504 t clear
51505 : clear
51506 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51507 t end
51508 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51509 : end
51510 _ACEOF
51511 # If some macros were called several times there might be several times
51512 # the same #defines, which is useless. Nevertheless, we may not want to
51513 # sort them, since we want the *last* AC-DEFINE to be honored.
51514 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51515 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51516 rm -f confdef2sed.sed
51517
51518 # This sed command replaces #undef with comments. This is necessary, for
51519 # example, in the case of _POSIX_SOURCE, which is predefined and required
51520 # on some systems where configure will not decide to define it.
51521 cat >>conftest.undefs <<\_ACEOF
51522 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51523 _ACEOF
51524
51525 # Break up conftest.defines because some shells have a limit on the size
51526 # of here documents, and old seds have small limits too (100 cmds).
51527 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51528 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51529 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51530 echo ' :' >>$CONFIG_STATUS
51531 rm -f conftest.tail
51532 while grep . conftest.defines >/dev/null
51533 do
51534 # Write a limited-size here document to $tmp/defines.sed.
51535 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51536 # Speed up: don't consider the non `#define' lines.
51537 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51538 # Work around the forget-to-reset-the-flag bug.
51539 echo 't clr' >>$CONFIG_STATUS
51540 echo ': clr' >>$CONFIG_STATUS
51541 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51542 echo 'CEOF
51543 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51544 rm -f $tmp/in
51545 mv $tmp/out $tmp/in
51546 ' >>$CONFIG_STATUS
51547 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51548 rm -f conftest.defines
51549 mv conftest.tail conftest.defines
51550 done
51551 rm -f conftest.defines
51552 echo ' fi # grep' >>$CONFIG_STATUS
51553 echo >>$CONFIG_STATUS
51554
51555 # Break up conftest.undefs because some shells have a limit on the size
51556 # of here documents, and old seds have small limits too (100 cmds).
51557 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51558 rm -f conftest.tail
51559 while grep . conftest.undefs >/dev/null
51560 do
51561 # Write a limited-size here document to $tmp/undefs.sed.
51562 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51563 # Speed up: don't consider the non `#undef'
51564 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51565 # Work around the forget-to-reset-the-flag bug.
51566 echo 't clr' >>$CONFIG_STATUS
51567 echo ': clr' >>$CONFIG_STATUS
51568 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51569 echo 'CEOF
51570 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51571 rm -f $tmp/in
51572 mv $tmp/out $tmp/in
51573 ' >>$CONFIG_STATUS
51574 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51575 rm -f conftest.undefs
51576 mv conftest.tail conftest.undefs
51577 done
51578 rm -f conftest.undefs
51579
51580 cat >>$CONFIG_STATUS <<\_ACEOF
51581 # Let's still pretend it is `configure' which instantiates (i.e., don't
51582 # use $as_me), people would be surprised to read:
51583 # /* config.h. Generated by config.status. */
51584 if test x"$ac_file" = x-; then
51585 echo "/* Generated by configure. */" >$tmp/config.h
51586 else
51587 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51588 fi
51589 cat $tmp/in >>$tmp/config.h
51590 rm -f $tmp/in
51591 if test x"$ac_file" != x-; then
51592 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51593 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51594 echo "$as_me: $ac_file is unchanged" >&6;}
51595 else
51596 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51598 X"$ac_file" : 'X\(//\)[^/]' \| \
51599 X"$ac_file" : 'X\(//\)$' \| \
51600 X"$ac_file" : 'X\(/\)' \| \
51601 . : '\(.\)' 2>/dev/null ||
51602 echo X"$ac_file" |
51603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51605 /^X\(\/\/\)$/{ s//\1/; q; }
51606 /^X\(\/\).*/{ s//\1/; q; }
51607 s/.*/./; q'`
51608 { if $as_mkdir_p; then
51609 mkdir -p "$ac_dir"
51610 else
51611 as_dir="$ac_dir"
51612 as_dirs=
51613 while test ! -d "$as_dir"; do
51614 as_dirs="$as_dir $as_dirs"
51615 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51617 X"$as_dir" : 'X\(//\)[^/]' \| \
51618 X"$as_dir" : 'X\(//\)$' \| \
51619 X"$as_dir" : 'X\(/\)' \| \
51620 . : '\(.\)' 2>/dev/null ||
51621 echo X"$as_dir" |
51622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51623 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51624 /^X\(\/\/\)$/{ s//\1/; q; }
51625 /^X\(\/\).*/{ s//\1/; q; }
51626 s/.*/./; q'`
51627 done
51628 test ! -n "$as_dirs" || mkdir $as_dirs
51629 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51630 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51631 { (exit 1); exit 1; }; }; }
51632
51633 rm -f $ac_file
51634 mv $tmp/config.h $ac_file
51635 fi
51636 else
51637 cat $tmp/config.h
51638 rm -f $tmp/config.h
51639 fi
51640 done
51641 _ACEOF
51642 cat >>$CONFIG_STATUS <<\_ACEOF
51643
51644 #
51645 # CONFIG_COMMANDS section.
51646 #
51647 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51648 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51649 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51650 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51651 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51652 X"$ac_dest" : 'X\(//\)[^/]' \| \
51653 X"$ac_dest" : 'X\(//\)$' \| \
51654 X"$ac_dest" : 'X\(/\)' \| \
51655 . : '\(.\)' 2>/dev/null ||
51656 echo X"$ac_dest" |
51657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51659 /^X\(\/\/\)$/{ s//\1/; q; }
51660 /^X\(\/\).*/{ s//\1/; q; }
51661 s/.*/./; q'`
51662 { if $as_mkdir_p; then
51663 mkdir -p "$ac_dir"
51664 else
51665 as_dir="$ac_dir"
51666 as_dirs=
51667 while test ! -d "$as_dir"; do
51668 as_dirs="$as_dir $as_dirs"
51669 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51671 X"$as_dir" : 'X\(//\)[^/]' \| \
51672 X"$as_dir" : 'X\(//\)$' \| \
51673 X"$as_dir" : 'X\(/\)' \| \
51674 . : '\(.\)' 2>/dev/null ||
51675 echo X"$as_dir" |
51676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51678 /^X\(\/\/\)$/{ s//\1/; q; }
51679 /^X\(\/\).*/{ s//\1/; q; }
51680 s/.*/./; q'`
51681 done
51682 test ! -n "$as_dirs" || mkdir $as_dirs
51683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51685 { (exit 1); exit 1; }; }; }
51686
51687 ac_builddir=.
51688
51689 if test "$ac_dir" != .; then
51690 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51691 # A "../" for each directory in $ac_dir_suffix.
51692 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51693 else
51694 ac_dir_suffix= ac_top_builddir=
51695 fi
51696
51697 case $srcdir in
51698 .) # No --srcdir option. We are building in place.
51699 ac_srcdir=.
51700 if test -z "$ac_top_builddir"; then
51701 ac_top_srcdir=.
51702 else
51703 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51704 fi ;;
51705 [\\/]* | ?:[\\/]* ) # Absolute path.
51706 ac_srcdir=$srcdir$ac_dir_suffix;
51707 ac_top_srcdir=$srcdir ;;
51708 *) # Relative path.
51709 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51710 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51711 esac
51712
51713 # Do not use `cd foo && pwd` to compute absolute paths, because
51714 # the directories may not exist.
51715 case `pwd` in
51716 .) ac_abs_builddir="$ac_dir";;
51717 *)
51718 case "$ac_dir" in
51719 .) ac_abs_builddir=`pwd`;;
51720 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51721 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51722 esac;;
51723 esac
51724 case $ac_abs_builddir in
51725 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51726 *)
51727 case ${ac_top_builddir}. in
51728 .) ac_abs_top_builddir=$ac_abs_builddir;;
51729 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51730 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51731 esac;;
51732 esac
51733 case $ac_abs_builddir in
51734 .) ac_abs_srcdir=$ac_srcdir;;
51735 *)
51736 case $ac_srcdir in
51737 .) ac_abs_srcdir=$ac_abs_builddir;;
51738 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51739 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51740 esac;;
51741 esac
51742 case $ac_abs_builddir in
51743 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51744 *)
51745 case $ac_top_srcdir in
51746 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51747 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51748 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51749 esac;;
51750 esac
51751
51752
51753 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51754 echo "$as_me: executing $ac_dest commands" >&6;}
51755 case $ac_dest in
51756 rcdefs.h )
51757 mkdir -p $outdir &&
51758 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51759 ;;
51760 wx-config ) rm -f wx-config
51761 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51762 ;;
51763 esac
51764 done
51765 _ACEOF
51766
51767 cat >>$CONFIG_STATUS <<\_ACEOF
51768
51769 { (exit 0); exit 0; }
51770 _ACEOF
51771 chmod +x $CONFIG_STATUS
51772 ac_clean_files=$ac_clean_files_save
51773
51774
51775 # configure is writing to config.log, and then calls config.status.
51776 # config.status does its own redirection, appending to config.log.
51777 # Unfortunately, on DOS this fails, as config.log is still kept open
51778 # by configure, so config.status won't be able to write to it; its
51779 # output is simply discarded. So we exec the FD to /dev/null,
51780 # effectively closing config.log, so it can be properly (re)opened and
51781 # appended to by config.status. When coming back to configure, we
51782 # need to make the FD available again.
51783 if test "$no_create" != yes; then
51784 ac_cs_success=:
51785 ac_config_status_args=
51786 test "$silent" = yes &&
51787 ac_config_status_args="$ac_config_status_args --quiet"
51788 exec 5>/dev/null
51789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51790 exec 5>>config.log
51791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51792 # would make configure fail if this is the last instruction.
51793 $ac_cs_success || { (exit 1); exit 1; }
51794 fi
51795
51796 #
51797 # CONFIG_SUBDIRS section.
51798 #
51799 if test "$no_recursion" != yes; then
51800
51801 # Remove --cache-file and --srcdir arguments so they do not pile up.
51802 ac_sub_configure_args=
51803 ac_prev=
51804 for ac_arg in $ac_configure_args; do
51805 if test -n "$ac_prev"; then
51806 ac_prev=
51807 continue
51808 fi
51809 case $ac_arg in
51810 -cache-file | --cache-file | --cache-fil | --cache-fi \
51811 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51812 ac_prev=cache_file ;;
51813 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51814 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51815 | --c=*)
51816 ;;
51817 --config-cache | -C)
51818 ;;
51819 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51820 ac_prev=srcdir ;;
51821 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51822 ;;
51823 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51824 ac_prev=prefix ;;
51825 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51826 ;;
51827 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51828 esac
51829 done
51830
51831 # Always prepend --prefix to ensure using the same prefix
51832 # in subdir configurations.
51833 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51834
51835 ac_popdir=`pwd`
51836 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51837
51838 # Do not complain, so a configure script can configure whichever
51839 # parts of a large source tree are present.
51840 test -d $srcdir/$ac_dir || continue
51841
51842 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51843 echo "$as_me: configuring in $ac_dir" >&6;}
51844 { if $as_mkdir_p; then
51845 mkdir -p "$ac_dir"
51846 else
51847 as_dir="$ac_dir"
51848 as_dirs=
51849 while test ! -d "$as_dir"; do
51850 as_dirs="$as_dir $as_dirs"
51851 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51853 X"$as_dir" : 'X\(//\)[^/]' \| \
51854 X"$as_dir" : 'X\(//\)$' \| \
51855 X"$as_dir" : 'X\(/\)' \| \
51856 . : '\(.\)' 2>/dev/null ||
51857 echo X"$as_dir" |
51858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51860 /^X\(\/\/\)$/{ s//\1/; q; }
51861 /^X\(\/\).*/{ s//\1/; q; }
51862 s/.*/./; q'`
51863 done
51864 test ! -n "$as_dirs" || mkdir $as_dirs
51865 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51866 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51867 { (exit 1); exit 1; }; }; }
51868
51869 ac_builddir=.
51870
51871 if test "$ac_dir" != .; then
51872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51873 # A "../" for each directory in $ac_dir_suffix.
51874 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51875 else
51876 ac_dir_suffix= ac_top_builddir=
51877 fi
51878
51879 case $srcdir in
51880 .) # No --srcdir option. We are building in place.
51881 ac_srcdir=.
51882 if test -z "$ac_top_builddir"; then
51883 ac_top_srcdir=.
51884 else
51885 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51886 fi ;;
51887 [\\/]* | ?:[\\/]* ) # Absolute path.
51888 ac_srcdir=$srcdir$ac_dir_suffix;
51889 ac_top_srcdir=$srcdir ;;
51890 *) # Relative path.
51891 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51892 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51893 esac
51894
51895 # Do not use `cd foo && pwd` to compute absolute paths, because
51896 # the directories may not exist.
51897 case `pwd` in
51898 .) ac_abs_builddir="$ac_dir";;
51899 *)
51900 case "$ac_dir" in
51901 .) ac_abs_builddir=`pwd`;;
51902 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51903 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51904 esac;;
51905 esac
51906 case $ac_abs_builddir in
51907 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51908 *)
51909 case ${ac_top_builddir}. in
51910 .) ac_abs_top_builddir=$ac_abs_builddir;;
51911 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51912 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51913 esac;;
51914 esac
51915 case $ac_abs_builddir in
51916 .) ac_abs_srcdir=$ac_srcdir;;
51917 *)
51918 case $ac_srcdir in
51919 .) ac_abs_srcdir=$ac_abs_builddir;;
51920 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51921 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51922 esac;;
51923 esac
51924 case $ac_abs_builddir in
51925 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51926 *)
51927 case $ac_top_srcdir in
51928 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51929 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51930 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51931 esac;;
51932 esac
51933
51934
51935 cd $ac_dir
51936
51937 # Check for guested configure; otherwise get Cygnus style configure.
51938 if test -f $ac_srcdir/configure.gnu; then
51939 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51940 elif test -f $ac_srcdir/configure; then
51941 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51942 elif test -f $ac_srcdir/configure.in; then
51943 ac_sub_configure=$ac_configure
51944 else
51945 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51947 ac_sub_configure=
51948 fi
51949
51950 # The recursion is here.
51951 if test -n "$ac_sub_configure"; then
51952 # Make the cache file name correct relative to the subdirectory.
51953 case $cache_file in
51954 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51955 *) # Relative path.
51956 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51957 esac
51958
51959 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51960 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51961 # The eval makes quoting arguments work.
51962 eval $ac_sub_configure $ac_sub_configure_args \
51963 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51964 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51965 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51966 { (exit 1); exit 1; }; }
51967 fi
51968
51969 cd $ac_popdir
51970 done
51971 fi
51972
51973
51974 echo
51975 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51976 echo ""
51977 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51978 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51979
51980 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51981 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51982 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51983
51984 echo " What level of wxWidgets compatibility should be enabled?"
51985 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51986 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51987
51988 echo " Which libraries should wxWidgets use?"
51989 echo " jpeg ${wxUSE_LIBJPEG-none}"
51990 echo " png ${wxUSE_LIBPNG-none}"
51991 echo " regex ${wxUSE_REGEX}"
51992 echo " tiff ${wxUSE_LIBTIFF-none}"
51993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51994 echo " xpm ${wxUSE_LIBXPM-none}"
51995 fi
51996 echo " zlib ${wxUSE_ZLIB}"
51997 echo " odbc ${wxUSE_ODBC}"
51998 echo " expat ${wxUSE_EXPAT}"
51999 echo " libmspack ${wxUSE_LIBMSPACK}"
52000 echo " sdl ${wxUSE_LIBSDL}"
52001
52002 echo ""
52003