]> git.saurik.com Git - wxWidgets.git/blob - configure
include fixes
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG 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.0 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.0:";;
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-protocol use wxProtocol class
1014 --enable-protocol-http HTTP support in wxProtocol
1015 --enable-protocol-ftp FTP support in wxProtocol
1016 --enable-protocol-file FILE support in wxProtocol
1017 --enable-threads use threads
1018 --enable-docview use document view architecture
1019 --enable-help use help subsystem
1020 --enable-mshtmlhelp use MS HTML Help (win32)
1021 --enable-html use wxHTML sub-library
1022 --enable-htmlhelp use wxHTML-based help
1023 --enable-xrc use XRC resources sub-library
1024 --enable-aui use AUI docking library
1025 --enable-constraints use layout-constraints system
1026 --enable-printarch use printing architecture
1027 --enable-mdi use multiple document interface architecture
1028 --enable-mdidoc use docview architecture with MDI
1029 --enable-loggui use standard GUI logger
1030 --enable-logwin use wxLogWindow
1031 --enable-logdialog use wxLogDialog
1032 --enable-webkit use wxWebKitCtrl (Mac)
1033 --enable-richtext use wxRichTextCtrl
1034 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1035 --enable-prologio not available; see contrib
1036 --enable-resources not available; see contrib
1037 --enable-clipboard use wxClipboard class
1038 --enable-dnd use Drag'n'Drop classes
1039 --enable-metafile use win32 metafiles
1040 --enable-controls use all usual controls
1041 --enable-accel use accelerators
1042 --enable-button use wxButton class
1043 --enable-bmpbutton use wxBitmapButton class
1044 --enable-calendar use wxCalendarCtrl class
1045 --enable-caret use wxCaret class
1046 --enable-checkbox use wxCheckBox class
1047 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1048 --enable-choice use wxChoice class
1049 --enable-choicebook use wxChoicebook class
1050 --enable-colourpicker use wxColourPickerCtrl class
1051 --enable-combobox use wxComboBox class
1052 --enable-comboctrl use wxComboCtrl class
1053 --enable-datepick use wxDatePickerCtrl class
1054 --enable-dirpicker use wxDirPickerCtrl class
1055 --enable-display use wxDisplay class
1056 --enable-filepicker use wxFilePickerCtrl class
1057 --enable-fontpicker use wxFontPickerCtrl class
1058 --enable-gauge use wxGauge class
1059 --enable-grid use wxGrid class
1060 --enable-dataviewctrl, use wxDataViewCtrl class
1061 --enable-hyperlink use wxHyperlinkCtrl class
1062 --enable-imaglist use wxImageList class
1063 --enable-listbook use wxListbook class
1064 --enable-listbox use wxListBox class
1065 --enable-listctrl use wxListCtrl class
1066 --enable-notebook use wxNotebook class
1067 --enable-odcombobox use wxOwnerDrawnComboBox class
1068 --enable-radiobox use wxRadioBox class
1069 --enable-radiobtn use wxRadioButton class
1070 --enable-sash use wxSashWindow class
1071 --enable-scrollbar use wxScrollBar class and scrollable windows
1072 --enable-slider use wxSlider class
1073 --enable-spinbtn use wxSpinButton class
1074 --enable-spinctrl use wxSpinCtrl class
1075 --enable-splitter use wxSplitterWindow class
1076 --enable-statbmp use wxStaticBitmap class
1077 --enable-statbox use wxStaticBox class
1078 --enable-statline use wxStaticLine class
1079 --enable-stattext use wxStaticText class
1080 --enable-statusbar use wxStatusBar class
1081 --enable-tabdialog use wxTabControl class
1082 --enable-textctrl use wxTextCtrl class
1083 --enable-togglebtn use wxToggleButton class
1084 --enable-toolbar use wxToolBar class
1085 --enable-tbarnative use native wxToolBar class
1086 --enable-treebook use wxTreebook class
1087 --enable-toolbook use wxToolbook class
1088 --enable-treectrl use wxTreeCtrl class
1089 --enable-tipwindow use wxTipWindow class
1090 --enable-popupwin use wxPopUpWindow class
1091 --enable-commondlg use all common dialogs
1092 --enable-choicedlg use wxChoiceDialog
1093 --enable-coldlg use wxColourDialog
1094 --enable-filedlg use wxFileDialog
1095 --enable-finddlg use wxFindReplaceDialog
1096 --enable-fontdlg use wxFontDialog
1097 --enable-dirdlg use wxDirDialog
1098 --enable-msgdlg use wxMessageDialog
1099 --enable-numberdlg use wxNumberEntryDialog
1100 --enable-splash use wxSplashScreen
1101 --enable-textdlg use wxTextDialog
1102 --enable-tipdlg use startup tips
1103 --enable-progressdlg use wxProgressDialog
1104 --enable-wizarddlg use wxWizard
1105 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1106 --enable-miniframe use wxMiniFrame class
1107 --enable-tooltips use wxToolTip class
1108 --enable-splines use spline drawing code
1109 --enable-mousewheel use mousewheel
1110 --enable-validators use wxValidator and derived classes
1111 --enable-busyinfo use wxBusyInfo
1112 --enable-joystick use wxJoystick
1113 --enable-metafiles use wxMetaFile (Win32 only)
1114 --enable-dragimage use wxDragImage
1115 --enable-accessibility enable accessibility support
1116 --enable-dccache cache temporary wxDC objects (Win32 only)
1117 --enable-palette use wxPalette class
1118 --enable-image use wxImage class
1119 --enable-gif use gif images (GIF file format)
1120 --enable-pcx use pcx images (PCX file format)
1121 --enable-iff use iff images (IFF file format)
1122 --enable-pnm use pnm images (PNM file format)
1123 --enable-xpm use xpm images (XPM file format)
1124 --enable-icocur use Windows ICO and CUR formats
1125 --enable-official_build official build of wxWidgets (win32 DLL only)
1126 --enable-vendor=VENDOR vendor name (win32 DLL only)
1127 --disable-largefile omit support for large files
1128 --disable-gtktest do not try to compile and run a test GTK+ program
1129 --disable-gtktest Do not try to compile and run a test GTK program
1130 --disable-sdltest Do not try to compile and run a test SDL program
1131 --enable-omf use OMF object format (OS/2)
1132 --disable-dependency-tracking
1133 don't use dependency tracking even if the compiler
1134 can
1135 --disable-precomp-headers
1136 don't use precompiled headers even if compiler can
1137
1138 Optional Packages:
1139 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1140 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1141 --without-subdirs don't generate makefiles for samples/demos/...
1142 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1143 --with-motif use Motif/Lesstif
1144 --with-mac use Mac OS X
1145 --with-cocoa use Cocoa
1146 --with-wine use Wine
1147 --with-msw use MS-Windows
1148 --with-pm use OS/2 Presentation Manager
1149 --with-mgl use SciTech MGL
1150 --with-directfb use DirectFB
1151 --with-microwin use MicroWindows
1152 --with-x11 use X11
1153 --with-libpng use libpng (PNG image format)
1154 --with-libjpeg use libjpeg (JPEG file format)
1155 --with-libtiff use libtiff (TIFF file format)
1156 --with-libxpm use libxpm (XPM file format)
1157 --with-libmspack use libmspack (CHM help files loading)
1158 --with-sdl use SDL for audio on Unix
1159 --with-gnomeprint use GNOME print for printing under GNOME
1160 --with-gnomevfs use GNOME VFS for associating MIME types
1161 --with-hildon use Hildon framework for Nokia 770
1162 --with-opengl use OpenGL (or Mesa)
1163 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1164 --with-regex enable support for wxRegEx class
1165 --with-zlib use zlib for LZW compression
1166 --with-odbc use the IODBC and wxODBC classes
1167 --with-expat enable XML support using expat parser
1168 --with-flavour=NAME specify a name to identify this build
1169 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1170 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1171 --with-x use the X Window System
1172 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1173 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1174 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1175 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1176 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1177
1178 Some influential environment variables:
1179 CC C compiler command
1180 CFLAGS C compiler flags
1181 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1182 nonstandard directory <lib dir>
1183 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1184 headers in a nonstandard directory <include dir>
1185 CPP C preprocessor
1186 CXX C++ compiler command
1187 CXXFLAGS C++ compiler flags
1188 CXXCPP C++ preprocessor
1189 PKG_CONFIG path to pkg-config utility
1190 DIRECTFB_CFLAGS
1191 C compiler flags for DIRECTFB, overriding pkg-config
1192 DIRECTFB_LIBS
1193 linker flags for DIRECTFB, overriding pkg-config
1194 PANGOX_CFLAGS
1195 C compiler flags for PANGOX, overriding pkg-config
1196 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1197 PANGOFT2_CFLAGS
1198 C compiler flags for PANGOFT2, overriding pkg-config
1199 PANGOFT2_LIBS
1200 linker flags for PANGOFT2, overriding pkg-config
1201 PANGOXFT_CFLAGS
1202 C compiler flags for PANGOXFT, overriding pkg-config
1203 PANGOXFT_LIBS
1204 linker flags for PANGOXFT, overriding pkg-config
1205 LIBGNOMEPRINTUI_CFLAGS
1206 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1207 LIBGNOMEPRINTUI_LIBS
1208 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1209 GNOMEVFS_CFLAGS
1210 C compiler flags for GNOMEVFS, overriding pkg-config
1211 GNOMEVFS_LIBS
1212 linker flags for GNOMEVFS, overriding pkg-config
1213 HILDON_CFLAGS
1214 C compiler flags for HILDON, overriding pkg-config
1215 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1216 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1217 GST_LIBS linker flags for GST, overriding pkg-config
1218
1219 Use these variables to override the choices made by `configure' or to help
1220 it to find libraries and programs with nonstandard names/locations.
1221
1222 Report bugs to <wx-dev@lists.wxwidgets.org>.
1223 _ACEOF
1224 fi
1225
1226 if test "$ac_init_help" = "recursive"; then
1227 # If there are subdirs, report their specific --help.
1228 ac_popdir=`pwd`
1229 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1230 test -d $ac_dir || continue
1231 ac_builddir=.
1232
1233 if test "$ac_dir" != .; then
1234 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1235 # A "../" for each directory in $ac_dir_suffix.
1236 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1237 else
1238 ac_dir_suffix= ac_top_builddir=
1239 fi
1240
1241 case $srcdir in
1242 .) # No --srcdir option. We are building in place.
1243 ac_srcdir=.
1244 if test -z "$ac_top_builddir"; then
1245 ac_top_srcdir=.
1246 else
1247 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1248 fi ;;
1249 [\\/]* | ?:[\\/]* ) # Absolute path.
1250 ac_srcdir=$srcdir$ac_dir_suffix;
1251 ac_top_srcdir=$srcdir ;;
1252 *) # Relative path.
1253 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1254 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1255 esac
1256
1257 # Do not use `cd foo && pwd` to compute absolute paths, because
1258 # the directories may not exist.
1259 case `pwd` in
1260 .) ac_abs_builddir="$ac_dir";;
1261 *)
1262 case "$ac_dir" in
1263 .) ac_abs_builddir=`pwd`;;
1264 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1265 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1266 esac;;
1267 esac
1268 case $ac_abs_builddir in
1269 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1270 *)
1271 case ${ac_top_builddir}. in
1272 .) ac_abs_top_builddir=$ac_abs_builddir;;
1273 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1274 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1275 esac;;
1276 esac
1277 case $ac_abs_builddir in
1278 .) ac_abs_srcdir=$ac_srcdir;;
1279 *)
1280 case $ac_srcdir in
1281 .) ac_abs_srcdir=$ac_abs_builddir;;
1282 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1283 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1284 esac;;
1285 esac
1286 case $ac_abs_builddir in
1287 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1288 *)
1289 case $ac_top_srcdir in
1290 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1291 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1292 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1293 esac;;
1294 esac
1295
1296 cd $ac_dir
1297 # Check for guested configure; otherwise get Cygnus style configure.
1298 if test -f $ac_srcdir/configure.gnu; then
1299 echo
1300 $SHELL $ac_srcdir/configure.gnu --help=recursive
1301 elif test -f $ac_srcdir/configure; then
1302 echo
1303 $SHELL $ac_srcdir/configure --help=recursive
1304 elif test -f $ac_srcdir/configure.ac ||
1305 test -f $ac_srcdir/configure.in; then
1306 echo
1307 $ac_configure --help
1308 else
1309 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1310 fi
1311 cd "$ac_popdir"
1312 done
1313 fi
1314
1315 test -n "$ac_init_help" && exit 0
1316 if $ac_init_version; then
1317 cat <<\_ACEOF
1318 wxWidgets configure 2.7.0
1319 generated by GNU Autoconf 2.59
1320
1321 Copyright (C) 2003 Free Software Foundation, Inc.
1322 This configure script is free software; the Free Software Foundation
1323 gives unlimited permission to copy, distribute and modify it.
1324 _ACEOF
1325 exit 0
1326 fi
1327 exec 5>config.log
1328 cat >&5 <<_ACEOF
1329 This file contains any messages produced by compilers while
1330 running configure, to aid debugging if configure makes a mistake.
1331
1332 It was created by wxWidgets $as_me 2.7.0, which was
1333 generated by GNU Autoconf 2.59. Invocation command line was
1334
1335 $ $0 $@
1336
1337 _ACEOF
1338 {
1339 cat <<_ASUNAME
1340 ## --------- ##
1341 ## Platform. ##
1342 ## --------- ##
1343
1344 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1345 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1346 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1347 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1348 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1349
1350 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1351 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1352
1353 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1354 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1355 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1357 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1358 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1359 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1360
1361 _ASUNAME
1362
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 for as_dir in $PATH
1365 do
1366 IFS=$as_save_IFS
1367 test -z "$as_dir" && as_dir=.
1368 echo "PATH: $as_dir"
1369 done
1370
1371 } >&5
1372
1373 cat >&5 <<_ACEOF
1374
1375
1376 ## ----------- ##
1377 ## Core tests. ##
1378 ## ----------- ##
1379
1380 _ACEOF
1381
1382
1383 # Keep a trace of the command line.
1384 # Strip out --no-create and --no-recursion so they do not pile up.
1385 # Strip out --silent because we don't want to record it for future runs.
1386 # Also quote any args containing shell meta-characters.
1387 # Make two passes to allow for proper duplicate-argument suppression.
1388 ac_configure_args=
1389 ac_configure_args0=
1390 ac_configure_args1=
1391 ac_sep=
1392 ac_must_keep_next=false
1393 for ac_pass in 1 2
1394 do
1395 for ac_arg
1396 do
1397 case $ac_arg in
1398 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)
1401 continue ;;
1402 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1403 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1404 esac
1405 case $ac_pass in
1406 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1407 2)
1408 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1409 if test $ac_must_keep_next = true; then
1410 ac_must_keep_next=false # Got value, back to normal.
1411 else
1412 case $ac_arg in
1413 *=* | --config-cache | -C | -disable-* | --disable-* \
1414 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1415 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1416 | -with-* | --with-* | -without-* | --without-* | --x)
1417 case "$ac_configure_args0 " in
1418 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1419 esac
1420 ;;
1421 -* ) ac_must_keep_next=true ;;
1422 esac
1423 fi
1424 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1425 # Get rid of the leading space.
1426 ac_sep=" "
1427 ;;
1428 esac
1429 done
1430 done
1431 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1432 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1433
1434 # When interrupted or exit'd, cleanup temporary files, and complete
1435 # config.log. We remove comments because anyway the quotes in there
1436 # would cause problems or look ugly.
1437 # WARNING: Be sure not to use single quotes in there, as some shells,
1438 # such as our DU 5.0 friend, will then `close' the trap.
1439 trap 'exit_status=$?
1440 # Save into config.log some information that might help in debugging.
1441 {
1442 echo
1443
1444 cat <<\_ASBOX
1445 ## ---------------- ##
1446 ## Cache variables. ##
1447 ## ---------------- ##
1448 _ASBOX
1449 echo
1450 # The following way of writing the cache mishandles newlines in values,
1451 {
1452 (set) 2>&1 |
1453 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1454 *ac_space=\ *)
1455 sed -n \
1456 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1458 ;;
1459 *)
1460 sed -n \
1461 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1462 ;;
1463 esac;
1464 }
1465 echo
1466
1467 cat <<\_ASBOX
1468 ## ----------------- ##
1469 ## Output variables. ##
1470 ## ----------------- ##
1471 _ASBOX
1472 echo
1473 for ac_var in $ac_subst_vars
1474 do
1475 eval ac_val=$`echo $ac_var`
1476 echo "$ac_var='"'"'$ac_val'"'"'"
1477 done | sort
1478 echo
1479
1480 if test -n "$ac_subst_files"; then
1481 cat <<\_ASBOX
1482 ## ------------- ##
1483 ## Output files. ##
1484 ## ------------- ##
1485 _ASBOX
1486 echo
1487 for ac_var in $ac_subst_files
1488 do
1489 eval ac_val=$`echo $ac_var`
1490 echo "$ac_var='"'"'$ac_val'"'"'"
1491 done | sort
1492 echo
1493 fi
1494
1495 if test -s confdefs.h; then
1496 cat <<\_ASBOX
1497 ## ----------- ##
1498 ## confdefs.h. ##
1499 ## ----------- ##
1500 _ASBOX
1501 echo
1502 sed "/^$/d" confdefs.h | sort
1503 echo
1504 fi
1505 test "$ac_signal" != 0 &&
1506 echo "$as_me: caught signal $ac_signal"
1507 echo "$as_me: exit $exit_status"
1508 } >&5
1509 rm -f core *.core &&
1510 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1511 exit $exit_status
1512 ' 0
1513 for ac_signal in 1 2 13 15; do
1514 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1515 done
1516 ac_signal=0
1517
1518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1519 rm -rf conftest* confdefs.h
1520 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1521 echo >confdefs.h
1522
1523 # Predefined preprocessor variables.
1524
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_NAME "$PACKAGE_NAME"
1527 _ACEOF
1528
1529
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1532 _ACEOF
1533
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1537 _ACEOF
1538
1539
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_STRING "$PACKAGE_STRING"
1542 _ACEOF
1543
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1547 _ACEOF
1548
1549
1550 # Let the site file select an alternate cache file if it wants to.
1551 # Prefer explicitly selected file to automatically selected ones.
1552 if test -z "$CONFIG_SITE"; then
1553 if test "x$prefix" != xNONE; then
1554 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1555 else
1556 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1557 fi
1558 fi
1559 for ac_site_file in $CONFIG_SITE; do
1560 if test -r "$ac_site_file"; then
1561 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1562 echo "$as_me: loading site script $ac_site_file" >&6;}
1563 sed 's/^/| /' "$ac_site_file" >&5
1564 . "$ac_site_file"
1565 fi
1566 done
1567
1568 if test -r "$cache_file"; then
1569 # Some versions of bash will fail to source /dev/null (special
1570 # files actually), so we avoid doing that.
1571 if test -f "$cache_file"; then
1572 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1573 echo "$as_me: loading cache $cache_file" >&6;}
1574 case $cache_file in
1575 [\\/]* | ?:[\\/]* ) . $cache_file;;
1576 *) . ./$cache_file;;
1577 esac
1578 fi
1579 else
1580 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1581 echo "$as_me: creating cache $cache_file" >&6;}
1582 >$cache_file
1583 fi
1584
1585 # Check that the precious variables saved in the cache have kept the same
1586 # value.
1587 ac_cache_corrupted=false
1588 for ac_var in `(set) 2>&1 |
1589 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1590 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1591 eval ac_new_set=\$ac_env_${ac_var}_set
1592 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1593 eval ac_new_val="\$ac_env_${ac_var}_value"
1594 case $ac_old_set,$ac_new_set in
1595 set,)
1596 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1597 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1598 ac_cache_corrupted=: ;;
1599 ,set)
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1602 ac_cache_corrupted=: ;;
1603 ,);;
1604 *)
1605 if test "x$ac_old_val" != "x$ac_new_val"; then
1606 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1607 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1609 echo "$as_me: former value: $ac_old_val" >&2;}
1610 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1611 echo "$as_me: current value: $ac_new_val" >&2;}
1612 ac_cache_corrupted=:
1613 fi;;
1614 esac
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1617 case $ac_new_val in
1618 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1619 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 *) ac_arg=$ac_var=$ac_new_val ;;
1621 esac
1622 case " $ac_configure_args " in
1623 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1624 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1625 esac
1626 fi
1627 done
1628 if $ac_cache_corrupted; then
1629 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1630 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1631 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1632 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1633 { (exit 1); exit 1; }; }
1634 fi
1635
1636 ac_ext=c
1637 ac_cpp='$CPP $CPPFLAGS'
1638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1641
1642
1643
1644
1645
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 ac_aux_dir=
1672 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1673 if test -f $ac_dir/install-sh; then
1674 ac_aux_dir=$ac_dir
1675 ac_install_sh="$ac_aux_dir/install-sh -c"
1676 break
1677 elif test -f $ac_dir/install.sh; then
1678 ac_aux_dir=$ac_dir
1679 ac_install_sh="$ac_aux_dir/install.sh -c"
1680 break
1681 elif test -f $ac_dir/shtool; then
1682 ac_aux_dir=$ac_dir
1683 ac_install_sh="$ac_aux_dir/shtool install -c"
1684 break
1685 fi
1686 done
1687 if test -z "$ac_aux_dir"; then
1688 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1689 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1690 { (exit 1); exit 1; }; }
1691 fi
1692 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1693 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1694 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1695
1696 # Make sure we can run config.sub.
1697 $ac_config_sub sun4 >/dev/null 2>&1 ||
1698 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1699 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1700 { (exit 1); exit 1; }; }
1701
1702 echo "$as_me:$LINENO: checking build system type" >&5
1703 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1704 if test "${ac_cv_build+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707 ac_cv_build_alias=$build_alias
1708 test -z "$ac_cv_build_alias" &&
1709 ac_cv_build_alias=`$ac_config_guess`
1710 test -z "$ac_cv_build_alias" &&
1711 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1712 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1713 { (exit 1); exit 1; }; }
1714 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1715 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1716 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1717 { (exit 1); exit 1; }; }
1718
1719 fi
1720 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1721 echo "${ECHO_T}$ac_cv_build" >&6
1722 build=$ac_cv_build
1723 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1726
1727
1728 echo "$as_me:$LINENO: checking host system type" >&5
1729 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1730 if test "${ac_cv_host+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 else
1733 ac_cv_host_alias=$host_alias
1734 test -z "$ac_cv_host_alias" &&
1735 ac_cv_host_alias=$ac_cv_build_alias
1736 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1743 echo "${ECHO_T}$ac_cv_host" >&6
1744 host=$ac_cv_host
1745 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking target system type" >&5
1751 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1752 if test "${ac_cv_target+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_target_alias=$target_alias
1756 test "x$ac_cv_target_alias" = "x" &&
1757 ac_cv_target_alias=$ac_cv_host_alias
1758 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1765 echo "${ECHO_T}$ac_cv_target" >&6
1766 target=$ac_cv_target
1767 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 # The aliases save the names the user supplied, while $host etc.
1773 # will get canonicalized.
1774 test -n "$target_alias" &&
1775 test "$program_prefix$program_suffix$program_transform_name" = \
1776 NONENONEs,x,x, &&
1777 program_prefix=${target_alias}-
1778
1779
1780
1781 wx_major_version_number=2
1782 wx_minor_version_number=7
1783 wx_release_number=0
1784 wx_subrelease_number=1
1785
1786 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1787 WX_VERSION=$WX_RELEASE.$wx_release_number
1788 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1789
1790 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1791
1792
1793
1794
1795 USE_UNIX=1
1796 USE_OS2=0
1797 USE_WIN32=0
1798 USE_DOS=0
1799 USE_BEOS=0
1800 USE_MAC=0
1801
1802 USE_AIX=
1803 USE_BSD= USE_DARWIN= USE_FREEBSD=
1804 USE_GNU= USE_HPUX=
1805 USE_LINUX=
1806 USE_NETBSD=
1807 USE_OPENBSD=
1808 USE_OSF= USE_SGI=
1809 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1810 USE_ULTRIX=
1811 USE_UNIXWARE=
1812
1813 USE_ALPHA=
1814
1815 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1816
1817 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1818
1819 DEFAULT_wxUSE_COCOA=0
1820 DEFAULT_wxUSE_GTK=0
1821 DEFAULT_wxUSE_MAC=0
1822 DEFAULT_wxUSE_MGL=0
1823 DEFAULT_wxUSE_MICROWIN=0
1824 DEFAULT_wxUSE_MOTIF=0
1825 DEFAULT_wxUSE_MSW=0
1826 DEFAULT_wxUSE_PM=0
1827 DEFAULT_wxUSE_X11=0
1828 DEFAULT_wxUSE_DFB=0
1829
1830 DEFAULT_DEFAULT_wxUSE_COCOA=0
1831 DEFAULT_DEFAULT_wxUSE_GTK=0
1832 DEFAULT_DEFAULT_wxUSE_MAC=0
1833 DEFAULT_DEFAULT_wxUSE_MGL=0
1834 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1836 DEFAULT_DEFAULT_wxUSE_MSW=0
1837 DEFAULT_DEFAULT_wxUSE_PM=0
1838 DEFAULT_DEFAULT_wxUSE_X11=0
1839 DEFAULT_DEFAULT_wxUSE_DFB=0
1840
1841 PROGRAM_EXT=
1842 SO_SUFFIX=so
1843 SAMPLES_RPATH_FLAG=
1844 SAMPLES_RPATH_POSTLINK=
1845
1846 DEFAULT_STD_FLAG=yes
1847
1848 case "${host}" in
1849 *-hp-hpux* )
1850 USE_HPUX=1
1851 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1853 SO_SUFFIX=sl
1854 cat >>confdefs.h <<\_ACEOF
1855 #define __HPUX__ 1
1856 _ACEOF
1857
1858
1859 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1860 ;;
1861 *-*-linux* )
1862 USE_LINUX=1
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __LINUX__ 1
1865 _ACEOF
1866
1867 TMP=`uname -m`
1868 if test "x$TMP" = "xalpha"; then
1869 USE_ALPHA=1
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __ALPHA__ 1
1872 _ACEOF
1873
1874 fi
1875 DEFAULT_DEFAULT_wxUSE_GTK=1
1876 ;;
1877 *-*-gnu* | *-*-k*bsd*-gnu )
1878 USE_GNU=1
1879 TMP=`uname -m`
1880 if test "x$TMP" = "xalpha"; then
1881 USE_ALPHA=1
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __ALPHA__ 1
1884 _ACEOF
1885
1886 fi
1887 DEFAULT_DEFAULT_wxUSE_GTK=1
1888 ;;
1889 *-*-irix5* | *-*-irix6* )
1890 USE_SGI=1
1891 USE_SVR4=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SGI__ 1
1894 _ACEOF
1895
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __SVR4__ 1
1898 _ACEOF
1899
1900 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1901 ;;
1902 *-*-solaris2* )
1903 USE_SUN=1
1904 USE_SOLARIS=1
1905 USE_SVR4=1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SUN__ 1
1908 _ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __SOLARIS__ 1
1912 _ACEOF
1913
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __SVR4__ 1
1916 _ACEOF
1917
1918 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1919 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1920 ;;
1921 *-*-sunos4* )
1922 USE_SUN=1
1923 USE_SUNOS=1
1924 USE_BSD=1
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __SUN__ 1
1927 _ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __SUNOS__ 1
1931 _ACEOF
1932
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __BSD__ 1
1935 _ACEOF
1936
1937 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1938 ;;
1939 *-*-freebsd*)
1940 USE_BSD=1
1941 USE_FREEBSD=1
1942 cat >>confdefs.h <<\_ACEOF
1943 #define __FREEBSD__ 1
1944 _ACEOF
1945
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __BSD__ 1
1948 _ACEOF
1949
1950 DEFAULT_DEFAULT_wxUSE_GTK=1
1951 ;;
1952 *-*-openbsd*|*-*-mirbsd*)
1953 USE_BSD=1
1954 USE_OPENBSD=1
1955 cat >>confdefs.h <<\_ACEOF
1956 #define __OPENBSD__ 1
1957 _ACEOF
1958
1959 cat >>confdefs.h <<\_ACEOF
1960 #define __BSD__ 1
1961 _ACEOF
1962
1963 DEFAULT_DEFAULT_wxUSE_GTK=1
1964 ;;
1965 *-*-netbsd*)
1966 USE_BSD=1
1967 USE_NETBSD=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __NETBSD__ 1
1970 _ACEOF
1971
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 DEFAULT_DEFAULT_wxUSE_GTK=1
1977 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1978
1979 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1980 ;;
1981 *-*-osf* )
1982 USE_ALPHA=1
1983 USE_OSF=1
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __ALPHA__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __OSF__ 1
1990 _ACEOF
1991
1992 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1993 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1994 ;;
1995 *-*-dgux5* )
1996 USE_ALPHA=1
1997 USE_SVR4=1
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __ALPHA__ 1
2000 _ACEOF
2001
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __SVR4__ 1
2004 _ACEOF
2005
2006 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2007 ;;
2008 *-*-sysv5* )
2009 USE_SYSV=1
2010 USE_SVR4=1
2011 cat >>confdefs.h <<\_ACEOF
2012 #define __SYSV__ 1
2013 _ACEOF
2014
2015 cat >>confdefs.h <<\_ACEOF
2016 #define __SVR4__ 1
2017 _ACEOF
2018
2019 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2020 ;;
2021 *-*-aix* )
2022 USE_AIX=1
2023 USE_SYSV=1
2024 USE_SVR4=1
2025 SO_SUFFIX=a
2026 cat >>confdefs.h <<\_ACEOF
2027 #define __AIX__ 1
2028 _ACEOF
2029
2030 cat >>confdefs.h <<\_ACEOF
2031 #define __SYSV__ 1
2032 _ACEOF
2033
2034 cat >>confdefs.h <<\_ACEOF
2035 #define __SVR4__ 1
2036 _ACEOF
2037
2038 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2039 ;;
2040
2041 *-*-*UnixWare*)
2042 USE_SYSV=1
2043 USE_SVR4=1
2044 USE_UNIXWARE=1
2045 cat >>confdefs.h <<\_ACEOF
2046 #define __UNIXWARE__ 1
2047 _ACEOF
2048
2049 ;;
2050
2051 *-*-cygwin* | *-*-mingw32* )
2052 SO_SUFFIX=dll
2053 PROGRAM_EXT=".exe"
2054 DEFAULT_DEFAULT_wxUSE_MSW=1
2055 DEFAULT_STD_FLAG=no
2056 ;;
2057
2058 *-pc-msdosdjgpp )
2059 USE_UNIX=0
2060 USE_DOS=1
2061 cat >>confdefs.h <<\_ACEOF
2062 #define __DOS__ 1
2063 _ACEOF
2064
2065 PROGRAM_EXT=".exe"
2066 DEFAULT_DEFAULT_wxUSE_MGL=1
2067 ;;
2068
2069 *-pc-os2_emx | *-pc-os2-emx )
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __EMX__ 1
2072 _ACEOF
2073
2074 USE_OS2=1
2075 cat >>confdefs.h <<\_ACEOF
2076 #define __OS2__ 1
2077 _ACEOF
2078
2079 PROGRAM_EXT=".exe"
2080 DEFAULT_DEFAULT_wxUSE_PM=1
2081 CXX=gcc
2082 LDFLAGS="$LDFLAGS -Zcrtdll"
2083 ac_executable_extensions=".exe"
2084 export ac_executable_extensions
2085 ac_save_IFS="$IFS"
2086 IFS='\\'
2087 ac_TEMP_PATH=
2088 for ac_dir in $PATH; do
2089 IFS=$ac_save_IFS
2090 if test -z "$ac_TEMP_PATH"; then
2091 ac_TEMP_PATH="$ac_dir"
2092 else
2093 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2094 fi
2095 done
2096 export PATH="$ac_TEMP_PATH"
2097 unset ac_TEMP_PATH
2098 DEFAULT_STD_FLAG=no
2099 ;;
2100
2101 *-*-darwin* )
2102 USE_BSD=1
2103 USE_DARWIN=1
2104 SO_SUFFIX=dylib
2105 cat >>confdefs.h <<\_ACEOF
2106 #define __BSD__ 1
2107 _ACEOF
2108
2109 cat >>confdefs.h <<\_ACEOF
2110 #define __DARWIN__ 1
2111 _ACEOF
2112
2113 cat >>confdefs.h <<\_ACEOF
2114 #define TARGET_CARBON 1
2115 _ACEOF
2116
2117 DEFAULT_DEFAULT_wxUSE_MAC=1
2118 DEFAULT_STD_FLAG=no
2119 ;;
2120 powerpc-apple-macos* )
2121 USE_UNIX=0
2122 ac_cv_c_bigendian=yes
2123 SO_SUFFIX=shlib
2124 DEFAULT_DEFAULT_wxUSE_MAC=1
2125 DEFAULT_STD_FLAG=no
2126 ;;
2127
2128 *-*-beos* )
2129 USE_BEOS=1
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __BEOS__ 1
2132 _ACEOF
2133
2134 ;;
2135
2136 *)
2137 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2138 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2139 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2140 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2141
2142 DEFAULT_DEFAULT_wxUSE_X11=1
2143 DEFAULT_wxUSE_SHARED=no
2144 esac
2145
2146
2147
2148
2149 wx_arg_cache_file="configarg.cache"
2150 echo "loading argument cache $wx_arg_cache_file"
2151 rm -f ${wx_arg_cache_file}.tmp
2152 touch ${wx_arg_cache_file}.tmp
2153 touch ${wx_arg_cache_file}
2154
2155
2156 DEBUG_CONFIGURE=0
2157 if test $DEBUG_CONFIGURE = 1; then
2158 DEFAULT_wxUSE_UNIVERSAL=no
2159 DEFAULT_wxUSE_STL=no
2160
2161 DEFAULT_wxUSE_NANOX=no
2162
2163 DEFAULT_wxUSE_THREADS=yes
2164
2165 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2166 DEFAULT_wxUSE_OPTIMISE=no
2167 DEFAULT_wxUSE_PROFILE=no
2168 DEFAULT_wxUSE_NO_DEPS=no
2169 DEFAULT_wxUSE_NO_RTTI=no
2170 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2171 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2172 DEFAULT_wxUSE_RPATH=yes
2173 DEFAULT_wxUSE_PERMISSIVE=no
2174 DEFAULT_wxUSE_DEBUG_FLAG=yes
2175 DEFAULT_wxUSE_DEBUG_INFO=yes
2176 DEFAULT_wxUSE_DEBUG_GDB=yes
2177 DEFAULT_wxUSE_MEM_TRACING=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2179 DEFAULT_wxUSE_DMALLOC=no
2180 DEFAULT_wxUSE_APPLE_IEEE=no
2181
2182 DEFAULT_wxUSE_EXCEPTIONS=no
2183 DEFAULT_wxUSE_LOG=yes
2184 DEFAULT_wxUSE_LOGWINDOW=no
2185 DEFAULT_wxUSE_LOGGUI=no
2186 DEFAULT_wxUSE_LOGDIALOG=no
2187
2188 DEFAULT_wxUSE_GUI=yes
2189 DEFAULT_wxUSE_CONTROLS=no
2190
2191 DEFAULT_wxUSE_REGEX=no
2192 DEFAULT_wxUSE_XML=no
2193 DEFAULT_wxUSE_EXPAT=no
2194 DEFAULT_wxUSE_ZLIB=no
2195 DEFAULT_wxUSE_LIBPNG=no
2196 DEFAULT_wxUSE_LIBJPEG=no
2197 DEFAULT_wxUSE_LIBTIFF=no
2198 DEFAULT_wxUSE_LIBXPM=no
2199 DEFAULT_wxUSE_LIBMSPACK=no
2200 DEFAULT_wxUSE_LIBSDL=no
2201 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2202 DEFAULT_wxUSE_LIBGNOMEVFS=no
2203 DEFAULT_wxUSE_LIBHILDON=no
2204 DEFAULT_wxUSE_ODBC=no
2205 DEFAULT_wxUSE_OPENGL=no
2206
2207 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2208 DEFAULT_wxUSE_STACKWALKER=no
2209 DEFAULT_wxUSE_DEBUGREPORT=no
2210 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2211 DEFAULT_wxUSE_STD_IOSTREAM=no
2212 DEFAULT_wxUSE_STD_STRING=no
2213 DEFAULT_wxUSE_CMDLINE_PARSER=no
2214 DEFAULT_wxUSE_DATETIME=no
2215 DEFAULT_wxUSE_TIMER=no
2216 DEFAULT_wxUSE_STOPWATCH=no
2217 DEFAULT_wxUSE_FILE=no
2218 DEFAULT_wxUSE_FFILE=no
2219 DEFAULT_wxUSE_STDPATHS=no
2220 DEFAULT_wxUSE_TEXTBUFFER=no
2221 DEFAULT_wxUSE_TEXTFILE=no
2222 DEFAULT_wxUSE_SOUND=no
2223 DEFAULT_wxUSE_MEDIACTRL=no
2224 DEFAULT_wxUSE_GSTREAMER8=no
2225 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2226 DEFAULT_wxUSE_INTL=no
2227 DEFAULT_wxUSE_CONFIG=no
2228 DEFAULT_wxUSE_FONTMAP=no
2229 DEFAULT_wxUSE_STREAMS=no
2230 DEFAULT_wxUSE_SOCKETS=no
2231 DEFAULT_wxUSE_OLE=no
2232 DEFAULT_wxUSE_DATAOBJ=no
2233 DEFAULT_wxUSE_DIALUP_MANAGER=no
2234 DEFAULT_wxUSE_JOYSTICK=no
2235 DEFAULT_wxUSE_DYNLIB_CLASS=no
2236 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2237 DEFAULT_wxUSE_LONGLONG=no
2238 DEFAULT_wxUSE_GEOMETRY=no
2239
2240 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2241 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2242 DEFAULT_wxUSE_POSTSCRIPT=no
2243
2244 DEFAULT_wxUSE_CLIPBOARD=no
2245 DEFAULT_wxUSE_TOOLTIPS=no
2246 DEFAULT_wxUSE_DRAG_AND_DROP=no
2247 DEFAULT_wxUSE_DRAGIMAGE=no
2248 DEFAULT_wxUSE_SPLINES=no
2249 DEFAULT_wxUSE_MOUSEWHEEL=no
2250
2251 DEFAULT_wxUSE_MDI=no
2252 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2253 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2254 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2255
2256 DEFAULT_wxUSE_RESOURCES=no
2257 DEFAULT_wxUSE_CONSTRAINTS=no
2258 DEFAULT_wxUSE_IPC=no
2259 DEFAULT_wxUSE_HELP=no
2260 DEFAULT_wxUSE_MS_HTML_HELP=no
2261 DEFAULT_wxUSE_WXHTML_HELP=no
2262 DEFAULT_wxUSE_TREELAYOUT=no
2263 DEFAULT_wxUSE_METAFILE=no
2264 DEFAULT_wxUSE_MIMETYPE=no
2265 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2266 DEFAULT_wxUSE_PROTOCOL=no
2267 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2268 DEFAULT_wxUSE_PROTOCOL_FTP=no
2269 DEFAULT_wxUSE_PROTOCOL_FILE=no
2270 DEFAULT_wxUSE_URL=no
2271
2272 DEFAULT_wxUSE_COMMONDLGS=no
2273 DEFAULT_wxUSE_CHOICEDLG=no
2274 DEFAULT_wxUSE_COLOURDLG=no
2275 DEFAULT_wxUSE_DIRDLG=no
2276 DEFAULT_wxUSE_FILEDLG=no
2277 DEFAULT_wxUSE_FINDREPLDLG=no
2278 DEFAULT_wxUSE_FONTDLG=no
2279 DEFAULT_wxUSE_MSGDLG=no
2280 DEFAULT_wxUSE_NUMBERDLG=no
2281 DEFAULT_wxUSE_TEXTDLG=no
2282 DEFAULT_wxUSE_SPLASH=no
2283 DEFAULT_wxUSE_STARTUP_TIPS=no
2284 DEFAULT_wxUSE_PROGRESSDLG=no
2285 DEFAULT_wxUSE_WIZARDDLG=no
2286
2287 DEFAULT_wxUSE_MENUS=no
2288 DEFAULT_wxUSE_MINIFRAME=no
2289 DEFAULT_wxUSE_HTML=no
2290 DEFAULT_wxUSE_RICHTEXT=no
2291 DEFAULT_wxUSE_XRC=no
2292 DEFAULT_wxUSE_AUI=no
2293 DEFAULT_wxUSE_WEBKIT=no
2294 DEFAULT_wxUSE_FILESYSTEM=no
2295 DEFAULT_wxUSE_FS_INET=no
2296 DEFAULT_wxUSE_FS_ZIP=no
2297 DEFAULT_wxUSE_BUSYINFO=no
2298 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2299 DEFAULT_wxUSE_ZIPSTREAM=no
2300 DEFAULT_wxUSE_VALIDATORS=no
2301
2302 DEFAULT_wxUSE_ACCEL=no
2303 DEFAULT_wxUSE_BUTTON=no
2304 DEFAULT_wxUSE_BMPBUTTON=no
2305 DEFAULT_wxUSE_CALCTRL=no
2306 DEFAULT_wxUSE_CARET=no
2307 DEFAULT_wxUSE_CHECKBOX=no
2308 DEFAULT_wxUSE_CHECKLST=no
2309 DEFAULT_wxUSE_CHOICE=no
2310 DEFAULT_wxUSE_CHOICEBOOK=no
2311 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2312 DEFAULT_wxUSE_COMBOBOX=no
2313 DEFAULT_wxUSE_COMBOCTRL=no
2314 DEFAULT_wxUSE_DATEPICKCTRL=no
2315 DEFAULT_wxUSE_DISPLAY=no
2316 DEFAULT_wxUSE_DIRPICKERCTRL=no
2317 DEFAULT_wxUSE_FILEPICKERCTRL=no
2318 DEFAULT_wxUSE_FONTPICKERCTRL=no
2319 DEFAULT_wxUSE_GAUGE=no
2320 DEFAULT_wxUSE_GRID=no
2321 DEFAULT_wxUSE_HYPERLINKCTRL=no
2322 DEFAULT_wxUSE_DATAVIEWCTRL=no
2323 DEFAULT_wxUSE_IMAGLIST=no
2324 DEFAULT_wxUSE_LISTBOOK=no
2325 DEFAULT_wxUSE_LISTBOX=no
2326 DEFAULT_wxUSE_LISTCTRL=no
2327 DEFAULT_wxUSE_NOTEBOOK=no
2328 DEFAULT_wxUSE_ODCOMBOBOX=no
2329 DEFAULT_wxUSE_RADIOBOX=no
2330 DEFAULT_wxUSE_RADIOBTN=no
2331 DEFAULT_wxUSE_SASH=no
2332 DEFAULT_wxUSE_SCROLLBAR=no
2333 DEFAULT_wxUSE_SLIDER=no
2334 DEFAULT_wxUSE_SPINBTN=no
2335 DEFAULT_wxUSE_SPINCTRL=no
2336 DEFAULT_wxUSE_SPLITTER=no
2337 DEFAULT_wxUSE_STATBMP=no
2338 DEFAULT_wxUSE_STATBOX=no
2339 DEFAULT_wxUSE_STATLINE=no
2340 DEFAULT_wxUSE_STATTEXT=no
2341 DEFAULT_wxUSE_STATUSBAR=yes
2342 DEFAULT_wxUSE_TAB_DIALOG=no
2343 DEFAULT_wxUSE_TEXTCTRL=no
2344 DEFAULT_wxUSE_TOGGLEBTN=no
2345 DEFAULT_wxUSE_TOOLBAR=no
2346 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2347 DEFAULT_wxUSE_TREEBOOK=no
2348 DEFAULT_wxUSE_TOOLBOOK=no
2349 DEFAULT_wxUSE_TREECTRL=no
2350 DEFAULT_wxUSE_POPUPWIN=no
2351 DEFAULT_wxUSE_TIPWINDOW=no
2352
2353 DEFAULT_wxUSE_UNICODE=no
2354 DEFAULT_wxUSE_UNICODE_MSLU=no
2355 DEFAULT_wxUSE_WCSRTOMBS=no
2356
2357 DEFAULT_wxUSE_PALETTE=no
2358 DEFAULT_wxUSE_IMAGE=no
2359 DEFAULT_wxUSE_GIF=no
2360 DEFAULT_wxUSE_PCX=no
2361 DEFAULT_wxUSE_PNM=no
2362 DEFAULT_wxUSE_IFF=no
2363 DEFAULT_wxUSE_XPM=no
2364 DEFAULT_wxUSE_ICO_CUR=no
2365 DEFAULT_wxUSE_ACCESSIBILITY=no
2366
2367 DEFAULT_wxUSE_MONOLITHIC=no
2368 DEFAULT_wxUSE_PLUGINS=no
2369 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2370 else
2371 DEFAULT_wxUSE_UNIVERSAL=no
2372 DEFAULT_wxUSE_STL=no
2373
2374 DEFAULT_wxUSE_NANOX=no
2375
2376 DEFAULT_wxUSE_THREADS=yes
2377
2378 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2379 DEFAULT_wxUSE_OPTIMISE=yes
2380 DEFAULT_wxUSE_PROFILE=no
2381 DEFAULT_wxUSE_NO_DEPS=no
2382 DEFAULT_wxUSE_NO_RTTI=no
2383 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2384 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2385 DEFAULT_wxUSE_RPATH=yes
2386 DEFAULT_wxUSE_PERMISSIVE=no
2387 DEFAULT_wxUSE_DEBUG_FLAG=no
2388 DEFAULT_wxUSE_DEBUG_INFO=no
2389 DEFAULT_wxUSE_DEBUG_GDB=no
2390 DEFAULT_wxUSE_MEM_TRACING=no
2391 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2392 DEFAULT_wxUSE_DMALLOC=no
2393 DEFAULT_wxUSE_APPLE_IEEE=yes
2394
2395 DEFAULT_wxUSE_EXCEPTIONS=yes
2396 DEFAULT_wxUSE_LOG=yes
2397 DEFAULT_wxUSE_LOGWINDOW=yes
2398 DEFAULT_wxUSE_LOGGUI=yes
2399 DEFAULT_wxUSE_LOGDIALOG=yes
2400
2401 DEFAULT_wxUSE_GUI=yes
2402
2403 DEFAULT_wxUSE_REGEX=yes
2404 DEFAULT_wxUSE_XML=yes
2405 DEFAULT_wxUSE_EXPAT=yes
2406 DEFAULT_wxUSE_ZLIB=yes
2407 DEFAULT_wxUSE_LIBPNG=yes
2408 DEFAULT_wxUSE_LIBJPEG=yes
2409 DEFAULT_wxUSE_LIBTIFF=yes
2410 DEFAULT_wxUSE_LIBXPM=yes
2411 DEFAULT_wxUSE_LIBMSPACK=yes
2412 DEFAULT_wxUSE_LIBSDL=no
2413 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2414 DEFAULT_wxUSE_LIBGNOMEVFS=no
2415 DEFAULT_wxUSE_LIBHILDON=no
2416 DEFAULT_wxUSE_ODBC=no
2417 DEFAULT_wxUSE_OPENGL=no
2418
2419 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2420 DEFAULT_wxUSE_STACKWALKER=yes
2421 DEFAULT_wxUSE_DEBUGREPORT=yes
2422 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2423 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2424 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2425 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2426 DEFAULT_wxUSE_DATETIME=yes
2427 DEFAULT_wxUSE_TIMER=yes
2428 DEFAULT_wxUSE_STOPWATCH=yes
2429 DEFAULT_wxUSE_FILE=yes
2430 DEFAULT_wxUSE_FFILE=yes
2431 DEFAULT_wxUSE_STDPATHS=yes
2432 DEFAULT_wxUSE_TEXTBUFFER=yes
2433 DEFAULT_wxUSE_TEXTFILE=yes
2434 DEFAULT_wxUSE_SOUND=yes
2435 DEFAULT_wxUSE_MEDIACTRL=no
2436 DEFAULT_wxUSE_GSTREAMER8=no
2437 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2438 DEFAULT_wxUSE_INTL=yes
2439 DEFAULT_wxUSE_CONFIG=yes
2440 DEFAULT_wxUSE_FONTMAP=yes
2441 DEFAULT_wxUSE_STREAMS=yes
2442 DEFAULT_wxUSE_SOCKETS=yes
2443 DEFAULT_wxUSE_OLE=yes
2444 DEFAULT_wxUSE_DATAOBJ=yes
2445 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2446 DEFAULT_wxUSE_JOYSTICK=yes
2447 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2448 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2449 DEFAULT_wxUSE_LONGLONG=yes
2450 DEFAULT_wxUSE_GEOMETRY=yes
2451
2452 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2453 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2454 DEFAULT_wxUSE_POSTSCRIPT=yes
2455
2456 DEFAULT_wxUSE_CLIPBOARD=yes
2457 DEFAULT_wxUSE_TOOLTIPS=yes
2458 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2459 DEFAULT_wxUSE_DRAGIMAGE=yes
2460 DEFAULT_wxUSE_SPLINES=yes
2461 DEFAULT_wxUSE_MOUSEWHEEL=yes
2462
2463 DEFAULT_wxUSE_MDI=yes
2464 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2465 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2466 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2467
2468 DEFAULT_wxUSE_RESOURCES=no
2469 DEFAULT_wxUSE_CONSTRAINTS=yes
2470 DEFAULT_wxUSE_IPC=yes
2471 DEFAULT_wxUSE_HELP=yes
2472 DEFAULT_wxUSE_MS_HTML_HELP=yes
2473 DEFAULT_wxUSE_WXHTML_HELP=yes
2474 DEFAULT_wxUSE_TREELAYOUT=yes
2475 DEFAULT_wxUSE_METAFILE=yes
2476 DEFAULT_wxUSE_MIMETYPE=yes
2477 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2478 DEFAULT_wxUSE_PROTOCOL=yes
2479 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2480 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2481 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2482 DEFAULT_wxUSE_URL=yes
2483
2484 DEFAULT_wxUSE_COMMONDLGS=yes
2485 DEFAULT_wxUSE_CHOICEDLG=yes
2486 DEFAULT_wxUSE_COLOURDLG=yes
2487 DEFAULT_wxUSE_DIRDLG=yes
2488 DEFAULT_wxUSE_FILEDLG=yes
2489 DEFAULT_wxUSE_FINDREPLDLG=yes
2490 DEFAULT_wxUSE_FONTDLG=yes
2491 DEFAULT_wxUSE_MSGDLG=yes
2492 DEFAULT_wxUSE_NUMBERDLG=yes
2493 DEFAULT_wxUSE_TEXTDLG=yes
2494 DEFAULT_wxUSE_SPLASH=yes
2495 DEFAULT_wxUSE_STARTUP_TIPS=yes
2496 DEFAULT_wxUSE_PROGRESSDLG=yes
2497 DEFAULT_wxUSE_WIZARDDLG=yes
2498
2499 DEFAULT_wxUSE_MENUS=yes
2500 DEFAULT_wxUSE_MINIFRAME=yes
2501 DEFAULT_wxUSE_HTML=yes
2502 DEFAULT_wxUSE_RICHTEXT=yes
2503 DEFAULT_wxUSE_XRC=yes
2504 DEFAULT_wxUSE_AUI=yes
2505 DEFAULT_wxUSE_WEBKIT=yes
2506 DEFAULT_wxUSE_FILESYSTEM=yes
2507 DEFAULT_wxUSE_FS_INET=yes
2508 DEFAULT_wxUSE_FS_ZIP=yes
2509 DEFAULT_wxUSE_BUSYINFO=yes
2510 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2511 DEFAULT_wxUSE_ZIPSTREAM=yes
2512 DEFAULT_wxUSE_VALIDATORS=yes
2513
2514 DEFAULT_wxUSE_ACCEL=yes
2515 DEFAULT_wxUSE_BUTTON=yes
2516 DEFAULT_wxUSE_BMPBUTTON=yes
2517 DEFAULT_wxUSE_CALCTRL=yes
2518 DEFAULT_wxUSE_CARET=yes
2519 DEFAULT_wxUSE_CHECKBOX=yes
2520 DEFAULT_wxUSE_CHECKLST=yes
2521 DEFAULT_wxUSE_CHOICE=yes
2522 DEFAULT_wxUSE_CHOICEBOOK=yes
2523 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2524 DEFAULT_wxUSE_COMBOBOX=yes
2525 DEFAULT_wxUSE_COMBOCTRL=yes
2526 DEFAULT_wxUSE_DATEPICKCTRL=yes
2527 DEFAULT_wxUSE_DISPLAY=yes
2528 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2529 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2530 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2531 DEFAULT_wxUSE_GAUGE=yes
2532 DEFAULT_wxUSE_GRID=yes
2533 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2534 DEFAULT_wxUSE_DATAVIEWCTRL=no
2535 DEFAULT_wxUSE_IMAGLIST=yes
2536 DEFAULT_wxUSE_LISTBOOK=yes
2537 DEFAULT_wxUSE_LISTBOX=yes
2538 DEFAULT_wxUSE_LISTCTRL=yes
2539 DEFAULT_wxUSE_NOTEBOOK=yes
2540 DEFAULT_wxUSE_ODCOMBOBOX=yes
2541 DEFAULT_wxUSE_RADIOBOX=yes
2542 DEFAULT_wxUSE_RADIOBTN=yes
2543 DEFAULT_wxUSE_SASH=yes
2544 DEFAULT_wxUSE_SCROLLBAR=yes
2545 DEFAULT_wxUSE_SLIDER=yes
2546 DEFAULT_wxUSE_SPINBTN=yes
2547 DEFAULT_wxUSE_SPINCTRL=yes
2548 DEFAULT_wxUSE_SPLITTER=yes
2549 DEFAULT_wxUSE_STATBMP=yes
2550 DEFAULT_wxUSE_STATBOX=yes
2551 DEFAULT_wxUSE_STATLINE=yes
2552 DEFAULT_wxUSE_STATTEXT=yes
2553 DEFAULT_wxUSE_STATUSBAR=yes
2554 DEFAULT_wxUSE_TAB_DIALOG=no
2555 DEFAULT_wxUSE_TEXTCTRL=yes
2556 DEFAULT_wxUSE_TOGGLEBTN=yes
2557 DEFAULT_wxUSE_TOOLBAR=yes
2558 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2559 DEFAULT_wxUSE_TREEBOOK=yes
2560 DEFAULT_wxUSE_TOOLBOOK=yes
2561 DEFAULT_wxUSE_TREECTRL=yes
2562 DEFAULT_wxUSE_POPUPWIN=yes
2563 DEFAULT_wxUSE_TIPWINDOW=yes
2564
2565 DEFAULT_wxUSE_UNICODE=no
2566 DEFAULT_wxUSE_UNICODE_MSLU=yes
2567 DEFAULT_wxUSE_WCSRTOMBS=no
2568
2569 DEFAULT_wxUSE_PALETTE=yes
2570 DEFAULT_wxUSE_IMAGE=yes
2571 DEFAULT_wxUSE_GIF=yes
2572 DEFAULT_wxUSE_PCX=yes
2573 DEFAULT_wxUSE_IFF=no
2574 DEFAULT_wxUSE_PNM=yes
2575 DEFAULT_wxUSE_XPM=yes
2576 DEFAULT_wxUSE_ICO_CUR=yes
2577 DEFAULT_wxUSE_ACCESSIBILITY=no
2578
2579 DEFAULT_wxUSE_MONOLITHIC=no
2580 DEFAULT_wxUSE_PLUGINS=no
2581 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2582
2583 DEFAULT_wxUSE_GTK2=yes
2584 fi
2585
2586
2587
2588
2589 for toolkit in `echo $ALL_TOOLKITS`; do
2590 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2591 if test "x$LINE" != "x" ; then
2592 has_toolkit_in_cache=1
2593 eval "DEFAULT_$LINE"
2594 eval "CACHE_$toolkit=1"
2595
2596 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2597 if test "x$LINE" != "x" ; then
2598 eval "DEFAULT_$LINE"
2599 fi
2600 fi
2601 done
2602
2603
2604
2605 enablestring=
2606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2607 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2608 no_cache=0
2609 # Check whether --enable-gui or --disable-gui was given.
2610 if test "${enable_gui+set}" = set; then
2611 enableval="$enable_gui"
2612
2613 if test "$enableval" = yes; then
2614 ac_cv_use_gui='wxUSE_GUI=yes'
2615 else
2616 ac_cv_use_gui='wxUSE_GUI=no'
2617 fi
2618
2619 else
2620
2621 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x ; then
2623 eval "DEFAULT_$LINE"
2624 else
2625 no_cache=1
2626 fi
2627
2628 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2629
2630 fi;
2631
2632 eval "$ac_cv_use_gui"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2635 fi
2636
2637 if test "$wxUSE_GUI" = yes; then
2638 echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6
2640 else
2641 echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6
2643 fi
2644
2645
2646 enablestring=
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2649 no_cache=0
2650 # Check whether --enable-monolithic or --disable-monolithic was given.
2651 if test "${enable_monolithic+set}" = set; then
2652 enableval="$enable_monolithic"
2653
2654 if test "$enableval" = yes; then
2655 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2656 else
2657 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2658 fi
2659
2660 else
2661
2662 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x ; then
2664 eval "DEFAULT_$LINE"
2665 else
2666 no_cache=1
2667 fi
2668
2669 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2670
2671 fi;
2672
2673 eval "$ac_cv_use_monolithic"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2676 fi
2677
2678 if test "$wxUSE_MONOLITHIC" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2681 else
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2684 fi
2685
2686
2687 enablestring=
2688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2689 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2690 no_cache=0
2691 # Check whether --enable-plugins or --disable-plugins was given.
2692 if test "${enable_plugins+set}" = set; then
2693 enableval="$enable_plugins"
2694
2695 if test "$enableval" = yes; then
2696 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2697 else
2698 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2699 fi
2700
2701 else
2702
2703 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x ; then
2705 eval "DEFAULT_$LINE"
2706 else
2707 no_cache=1
2708 fi
2709
2710 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2711
2712 fi;
2713
2714 eval "$ac_cv_use_plugins"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2717 fi
2718
2719 if test "$wxUSE_PLUGINS" = yes; then
2720 echo "$as_me:$LINENO: result: yes" >&5
2721 echo "${ECHO_T}yes" >&6
2722 else
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2725 fi
2726
2727
2728 withstring=without
2729 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2730 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2731 no_cache=0
2732
2733 # Check whether --with-subdirs or --without-subdirs was given.
2734 if test "${with_subdirs+set}" = set; then
2735 withval="$with_subdirs"
2736
2737 if test "$withval" = yes; then
2738 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2739 else
2740 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2741 fi
2742
2743 else
2744
2745 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x ; then
2747 eval "DEFAULT_$LINE"
2748 else
2749 no_cache=1
2750 fi
2751
2752 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2753
2754 fi;
2755
2756 eval "$ac_cv_use_subdirs"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2759 fi
2760
2761 if test "$wxWITH_SUBDIRS" = yes; then
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2764 else
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2767 fi
2768
2769
2770 if test "$wxUSE_GUI" = "yes"; then
2771
2772
2773 enablestring=
2774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2775 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2776 no_cache=0
2777 # Check whether --enable-universal or --disable-universal was given.
2778 if test "${enable_universal+set}" = set; then
2779 enableval="$enable_universal"
2780
2781 if test "$enableval" = yes; then
2782 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2783 else
2784 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2785 fi
2786
2787 else
2788
2789 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x ; then
2791 eval "DEFAULT_$LINE"
2792 else
2793 no_cache=1
2794 fi
2795
2796 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2797
2798 fi;
2799
2800 eval "$ac_cv_use_universal"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2803 fi
2804
2805 if test "$wxUSE_UNIVERSAL" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2808 else
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2811 fi
2812
2813
2814 # Check whether --with-gtk or --without-gtk was given.
2815 if test "${with_gtk+set}" = set; then
2816 withval="$with_gtk"
2817 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2818 fi;
2819
2820 # Check whether --with-motif or --without-motif was given.
2821 if test "${with_motif+set}" = set; then
2822 withval="$with_motif"
2823 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2824 fi;
2825
2826 # Check whether --with-mac or --without-mac was given.
2827 if test "${with_mac+set}" = set; then
2828 withval="$with_mac"
2829 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2830 fi;
2831
2832 # Check whether --with-cocoa or --without-cocoa was given.
2833 if test "${with_cocoa+set}" = set; then
2834 withval="$with_cocoa"
2835 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2836 fi;
2837
2838 # Check whether --with-wine or --without-wine was given.
2839 if test "${with_wine+set}" = set; then
2840 withval="$with_wine"
2841 wxUSE_WINE="$withval" CACHE_WINE=1
2842 fi;
2843
2844 # Check whether --with-msw or --without-msw was given.
2845 if test "${with_msw+set}" = set; then
2846 withval="$with_msw"
2847 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2848 fi;
2849
2850 # Check whether --with-pm or --without-pm was given.
2851 if test "${with_pm+set}" = set; then
2852 withval="$with_pm"
2853 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2854 fi;
2855
2856 # Check whether --with-mgl or --without-mgl was given.
2857 if test "${with_mgl+set}" = set; then
2858 withval="$with_mgl"
2859 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2860 fi;
2861
2862 # Check whether --with-directfb or --without-directfb was given.
2863 if test "${with_directfb+set}" = set; then
2864 withval="$with_directfb"
2865 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2866 fi;
2867
2868 # Check whether --with-microwin or --without-microwin was given.
2869 if test "${with_microwin+set}" = set; then
2870 withval="$with_microwin"
2871 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2872 fi;
2873
2874 # Check whether --with-x11 or --without-x11 was given.
2875 if test "${with_x11+set}" = set; then
2876 withval="$with_x11"
2877 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2878 fi;
2879
2880 enablestring=
2881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2882 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2883 no_cache=0
2884 # Check whether --enable-nanox or --disable-nanox was given.
2885 if test "${enable_nanox+set}" = set; then
2886 enableval="$enable_nanox"
2887
2888 if test "$enableval" = yes; then
2889 ac_cv_use_nanox='wxUSE_NANOX=yes'
2890 else
2891 ac_cv_use_nanox='wxUSE_NANOX=no'
2892 fi
2893
2894 else
2895
2896 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x ; then
2898 eval "DEFAULT_$LINE"
2899 else
2900 no_cache=1
2901 fi
2902
2903 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2904
2905 fi;
2906
2907 eval "$ac_cv_use_nanox"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2910 fi
2911
2912 if test "$wxUSE_NANOX" = yes; then
2913 echo "$as_me:$LINENO: result: yes" >&5
2914 echo "${ECHO_T}yes" >&6
2915 else
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2918 fi
2919
2920
2921 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2922 if test "${enable_gtk2+set}" = set; then
2923 enableval="$enable_gtk2"
2924 wxUSE_GTK2="$enableval"
2925 fi;
2926
2927 enablestring=
2928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2929 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2930 no_cache=0
2931 # Check whether --enable-gpe or --disable-gpe was given.
2932 if test "${enable_gpe+set}" = set; then
2933 enableval="$enable_gpe"
2934
2935 if test "$enableval" = yes; then
2936 ac_cv_use_gpe='wxUSE_GPE=yes'
2937 else
2938 ac_cv_use_gpe='wxUSE_GPE=no'
2939 fi
2940
2941 else
2942
2943 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2946 else
2947 no_cache=1
2948 fi
2949
2950 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2951
2952 fi;
2953
2954 eval "$ac_cv_use_gpe"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_GPE" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 else
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 fi
2966
2967
2968
2969 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2970 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2971 no_cache=0
2972
2973 # Check whether --with-libpng or --without-libpng was given.
2974 if test "${with_libpng+set}" = set; then
2975 withval="$with_libpng"
2976
2977 if test "$withval" = yes; then
2978 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2979 elif test "$withval" = no; then
2980 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2981 elif test "$withval" = sys; then
2982 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2983 elif test "$withval" = builtin; then
2984 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2985 else
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2987 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2989 fi
2990
2991 else
2992
2993 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 else
2997 no_cache=1
2998 fi
2999
3000 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3001
3002 fi;
3003
3004 eval "$ac_cv_use_libpng"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3007 fi
3008
3009 if test "$wxUSE_LIBPNG" = yes; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3012 elif test "$wxUSE_LIBPNG" = no; then
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3015 elif test "$wxUSE_LIBPNG" = sys; then
3016 echo "$as_me:$LINENO: result: system version" >&5
3017 echo "${ECHO_T}system version" >&6
3018 elif test "$wxUSE_LIBPNG" = builtin; then
3019 echo "$as_me:$LINENO: result: builtin version" >&5
3020 echo "${ECHO_T}builtin version" >&6
3021 else
3022 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3023 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3024 { (exit 1); exit 1; }; }
3025 fi
3026
3027
3028 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3029 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3030 no_cache=0
3031
3032 # Check whether --with-libjpeg or --without-libjpeg was given.
3033 if test "${with_libjpeg+set}" = set; then
3034 withval="$with_libjpeg"
3035
3036 if test "$withval" = yes; then
3037 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3038 elif test "$withval" = no; then
3039 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3040 elif test "$withval" = sys; then
3041 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3042 elif test "$withval" = builtin; then
3043 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3044 else
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3046 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3048 fi
3049
3050 else
3051
3052 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3053 if test "x$LINE" != x ; then
3054 eval "DEFAULT_$LINE"
3055 else
3056 no_cache=1
3057 fi
3058
3059 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3060
3061 fi;
3062
3063 eval "$ac_cv_use_libjpeg"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3066 fi
3067
3068 if test "$wxUSE_LIBJPEG" = yes; then
3069 echo "$as_me:$LINENO: result: yes" >&5
3070 echo "${ECHO_T}yes" >&6
3071 elif test "$wxUSE_LIBJPEG" = no; then
3072 echo "$as_me:$LINENO: result: no" >&5
3073 echo "${ECHO_T}no" >&6
3074 elif test "$wxUSE_LIBJPEG" = sys; then
3075 echo "$as_me:$LINENO: result: system version" >&5
3076 echo "${ECHO_T}system version" >&6
3077 elif test "$wxUSE_LIBJPEG" = builtin; then
3078 echo "$as_me:$LINENO: result: builtin version" >&5
3079 echo "${ECHO_T}builtin version" >&6
3080 else
3081 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3082 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3083 { (exit 1); exit 1; }; }
3084 fi
3085
3086
3087 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3088 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3089 no_cache=0
3090
3091 # Check whether --with-libtiff or --without-libtiff was given.
3092 if test "${with_libtiff+set}" = set; then
3093 withval="$with_libtiff"
3094
3095 if test "$withval" = yes; then
3096 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3097 elif test "$withval" = no; then
3098 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3099 elif test "$withval" = sys; then
3100 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3101 elif test "$withval" = builtin; then
3102 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3103 else
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3105 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3107 fi
3108
3109 else
3110
3111 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3114 else
3115 no_cache=1
3116 fi
3117
3118 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3119
3120 fi;
3121
3122 eval "$ac_cv_use_libtiff"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3125 fi
3126
3127 if test "$wxUSE_LIBTIFF" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3130 elif test "$wxUSE_LIBTIFF" = no; then
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3133 elif test "$wxUSE_LIBTIFF" = sys; then
3134 echo "$as_me:$LINENO: result: system version" >&5
3135 echo "${ECHO_T}system version" >&6
3136 elif test "$wxUSE_LIBTIFF" = builtin; then
3137 echo "$as_me:$LINENO: result: builtin version" >&5
3138 echo "${ECHO_T}builtin version" >&6
3139 else
3140 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3141 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3142 { (exit 1); exit 1; }; }
3143 fi
3144
3145
3146 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3147 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3148 no_cache=0
3149
3150 # Check whether --with-libxpm or --without-libxpm was given.
3151 if test "${with_libxpm+set}" = set; then
3152 withval="$with_libxpm"
3153
3154 if test "$withval" = yes; then
3155 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3156 elif test "$withval" = no; then
3157 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3158 elif test "$withval" = sys; then
3159 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3162 else
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3166 fi
3167
3168 else
3169
3170 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x ; then
3172 eval "DEFAULT_$LINE"
3173 else
3174 no_cache=1
3175 fi
3176
3177 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3178
3179 fi;
3180
3181 eval "$ac_cv_use_libxpm"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3184 fi
3185
3186 if test "$wxUSE_LIBXPM" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_LIBXPM" = no; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_LIBXPM" = sys; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_LIBXPM" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3198 else
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3202 fi
3203
3204
3205 withstring=
3206 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3208 no_cache=0
3209
3210 # Check whether --with-libmspack or --without-libmspack was given.
3211 if test "${with_libmspack+set}" = set; then
3212 withval="$with_libmspack"
3213
3214 if test "$withval" = yes; then
3215 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3216 else
3217 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3218 fi
3219
3220 else
3221
3222 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3225 else
3226 no_cache=1
3227 fi
3228
3229 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3230
3231 fi;
3232
3233 eval "$ac_cv_use_libmspack"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3236 fi
3237
3238 if test "$wxUSE_LIBMSPACK" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3241 else
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3244 fi
3245
3246
3247 withstring=
3248 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3249 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3250 no_cache=0
3251
3252 # Check whether --with-sdl or --without-sdl was given.
3253 if test "${with_sdl+set}" = set; then
3254 withval="$with_sdl"
3255
3256 if test "$withval" = yes; then
3257 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3258 else
3259 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3260 fi
3261
3262 else
3263
3264 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3265 if test "x$LINE" != x ; then
3266 eval "DEFAULT_$LINE"
3267 else
3268 no_cache=1
3269 fi
3270
3271 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3272
3273 fi;
3274
3275 eval "$ac_cv_use_sdl"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3278 fi
3279
3280 if test "$wxUSE_LIBSDL" = yes; then
3281 echo "$as_me:$LINENO: result: yes" >&5
3282 echo "${ECHO_T}yes" >&6
3283 else
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3286 fi
3287
3288
3289 withstring=
3290 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3291 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3292 no_cache=0
3293
3294 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3295 if test "${with_gnomeprint+set}" = set; then
3296 withval="$with_gnomeprint"
3297
3298 if test "$withval" = yes; then
3299 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3300 else
3301 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3302 fi
3303
3304 else
3305
3306 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3309 else
3310 no_cache=1
3311 fi
3312
3313 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3314
3315 fi;
3316
3317 eval "$ac_cv_use_gnomeprint"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3320 fi
3321
3322 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3325 else
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3328 fi
3329
3330
3331 withstring=
3332 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3333 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3334 no_cache=0
3335
3336 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3337 if test "${with_gnomevfs+set}" = set; then
3338 withval="$with_gnomevfs"
3339
3340 if test "$withval" = yes; then
3341 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3342 else
3343 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3344 fi
3345
3346 else
3347
3348 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x ; then
3350 eval "DEFAULT_$LINE"
3351 else
3352 no_cache=1
3353 fi
3354
3355 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3356
3357 fi;
3358
3359 eval "$ac_cv_use_gnomevfs"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3362 fi
3363
3364 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 else
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 fi
3371
3372
3373 withstring=
3374 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3375 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3376 no_cache=0
3377
3378 # Check whether --with-hildon or --without-hildon was given.
3379 if test "${with_hildon+set}" = set; then
3380 withval="$with_hildon"
3381
3382 if test "$withval" = yes; then
3383 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3384 else
3385 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3386 fi
3387
3388 else
3389
3390 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x ; then
3392 eval "DEFAULT_$LINE"
3393 else
3394 no_cache=1
3395 fi
3396
3397 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3398
3399 fi;
3400
3401 eval "$ac_cv_use_hildon"
3402 if test "$no_cache" != 1; then
3403 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3404 fi
3405
3406 if test "$wxUSE_LIBHILDON" = yes; then
3407 echo "$as_me:$LINENO: result: yes" >&5
3408 echo "${ECHO_T}yes" >&6
3409 else
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3412 fi
3413
3414
3415 withstring=
3416 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3417 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3418 no_cache=0
3419
3420 # Check whether --with-opengl or --without-opengl was given.
3421 if test "${with_opengl+set}" = set; then
3422 withval="$with_opengl"
3423
3424 if test "$withval" = yes; then
3425 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3426 else
3427 ac_cv_use_opengl='wxUSE_OPENGL=no'
3428 fi
3429
3430 else
3431
3432 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x ; then
3434 eval "DEFAULT_$LINE"
3435 else
3436 no_cache=1
3437 fi
3438
3439 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3440
3441 fi;
3442
3443 eval "$ac_cv_use_opengl"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3446 fi
3447
3448 if test "$wxUSE_OPENGL" = yes; then
3449 echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3451 else
3452 echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3454 fi
3455
3456
3457 fi
3458
3459
3460 withstring=
3461 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3462 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3463 no_cache=0
3464
3465 # Check whether --with-dmalloc or --without-dmalloc was given.
3466 if test "${with_dmalloc+set}" = set; then
3467 withval="$with_dmalloc"
3468
3469 if test "$withval" = yes; then
3470 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3471 else
3472 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3473 fi
3474
3475 else
3476
3477 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x ; then
3479 eval "DEFAULT_$LINE"
3480 else
3481 no_cache=1
3482 fi
3483
3484 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3485
3486 fi;
3487
3488 eval "$ac_cv_use_dmalloc"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3491 fi
3492
3493 if test "$wxUSE_DMALLOC" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3496 else
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3499 fi
3500
3501
3502 echo "$as_me:$LINENO: checking for --with-regex" >&5
3503 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3504 no_cache=0
3505
3506 # Check whether --with-regex or --without-regex was given.
3507 if test "${with_regex+set}" = set; then
3508 withval="$with_regex"
3509
3510 if test "$withval" = yes; then
3511 ac_cv_use_regex='wxUSE_REGEX=yes'
3512 elif test "$withval" = no; then
3513 ac_cv_use_regex='wxUSE_REGEX=no'
3514 elif test "$withval" = sys; then
3515 ac_cv_use_regex='wxUSE_REGEX=sys'
3516 elif test "$withval" = builtin; then
3517 ac_cv_use_regex='wxUSE_REGEX=builtin'
3518 else
3519 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3520 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3521 { (exit 1); exit 1; }; }
3522 fi
3523
3524 else
3525
3526 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3534
3535 fi;
3536
3537 eval "$ac_cv_use_regex"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test "$wxUSE_REGEX" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 elif test "$wxUSE_REGEX" = no; then
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 elif test "$wxUSE_REGEX" = sys; then
3549 echo "$as_me:$LINENO: result: system version" >&5
3550 echo "${ECHO_T}system version" >&6
3551 elif test "$wxUSE_REGEX" = builtin; then
3552 echo "$as_me:$LINENO: result: builtin version" >&5
3553 echo "${ECHO_T}builtin version" >&6
3554 else
3555 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3556 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3557 { (exit 1); exit 1; }; }
3558 fi
3559
3560
3561 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3562 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3563 no_cache=0
3564
3565 # Check whether --with-zlib or --without-zlib was given.
3566 if test "${with_zlib+set}" = set; then
3567 withval="$with_zlib"
3568
3569 if test "$withval" = yes; then
3570 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3571 elif test "$withval" = no; then
3572 ac_cv_use_zlib='wxUSE_ZLIB=no'
3573 elif test "$withval" = sys; then
3574 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3575 elif test "$withval" = builtin; then
3576 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3577 else
3578 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3579 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3580 { (exit 1); exit 1; }; }
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3593
3594 fi;
3595
3596 eval "$ac_cv_use_zlib"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_ZLIB" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 elif test "$wxUSE_ZLIB" = no; then
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 elif test "$wxUSE_ZLIB" = sys; then
3608 echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6
3610 elif test "$wxUSE_ZLIB" = builtin; then
3611 echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6
3613 else
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3617 fi
3618
3619
3620 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3621 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3622 no_cache=0
3623
3624 # Check whether --with-odbc or --without-odbc was given.
3625 if test "${with_odbc+set}" = set; then
3626 withval="$with_odbc"
3627
3628 if test "$withval" = yes; then
3629 ac_cv_use_odbc='wxUSE_ODBC=yes'
3630 elif test "$withval" = no; then
3631 ac_cv_use_odbc='wxUSE_ODBC=no'
3632 elif test "$withval" = sys; then
3633 ac_cv_use_odbc='wxUSE_ODBC=sys'
3634 elif test "$withval" = builtin; then
3635 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642 else
3643
3644 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3647 else
3648 no_cache=1
3649 fi
3650
3651 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3652
3653 fi;
3654
3655 eval "$ac_cv_use_odbc"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3658 fi
3659
3660 if test "$wxUSE_ODBC" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3663 elif test "$wxUSE_ODBC" = no; then
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3666 elif test "$wxUSE_ODBC" = sys; then
3667 echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6
3669 elif test "$wxUSE_ODBC" = builtin; then
3670 echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6
3672 else
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3676 fi
3677
3678
3679 echo "$as_me:$LINENO: checking for --with-expat" >&5
3680 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3681 no_cache=0
3682
3683 # Check whether --with-expat or --without-expat was given.
3684 if test "${with_expat+set}" = set; then
3685 withval="$with_expat"
3686
3687 if test "$withval" = yes; then
3688 ac_cv_use_expat='wxUSE_EXPAT=yes'
3689 elif test "$withval" = no; then
3690 ac_cv_use_expat='wxUSE_EXPAT=no'
3691 elif test "$withval" = sys; then
3692 ac_cv_use_expat='wxUSE_EXPAT=sys'
3693 elif test "$withval" = builtin; then
3694 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3695 else
3696 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3697 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3698 { (exit 1); exit 1; }; }
3699 fi
3700
3701 else
3702
3703 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3711
3712 fi;
3713
3714 eval "$ac_cv_use_expat"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$wxUSE_EXPAT" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3722 elif test "$wxUSE_EXPAT" = no; then
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 elif test "$wxUSE_EXPAT" = sys; then
3726 echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6
3728 elif test "$wxUSE_EXPAT" = builtin; then
3729 echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737
3738
3739
3740 enablestring=
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3743 no_cache=0
3744 # Check whether --enable-shared or --disable-shared was given.
3745 if test "${enable_shared+set}" = set; then
3746 enableval="$enable_shared"
3747
3748 if test "$enableval" = yes; then
3749 ac_cv_use_shared='wxUSE_SHARED=yes'
3750 else
3751 ac_cv_use_shared='wxUSE_SHARED=no'
3752 fi
3753
3754 else
3755
3756 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3759 else
3760 no_cache=1
3761 fi
3762
3763 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3764
3765 fi;
3766
3767 eval "$ac_cv_use_shared"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3770 fi
3771
3772 if test "$wxUSE_SHARED" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3775 else
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3778 fi
3779
3780
3781 enablestring=
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3784 no_cache=0
3785 # Check whether --enable-optimise or --disable-optimise was given.
3786 if test "${enable_optimise+set}" = set; then
3787 enableval="$enable_optimise"
3788
3789 if test "$enableval" = yes; then
3790 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3791 else
3792 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3793 fi
3794
3795 else
3796
3797 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3800 else
3801 no_cache=1
3802 fi
3803
3804 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3805
3806 fi;
3807
3808 eval "$ac_cv_use_optimise"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_OPTIMISE" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3819 fi
3820
3821
3822 enablestring=
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3825 no_cache=0
3826 # Check whether --enable-debug or --disable-debug was given.
3827 if test "${enable_debug+set}" = set; then
3828 enableval="$enable_debug"
3829
3830 if test "$enableval" = yes; then
3831 ac_cv_use_debug='wxUSE_DEBUG=yes'
3832 else
3833 ac_cv_use_debug='wxUSE_DEBUG=no'
3834 fi
3835
3836 else
3837
3838 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x ; then
3840 eval "DEFAULT_$LINE"
3841 else
3842 no_cache=1
3843 fi
3844
3845 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3846
3847 fi;
3848
3849 eval "$ac_cv_use_debug"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test "$wxUSE_DEBUG" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3857 else
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3860 fi
3861
3862
3863 enablestring=
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3866 no_cache=0
3867 # Check whether --enable-stl or --disable-stl was given.
3868 if test "${enable_stl+set}" = set; then
3869 enableval="$enable_stl"
3870
3871 if test "$enableval" = yes; then
3872 ac_cv_use_stl='wxUSE_STL=yes'
3873 else
3874 ac_cv_use_stl='wxUSE_STL=no'
3875 fi
3876
3877 else
3878
3879 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x ; then
3881 eval "DEFAULT_$LINE"
3882 else
3883 no_cache=1
3884 fi
3885
3886 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3887
3888 fi;
3889
3890 eval "$ac_cv_use_stl"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test "$wxUSE_STL" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3898 else
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3901 fi
3902
3903 if test "$USE_OS2" = "1"; then
3904 DEFAULT_wxUSE_OMF=no
3905
3906 enablestring=
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3909 no_cache=0
3910 # Check whether --enable-omf or --disable-omf was given.
3911 if test "${enable_omf+set}" = set; then
3912 enableval="$enable_omf"
3913
3914 if test "$enableval" = yes; then
3915 ac_cv_use_omf='wxUSE_OMF=yes'
3916 else
3917 ac_cv_use_omf='wxUSE_OMF=no'
3918 fi
3919
3920 else
3921
3922 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3925 else
3926 no_cache=1
3927 fi
3928
3929 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3930
3931 fi;
3932
3933 eval "$ac_cv_use_omf"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3936 fi
3937
3938 if test "$wxUSE_OMF" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3941 else
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3944 fi
3945
3946 fi
3947
3948 if test "$wxUSE_DEBUG" = "yes"; then
3949 DEFAULT_wxUSE_DEBUG_FLAG=yes
3950 DEFAULT_wxUSE_DEBUG_INFO=yes
3951 BUILD=debug
3952 elif test "$wxUSE_DEBUG" = "no"; then
3953 DEFAULT_wxUSE_DEBUG_FLAG=no
3954 DEFAULT_wxUSE_DEBUG_INFO=no
3955 BUILD=release
3956 fi
3957
3958
3959 enablestring=
3960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3961 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3962 no_cache=0
3963 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3964 if test "${enable_debug_flag+set}" = set; then
3965 enableval="$enable_debug_flag"
3966
3967 if test "$enableval" = yes; then
3968 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3969 else
3970 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3971 fi
3972
3973 else
3974
3975 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3978 else
3979 no_cache=1
3980 fi
3981
3982 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3983
3984 fi;
3985
3986 eval "$ac_cv_use_debug_flag"
3987 if test "$no_cache" != 1; then
3988 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3989 fi
3990
3991 if test "$wxUSE_DEBUG_FLAG" = yes; then
3992 echo "$as_me:$LINENO: result: yes" >&5
3993 echo "${ECHO_T}yes" >&6
3994 else
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
3997 fi
3998
3999
4000 enablestring=
4001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4003 no_cache=0
4004 # Check whether --enable-debug_info or --disable-debug_info was given.
4005 if test "${enable_debug_info+set}" = set; then
4006 enableval="$enable_debug_info"
4007
4008 if test "$enableval" = yes; then
4009 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4010 else
4011 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4012 fi
4013
4014 else
4015
4016 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x ; then
4018 eval "DEFAULT_$LINE"
4019 else
4020 no_cache=1
4021 fi
4022
4023 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4024
4025 fi;
4026
4027 eval "$ac_cv_use_debug_info"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4030 fi
4031
4032 if test "$wxUSE_DEBUG_INFO" = yes; then
4033 echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6
4035 else
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4038 fi
4039
4040
4041 enablestring=
4042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4043 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4044 no_cache=0
4045 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4046 if test "${enable_debug_gdb+set}" = set; then
4047 enableval="$enable_debug_gdb"
4048
4049 if test "$enableval" = yes; then
4050 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4051 else
4052 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4053 fi
4054
4055 else
4056
4057 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x ; then
4059 eval "DEFAULT_$LINE"
4060 else
4061 no_cache=1
4062 fi
4063
4064 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4065
4066 fi;
4067
4068 eval "$ac_cv_use_debug_gdb"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4071 fi
4072
4073 if test "$wxUSE_DEBUG_GDB" = yes; then
4074 echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6
4076 else
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4079 fi
4080
4081
4082 enablestring=
4083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4085 no_cache=0
4086 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4087 if test "${enable_debug_cntxt+set}" = set; then
4088 enableval="$enable_debug_cntxt"
4089
4090 if test "$enableval" = yes; then
4091 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4092 else
4093 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4094 fi
4095
4096 else
4097
4098 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x ; then
4100 eval "DEFAULT_$LINE"
4101 else
4102 no_cache=1
4103 fi
4104
4105 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4106
4107 fi;
4108
4109 eval "$ac_cv_use_debug_cntxt"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4112 fi
4113
4114 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4115 echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4117 else
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4120 fi
4121
4122
4123 enablestring=
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4126 no_cache=0
4127 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4128 if test "${enable_mem_tracing+set}" = set; then
4129 enableval="$enable_mem_tracing"
4130
4131 if test "$enableval" = yes; then
4132 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4133 else
4134 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4135 fi
4136
4137 else
4138
4139 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4142 else
4143 no_cache=1
4144 fi
4145
4146 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4147
4148 fi;
4149
4150 eval "$ac_cv_use_mem_tracing"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test "$wxUSE_MEM_TRACING" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4158 else
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4161 fi
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-profile or --disable-profile was given.
4169 if test "${enable_profile+set}" = set; then
4170 enableval="$enable_profile"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_profile='wxUSE_PROFILE=yes'
4174 else
4175 ac_cv_use_profile='wxUSE_PROFILE=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4188
4189 fi;
4190
4191 eval "$ac_cv_use_profile"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_PROFILE" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205 enablestring=
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4208 no_cache=0
4209 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4210 if test "${enable_no_rtti+set}" = set; then
4211 enableval="$enable_no_rtti"
4212
4213 if test "$enableval" = yes; then
4214 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4215 else
4216 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4217 fi
4218
4219 else
4220
4221 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x ; then
4223 eval "DEFAULT_$LINE"
4224 else
4225 no_cache=1
4226 fi
4227
4228 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4229
4230 fi;
4231
4232 eval "$ac_cv_use_no_rtti"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4235 fi
4236
4237 if test "$wxUSE_NO_RTTI" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4240 else
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4243 fi
4244
4245
4246 enablestring=
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4249 no_cache=0
4250 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4251 if test "${enable_no_exceptions+set}" = set; then
4252 enableval="$enable_no_exceptions"
4253
4254 if test "$enableval" = yes; then
4255 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4256 else
4257 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4258 fi
4259
4260 else
4261
4262 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x ; then
4264 eval "DEFAULT_$LINE"
4265 else
4266 no_cache=1
4267 fi
4268
4269 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4270
4271 fi;
4272
4273 eval "$ac_cv_use_no_exceptions"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4276 fi
4277
4278 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4281 else
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4284 fi
4285
4286
4287 enablestring=
4288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4290 no_cache=0
4291 # Check whether --enable-permissive or --disable-permissive was given.
4292 if test "${enable_permissive+set}" = set; then
4293 enableval="$enable_permissive"
4294
4295 if test "$enableval" = yes; then
4296 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4297 else
4298 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4299 fi
4300
4301 else
4302
4303 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x ; then
4305 eval "DEFAULT_$LINE"
4306 else
4307 no_cache=1
4308 fi
4309
4310 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4311
4312 fi;
4313
4314 eval "$ac_cv_use_permissive"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4317 fi
4318
4319 if test "$wxUSE_PERMISSIVE" = yes; then
4320 echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6
4322 else
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4325 fi
4326
4327
4328 enablestring=
4329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4331 no_cache=0
4332 # Check whether --enable-no_deps or --disable-no_deps was given.
4333 if test "${enable_no_deps+set}" = set; then
4334 enableval="$enable_no_deps"
4335
4336 if test "$enableval" = yes; then
4337 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4338 else
4339 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4340 fi
4341
4342 else
4343
4344 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x ; then
4346 eval "DEFAULT_$LINE"
4347 else
4348 no_cache=1
4349 fi
4350
4351 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4352
4353 fi;
4354
4355 eval "$ac_cv_use_no_deps"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4358 fi
4359
4360 if test "$wxUSE_NO_DEPS" = yes; then
4361 echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6
4363 else
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4366 fi
4367
4368
4369 enablestring=
4370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4372 no_cache=0
4373 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4374 if test "${enable_universal_binary+set}" = set; then
4375 enableval="$enable_universal_binary"
4376
4377 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4378
4379 else
4380
4381 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x ; then
4383 eval "DEFAULT_$LINE"
4384 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4385 else
4386 no_cache=1
4387 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4388 fi
4389
4390 fi;
4391
4392 eval "$wx_cv_use_universal_binary"
4393 if test "$no_cache" != 1; then
4394 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4395 fi
4396
4397 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4398 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4399
4400
4401
4402 enablestring=enable
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4405 no_cache=0
4406 # Check whether --enable-compat24 or --disable-compat24 was given.
4407 if test "${enable_compat24+set}" = set; then
4408 enableval="$enable_compat24"
4409
4410 if test "$enableval" = yes; then
4411 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4412 else
4413 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4414 fi
4415
4416 else
4417
4418 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4421 else
4422 no_cache=1
4423 fi
4424
4425 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4426
4427 fi;
4428
4429 eval "$ac_cv_use_compat24"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4432 fi
4433
4434 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4437 else
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4440 fi
4441
4442
4443 enablestring=disable
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4446 no_cache=0
4447 # Check whether --enable-compat26 or --disable-compat26 was given.
4448 if test "${enable_compat26+set}" = set; then
4449 enableval="$enable_compat26"
4450
4451 if test "$enableval" = yes; then
4452 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4453 else
4454 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4455 fi
4456
4457 else
4458
4459 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x ; then
4461 eval "DEFAULT_$LINE"
4462 else
4463 no_cache=1
4464 fi
4465
4466 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4467
4468 fi;
4469
4470 eval "$ac_cv_use_compat26"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4473 fi
4474
4475 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4478 else
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4481 fi
4482
4483
4484
4485 enablestring=
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4488 no_cache=0
4489 # Check whether --enable-rpath or --disable-rpath was given.
4490 if test "${enable_rpath+set}" = set; then
4491 enableval="$enable_rpath"
4492
4493 if test "$enableval" = yes; then
4494 ac_cv_use_rpath='wxUSE_RPATH=yes'
4495 else
4496 ac_cv_use_rpath='wxUSE_RPATH=no'
4497 fi
4498
4499 else
4500
4501 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4504 else
4505 no_cache=1
4506 fi
4507
4508 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4509
4510 fi;
4511
4512 eval "$ac_cv_use_rpath"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4515 fi
4516
4517 if test "$wxUSE_RPATH" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4520 else
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4523 fi
4524
4525
4526
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-intl or --disable-intl was given.
4534 if test "${enable_intl+set}" = set; then
4535 enableval="$enable_intl"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_intl='wxUSE_INTL=yes'
4539 else
4540 ac_cv_use_intl='wxUSE_INTL=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4553
4554 fi;
4555
4556 eval "$ac_cv_use_intl"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_INTL" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-config or --disable-config was given.
4575 if test "${enable_config+set}" = set; then
4576 enableval="$enable_config"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_config='wxUSE_CONFIG=yes'
4580 else
4581 ac_cv_use_config='wxUSE_CONFIG=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4594
4595 fi;
4596
4597 eval "$ac_cv_use_config"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_CONFIG" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611
4612 enablestring=
4613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4615 no_cache=0
4616 # Check whether --enable-protocols or --disable-protocols was given.
4617 if test "${enable_protocols+set}" = set; then
4618 enableval="$enable_protocols"
4619
4620 if test "$enableval" = yes; then
4621 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4622 else
4623 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4624 fi
4625
4626 else
4627
4628 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4631 else
4632 no_cache=1
4633 fi
4634
4635 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4636
4637 fi;
4638
4639 eval "$ac_cv_use_protocols"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4642 fi
4643
4644 if test "$wxUSE_PROTOCOL" = yes; then
4645 echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6
4647 else
4648 echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6
4650 fi
4651
4652
4653 enablestring=
4654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4656 no_cache=0
4657 # Check whether --enable-ftp or --disable-ftp was given.
4658 if test "${enable_ftp+set}" = set; then
4659 enableval="$enable_ftp"
4660
4661 if test "$enableval" = yes; then
4662 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4663 else
4664 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 else
4673 no_cache=1
4674 fi
4675
4676 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4677
4678 fi;
4679
4680 eval "$ac_cv_use_ftp"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4683 fi
4684
4685 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4686 echo "$as_me:$LINENO: result: yes" >&5
4687 echo "${ECHO_T}yes" >&6
4688 else
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4691 fi
4692
4693
4694 enablestring=
4695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4697 no_cache=0
4698 # Check whether --enable-http or --disable-http was given.
4699 if test "${enable_http+set}" = set; then
4700 enableval="$enable_http"
4701
4702 if test "$enableval" = yes; then
4703 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4704 else
4705 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4706 fi
4707
4708 else
4709
4710 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x ; then
4712 eval "DEFAULT_$LINE"
4713 else
4714 no_cache=1
4715 fi
4716
4717 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4718
4719 fi;
4720
4721 eval "$ac_cv_use_http"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4724 fi
4725
4726 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4727 echo "$as_me:$LINENO: result: yes" >&5
4728 echo "${ECHO_T}yes" >&6
4729 else
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4732 fi
4733
4734
4735 enablestring=
4736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4738 no_cache=0
4739 # Check whether --enable-fileproto or --disable-fileproto was given.
4740 if test "${enable_fileproto+set}" = set; then
4741 enableval="$enable_fileproto"
4742
4743 if test "$enableval" = yes; then
4744 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4745 else
4746 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4747 fi
4748
4749 else
4750
4751 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x ; then
4753 eval "DEFAULT_$LINE"
4754 else
4755 no_cache=1
4756 fi
4757
4758 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4759
4760 fi;
4761
4762 eval "$ac_cv_use_fileproto"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4768 echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6
4770 else
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4773 fi
4774
4775
4776 enablestring=
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4779 no_cache=0
4780 # Check whether --enable-sockets or --disable-sockets was given.
4781 if test "${enable_sockets+set}" = set; then
4782 enableval="$enable_sockets"
4783
4784 if test "$enableval" = yes; then
4785 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4786 else
4787 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4788 fi
4789
4790 else
4791
4792 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x ; then
4794 eval "DEFAULT_$LINE"
4795 else
4796 no_cache=1
4797 fi
4798
4799 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4800
4801 fi;
4802
4803 eval "$ac_cv_use_sockets"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4806 fi
4807
4808 if test "$wxUSE_SOCKETS" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4811 else
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4814 fi
4815
4816
4817 enablestring=
4818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4820 no_cache=0
4821 # Check whether --enable-ole or --disable-ole was given.
4822 if test "${enable_ole+set}" = set; then
4823 enableval="$enable_ole"
4824
4825 if test "$enableval" = yes; then
4826 ac_cv_use_ole='wxUSE_OLE=yes'
4827 else
4828 ac_cv_use_ole='wxUSE_OLE=no'
4829 fi
4830
4831 else
4832
4833 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x ; then
4835 eval "DEFAULT_$LINE"
4836 else
4837 no_cache=1
4838 fi
4839
4840 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4841
4842 fi;
4843
4844 eval "$ac_cv_use_ole"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4847 fi
4848
4849 if test "$wxUSE_OLE" = yes; then
4850 echo "$as_me:$LINENO: result: yes" >&5
4851 echo "${ECHO_T}yes" >&6
4852 else
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4855 fi
4856
4857
4858 enablestring=
4859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4861 no_cache=0
4862 # Check whether --enable-dataobj or --disable-dataobj was given.
4863 if test "${enable_dataobj+set}" = set; then
4864 enableval="$enable_dataobj"
4865
4866 if test "$enableval" = yes; then
4867 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4868 else
4869 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4870 fi
4871
4872 else
4873
4874 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4877 else
4878 no_cache=1
4879 fi
4880
4881 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4882
4883 fi;
4884
4885 eval "$ac_cv_use_dataobj"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4888 fi
4889
4890 if test "$wxUSE_DATAOBJ" = yes; then
4891 echo "$as_me:$LINENO: result: yes" >&5
4892 echo "${ECHO_T}yes" >&6
4893 else
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4896 fi
4897
4898
4899
4900 enablestring=
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4903 no_cache=0
4904 # Check whether --enable-ipc or --disable-ipc was given.
4905 if test "${enable_ipc+set}" = set; then
4906 enableval="$enable_ipc"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_ipc='wxUSE_IPC=yes'
4910 else
4911 ac_cv_use_ipc='wxUSE_IPC=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4924
4925 fi;
4926
4927 eval "$ac_cv_use_ipc"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test "$wxUSE_IPC" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940
4941
4942 enablestring=
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4945 no_cache=0
4946 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4947 if test "${enable_apple_ieee+set}" = set; then
4948 enableval="$enable_apple_ieee"
4949
4950 if test "$enableval" = yes; then
4951 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4952 else
4953 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4954 fi
4955
4956 else
4957
4958 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x ; then
4960 eval "DEFAULT_$LINE"
4961 else
4962 no_cache=1
4963 fi
4964
4965 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4966
4967 fi;
4968
4969 eval "$ac_cv_use_apple_ieee"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4972 fi
4973
4974 if test "$wxUSE_APPLE_IEEE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4980 fi
4981
4982
4983 enablestring=
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4986 no_cache=0
4987 # Check whether --enable-arcstream or --disable-arcstream was given.
4988 if test "${enable_arcstream+set}" = set; then
4989 enableval="$enable_arcstream"
4990
4991 if test "$enableval" = yes; then
4992 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4993 else
4994 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4995 fi
4996
4997 else
4998
4999 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x ; then
5001 eval "DEFAULT_$LINE"
5002 else
5003 no_cache=1
5004 fi
5005
5006 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5007
5008 fi;
5009
5010 eval "$ac_cv_use_arcstream"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5018 else
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5021 fi
5022
5023
5024 enablestring=
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-backtrace or --disable-backtrace was given.
5029 if test "${enable_backtrace+set}" = set; then
5030 enableval="$enable_backtrace"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5034 else
5035 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5036 fi
5037
5038 else
5039
5040 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5048
5049 fi;
5050
5051 eval "$ac_cv_use_backtrace"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_STACKWALKER" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5062 fi
5063
5064
5065 enablestring=
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5068 no_cache=0
5069 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5070 if test "${enable_catch_segvs+set}" = set; then
5071 enableval="$enable_catch_segvs"
5072
5073 if test "$enableval" = yes; then
5074 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5075 else
5076 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5077 fi
5078
5079 else
5080
5081 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x ; then
5083 eval "DEFAULT_$LINE"
5084 else
5085 no_cache=1
5086 fi
5087
5088 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5089
5090 fi;
5091
5092 eval "$ac_cv_use_catch_segvs"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5095 fi
5096
5097 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5103 fi
5104
5105
5106 enablestring=
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5109 no_cache=0
5110 # Check whether --enable-cmdline or --disable-cmdline was given.
5111 if test "${enable_cmdline+set}" = set; then
5112 enableval="$enable_cmdline"
5113
5114 if test "$enableval" = yes; then
5115 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5116 else
5117 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5118 fi
5119
5120 else
5121
5122 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5125 else
5126 no_cache=1
5127 fi
5128
5129 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5130
5131 fi;
5132
5133 eval "$ac_cv_use_cmdline"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5141 else
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5144 fi
5145
5146
5147 enablestring=
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5150 no_cache=0
5151 # Check whether --enable-datetime or --disable-datetime was given.
5152 if test "${enable_datetime+set}" = set; then
5153 enableval="$enable_datetime"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5157 else
5158 ac_cv_use_datetime='wxUSE_DATETIME=no'
5159 fi
5160
5161 else
5162
5163 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x ; then
5165 eval "DEFAULT_$LINE"
5166 else
5167 no_cache=1
5168 fi
5169
5170 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5171
5172 fi;
5173
5174 eval "$ac_cv_use_datetime"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5177 fi
5178
5179 if test "$wxUSE_DATETIME" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5182 else
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5185 fi
5186
5187
5188 enablestring=
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5191 no_cache=0
5192 # Check whether --enable-debugreport or --disable-debugreport was given.
5193 if test "${enable_debugreport+set}" = set; then
5194 enableval="$enable_debugreport"
5195
5196 if test "$enableval" = yes; then
5197 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5198 else
5199 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5200 fi
5201
5202 else
5203
5204 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x ; then
5206 eval "DEFAULT_$LINE"
5207 else
5208 no_cache=1
5209 fi
5210
5211 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5212
5213 fi;
5214
5215 eval "$ac_cv_use_debugreport"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_DEBUGREPORT" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5223 else
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5226 fi
5227
5228
5229 enablestring=
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5232 no_cache=0
5233 # Check whether --enable-dialupman or --disable-dialupman was given.
5234 if test "${enable_dialupman+set}" = set; then
5235 enableval="$enable_dialupman"
5236
5237 if test "$enableval" = yes; then
5238 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5239 else
5240 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5241 fi
5242
5243 else
5244
5245 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x ; then
5247 eval "DEFAULT_$LINE"
5248 else
5249 no_cache=1
5250 fi
5251
5252 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5253
5254 fi;
5255
5256 eval "$ac_cv_use_dialupman"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5264 else
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5267 fi
5268
5269
5270 enablestring=
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5273 no_cache=0
5274 # Check whether --enable-dynlib or --disable-dynlib was given.
5275 if test "${enable_dynlib+set}" = set; then
5276 enableval="$enable_dynlib"
5277
5278 if test "$enableval" = yes; then
5279 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5280 else
5281 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5282 fi
5283
5284 else
5285
5286 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x ; then
5288 eval "DEFAULT_$LINE"
5289 else
5290 no_cache=1
5291 fi
5292
5293 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5294
5295 fi;
5296
5297 eval "$ac_cv_use_dynlib"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5305 else
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5308 fi
5309
5310
5311 enablestring=
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5314 no_cache=0
5315 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5316 if test "${enable_dynamicloader+set}" = set; then
5317 enableval="$enable_dynamicloader"
5318
5319 if test "$enableval" = yes; then
5320 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5321 else
5322 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5323 fi
5324
5325 else
5326
5327 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x ; then
5329 eval "DEFAULT_$LINE"
5330 else
5331 no_cache=1
5332 fi
5333
5334 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5335
5336 fi;
5337
5338 eval "$ac_cv_use_dynamicloader"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5346 else
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5349 fi
5350
5351
5352 enablestring=
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5355 no_cache=0
5356 # Check whether --enable-exceptions or --disable-exceptions was given.
5357 if test "${enable_exceptions+set}" = set; then
5358 enableval="$enable_exceptions"
5359
5360 if test "$enableval" = yes; then
5361 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5362 else
5363 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5364 fi
5365
5366 else
5367
5368 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x ; then
5370 eval "DEFAULT_$LINE"
5371 else
5372 no_cache=1
5373 fi
5374
5375 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5376
5377 fi;
5378
5379 eval "$ac_cv_use_exceptions"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test "$wxUSE_EXCEPTIONS" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5387 else
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5390 fi
5391
5392
5393 enablestring=
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5396 no_cache=0
5397 # Check whether --enable-ffile or --disable-ffile was given.
5398 if test "${enable_ffile+set}" = set; then
5399 enableval="$enable_ffile"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_ffile='wxUSE_FFILE=yes'
5403 else
5404 ac_cv_use_ffile='wxUSE_FFILE=no'
5405 fi
5406
5407 else
5408
5409 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 else
5413 no_cache=1
5414 fi
5415
5416 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5417
5418 fi;
5419
5420 eval "$ac_cv_use_ffile"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_FFILE" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5428 else
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5431 fi
5432
5433
5434 enablestring=
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5437 no_cache=0
5438 # Check whether --enable-file or --disable-file was given.
5439 if test "${enable_file+set}" = set; then
5440 enableval="$enable_file"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_file='wxUSE_FILE=yes'
5444 else
5445 ac_cv_use_file='wxUSE_FILE=no'
5446 fi
5447
5448 else
5449
5450 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5453 else
5454 no_cache=1
5455 fi
5456
5457 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5458
5459 fi;
5460
5461 eval "$ac_cv_use_file"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_FILE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5469 else
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5472 fi
5473
5474
5475 enablestring=
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5478 no_cache=0
5479 # Check whether --enable-filesystem or --disable-filesystem was given.
5480 if test "${enable_filesystem+set}" = set; then
5481 enableval="$enable_filesystem"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5485 else
5486 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5487 fi
5488
5489 else
5490
5491 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5499
5500 fi;
5501
5502 eval "$ac_cv_use_filesystem"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_FILESYSTEM" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5510 else
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5513 fi
5514
5515
5516 enablestring=
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5519 no_cache=0
5520 # Check whether --enable-fontmap or --disable-fontmap was given.
5521 if test "${enable_fontmap+set}" = set; then
5522 enableval="$enable_fontmap"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5526 else
5527 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5540
5541 fi;
5542
5543 eval "$ac_cv_use_fontmap"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_FONTMAP" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5551 else
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5554 fi
5555
5556
5557 enablestring=
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5560 no_cache=0
5561 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5562 if test "${enable_fs_inet+set}" = set; then
5563 enableval="$enable_fs_inet"
5564
5565 if test "$enableval" = yes; then
5566 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5567 else
5568 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5569 fi
5570
5571 else
5572
5573 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5576 else
5577 no_cache=1
5578 fi
5579
5580 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5581
5582 fi;
5583
5584 eval "$ac_cv_use_fs_inet"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_FS_INET" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5592 else
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5595 fi
5596
5597
5598 enablestring=
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5601 no_cache=0
5602 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5603 if test "${enable_fs_zip+set}" = set; then
5604 enableval="$enable_fs_zip"
5605
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5608 else
5609 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5610 fi
5611
5612 else
5613
5614 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5617 else
5618 no_cache=1
5619 fi
5620
5621 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5622
5623 fi;
5624
5625 eval "$ac_cv_use_fs_zip"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_FS_ZIP" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5633 else
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5636 fi
5637
5638
5639 enablestring=
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5642 no_cache=0
5643 # Check whether --enable-geometry or --disable-geometry was given.
5644 if test "${enable_geometry+set}" = set; then
5645 enableval="$enable_geometry"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5649 else
5650 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5663
5664 fi;
5665
5666 eval "$ac_cv_use_geometry"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_GEOMETRY" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5674 else
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5677 fi
5678
5679
5680 enablestring=
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-log or --disable-log was given.
5685 if test "${enable_log+set}" = set; then
5686 enableval="$enable_log"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_log='wxUSE_LOG=yes'
5690 else
5691 ac_cv_use_log='wxUSE_LOG=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5704
5705 fi;
5706
5707 eval "$ac_cv_use_log"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_LOG" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5715 else
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5718 fi
5719
5720
5721 enablestring=
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5724 no_cache=0
5725 # Check whether --enable-longlong or --disable-longlong was given.
5726 if test "${enable_longlong+set}" = set; then
5727 enableval="$enable_longlong"
5728
5729 if test "$enableval" = yes; then
5730 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5731 else
5732 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5745
5746 fi;
5747
5748 eval "$ac_cv_use_longlong"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_LONGLONG" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5756 else
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5759 fi
5760
5761
5762 enablestring=
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5765 no_cache=0
5766 # Check whether --enable-mimetype or --disable-mimetype was given.
5767 if test "${enable_mimetype+set}" = set; then
5768 enableval="$enable_mimetype"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5772 else
5773 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5786
5787 fi;
5788
5789 eval "$ac_cv_use_mimetype"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5792 fi
5793
5794 if test "$wxUSE_MIMETYPE" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5797 else
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5800 fi
5801
5802
5803 enablestring=
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5806 no_cache=0
5807 # Check whether --enable-mslu or --disable-mslu was given.
5808 if test "${enable_mslu+set}" = set; then
5809 enableval="$enable_mslu"
5810
5811 if test "$enableval" = yes; then
5812 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5813 else
5814 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5815 fi
5816
5817 else
5818
5819 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x ; then
5821 eval "DEFAULT_$LINE"
5822 else
5823 no_cache=1
5824 fi
5825
5826 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5827
5828 fi;
5829
5830 eval "$ac_cv_use_mslu"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5833 fi
5834
5835 if test "$wxUSE_UNICODE_MSLU" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5838 else
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5841 fi
5842
5843
5844 enablestring=
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5847 no_cache=0
5848 # Check whether --enable-snglinst or --disable-snglinst was given.
5849 if test "${enable_snglinst+set}" = set; then
5850 enableval="$enable_snglinst"
5851
5852 if test "$enableval" = yes; then
5853 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5854 else
5855 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5856 fi
5857
5858 else
5859
5860 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5863 else
5864 no_cache=1
5865 fi
5866
5867 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5868
5869 fi;
5870
5871 eval "$ac_cv_use_snglinst"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5879 else
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5882 fi
5883
5884
5885 enablestring=
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5888 no_cache=0
5889 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5890 if test "${enable_std_iostreams+set}" = set; then
5891 enableval="$enable_std_iostreams"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5895 else
5896 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5897 fi
5898
5899 else
5900
5901 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5904 else
5905 no_cache=1
5906 fi
5907
5908 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5909
5910 fi;
5911
5912 eval "$ac_cv_use_std_iostreams"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5915 fi
5916
5917 if test "$wxUSE_STD_IOSTREAM" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5920 else
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5923 fi
5924
5925
5926 enablestring=
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5929 no_cache=0
5930 # Check whether --enable-std_string or --disable-std_string was given.
5931 if test "${enable_std_string+set}" = set; then
5932 enableval="$enable_std_string"
5933
5934 if test "$enableval" = yes; then
5935 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5936 else
5937 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5938 fi
5939
5940 else
5941
5942 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x ; then
5944 eval "DEFAULT_$LINE"
5945 else
5946 no_cache=1
5947 fi
5948
5949 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5950
5951 fi;
5952
5953 eval "$ac_cv_use_std_string"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5956 fi
5957
5958 if test "$wxUSE_STD_STRING" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5961 else
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5964 fi
5965
5966
5967 enablestring=
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5970 no_cache=0
5971 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5972 if test "${enable_stdpaths+set}" = set; then
5973 enableval="$enable_stdpaths"
5974
5975 if test "$enableval" = yes; then
5976 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5977 else
5978 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5979 fi
5980
5981 else
5982
5983 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x ; then
5985 eval "DEFAULT_$LINE"
5986 else
5987 no_cache=1
5988 fi
5989
5990 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5991
5992 fi;
5993
5994 eval "$ac_cv_use_stdpaths"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5997 fi
5998
5999 if test "$wxUSE_STDPATHS" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6002 else
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007
6008 enablestring=
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6011 no_cache=0
6012 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6013 if test "${enable_stopwatch+set}" = set; then
6014 enableval="$enable_stopwatch"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6018 else
6019 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6020 fi
6021
6022 else
6023
6024 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 else
6028 no_cache=1
6029 fi
6030
6031 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6032
6033 fi;
6034
6035 eval "$ac_cv_use_stopwatch"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6038 fi
6039
6040 if test "$wxUSE_STOPWATCH" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6043 else
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6046 fi
6047
6048
6049 enablestring=
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6052 no_cache=0
6053 # Check whether --enable-streams or --disable-streams was given.
6054 if test "${enable_streams+set}" = set; then
6055 enableval="$enable_streams"
6056
6057 if test "$enableval" = yes; then
6058 ac_cv_use_streams='wxUSE_STREAMS=yes'
6059 else
6060 ac_cv_use_streams='wxUSE_STREAMS=no'
6061 fi
6062
6063 else
6064
6065 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x ; then
6067 eval "DEFAULT_$LINE"
6068 else
6069 no_cache=1
6070 fi
6071
6072 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6073
6074 fi;
6075
6076 eval "$ac_cv_use_streams"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_STREAMS" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6084 else
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6087 fi
6088
6089
6090 enablestring=
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6093 no_cache=0
6094 # Check whether --enable-system_options or --disable-system_options was given.
6095 if test "${enable_system_options+set}" = set; then
6096 enableval="$enable_system_options"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6100 else
6101 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6102 fi
6103
6104 else
6105
6106 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x ; then
6108 eval "DEFAULT_$LINE"
6109 else
6110 no_cache=1
6111 fi
6112
6113 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6114
6115 fi;
6116
6117 eval "$ac_cv_use_system_options"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6120 fi
6121
6122 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6125 else
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6128 fi
6129
6130
6131 enablestring=
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6134 no_cache=0
6135 # Check whether --enable-textbuf or --disable-textbuf was given.
6136 if test "${enable_textbuf+set}" = set; then
6137 enableval="$enable_textbuf"
6138
6139 if test "$enableval" = yes; then
6140 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6141 else
6142 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6143 fi
6144
6145 else
6146
6147 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x ; then
6149 eval "DEFAULT_$LINE"
6150 else
6151 no_cache=1
6152 fi
6153
6154 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6155
6156 fi;
6157
6158 eval "$ac_cv_use_textbuf"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6161 fi
6162
6163 if test "$wxUSE_TEXTBUFFER" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6166 else
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6169 fi
6170
6171
6172 enablestring=
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6175 no_cache=0
6176 # Check whether --enable-textfile or --disable-textfile was given.
6177 if test "${enable_textfile+set}" = set; then
6178 enableval="$enable_textfile"
6179
6180 if test "$enableval" = yes; then
6181 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6182 else
6183 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6184 fi
6185
6186 else
6187
6188 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x ; then
6190 eval "DEFAULT_$LINE"
6191 else
6192 no_cache=1
6193 fi
6194
6195 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6196
6197 fi;
6198
6199 eval "$ac_cv_use_textfile"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test "$wxUSE_TEXTFILE" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6207 else
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6210 fi
6211
6212
6213 enablestring=
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6216 no_cache=0
6217 # Check whether --enable-timer or --disable-timer was given.
6218 if test "${enable_timer+set}" = set; then
6219 enableval="$enable_timer"
6220
6221 if test "$enableval" = yes; then
6222 ac_cv_use_timer='wxUSE_TIMER=yes'
6223 else
6224 ac_cv_use_timer='wxUSE_TIMER=no'
6225 fi
6226
6227 else
6228
6229 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x ; then
6231 eval "DEFAULT_$LINE"
6232 else
6233 no_cache=1
6234 fi
6235
6236 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6237
6238 fi;
6239
6240 eval "$ac_cv_use_timer"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6243 fi
6244
6245 if test "$wxUSE_TIMER" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6248 else
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6251 fi
6252
6253
6254 enablestring=
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6257 no_cache=0
6258 # Check whether --enable-unicode or --disable-unicode was given.
6259 if test "${enable_unicode+set}" = set; then
6260 enableval="$enable_unicode"
6261
6262 if test "$enableval" = yes; then
6263 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6264 else
6265 ac_cv_use_unicode='wxUSE_UNICODE=no'
6266 fi
6267
6268 else
6269
6270 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x ; then
6272 eval "DEFAULT_$LINE"
6273 else
6274 no_cache=1
6275 fi
6276
6277 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6278
6279 fi;
6280
6281 eval "$ac_cv_use_unicode"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6284 fi
6285
6286 if test "$wxUSE_UNICODE" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6289 else
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6292 fi
6293
6294
6295 enablestring=
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-sound or --disable-sound was given.
6300 if test "${enable_sound+set}" = set; then
6301 enableval="$enable_sound"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_sound='wxUSE_SOUND=yes'
6305 else
6306 ac_cv_use_sound='wxUSE_SOUND=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x ; then
6313 eval "DEFAULT_$LINE"
6314 else
6315 no_cache=1
6316 fi
6317
6318 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6319
6320 fi;
6321
6322 eval "$ac_cv_use_sound"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_SOUND" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6330 else
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6333 fi
6334
6335
6336 enablestring=
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6339 no_cache=0
6340 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6341 if test "${enable_mediactrl+set}" = set; then
6342 enableval="$enable_mediactrl"
6343
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6346 else
6347 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6348 fi
6349
6350 else
6351
6352 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6355 else
6356 no_cache=1
6357 fi
6358
6359 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6360
6361 fi;
6362
6363 eval "$ac_cv_use_mediactrl"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6366 fi
6367
6368 if test "$wxUSE_MEDIACTRL" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6371 else
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6374 fi
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6382 if test "${enable_gstreamer8+set}" = set; then
6383 enableval="$enable_gstreamer8"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6387 else
6388 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6401
6402 fi;
6403
6404 eval "$ac_cv_use_gstreamer8"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_GSTREAMER8" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418 enablestring=
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6421 no_cache=0
6422 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6423 if test "${enable_printfposparam+set}" = set; then
6424 enableval="$enable_printfposparam"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6428 else
6429 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6430 fi
6431
6432 else
6433
6434 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x ; then
6436 eval "DEFAULT_$LINE"
6437 else
6438 no_cache=1
6439 fi
6440
6441 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6442
6443 fi;
6444
6445 eval "$ac_cv_use_printfposparam"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6448 fi
6449
6450 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6453 else
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6456 fi
6457
6458
6459 enablestring=
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6462 no_cache=0
6463 # Check whether --enable-zipstream or --disable-zipstream was given.
6464 if test "${enable_zipstream+set}" = set; then
6465 enableval="$enable_zipstream"
6466
6467 if test "$enableval" = yes; then
6468 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6469 else
6470 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6471 fi
6472
6473 else
6474
6475 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x ; then
6477 eval "DEFAULT_$LINE"
6478 else
6479 no_cache=1
6480 fi
6481
6482 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6483
6484 fi;
6485
6486 eval "$ac_cv_use_zipstream"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_ZIPSTREAM" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6494 else
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6497 fi
6498
6499
6500
6501 enablestring=
6502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6504 no_cache=0
6505 # Check whether --enable-url or --disable-url was given.
6506 if test "${enable_url+set}" = set; then
6507 enableval="$enable_url"
6508
6509 if test "$enableval" = yes; then
6510 ac_cv_use_url='wxUSE_URL=yes'
6511 else
6512 ac_cv_use_url='wxUSE_URL=no'
6513 fi
6514
6515 else
6516
6517 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6520 else
6521 no_cache=1
6522 fi
6523
6524 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6525
6526 fi;
6527
6528 eval "$ac_cv_use_url"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6531 fi
6532
6533 if test "$wxUSE_URL" = yes; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6536 else
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6539 fi
6540
6541
6542 enablestring=
6543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6545 no_cache=0
6546 # Check whether --enable-protocol or --disable-protocol was given.
6547 if test "${enable_protocol+set}" = set; then
6548 enableval="$enable_protocol"
6549
6550 if test "$enableval" = yes; then
6551 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6552 else
6553 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6554 fi
6555
6556 else
6557
6558 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x ; then
6560 eval "DEFAULT_$LINE"
6561 else
6562 no_cache=1
6563 fi
6564
6565 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6566
6567 fi;
6568
6569 eval "$ac_cv_use_protocol"
6570 if test "$no_cache" != 1; then
6571 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6572 fi
6573
6574 if test "$wxUSE_PROTOCOL" = yes; then
6575 echo "$as_me:$LINENO: result: yes" >&5
6576 echo "${ECHO_T}yes" >&6
6577 else
6578 echo "$as_me:$LINENO: result: no" >&5
6579 echo "${ECHO_T}no" >&6
6580 fi
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6588 if test "${enable_protocol_http+set}" = set; then
6589 enableval="$enable_protocol_http"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6593 else
6594 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6607
6608 fi;
6609
6610 eval "$ac_cv_use_protocol_http"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624 enablestring=
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6629 if test "${enable_protocol_ftp+set}" = set; then
6630 enableval="$enable_protocol_ftp"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6634 else
6635 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6648
6649 fi;
6650
6651 eval "$ac_cv_use_protocol_ftp"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6659 else
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6662 fi
6663
6664
6665 enablestring=
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6668 no_cache=0
6669 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6670 if test "${enable_protocol_file+set}" = set; then
6671 enableval="$enable_protocol_file"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6675 else
6676 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6689
6690 fi;
6691
6692 eval "$ac_cv_use_protocol_file"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6695 fi
6696
6697 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6700 else
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6703 fi
6704
6705
6706
6707
6708
6709 enablestring=
6710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6712 no_cache=0
6713 # Check whether --enable-threads or --disable-threads was given.
6714 if test "${enable_threads+set}" = set; then
6715 enableval="$enable_threads"
6716
6717 if test "$enableval" = yes; then
6718 ac_cv_use_threads='wxUSE_THREADS=yes'
6719 else
6720 ac_cv_use_threads='wxUSE_THREADS=no'
6721 fi
6722
6723 else
6724
6725 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x ; then
6727 eval "DEFAULT_$LINE"
6728 else
6729 no_cache=1
6730 fi
6731
6732 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6733
6734 fi;
6735
6736 eval "$ac_cv_use_threads"
6737 if test "$no_cache" != 1; then
6738 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6739 fi
6740
6741 if test "$wxUSE_THREADS" = yes; then
6742 echo "$as_me:$LINENO: result: yes" >&5
6743 echo "${ECHO_T}yes" >&6
6744 else
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6747 fi
6748
6749
6750 if test "$wxUSE_GUI" = "yes"; then
6751
6752
6753
6754 enablestring=
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6757 no_cache=0
6758 # Check whether --enable-docview or --disable-docview was given.
6759 if test "${enable_docview+set}" = set; then
6760 enableval="$enable_docview"
6761
6762 if test "$enableval" = yes; then
6763 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6764 else
6765 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6766 fi
6767
6768 else
6769
6770 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x ; then
6772 eval "DEFAULT_$LINE"
6773 else
6774 no_cache=1
6775 fi
6776
6777 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6778
6779 fi;
6780
6781 eval "$ac_cv_use_docview"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6784 fi
6785
6786 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6789 else
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6792 fi
6793
6794
6795 enablestring=
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6798 no_cache=0
6799 # Check whether --enable-help or --disable-help was given.
6800 if test "${enable_help+set}" = set; then
6801 enableval="$enable_help"
6802
6803 if test "$enableval" = yes; then
6804 ac_cv_use_help='wxUSE_HELP=yes'
6805 else
6806 ac_cv_use_help='wxUSE_HELP=no'
6807 fi
6808
6809 else
6810
6811 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 else
6815 no_cache=1
6816 fi
6817
6818 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6819
6820 fi;
6821
6822 eval "$ac_cv_use_help"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 if test "$wxUSE_HELP" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6830 else
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6833 fi
6834
6835
6836 enablestring=
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6839 no_cache=0
6840 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6841 if test "${enable_mshtmlhelp+set}" = set; then
6842 enableval="$enable_mshtmlhelp"
6843
6844 if test "$enableval" = yes; then
6845 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6846 else
6847 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6848 fi
6849
6850 else
6851
6852 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x ; then
6854 eval "DEFAULT_$LINE"
6855 else
6856 no_cache=1
6857 fi
6858
6859 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6860
6861 fi;
6862
6863 eval "$ac_cv_use_mshtmlhelp"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6866 fi
6867
6868 if test "$wxUSE_MS_HTML_HELP" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6871 else
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6874 fi
6875
6876
6877 enablestring=
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6880 no_cache=0
6881 # Check whether --enable-html or --disable-html was given.
6882 if test "${enable_html+set}" = set; then
6883 enableval="$enable_html"
6884
6885 if test "$enableval" = yes; then
6886 ac_cv_use_html='wxUSE_HTML=yes'
6887 else
6888 ac_cv_use_html='wxUSE_HTML=no'
6889 fi
6890
6891 else
6892
6893 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x ; then
6895 eval "DEFAULT_$LINE"
6896 else
6897 no_cache=1
6898 fi
6899
6900 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6901
6902 fi;
6903
6904 eval "$ac_cv_use_html"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6907 fi
6908
6909 if test "$wxUSE_HTML" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6912 else
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6915 fi
6916
6917
6918 enablestring=
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6921 no_cache=0
6922 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6923 if test "${enable_htmlhelp+set}" = set; then
6924 enableval="$enable_htmlhelp"
6925
6926 if test "$enableval" = yes; then
6927 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6928 else
6929 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6930 fi
6931
6932 else
6933
6934 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x ; then
6936 eval "DEFAULT_$LINE"
6937 else
6938 no_cache=1
6939 fi
6940
6941 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6942
6943 fi;
6944
6945 eval "$ac_cv_use_htmlhelp"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test "$wxUSE_WXHTML_HELP" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6953 else
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6956 fi
6957
6958
6959 enablestring=
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6962 no_cache=0
6963 # Check whether --enable-xrc or --disable-xrc was given.
6964 if test "${enable_xrc+set}" = set; then
6965 enableval="$enable_xrc"
6966
6967 if test "$enableval" = yes; then
6968 ac_cv_use_xrc='wxUSE_XRC=yes'
6969 else
6970 ac_cv_use_xrc='wxUSE_XRC=no'
6971 fi
6972
6973 else
6974
6975 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x ; then
6977 eval "DEFAULT_$LINE"
6978 else
6979 no_cache=1
6980 fi
6981
6982 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6983
6984 fi;
6985
6986 eval "$ac_cv_use_xrc"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6989 fi
6990
6991 if test "$wxUSE_XRC" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6994 else
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
6997 fi
6998
6999
7000 enablestring=
7001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7003 no_cache=0
7004 # Check whether --enable-aui or --disable-aui was given.
7005 if test "${enable_aui+set}" = set; then
7006 enableval="$enable_aui"
7007
7008 if test "$enableval" = yes; then
7009 ac_cv_use_aui='wxUSE_AUI=yes'
7010 else
7011 ac_cv_use_aui='wxUSE_AUI=no'
7012 fi
7013
7014 else
7015
7016 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x ; then
7018 eval "DEFAULT_$LINE"
7019 else
7020 no_cache=1
7021 fi
7022
7023 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7024
7025 fi;
7026
7027 eval "$ac_cv_use_aui"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7030 fi
7031
7032 if test "$wxUSE_AUI" = yes; then
7033 echo "$as_me:$LINENO: result: yes" >&5
7034 echo "${ECHO_T}yes" >&6
7035 else
7036 echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6
7038 fi
7039
7040
7041 enablestring=
7042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7044 no_cache=0
7045 # Check whether --enable-constraints or --disable-constraints was given.
7046 if test "${enable_constraints+set}" = set; then
7047 enableval="$enable_constraints"
7048
7049 if test "$enableval" = yes; then
7050 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7051 else
7052 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7053 fi
7054
7055 else
7056
7057 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x ; then
7059 eval "DEFAULT_$LINE"
7060 else
7061 no_cache=1
7062 fi
7063
7064 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7065
7066 fi;
7067
7068 eval "$ac_cv_use_constraints"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7071 fi
7072
7073 if test "$wxUSE_CONSTRAINTS" = yes; then
7074 echo "$as_me:$LINENO: result: yes" >&5
7075 echo "${ECHO_T}yes" >&6
7076 else
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7079 fi
7080
7081
7082 enablestring=
7083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7085 no_cache=0
7086 # Check whether --enable-printarch or --disable-printarch was given.
7087 if test "${enable_printarch+set}" = set; then
7088 enableval="$enable_printarch"
7089
7090 if test "$enableval" = yes; then
7091 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7092 else
7093 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7094 fi
7095
7096 else
7097
7098 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x ; then
7100 eval "DEFAULT_$LINE"
7101 else
7102 no_cache=1
7103 fi
7104
7105 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7106
7107 fi;
7108
7109 eval "$ac_cv_use_printarch"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7112 fi
7113
7114 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7115 echo "$as_me:$LINENO: result: yes" >&5
7116 echo "${ECHO_T}yes" >&6
7117 else
7118 echo "$as_me:$LINENO: result: no" >&5
7119 echo "${ECHO_T}no" >&6
7120 fi
7121
7122
7123 enablestring=
7124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7126 no_cache=0
7127 # Check whether --enable-mdi or --disable-mdi was given.
7128 if test "${enable_mdi+set}" = set; then
7129 enableval="$enable_mdi"
7130
7131 if test "$enableval" = yes; then
7132 ac_cv_use_mdi='wxUSE_MDI=yes'
7133 else
7134 ac_cv_use_mdi='wxUSE_MDI=no'
7135 fi
7136
7137 else
7138
7139 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x ; then
7141 eval "DEFAULT_$LINE"
7142 else
7143 no_cache=1
7144 fi
7145
7146 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7147
7148 fi;
7149
7150 eval "$ac_cv_use_mdi"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7153 fi
7154
7155 if test "$wxUSE_MDI" = yes; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6
7158 else
7159 echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6
7161 fi
7162
7163
7164 enablestring=
7165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7167 no_cache=0
7168 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7169 if test "${enable_mdidoc+set}" = set; then
7170 enableval="$enable_mdidoc"
7171
7172 if test "$enableval" = yes; then
7173 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7174 else
7175 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7176 fi
7177
7178 else
7179
7180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x ; then
7182 eval "DEFAULT_$LINE"
7183 else
7184 no_cache=1
7185 fi
7186
7187 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7188
7189 fi;
7190
7191 eval "$ac_cv_use_mdidoc"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7194 fi
7195
7196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7199 else
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7202 fi
7203
7204
7205 enablestring=
7206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7208 no_cache=0
7209 # Check whether --enable-loggui or --disable-loggui was given.
7210 if test "${enable_loggui+set}" = set; then
7211 enableval="$enable_loggui"
7212
7213 if test "$enableval" = yes; then
7214 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7215 else
7216 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7217 fi
7218
7219 else
7220
7221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x ; then
7223 eval "DEFAULT_$LINE"
7224 else
7225 no_cache=1
7226 fi
7227
7228 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7229
7230 fi;
7231
7232 eval "$ac_cv_use_loggui"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7235 fi
7236
7237 if test "$wxUSE_LOGGUI" = yes; then
7238 echo "$as_me:$LINENO: result: yes" >&5
7239 echo "${ECHO_T}yes" >&6
7240 else
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7243 fi
7244
7245
7246 enablestring=
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7249 no_cache=0
7250 # Check whether --enable-logwin or --disable-logwin was given.
7251 if test "${enable_logwin+set}" = set; then
7252 enableval="$enable_logwin"
7253
7254 if test "$enableval" = yes; then
7255 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7256 else
7257 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7258 fi
7259
7260 else
7261
7262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x ; then
7264 eval "DEFAULT_$LINE"
7265 else
7266 no_cache=1
7267 fi
7268
7269 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7270
7271 fi;
7272
7273 eval "$ac_cv_use_logwin"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test "$wxUSE_LOGWINDOW" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7281 else
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7284 fi
7285
7286
7287 enablestring=
7288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7290 no_cache=0
7291 # Check whether --enable-logdialog or --disable-logdialog was given.
7292 if test "${enable_logdialog+set}" = set; then
7293 enableval="$enable_logdialog"
7294
7295 if test "$enableval" = yes; then
7296 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7297 else
7298 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7299 fi
7300
7301 else
7302
7303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x ; then
7305 eval "DEFAULT_$LINE"
7306 else
7307 no_cache=1
7308 fi
7309
7310 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7311
7312 fi;
7313
7314 eval "$ac_cv_use_logdialog"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7317 fi
7318
7319 if test "$wxUSE_LOGDIALOG" = yes; then
7320 echo "$as_me:$LINENO: result: yes" >&5
7321 echo "${ECHO_T}yes" >&6
7322 else
7323 echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6
7325 fi
7326
7327
7328 enablestring=
7329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7331 no_cache=0
7332 # Check whether --enable-webkit or --disable-webkit was given.
7333 if test "${enable_webkit+set}" = set; then
7334 enableval="$enable_webkit"
7335
7336 if test "$enableval" = yes; then
7337 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7338 else
7339 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7340 fi
7341
7342 else
7343
7344 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x ; then
7346 eval "DEFAULT_$LINE"
7347 else
7348 no_cache=1
7349 fi
7350
7351 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7352
7353 fi;
7354
7355 eval "$ac_cv_use_webkit"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7358 fi
7359
7360 if test "$wxUSE_WEBKIT" = yes; then
7361 echo "$as_me:$LINENO: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7363 else
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7366 fi
7367
7368
7369 enablestring=
7370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7372 no_cache=0
7373 # Check whether --enable-html or --disable-html was given.
7374 if test "${enable_html+set}" = set; then
7375 enableval="$enable_html"
7376
7377 if test "$enableval" = yes; then
7378 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7379 else
7380 ac_cv_use_html='wxUSE_RICHTEXT=no'
7381 fi
7382
7383 else
7384
7385 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x ; then
7387 eval "DEFAULT_$LINE"
7388 else
7389 no_cache=1
7390 fi
7391
7392 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7393
7394 fi;
7395
7396 eval "$ac_cv_use_html"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7399 fi
7400
7401 if test "$wxUSE_RICHTEXT" = yes; then
7402 echo "$as_me:$LINENO: result: yes" >&5
7403 echo "${ECHO_T}yes" >&6
7404 else
7405 echo "$as_me:$LINENO: result: no" >&5
7406 echo "${ECHO_T}no" >&6
7407 fi
7408
7409
7410
7411 enablestring=
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7414 no_cache=0
7415 # Check whether --enable-postscript or --disable-postscript was given.
7416 if test "${enable_postscript+set}" = set; then
7417 enableval="$enable_postscript"
7418
7419 if test "$enableval" = yes; then
7420 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7421 else
7422 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7423 fi
7424
7425 else
7426
7427 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x ; then
7429 eval "DEFAULT_$LINE"
7430 else
7431 no_cache=1
7432 fi
7433
7434 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7435
7436 fi;
7437
7438 eval "$ac_cv_use_postscript"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test "$wxUSE_POSTSCRIPT" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7446 else
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7449 fi
7450
7451
7452
7453
7454
7455 enablestring=
7456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7458 no_cache=0
7459 # Check whether --enable-prologio or --disable-prologio was given.
7460 if test "${enable_prologio+set}" = set; then
7461 enableval="$enable_prologio"
7462
7463 if test "$enableval" = yes; then
7464 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7465 else
7466 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7467 fi
7468
7469 else
7470
7471 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x ; then
7473 eval "DEFAULT_$LINE"
7474 else
7475 no_cache=1
7476 fi
7477
7478 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7479
7480 fi;
7481
7482 eval "$ac_cv_use_prologio"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7485 fi
7486
7487 if test "$wxUSE_PROLOGIO" = yes; then
7488 echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6
7490 else
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7493 fi
7494
7495
7496 enablestring=
7497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7499 no_cache=0
7500 # Check whether --enable-resources or --disable-resources was given.
7501 if test "${enable_resources+set}" = set; then
7502 enableval="$enable_resources"
7503
7504 if test "$enableval" = yes; then
7505 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7506 else
7507 ac_cv_use_resources='wxUSE_RESOURCES=no'
7508 fi
7509
7510 else
7511
7512 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x ; then
7514 eval "DEFAULT_$LINE"
7515 else
7516 no_cache=1
7517 fi
7518
7519 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7520
7521 fi;
7522
7523 eval "$ac_cv_use_resources"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7526 fi
7527
7528 if test "$wxUSE_RESOURCES" = yes; then
7529 echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6
7531 else
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7534 fi
7535
7536
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-clipboard or --disable-clipboard was given.
7544 if test "${enable_clipboard+set}" = set; then
7545 enableval="$enable_clipboard"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7549 else
7550 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7551 fi
7552
7553 else
7554
7555 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7563
7564 fi;
7565
7566 eval "$ac_cv_use_clipboard"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_CLIPBOARD" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-dnd or --disable-dnd was given.
7585 if test "${enable_dnd+set}" = set; then
7586 enableval="$enable_dnd"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7590 else
7591 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7592 fi
7593
7594 else
7595
7596 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7604
7605 fi;
7606
7607 eval "$ac_cv_use_dnd"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-metafile or --disable-metafile was given.
7626 if test "${enable_metafile+set}" = set; then
7627 enableval="$enable_metafile"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7631 else
7632 ac_cv_use_metafile='wxUSE_METAFILE=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7645
7646 fi;
7647
7648 eval "$ac_cv_use_metafile"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_METAFILE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662
7663
7664
7665 enablestring=
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7668 no_cache=0
7669 # Check whether --enable-controls or --disable-controls was given.
7670 if test "${enable_controls+set}" = set; then
7671 enableval="$enable_controls"
7672
7673 if test "$enableval" = yes; then
7674 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7675 else
7676 ac_cv_use_controls='wxUSE_CONTROLS=no'
7677 fi
7678
7679 else
7680
7681 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x ; then
7683 eval "DEFAULT_$LINE"
7684 else
7685 no_cache=1
7686 fi
7687
7688 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7689
7690 fi;
7691
7692 eval "$ac_cv_use_controls"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7695 fi
7696
7697 if test "$wxUSE_CONTROLS" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7700 else
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7703 fi
7704
7705
7706 if test "$wxUSE_CONTROLS" = "yes"; then
7707 DEFAULT_wxUSE_ACCEL=yes
7708 DEFAULT_wxUSE_BMPBUTTON=yes
7709 DEFAULT_wxUSE_BUTTON=yes
7710 DEFAULT_wxUSE_CALCTRL=yes
7711 DEFAULT_wxUSE_CARET=yes
7712 DEFAULT_wxUSE_COMBOBOX=yes
7713 DEFAULT_wxUSE_CHECKBOX=yes
7714 DEFAULT_wxUSE_CHECKLISTBOX=yes
7715 DEFAULT_wxUSE_CHOICE=yes
7716 DEFAULT_wxUSE_CHOICEBOOK=yes
7717 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7718 DEFAULT_wxUSE_COMBOBOX=yes
7719 DEFAULT_wxUSE_DATEPICKCTRL=yes
7720 DEFAULT_wxUSE_DISPLAY=yes
7721 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7722 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7723 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7724 DEFAULT_wxUSE_GAUGE=yes
7725 DEFAULT_wxUSE_GRID=yes
7726 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7727 DEFAULT_wxUSE_DATAVIEWCTRL=no
7728 DEFAULT_wxUSE_IMAGLIST=yes
7729 DEFAULT_wxUSE_LISTBOOK=yes
7730 DEFAULT_wxUSE_LISTBOX=yes
7731 DEFAULT_wxUSE_LISTCTRL=yes
7732 DEFAULT_wxUSE_NOTEBOOK=yes
7733 DEFAULT_wxUSE_RADIOBOX=yes
7734 DEFAULT_wxUSE_RADIOBTN=yes
7735 DEFAULT_wxUSE_SASH=yes
7736 DEFAULT_wxUSE_SCROLLBAR=yes
7737 DEFAULT_wxUSE_SLIDER=yes
7738 DEFAULT_wxUSE_SPINBTN=yes
7739 DEFAULT_wxUSE_SPINCTRL=yes
7740 DEFAULT_wxUSE_SPLITTER=yes
7741 DEFAULT_wxUSE_STATBMP=yes
7742 DEFAULT_wxUSE_STATBOX=yes
7743 DEFAULT_wxUSE_STATLINE=yes
7744 DEFAULT_wxUSE_STATUSBAR=yes
7745 DEFAULT_wxUSE_TAB_DIALOG=yes
7746 DEFAULT_wxUSE_TOGGLEBTN=yes
7747 DEFAULT_wxUSE_TOOLBAR=yes
7748 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7749 DEFAULT_wxUSE_TOOLTIPS=yes
7750 DEFAULT_wxUSE_TREEBOOK=yes
7751 DEFAULT_wxUSE_TOOLBOOK=yes
7752 DEFAULT_wxUSE_TREECTRL=yes
7753 DEFAULT_wxUSE_POPUPWIN=yes
7754 DEFAULT_wxUSE_TIPWINDOW=yes
7755 elif test "$wxUSE_CONTROLS" = "no"; then
7756 DEFAULT_wxUSE_ACCEL=no
7757 DEFAULT_wxUSE_BMPBUTTON=no
7758 DEFAULT_wxUSE_BUTTON=no
7759 DEFAULT_wxUSE_CALCTRL=no
7760 DEFAULT_wxUSE_CARET=no
7761 DEFAULT_wxUSE_COMBOBOX=no
7762 DEFAULT_wxUSE_CHECKBOX=no
7763 DEFAULT_wxUSE_CHECKLISTBOX=no
7764 DEFAULT_wxUSE_CHOICE=no
7765 DEFAULT_wxUSE_CHOICEBOOK=no
7766 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7767 DEFAULT_wxUSE_COMBOBOX=no
7768 DEFAULT_wxUSE_DATEPICKCTRL=no
7769 DEFAULT_wxUSE_DISPLAY=no
7770 DEFAULT_wxUSE_DIRPICKERCTRL=no
7771 DEFAULT_wxUSE_FILEPICKERCTRL=no
7772 DEFAULT_wxUSE_FONTPICKERCTRL=no
7773 DEFAULT_wxUSE_GAUGE=no
7774 DEFAULT_wxUSE_GRID=no
7775 DEFAULT_wxUSE_HYPERLINKCTRL=no
7776 DEFAULT_wxUSE_DATAVIEWCTRL=no
7777 DEFAULT_wxUSE_IMAGLIST=no
7778 DEFAULT_wxUSE_LISTBOOK=no
7779 DEFAULT_wxUSE_LISTBOX=no
7780 DEFAULT_wxUSE_LISTCTRL=no
7781 DEFAULT_wxUSE_NOTEBOOK=no
7782 DEFAULT_wxUSE_RADIOBOX=no
7783 DEFAULT_wxUSE_RADIOBTN=no
7784 DEFAULT_wxUSE_SASH=no
7785 DEFAULT_wxUSE_SCROLLBAR=no
7786 DEFAULT_wxUSE_SLIDER=no
7787 DEFAULT_wxUSE_SPINBTN=no
7788 DEFAULT_wxUSE_SPINCTRL=no
7789 DEFAULT_wxUSE_SPLITTER=no
7790 DEFAULT_wxUSE_STATBMP=no
7791 DEFAULT_wxUSE_STATBOX=no
7792 DEFAULT_wxUSE_STATLINE=no
7793 DEFAULT_wxUSE_STATUSBAR=no
7794 DEFAULT_wxUSE_TAB_DIALOG=no
7795 DEFAULT_wxUSE_TOGGLEBTN=no
7796 DEFAULT_wxUSE_TOOLBAR=no
7797 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7798 DEFAULT_wxUSE_TOOLTIPS=no
7799 DEFAULT_wxUSE_TREEBOOK=no
7800 DEFAULT_wxUSE_TOOLBOOK=no
7801 DEFAULT_wxUSE_TREECTRL=no
7802 DEFAULT_wxUSE_POPUPWIN=no
7803 DEFAULT_wxUSE_TIPWINDOW=no
7804 fi
7805
7806
7807 enablestring=
7808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7810 no_cache=0
7811 # Check whether --enable-accel or --disable-accel was given.
7812 if test "${enable_accel+set}" = set; then
7813 enableval="$enable_accel"
7814
7815 if test "$enableval" = yes; then
7816 ac_cv_use_accel='wxUSE_ACCEL=yes'
7817 else
7818 ac_cv_use_accel='wxUSE_ACCEL=no'
7819 fi
7820
7821 else
7822
7823 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7824 if test "x$LINE" != x ; then
7825 eval "DEFAULT_$LINE"
7826 else
7827 no_cache=1
7828 fi
7829
7830 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7831
7832 fi;
7833
7834 eval "$ac_cv_use_accel"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7837 fi
7838
7839 if test "$wxUSE_ACCEL" = yes; then
7840 echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6
7842 else
7843 echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6
7845 fi
7846
7847
7848 enablestring=
7849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7851 no_cache=0
7852 # Check whether --enable-button or --disable-button was given.
7853 if test "${enable_button+set}" = set; then
7854 enableval="$enable_button"
7855
7856 if test "$enableval" = yes; then
7857 ac_cv_use_button='wxUSE_BUTTON=yes'
7858 else
7859 ac_cv_use_button='wxUSE_BUTTON=no'
7860 fi
7861
7862 else
7863
7864 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x ; then
7866 eval "DEFAULT_$LINE"
7867 else
7868 no_cache=1
7869 fi
7870
7871 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7872
7873 fi;
7874
7875 eval "$ac_cv_use_button"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7878 fi
7879
7880 if test "$wxUSE_BUTTON" = yes; then
7881 echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6
7883 else
7884 echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6
7886 fi
7887
7888
7889 enablestring=
7890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7892 no_cache=0
7893 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7894 if test "${enable_bmpbutton+set}" = set; then
7895 enableval="$enable_bmpbutton"
7896
7897 if test "$enableval" = yes; then
7898 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7899 else
7900 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7901 fi
7902
7903 else
7904
7905 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7906 if test "x$LINE" != x ; then
7907 eval "DEFAULT_$LINE"
7908 else
7909 no_cache=1
7910 fi
7911
7912 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7913
7914 fi;
7915
7916 eval "$ac_cv_use_bmpbutton"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7919 fi
7920
7921 if test "$wxUSE_BMPBUTTON" = yes; then
7922 echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6
7924 else
7925 echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6
7927 fi
7928
7929
7930 enablestring=
7931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7933 no_cache=0
7934 # Check whether --enable-calendar or --disable-calendar was given.
7935 if test "${enable_calendar+set}" = set; then
7936 enableval="$enable_calendar"
7937
7938 if test "$enableval" = yes; then
7939 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7940 else
7941 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7942 fi
7943
7944 else
7945
7946 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x ; then
7948 eval "DEFAULT_$LINE"
7949 else
7950 no_cache=1
7951 fi
7952
7953 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7954
7955 fi;
7956
7957 eval "$ac_cv_use_calendar"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7960 fi
7961
7962 if test "$wxUSE_CALCTRL" = yes; then
7963 echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6
7965 else
7966 echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6
7968 fi
7969
7970
7971 enablestring=
7972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7974 no_cache=0
7975 # Check whether --enable-caret or --disable-caret was given.
7976 if test "${enable_caret+set}" = set; then
7977 enableval="$enable_caret"
7978
7979 if test "$enableval" = yes; then
7980 ac_cv_use_caret='wxUSE_CARET=yes'
7981 else
7982 ac_cv_use_caret='wxUSE_CARET=no'
7983 fi
7984
7985 else
7986
7987 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7988 if test "x$LINE" != x ; then
7989 eval "DEFAULT_$LINE"
7990 else
7991 no_cache=1
7992 fi
7993
7994 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7995
7996 fi;
7997
7998 eval "$ac_cv_use_caret"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test "$wxUSE_CARET" = yes; then
8004 echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6
8006 else
8007 echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6
8009 fi
8010
8011
8012 enablestring=
8013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8015 no_cache=0
8016 # Check whether --enable-checkbox or --disable-checkbox was given.
8017 if test "${enable_checkbox+set}" = set; then
8018 enableval="$enable_checkbox"
8019
8020 if test "$enableval" = yes; then
8021 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8022 else
8023 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8024 fi
8025
8026 else
8027
8028 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8031 else
8032 no_cache=1
8033 fi
8034
8035 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8036
8037 fi;
8038
8039 eval "$ac_cv_use_checkbox"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8042 fi
8043
8044 if test "$wxUSE_CHECKBOX" = yes; then
8045 echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6
8047 else
8048 echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6
8050 fi
8051
8052
8053 enablestring=
8054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8056 no_cache=0
8057 # Check whether --enable-checklst or --disable-checklst was given.
8058 if test "${enable_checklst+set}" = set; then
8059 enableval="$enable_checklst"
8060
8061 if test "$enableval" = yes; then
8062 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8063 else
8064 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8065 fi
8066
8067 else
8068
8069 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8070 if test "x$LINE" != x ; then
8071 eval "DEFAULT_$LINE"
8072 else
8073 no_cache=1
8074 fi
8075
8076 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8077
8078 fi;
8079
8080 eval "$ac_cv_use_checklst"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8083 fi
8084
8085 if test "$wxUSE_CHECKLST" = yes; then
8086 echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6
8088 else
8089 echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6
8091 fi
8092
8093
8094 enablestring=
8095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8097 no_cache=0
8098 # Check whether --enable-choice or --disable-choice was given.
8099 if test "${enable_choice+set}" = set; then
8100 enableval="$enable_choice"
8101
8102 if test "$enableval" = yes; then
8103 ac_cv_use_choice='wxUSE_CHOICE=yes'
8104 else
8105 ac_cv_use_choice='wxUSE_CHOICE=no'
8106 fi
8107
8108 else
8109
8110 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x ; then
8112 eval "DEFAULT_$LINE"
8113 else
8114 no_cache=1
8115 fi
8116
8117 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8118
8119 fi;
8120
8121 eval "$ac_cv_use_choice"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8124 fi
8125
8126 if test "$wxUSE_CHOICE" = yes; then
8127 echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6
8129 else
8130 echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6
8132 fi
8133
8134
8135 enablestring=
8136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8138 no_cache=0
8139 # Check whether --enable-choicebook or --disable-choicebook was given.
8140 if test "${enable_choicebook+set}" = set; then
8141 enableval="$enable_choicebook"
8142
8143 if test "$enableval" = yes; then
8144 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8145 else
8146 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8147 fi
8148
8149 else
8150
8151 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x ; then
8153 eval "DEFAULT_$LINE"
8154 else
8155 no_cache=1
8156 fi
8157
8158 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8159
8160 fi;
8161
8162 eval "$ac_cv_use_choicebook"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8165 fi
8166
8167 if test "$wxUSE_CHOICEBOOK" = yes; then
8168 echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6
8170 else
8171 echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6
8173 fi
8174
8175
8176 enablestring=
8177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8179 no_cache=0
8180 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8181 if test "${enable_colourpicker+set}" = set; then
8182 enableval="$enable_colourpicker"
8183
8184 if test "$enableval" = yes; then
8185 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8186 else
8187 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8188 fi
8189
8190 else
8191
8192 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x ; then
8194 eval "DEFAULT_$LINE"
8195 else
8196 no_cache=1
8197 fi
8198
8199 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8200
8201 fi;
8202
8203 eval "$ac_cv_use_colourpicker"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8206 fi
8207
8208 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8209 echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6
8211 else
8212 echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6
8214 fi
8215
8216
8217 enablestring=
8218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8220 no_cache=0
8221 # Check whether --enable-combobox or --disable-combobox was given.
8222 if test "${enable_combobox+set}" = set; then
8223 enableval="$enable_combobox"
8224
8225 if test "$enableval" = yes; then
8226 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8227 else
8228 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8229 fi
8230
8231 else
8232
8233 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x ; then
8235 eval "DEFAULT_$LINE"
8236 else
8237 no_cache=1
8238 fi
8239
8240 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8241
8242 fi;
8243
8244 eval "$ac_cv_use_combobox"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8247 fi
8248
8249 if test "$wxUSE_COMBOBOX" = yes; then
8250 echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6
8252 else
8253 echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6
8255 fi
8256
8257
8258 enablestring=
8259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8261 no_cache=0
8262 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8263 if test "${enable_comboctrl+set}" = set; then
8264 enableval="$enable_comboctrl"
8265
8266 if test "$enableval" = yes; then
8267 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8268 else
8269 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8270 fi
8271
8272 else
8273
8274 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x ; then
8276 eval "DEFAULT_$LINE"
8277 else
8278 no_cache=1
8279 fi
8280
8281 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8282
8283 fi;
8284
8285 eval "$ac_cv_use_comboctrl"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8288 fi
8289
8290 if test "$wxUSE_COMBOCTRL" = yes; then
8291 echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6
8293 else
8294 echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6
8296 fi
8297
8298
8299 enablestring=
8300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8302 no_cache=0
8303 # Check whether --enable-datepick or --disable-datepick was given.
8304 if test "${enable_datepick+set}" = set; then
8305 enableval="$enable_datepick"
8306
8307 if test "$enableval" = yes; then
8308 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8309 else
8310 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8311 fi
8312
8313 else
8314
8315 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8316 if test "x$LINE" != x ; then
8317 eval "DEFAULT_$LINE"
8318 else
8319 no_cache=1
8320 fi
8321
8322 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8323
8324 fi;
8325
8326 eval "$ac_cv_use_datepick"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8329 fi
8330
8331 if test "$wxUSE_DATEPICKCTRL" = yes; then
8332 echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6
8334 else
8335 echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6
8337 fi
8338
8339
8340 enablestring=
8341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8343 no_cache=0
8344 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8345 if test "${enable_dirpicker+set}" = set; then
8346 enableval="$enable_dirpicker"
8347
8348 if test "$enableval" = yes; then
8349 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8350 else
8351 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8352 fi
8353
8354 else
8355
8356 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x ; then
8358 eval "DEFAULT_$LINE"
8359 else
8360 no_cache=1
8361 fi
8362
8363 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8364
8365 fi;
8366
8367 eval "$ac_cv_use_dirpicker"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8370 fi
8371
8372 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8373 echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6
8375 else
8376 echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6
8378 fi
8379
8380
8381 enablestring=
8382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8383 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8384 no_cache=0
8385 # Check whether --enable-display or --disable-display was given.
8386 if test "${enable_display+set}" = set; then
8387 enableval="$enable_display"
8388
8389 if test "$enableval" = yes; then
8390 ac_cv_use_display='wxUSE_DISPLAY=yes'
8391 else
8392 ac_cv_use_display='wxUSE_DISPLAY=no'
8393 fi
8394
8395 else
8396
8397 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x ; then
8399 eval "DEFAULT_$LINE"
8400 else
8401 no_cache=1
8402 fi
8403
8404 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8405
8406 fi;
8407
8408 eval "$ac_cv_use_display"
8409 if test "$no_cache" != 1; then
8410 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8411 fi
8412
8413 if test "$wxUSE_DISPLAY" = yes; then
8414 echo "$as_me:$LINENO: result: yes" >&5
8415 echo "${ECHO_T}yes" >&6
8416 else
8417 echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6
8419 fi
8420
8421
8422 enablestring=
8423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8424 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8425 no_cache=0
8426 # Check whether --enable-filepicker or --disable-filepicker was given.
8427 if test "${enable_filepicker+set}" = set; then
8428 enableval="$enable_filepicker"
8429
8430 if test "$enableval" = yes; then
8431 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8432 else
8433 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8434 fi
8435
8436 else
8437
8438 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x ; then
8440 eval "DEFAULT_$LINE"
8441 else
8442 no_cache=1
8443 fi
8444
8445 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8446
8447 fi;
8448
8449 eval "$ac_cv_use_filepicker"
8450 if test "$no_cache" != 1; then
8451 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8452 fi
8453
8454 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8455 echo "$as_me:$LINENO: result: yes" >&5
8456 echo "${ECHO_T}yes" >&6
8457 else
8458 echo "$as_me:$LINENO: result: no" >&5
8459 echo "${ECHO_T}no" >&6
8460 fi
8461
8462
8463 enablestring=
8464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8466 no_cache=0
8467 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8468 if test "${enable_fontpicker+set}" = set; then
8469 enableval="$enable_fontpicker"
8470
8471 if test "$enableval" = yes; then
8472 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8473 else
8474 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8475 fi
8476
8477 else
8478
8479 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8482 else
8483 no_cache=1
8484 fi
8485
8486 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8487
8488 fi;
8489
8490 eval "$ac_cv_use_fontpicker"
8491 if test "$no_cache" != 1; then
8492 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8493 fi
8494
8495 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8496 echo "$as_me:$LINENO: result: yes" >&5
8497 echo "${ECHO_T}yes" >&6
8498 else
8499 echo "$as_me:$LINENO: result: no" >&5
8500 echo "${ECHO_T}no" >&6
8501 fi
8502
8503
8504 enablestring=
8505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8507 no_cache=0
8508 # Check whether --enable-gauge or --disable-gauge was given.
8509 if test "${enable_gauge+set}" = set; then
8510 enableval="$enable_gauge"
8511
8512 if test "$enableval" = yes; then
8513 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8514 else
8515 ac_cv_use_gauge='wxUSE_GAUGE=no'
8516 fi
8517
8518 else
8519
8520 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8521 if test "x$LINE" != x ; then
8522 eval "DEFAULT_$LINE"
8523 else
8524 no_cache=1
8525 fi
8526
8527 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8528
8529 fi;
8530
8531 eval "$ac_cv_use_gauge"
8532 if test "$no_cache" != 1; then
8533 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8534 fi
8535
8536 if test "$wxUSE_GAUGE" = yes; then
8537 echo "$as_me:$LINENO: result: yes" >&5
8538 echo "${ECHO_T}yes" >&6
8539 else
8540 echo "$as_me:$LINENO: result: no" >&5
8541 echo "${ECHO_T}no" >&6
8542 fi
8543
8544
8545 enablestring=
8546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8548 no_cache=0
8549 # Check whether --enable-grid or --disable-grid was given.
8550 if test "${enable_grid+set}" = set; then
8551 enableval="$enable_grid"
8552
8553 if test "$enableval" = yes; then
8554 ac_cv_use_grid='wxUSE_GRID=yes'
8555 else
8556 ac_cv_use_grid='wxUSE_GRID=no'
8557 fi
8558
8559 else
8560
8561 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8562 if test "x$LINE" != x ; then
8563 eval "DEFAULT_$LINE"
8564 else
8565 no_cache=1
8566 fi
8567
8568 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8569
8570 fi;
8571
8572 eval "$ac_cv_use_grid"
8573 if test "$no_cache" != 1; then
8574 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8575 fi
8576
8577 if test "$wxUSE_GRID" = yes; then
8578 echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6
8580 else
8581 echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6
8583 fi
8584
8585
8586 enablestring=
8587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8589 no_cache=0
8590 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8591 if test "${enable_dataviewctrl+set}" = set; then
8592 enableval="$enable_dataviewctrl"
8593
8594 if test "$enableval" = yes; then
8595 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8596 else
8597 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8598 fi
8599
8600 else
8601
8602 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8603 if test "x$LINE" != x ; then
8604 eval "DEFAULT_$LINE"
8605 else
8606 no_cache=1
8607 fi
8608
8609 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8610
8611 fi;
8612
8613 eval "$ac_cv_use_dataviewctrl"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8616 fi
8617
8618 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8619 echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6
8621 else
8622 echo "$as_me:$LINENO: result: no" >&5
8623 echo "${ECHO_T}no" >&6
8624 fi
8625
8626
8627 enablestring=
8628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8630 no_cache=0
8631 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8632 if test "${enable_hyperlink+set}" = set; then
8633 enableval="$enable_hyperlink"
8634
8635 if test "$enableval" = yes; then
8636 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8637 else
8638 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8639 fi
8640
8641 else
8642
8643 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8644 if test "x$LINE" != x ; then
8645 eval "DEFAULT_$LINE"
8646 else
8647 no_cache=1
8648 fi
8649
8650 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8651
8652 fi;
8653
8654 eval "$ac_cv_use_hyperlink"
8655 if test "$no_cache" != 1; then
8656 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8657 fi
8658
8659 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8660 echo "$as_me:$LINENO: result: yes" >&5
8661 echo "${ECHO_T}yes" >&6
8662 else
8663 echo "$as_me:$LINENO: result: no" >&5
8664 echo "${ECHO_T}no" >&6
8665 fi
8666
8667
8668 enablestring=
8669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8670 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8671 no_cache=0
8672 # Check whether --enable-imaglist or --disable-imaglist was given.
8673 if test "${enable_imaglist+set}" = set; then
8674 enableval="$enable_imaglist"
8675
8676 if test "$enableval" = yes; then
8677 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8678 else
8679 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8680 fi
8681
8682 else
8683
8684 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8685 if test "x$LINE" != x ; then
8686 eval "DEFAULT_$LINE"
8687 else
8688 no_cache=1
8689 fi
8690
8691 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8692
8693 fi;
8694
8695 eval "$ac_cv_use_imaglist"
8696 if test "$no_cache" != 1; then
8697 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8698 fi
8699
8700 if test "$wxUSE_IMAGLIST" = yes; then
8701 echo "$as_me:$LINENO: result: yes" >&5
8702 echo "${ECHO_T}yes" >&6
8703 else
8704 echo "$as_me:$LINENO: result: no" >&5
8705 echo "${ECHO_T}no" >&6
8706 fi
8707
8708
8709 enablestring=
8710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8712 no_cache=0
8713 # Check whether --enable-listbook or --disable-listbook was given.
8714 if test "${enable_listbook+set}" = set; then
8715 enableval="$enable_listbook"
8716
8717 if test "$enableval" = yes; then
8718 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8719 else
8720 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8721 fi
8722
8723 else
8724
8725 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8726 if test "x$LINE" != x ; then
8727 eval "DEFAULT_$LINE"
8728 else
8729 no_cache=1
8730 fi
8731
8732 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8733
8734 fi;
8735
8736 eval "$ac_cv_use_listbook"
8737 if test "$no_cache" != 1; then
8738 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8739 fi
8740
8741 if test "$wxUSE_LISTBOOK" = yes; then
8742 echo "$as_me:$LINENO: result: yes" >&5
8743 echo "${ECHO_T}yes" >&6
8744 else
8745 echo "$as_me:$LINENO: result: no" >&5
8746 echo "${ECHO_T}no" >&6
8747 fi
8748
8749
8750 enablestring=
8751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8753 no_cache=0
8754 # Check whether --enable-listbox or --disable-listbox was given.
8755 if test "${enable_listbox+set}" = set; then
8756 enableval="$enable_listbox"
8757
8758 if test "$enableval" = yes; then
8759 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8760 else
8761 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8762 fi
8763
8764 else
8765
8766 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x ; then
8768 eval "DEFAULT_$LINE"
8769 else
8770 no_cache=1
8771 fi
8772
8773 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8774
8775 fi;
8776
8777 eval "$ac_cv_use_listbox"
8778 if test "$no_cache" != 1; then
8779 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8780 fi
8781
8782 if test "$wxUSE_LISTBOX" = yes; then
8783 echo "$as_me:$LINENO: result: yes" >&5
8784 echo "${ECHO_T}yes" >&6
8785 else
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8788 fi
8789
8790
8791 enablestring=
8792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8794 no_cache=0
8795 # Check whether --enable-listctrl or --disable-listctrl was given.
8796 if test "${enable_listctrl+set}" = set; then
8797 enableval="$enable_listctrl"
8798
8799 if test "$enableval" = yes; then
8800 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8801 else
8802 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8803 fi
8804
8805 else
8806
8807 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x ; then
8809 eval "DEFAULT_$LINE"
8810 else
8811 no_cache=1
8812 fi
8813
8814 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8815
8816 fi;
8817
8818 eval "$ac_cv_use_listctrl"
8819 if test "$no_cache" != 1; then
8820 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8821 fi
8822
8823 if test "$wxUSE_LISTCTRL" = yes; then
8824 echo "$as_me:$LINENO: result: yes" >&5
8825 echo "${ECHO_T}yes" >&6
8826 else
8827 echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6
8829 fi
8830
8831
8832 enablestring=
8833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8834 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8835 no_cache=0
8836 # Check whether --enable-notebook or --disable-notebook was given.
8837 if test "${enable_notebook+set}" = set; then
8838 enableval="$enable_notebook"
8839
8840 if test "$enableval" = yes; then
8841 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8842 else
8843 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8844 fi
8845
8846 else
8847
8848 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8849 if test "x$LINE" != x ; then
8850 eval "DEFAULT_$LINE"
8851 else
8852 no_cache=1
8853 fi
8854
8855 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8856
8857 fi;
8858
8859 eval "$ac_cv_use_notebook"
8860 if test "$no_cache" != 1; then
8861 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8862 fi
8863
8864 if test "$wxUSE_NOTEBOOK" = yes; then
8865 echo "$as_me:$LINENO: result: yes" >&5
8866 echo "${ECHO_T}yes" >&6
8867 else
8868 echo "$as_me:$LINENO: result: no" >&5
8869 echo "${ECHO_T}no" >&6
8870 fi
8871
8872
8873 enablestring=
8874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8876 no_cache=0
8877 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8878 if test "${enable_odcombobox+set}" = set; then
8879 enableval="$enable_odcombobox"
8880
8881 if test "$enableval" = yes; then
8882 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8883 else
8884 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8885 fi
8886
8887 else
8888
8889 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x ; then
8891 eval "DEFAULT_$LINE"
8892 else
8893 no_cache=1
8894 fi
8895
8896 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8897
8898 fi;
8899
8900 eval "$ac_cv_use_odcombobox"
8901 if test "$no_cache" != 1; then
8902 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8903 fi
8904
8905 if test "$wxUSE_ODCOMBOBOX" = yes; then
8906 echo "$as_me:$LINENO: result: yes" >&5
8907 echo "${ECHO_T}yes" >&6
8908 else
8909 echo "$as_me:$LINENO: result: no" >&5
8910 echo "${ECHO_T}no" >&6
8911 fi
8912
8913
8914 enablestring=
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8917 no_cache=0
8918 # Check whether --enable-radiobox or --disable-radiobox was given.
8919 if test "${enable_radiobox+set}" = set; then
8920 enableval="$enable_radiobox"
8921
8922 if test "$enableval" = yes; then
8923 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8924 else
8925 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8926 fi
8927
8928 else
8929
8930 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x ; then
8932 eval "DEFAULT_$LINE"
8933 else
8934 no_cache=1
8935 fi
8936
8937 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8938
8939 fi;
8940
8941 eval "$ac_cv_use_radiobox"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8944 fi
8945
8946 if test "$wxUSE_RADIOBOX" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8949 else
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8952 fi
8953
8954
8955 enablestring=
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8958 no_cache=0
8959 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8960 if test "${enable_radiobtn+set}" = set; then
8961 enableval="$enable_radiobtn"
8962
8963 if test "$enableval" = yes; then
8964 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8965 else
8966 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8967 fi
8968
8969 else
8970
8971 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x ; then
8973 eval "DEFAULT_$LINE"
8974 else
8975 no_cache=1
8976 fi
8977
8978 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8979
8980 fi;
8981
8982 eval "$ac_cv_use_radiobtn"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8985 fi
8986
8987 if test "$wxUSE_RADIOBTN" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8990 else
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8993 fi
8994
8995
8996 enablestring=
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8999 no_cache=0
9000 # Check whether --enable-sash or --disable-sash was given.
9001 if test "${enable_sash+set}" = set; then
9002 enableval="$enable_sash"
9003
9004 if test "$enableval" = yes; then
9005 ac_cv_use_sash='wxUSE_SASH=yes'
9006 else
9007 ac_cv_use_sash='wxUSE_SASH=no'
9008 fi
9009
9010 else
9011
9012 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9015 else
9016 no_cache=1
9017 fi
9018
9019 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9020
9021 fi;
9022
9023 eval "$ac_cv_use_sash"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9026 fi
9027
9028 if test "$wxUSE_SASH" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9031 else
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9034 fi
9035
9036
9037 enablestring=
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9040 no_cache=0
9041 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9042 if test "${enable_scrollbar+set}" = set; then
9043 enableval="$enable_scrollbar"
9044
9045 if test "$enableval" = yes; then
9046 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9047 else
9048 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9049 fi
9050
9051 else
9052
9053 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 else
9057 no_cache=1
9058 fi
9059
9060 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9061
9062 fi;
9063
9064 eval "$ac_cv_use_scrollbar"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9067 fi
9068
9069 if test "$wxUSE_SCROLLBAR" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9072 else
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9075 fi
9076
9077
9078 enablestring=
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9081 no_cache=0
9082 # Check whether --enable-slider or --disable-slider was given.
9083 if test "${enable_slider+set}" = set; then
9084 enableval="$enable_slider"
9085
9086 if test "$enableval" = yes; then
9087 ac_cv_use_slider='wxUSE_SLIDER=yes'
9088 else
9089 ac_cv_use_slider='wxUSE_SLIDER=no'
9090 fi
9091
9092 else
9093
9094 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x ; then
9096 eval "DEFAULT_$LINE"
9097 else
9098 no_cache=1
9099 fi
9100
9101 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9102
9103 fi;
9104
9105 eval "$ac_cv_use_slider"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9108 fi
9109
9110 if test "$wxUSE_SLIDER" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9113 else
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9116 fi
9117
9118
9119 enablestring=
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9122 no_cache=0
9123 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9124 if test "${enable_spinbtn+set}" = set; then
9125 enableval="$enable_spinbtn"
9126
9127 if test "$enableval" = yes; then
9128 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9129 else
9130 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9131 fi
9132
9133 else
9134
9135 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x ; then
9137 eval "DEFAULT_$LINE"
9138 else
9139 no_cache=1
9140 fi
9141
9142 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9143
9144 fi;
9145
9146 eval "$ac_cv_use_spinbtn"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9149 fi
9150
9151 if test "$wxUSE_SPINBTN" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9154 else
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9157 fi
9158
9159
9160 enablestring=
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9163 no_cache=0
9164 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9165 if test "${enable_spinctrl+set}" = set; then
9166 enableval="$enable_spinctrl"
9167
9168 if test "$enableval" = yes; then
9169 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9170 else
9171 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9172 fi
9173
9174 else
9175
9176 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9179 else
9180 no_cache=1
9181 fi
9182
9183 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9184
9185 fi;
9186
9187 eval "$ac_cv_use_spinctrl"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9190 fi
9191
9192 if test "$wxUSE_SPINCTRL" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9195 else
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9198 fi
9199
9200
9201 enablestring=
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9204 no_cache=0
9205 # Check whether --enable-splitter or --disable-splitter was given.
9206 if test "${enable_splitter+set}" = set; then
9207 enableval="$enable_splitter"
9208
9209 if test "$enableval" = yes; then
9210 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9211 else
9212 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9213 fi
9214
9215 else
9216
9217 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9220 else
9221 no_cache=1
9222 fi
9223
9224 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9225
9226 fi;
9227
9228 eval "$ac_cv_use_splitter"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9231 fi
9232
9233 if test "$wxUSE_SPLITTER" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9236 else
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9239 fi
9240
9241
9242 enablestring=
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9245 no_cache=0
9246 # Check whether --enable-statbmp or --disable-statbmp was given.
9247 if test "${enable_statbmp+set}" = set; then
9248 enableval="$enable_statbmp"
9249
9250 if test "$enableval" = yes; then
9251 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9252 else
9253 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9254 fi
9255
9256 else
9257
9258 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9266
9267 fi;
9268
9269 eval "$ac_cv_use_statbmp"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_STATBMP" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9277 else
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9280 fi
9281
9282
9283 enablestring=
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9286 no_cache=0
9287 # Check whether --enable-statbox or --disable-statbox was given.
9288 if test "${enable_statbox+set}" = set; then
9289 enableval="$enable_statbox"
9290
9291 if test "$enableval" = yes; then
9292 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9293 else
9294 ac_cv_use_statbox='wxUSE_STATBOX=no'
9295 fi
9296
9297 else
9298
9299 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9307
9308 fi;
9309
9310 eval "$ac_cv_use_statbox"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_STATBOX" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9318 else
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9321 fi
9322
9323
9324 enablestring=
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9327 no_cache=0
9328 # Check whether --enable-statline or --disable-statline was given.
9329 if test "${enable_statline+set}" = set; then
9330 enableval="$enable_statline"
9331
9332 if test "$enableval" = yes; then
9333 ac_cv_use_statline='wxUSE_STATLINE=yes'
9334 else
9335 ac_cv_use_statline='wxUSE_STATLINE=no'
9336 fi
9337
9338 else
9339
9340 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9348
9349 fi;
9350
9351 eval "$ac_cv_use_statline"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_STATLINE" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9359 else
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9362 fi
9363
9364
9365 enablestring=
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9368 no_cache=0
9369 # Check whether --enable-stattext or --disable-stattext was given.
9370 if test "${enable_stattext+set}" = set; then
9371 enableval="$enable_stattext"
9372
9373 if test "$enableval" = yes; then
9374 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9375 else
9376 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9389
9390 fi;
9391
9392 eval "$ac_cv_use_stattext"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_STATTEXT" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9400 else
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9403 fi
9404
9405
9406 enablestring=
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9409 no_cache=0
9410 # Check whether --enable-statusbar or --disable-statusbar was given.
9411 if test "${enable_statusbar+set}" = set; then
9412 enableval="$enable_statusbar"
9413
9414 if test "$enableval" = yes; then
9415 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9416 else
9417 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9430
9431 fi;
9432
9433 eval "$ac_cv_use_statusbar"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_STATUSBAR" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9441 else
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9444 fi
9445
9446
9447 enablestring=
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9450 no_cache=0
9451 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9452 if test "${enable_tabdialog+set}" = set; then
9453 enableval="$enable_tabdialog"
9454
9455 if test "$enableval" = yes; then
9456 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9457 else
9458 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9459 fi
9460
9461 else
9462
9463 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9471
9472 fi;
9473
9474 eval "$ac_cv_use_tabdialog"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_TAB_DIALOG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9482 else
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9485 fi
9486
9487
9488 enablestring=
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9491 no_cache=0
9492 # Check whether --enable-textctrl or --disable-textctrl was given.
9493 if test "${enable_textctrl+set}" = set; then
9494 enableval="$enable_textctrl"
9495
9496 if test "$enableval" = yes; then
9497 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9498 else
9499 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9500 fi
9501
9502 else
9503
9504 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 else
9508 no_cache=1
9509 fi
9510
9511 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9512
9513 fi;
9514
9515 eval "$ac_cv_use_textctrl"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9518 fi
9519
9520 if test "$wxUSE_TEXTCTRL" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9523 else
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9526 fi
9527
9528
9529 enablestring=
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9532 no_cache=0
9533 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9534 if test "${enable_togglebtn+set}" = set; then
9535 enableval="$enable_togglebtn"
9536
9537 if test "$enableval" = yes; then
9538 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9539 else
9540 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9541 fi
9542
9543 else
9544
9545 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9548 else
9549 no_cache=1
9550 fi
9551
9552 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9553
9554 fi;
9555
9556 eval "$ac_cv_use_togglebtn"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test "$wxUSE_TOGGLEBTN" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9564 else
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9567 fi
9568
9569
9570 enablestring=
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9573 no_cache=0
9574 # Check whether --enable-toolbar or --disable-toolbar was given.
9575 if test "${enable_toolbar+set}" = set; then
9576 enableval="$enable_toolbar"
9577
9578 if test "$enableval" = yes; then
9579 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9580 else
9581 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9582 fi
9583
9584 else
9585
9586 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9589 else
9590 no_cache=1
9591 fi
9592
9593 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9594
9595 fi;
9596
9597 eval "$ac_cv_use_toolbar"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9600 fi
9601
9602 if test "$wxUSE_TOOLBAR" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9605 else
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9608 fi
9609
9610
9611 enablestring=
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9614 no_cache=0
9615 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9616 if test "${enable_tbarnative+set}" = set; then
9617 enableval="$enable_tbarnative"
9618
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9621 else
9622 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9623 fi
9624
9625 else
9626
9627 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9630 else
9631 no_cache=1
9632 fi
9633
9634 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9635
9636 fi;
9637
9638 eval "$ac_cv_use_tbarnative"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9641 fi
9642
9643 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9646 else
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9649 fi
9650
9651
9652 enablestring=
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9655 no_cache=0
9656 # Check whether --enable-treebook or --disable-treebook was given.
9657 if test "${enable_treebook+set}" = set; then
9658 enableval="$enable_treebook"
9659
9660 if test "$enableval" = yes; then
9661 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9662 else
9663 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9664 fi
9665
9666 else
9667
9668 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9671 else
9672 no_cache=1
9673 fi
9674
9675 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9676
9677 fi;
9678
9679 eval "$ac_cv_use_treebook"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9682 fi
9683
9684 if test "$wxUSE_TREEBOOK" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9687 else
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9690 fi
9691
9692
9693 enablestring=
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9696 no_cache=0
9697 # Check whether --enable-toolbook or --disable-toolbook was given.
9698 if test "${enable_toolbook+set}" = set; then
9699 enableval="$enable_toolbook"
9700
9701 if test "$enableval" = yes; then
9702 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9703 else
9704 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9705 fi
9706
9707 else
9708
9709 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9712 else
9713 no_cache=1
9714 fi
9715
9716 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9717
9718 fi;
9719
9720 eval "$ac_cv_use_toolbook"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9723 fi
9724
9725 if test "$wxUSE_TOOLBOOK" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9728 else
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9731 fi
9732
9733
9734 enablestring=
9735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9736 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9737 no_cache=0
9738 # Check whether --enable-treectrl or --disable-treectrl was given.
9739 if test "${enable_treectrl+set}" = set; then
9740 enableval="$enable_treectrl"
9741
9742 if test "$enableval" = yes; then
9743 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9744 else
9745 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9746 fi
9747
9748 else
9749
9750 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x ; then
9752 eval "DEFAULT_$LINE"
9753 else
9754 no_cache=1
9755 fi
9756
9757 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9758
9759 fi;
9760
9761 eval "$ac_cv_use_treectrl"
9762 if test "$no_cache" != 1; then
9763 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9764 fi
9765
9766 if test "$wxUSE_TREECTRL" = yes; then
9767 echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6
9769 else
9770 echo "$as_me:$LINENO: result: no" >&5
9771 echo "${ECHO_T}no" >&6
9772 fi
9773
9774
9775 enablestring=
9776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9778 no_cache=0
9779 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9780 if test "${enable_tipwindow+set}" = set; then
9781 enableval="$enable_tipwindow"
9782
9783 if test "$enableval" = yes; then
9784 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9785 else
9786 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9787 fi
9788
9789 else
9790
9791 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x ; then
9793 eval "DEFAULT_$LINE"
9794 else
9795 no_cache=1
9796 fi
9797
9798 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9799
9800 fi;
9801
9802 eval "$ac_cv_use_tipwindow"
9803 if test "$no_cache" != 1; then
9804 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9805 fi
9806
9807 if test "$wxUSE_TIPWINDOW" = yes; then
9808 echo "$as_me:$LINENO: result: yes" >&5
9809 echo "${ECHO_T}yes" >&6
9810 else
9811 echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6
9813 fi
9814
9815
9816 enablestring=
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9819 no_cache=0
9820 # Check whether --enable-popupwin or --disable-popupwin was given.
9821 if test "${enable_popupwin+set}" = set; then
9822 enableval="$enable_popupwin"
9823
9824 if test "$enableval" = yes; then
9825 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9826 else
9827 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9828 fi
9829
9830 else
9831
9832 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x ; then
9834 eval "DEFAULT_$LINE"
9835 else
9836 no_cache=1
9837 fi
9838
9839 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9840
9841 fi;
9842
9843 eval "$ac_cv_use_popupwin"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9846 fi
9847
9848 if test "$wxUSE_POPUPWIN" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9851 else
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9854 fi
9855
9856
9857
9858
9859 enablestring=
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9862 no_cache=0
9863 # Check whether --enable-commondlg or --disable-commondlg was given.
9864 if test "${enable_commondlg+set}" = set; then
9865 enableval="$enable_commondlg"
9866
9867 if test "$enableval" = yes; then
9868 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9869 else
9870 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9871 fi
9872
9873 else
9874
9875 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9878 else
9879 no_cache=1
9880 fi
9881
9882 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9883
9884 fi;
9885
9886 eval "$ac_cv_use_commondlg"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_COMMONDLGS" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9894 else
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9897 fi
9898
9899
9900 enablestring=
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9903 no_cache=0
9904 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9905 if test "${enable_choicedlg+set}" = set; then
9906 enableval="$enable_choicedlg"
9907
9908 if test "$enableval" = yes; then
9909 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9910 else
9911 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9912 fi
9913
9914 else
9915
9916 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9919 else
9920 no_cache=1
9921 fi
9922
9923 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9924
9925 fi;
9926
9927 eval "$ac_cv_use_choicedlg"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test "$wxUSE_CHOICEDLG" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9935 else
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9938 fi
9939
9940
9941 enablestring=
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9944 no_cache=0
9945 # Check whether --enable-coldlg or --disable-coldlg was given.
9946 if test "${enable_coldlg+set}" = set; then
9947 enableval="$enable_coldlg"
9948
9949 if test "$enableval" = yes; then
9950 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9951 else
9952 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9953 fi
9954
9955 else
9956
9957 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9960 else
9961 no_cache=1
9962 fi
9963
9964 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9965
9966 fi;
9967
9968 eval "$ac_cv_use_coldlg"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test "$wxUSE_COLOURDLG" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9976 else
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9979 fi
9980
9981
9982 enablestring=
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9985 no_cache=0
9986 # Check whether --enable-filedlg or --disable-filedlg was given.
9987 if test "${enable_filedlg+set}" = set; then
9988 enableval="$enable_filedlg"
9989
9990 if test "$enableval" = yes; then
9991 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9992 else
9993 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9994 fi
9995
9996 else
9997
9998 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10001 else
10002 no_cache=1
10003 fi
10004
10005 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10006
10007 fi;
10008
10009 eval "$ac_cv_use_filedlg"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10012 fi
10013
10014 if test "$wxUSE_FILEDLG" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10017 else
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10020 fi
10021
10022
10023 enablestring=
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10026 no_cache=0
10027 # Check whether --enable-finddlg or --disable-finddlg was given.
10028 if test "${enable_finddlg+set}" = set; then
10029 enableval="$enable_finddlg"
10030
10031 if test "$enableval" = yes; then
10032 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10033 else
10034 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10035 fi
10036
10037 else
10038
10039 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10042 else
10043 no_cache=1
10044 fi
10045
10046 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10047
10048 fi;
10049
10050 eval "$ac_cv_use_finddlg"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10053 fi
10054
10055 if test "$wxUSE_FINDREPLDLG" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10058 else
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10061 fi
10062
10063
10064 enablestring=
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10067 no_cache=0
10068 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10069 if test "${enable_fontdlg+set}" = set; then
10070 enableval="$enable_fontdlg"
10071
10072 if test "$enableval" = yes; then
10073 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10074 else
10075 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10076 fi
10077
10078 else
10079
10080 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10083 else
10084 no_cache=1
10085 fi
10086
10087 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10088
10089 fi;
10090
10091 eval "$ac_cv_use_fontdlg"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10094 fi
10095
10096 if test "$wxUSE_FONTDLG" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10099 else
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10102 fi
10103
10104
10105 enablestring=
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10108 no_cache=0
10109 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10110 if test "${enable_dirdlg+set}" = set; then
10111 enableval="$enable_dirdlg"
10112
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10115 else
10116 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10117 fi
10118
10119 else
10120
10121 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x ; then
10123 eval "DEFAULT_$LINE"
10124 else
10125 no_cache=1
10126 fi
10127
10128 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10129
10130 fi;
10131
10132 eval "$ac_cv_use_dirdlg"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10135 fi
10136
10137 if test "$wxUSE_DIRDLG" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10140 else
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10143 fi
10144
10145
10146 enablestring=
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10149 no_cache=0
10150 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10151 if test "${enable_msgdlg+set}" = set; then
10152 enableval="$enable_msgdlg"
10153
10154 if test "$enableval" = yes; then
10155 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10156 else
10157 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10158 fi
10159
10160 else
10161
10162 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x ; then
10164 eval "DEFAULT_$LINE"
10165 else
10166 no_cache=1
10167 fi
10168
10169 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10170
10171 fi;
10172
10173 eval "$ac_cv_use_msgdlg"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10176 fi
10177
10178 if test "$wxUSE_MSGDLG" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10181 else
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10184 fi
10185
10186
10187 enablestring=
10188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10190 no_cache=0
10191 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10192 if test "${enable_numberdlg+set}" = set; then
10193 enableval="$enable_numberdlg"
10194
10195 if test "$enableval" = yes; then
10196 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10197 else
10198 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10199 fi
10200
10201 else
10202
10203 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10204 if test "x$LINE" != x ; then
10205 eval "DEFAULT_$LINE"
10206 else
10207 no_cache=1
10208 fi
10209
10210 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10211
10212 fi;
10213
10214 eval "$ac_cv_use_numberdlg"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10217 fi
10218
10219 if test "$wxUSE_NUMBERDLG" = yes; then
10220 echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6
10222 else
10223 echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6
10225 fi
10226
10227
10228 enablestring=
10229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10231 no_cache=0
10232 # Check whether --enable-splash or --disable-splash was given.
10233 if test "${enable_splash+set}" = set; then
10234 enableval="$enable_splash"
10235
10236 if test "$enableval" = yes; then
10237 ac_cv_use_splash='wxUSE_SPLASH=yes'
10238 else
10239 ac_cv_use_splash='wxUSE_SPLASH=no'
10240 fi
10241
10242 else
10243
10244 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x ; then
10246 eval "DEFAULT_$LINE"
10247 else
10248 no_cache=1
10249 fi
10250
10251 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10252
10253 fi;
10254
10255 eval "$ac_cv_use_splash"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10258 fi
10259
10260 if test "$wxUSE_SPLASH" = yes; then
10261 echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6
10263 else
10264 echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6
10266 fi
10267
10268
10269 enablestring=
10270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10272 no_cache=0
10273 # Check whether --enable-textdlg or --disable-textdlg was given.
10274 if test "${enable_textdlg+set}" = set; then
10275 enableval="$enable_textdlg"
10276
10277 if test "$enableval" = yes; then
10278 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10279 else
10280 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10281 fi
10282
10283 else
10284
10285 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10286 if test "x$LINE" != x ; then
10287 eval "DEFAULT_$LINE"
10288 else
10289 no_cache=1
10290 fi
10291
10292 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10293
10294 fi;
10295
10296 eval "$ac_cv_use_textdlg"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10299 fi
10300
10301 if test "$wxUSE_TEXTDLG" = yes; then
10302 echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6
10304 else
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10307 fi
10308
10309
10310 enablestring=
10311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10313 no_cache=0
10314 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10315 if test "${enable_tipdlg+set}" = set; then
10316 enableval="$enable_tipdlg"
10317
10318 if test "$enableval" = yes; then
10319 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10320 else
10321 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10322 fi
10323
10324 else
10325
10326 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10327 if test "x$LINE" != x ; then
10328 eval "DEFAULT_$LINE"
10329 else
10330 no_cache=1
10331 fi
10332
10333 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10334
10335 fi;
10336
10337 eval "$ac_cv_use_tipdlg"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10340 fi
10341
10342 if test "$wxUSE_STARTUP_TIPS" = yes; then
10343 echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6
10345 else
10346 echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6
10348 fi
10349
10350
10351 enablestring=
10352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10354 no_cache=0
10355 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10356 if test "${enable_progressdlg+set}" = set; then
10357 enableval="$enable_progressdlg"
10358
10359 if test "$enableval" = yes; then
10360 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10361 else
10362 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10363 fi
10364
10365 else
10366
10367 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10368 if test "x$LINE" != x ; then
10369 eval "DEFAULT_$LINE"
10370 else
10371 no_cache=1
10372 fi
10373
10374 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10375
10376 fi;
10377
10378 eval "$ac_cv_use_progressdlg"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10381 fi
10382
10383 if test "$wxUSE_PROGRESSDLG" = yes; then
10384 echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6
10386 else
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10389 fi
10390
10391
10392 enablestring=
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10395 no_cache=0
10396 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10397 if test "${enable_wizarddlg+set}" = set; then
10398 enableval="$enable_wizarddlg"
10399
10400 if test "$enableval" = yes; then
10401 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10402 else
10403 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10404 fi
10405
10406 else
10407
10408 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x ; then
10410 eval "DEFAULT_$LINE"
10411 else
10412 no_cache=1
10413 fi
10414
10415 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10416
10417 fi;
10418
10419 eval "$ac_cv_use_wizarddlg"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_WIZARDDLG" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10427 else
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10430 fi
10431
10432
10433
10434
10435 enablestring=
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10438 no_cache=0
10439 # Check whether --enable-menus or --disable-menus was given.
10440 if test "${enable_menus+set}" = set; then
10441 enableval="$enable_menus"
10442
10443 if test "$enableval" = yes; then
10444 ac_cv_use_menus='wxUSE_MENUS=yes'
10445 else
10446 ac_cv_use_menus='wxUSE_MENUS=no'
10447 fi
10448
10449 else
10450
10451 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x ; then
10453 eval "DEFAULT_$LINE"
10454 else
10455 no_cache=1
10456 fi
10457
10458 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10459
10460 fi;
10461
10462 eval "$ac_cv_use_menus"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10465 fi
10466
10467 if test "$wxUSE_MENUS" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10470 else
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10473 fi
10474
10475
10476 enablestring=
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10479 no_cache=0
10480 # Check whether --enable-miniframe or --disable-miniframe was given.
10481 if test "${enable_miniframe+set}" = set; then
10482 enableval="$enable_miniframe"
10483
10484 if test "$enableval" = yes; then
10485 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10486 else
10487 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10488 fi
10489
10490 else
10491
10492 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10495 else
10496 no_cache=1
10497 fi
10498
10499 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10500
10501 fi;
10502
10503 eval "$ac_cv_use_miniframe"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10506 fi
10507
10508 if test "$wxUSE_MINIFRAME" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10511 else
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10514 fi
10515
10516
10517 enablestring=
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10520 no_cache=0
10521 # Check whether --enable-tooltips or --disable-tooltips was given.
10522 if test "${enable_tooltips+set}" = set; then
10523 enableval="$enable_tooltips"
10524
10525 if test "$enableval" = yes; then
10526 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10527 else
10528 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10529 fi
10530
10531 else
10532
10533 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x ; then
10535 eval "DEFAULT_$LINE"
10536 else
10537 no_cache=1
10538 fi
10539
10540 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10541
10542 fi;
10543
10544 eval "$ac_cv_use_tooltips"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10547 fi
10548
10549 if test "$wxUSE_TOOLTIPS" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10552 else
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10555 fi
10556
10557
10558 enablestring=
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10561 no_cache=0
10562 # Check whether --enable-splines or --disable-splines was given.
10563 if test "${enable_splines+set}" = set; then
10564 enableval="$enable_splines"
10565
10566 if test "$enableval" = yes; then
10567 ac_cv_use_splines='wxUSE_SPLINES=yes'
10568 else
10569 ac_cv_use_splines='wxUSE_SPLINES=no'
10570 fi
10571
10572 else
10573
10574 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x ; then
10576 eval "DEFAULT_$LINE"
10577 else
10578 no_cache=1
10579 fi
10580
10581 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10582
10583 fi;
10584
10585 eval "$ac_cv_use_splines"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10588 fi
10589
10590 if test "$wxUSE_SPLINES" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10593 else
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10596 fi
10597
10598
10599 enablestring=
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10602 no_cache=0
10603 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10604 if test "${enable_mousewheel+set}" = set; then
10605 enableval="$enable_mousewheel"
10606
10607 if test "$enableval" = yes; then
10608 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10609 else
10610 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10611 fi
10612
10613 else
10614
10615 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x ; then
10617 eval "DEFAULT_$LINE"
10618 else
10619 no_cache=1
10620 fi
10621
10622 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10623
10624 fi;
10625
10626 eval "$ac_cv_use_mousewheel"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10629 fi
10630
10631 if test "$wxUSE_MOUSEWHEEL" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10634 else
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10637 fi
10638
10639
10640 enablestring=
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10643 no_cache=0
10644 # Check whether --enable-validators or --disable-validators was given.
10645 if test "${enable_validators+set}" = set; then
10646 enableval="$enable_validators"
10647
10648 if test "$enableval" = yes; then
10649 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10650 else
10651 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10652 fi
10653
10654 else
10655
10656 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x ; then
10658 eval "DEFAULT_$LINE"
10659 else
10660 no_cache=1
10661 fi
10662
10663 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10664
10665 fi;
10666
10667 eval "$ac_cv_use_validators"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10670 fi
10671
10672 if test "$wxUSE_VALIDATORS" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10675 else
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10678 fi
10679
10680
10681 enablestring=
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10684 no_cache=0
10685 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10686 if test "${enable_busyinfo+set}" = set; then
10687 enableval="$enable_busyinfo"
10688
10689 if test "$enableval" = yes; then
10690 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10691 else
10692 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10693 fi
10694
10695 else
10696
10697 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x ; then
10699 eval "DEFAULT_$LINE"
10700 else
10701 no_cache=1
10702 fi
10703
10704 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10705
10706 fi;
10707
10708 eval "$ac_cv_use_busyinfo"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10711 fi
10712
10713 if test "$wxUSE_BUSYINFO" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10716 else
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10719 fi
10720
10721
10722 enablestring=
10723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10725 no_cache=0
10726 # Check whether --enable-joystick or --disable-joystick was given.
10727 if test "${enable_joystick+set}" = set; then
10728 enableval="$enable_joystick"
10729
10730 if test "$enableval" = yes; then
10731 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10732 else
10733 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10734 fi
10735
10736 else
10737
10738 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10741 else
10742 no_cache=1
10743 fi
10744
10745 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10746
10747 fi;
10748
10749 eval "$ac_cv_use_joystick"
10750 if test "$no_cache" != 1; then
10751 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10752 fi
10753
10754 if test "$wxUSE_JOYSTICK" = yes; then
10755 echo "$as_me:$LINENO: result: yes" >&5
10756 echo "${ECHO_T}yes" >&6
10757 else
10758 echo "$as_me:$LINENO: result: no" >&5
10759 echo "${ECHO_T}no" >&6
10760 fi
10761
10762
10763 enablestring=
10764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10765 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10766 no_cache=0
10767 # Check whether --enable-metafile or --disable-metafile was given.
10768 if test "${enable_metafile+set}" = set; then
10769 enableval="$enable_metafile"
10770
10771 if test "$enableval" = yes; then
10772 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10773 else
10774 ac_cv_use_metafile='wxUSE_METAFILE=no'
10775 fi
10776
10777 else
10778
10779 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10780 if test "x$LINE" != x ; then
10781 eval "DEFAULT_$LINE"
10782 else
10783 no_cache=1
10784 fi
10785
10786 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10787
10788 fi;
10789
10790 eval "$ac_cv_use_metafile"
10791 if test "$no_cache" != 1; then
10792 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10793 fi
10794
10795 if test "$wxUSE_METAFILE" = yes; then
10796 echo "$as_me:$LINENO: result: yes" >&5
10797 echo "${ECHO_T}yes" >&6
10798 else
10799 echo "$as_me:$LINENO: result: no" >&5
10800 echo "${ECHO_T}no" >&6
10801 fi
10802
10803
10804 enablestring=
10805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10807 no_cache=0
10808 # Check whether --enable-dragimage or --disable-dragimage was given.
10809 if test "${enable_dragimage+set}" = set; then
10810 enableval="$enable_dragimage"
10811
10812 if test "$enableval" = yes; then
10813 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10814 else
10815 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10816 fi
10817
10818 else
10819
10820 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10821 if test "x$LINE" != x ; then
10822 eval "DEFAULT_$LINE"
10823 else
10824 no_cache=1
10825 fi
10826
10827 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10828
10829 fi;
10830
10831 eval "$ac_cv_use_dragimage"
10832 if test "$no_cache" != 1; then
10833 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10834 fi
10835
10836 if test "$wxUSE_DRAGIMAGE" = yes; then
10837 echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10839 else
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10842 fi
10843
10844
10845 enablestring=
10846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10848 no_cache=0
10849 # Check whether --enable-accessibility or --disable-accessibility was given.
10850 if test "${enable_accessibility+set}" = set; then
10851 enableval="$enable_accessibility"
10852
10853 if test "$enableval" = yes; then
10854 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10855 else
10856 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10857 fi
10858
10859 else
10860
10861 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10862 if test "x$LINE" != x ; then
10863 eval "DEFAULT_$LINE"
10864 else
10865 no_cache=1
10866 fi
10867
10868 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10869
10870 fi;
10871
10872 eval "$ac_cv_use_accessibility"
10873 if test "$no_cache" != 1; then
10874 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10875 fi
10876
10877 if test "$wxUSE_ACCESSIBILITY" = yes; then
10878 echo "$as_me:$LINENO: result: yes" >&5
10879 echo "${ECHO_T}yes" >&6
10880 else
10881 echo "$as_me:$LINENO: result: no" >&5
10882 echo "${ECHO_T}no" >&6
10883 fi
10884
10885
10886 if test "$wxUSE_MSW" = "1"; then
10887
10888 enablestring=
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10891 no_cache=0
10892 # Check whether --enable-dccache or --disable-dccache was given.
10893 if test "${enable_dccache+set}" = set; then
10894 enableval="$enable_dccache"
10895
10896 if test "$enableval" = yes; then
10897 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10898 else
10899 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10900 fi
10901
10902 else
10903
10904 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x ; then
10906 eval "DEFAULT_$LINE"
10907 else
10908 no_cache=1
10909 fi
10910
10911 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10912
10913 fi;
10914
10915 eval "$ac_cv_use_dccache"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_DC_CACHEING" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10923 else
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10926 fi
10927
10928 fi
10929
10930
10931
10932 enablestring=
10933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10935 no_cache=0
10936 # Check whether --enable-palette or --disable-palette was given.
10937 if test "${enable_palette+set}" = set; then
10938 enableval="$enable_palette"
10939
10940 if test "$enableval" = yes; then
10941 ac_cv_use_palette='wxUSE_PALETTE=yes'
10942 else
10943 ac_cv_use_palette='wxUSE_PALETTE=no'
10944 fi
10945
10946 else
10947
10948 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10949 if test "x$LINE" != x ; then
10950 eval "DEFAULT_$LINE"
10951 else
10952 no_cache=1
10953 fi
10954
10955 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10956
10957 fi;
10958
10959 eval "$ac_cv_use_palette"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_PALETTE" = yes; then
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10967 else
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10970 fi
10971
10972
10973 enablestring=
10974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10976 no_cache=0
10977 # Check whether --enable-image or --disable-image was given.
10978 if test "${enable_image+set}" = set; then
10979 enableval="$enable_image"
10980
10981 if test "$enableval" = yes; then
10982 ac_cv_use_image='wxUSE_IMAGE=yes'
10983 else
10984 ac_cv_use_image='wxUSE_IMAGE=no'
10985 fi
10986
10987 else
10988
10989 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10990 if test "x$LINE" != x ; then
10991 eval "DEFAULT_$LINE"
10992 else
10993 no_cache=1
10994 fi
10995
10996 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10997
10998 fi;
10999
11000 eval "$ac_cv_use_image"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11003 fi
11004
11005 if test "$wxUSE_IMAGE" = yes; then
11006 echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6
11008 else
11009 echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6
11011 fi
11012
11013
11014 enablestring=
11015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11017 no_cache=0
11018 # Check whether --enable-gif or --disable-gif was given.
11019 if test "${enable_gif+set}" = set; then
11020 enableval="$enable_gif"
11021
11022 if test "$enableval" = yes; then
11023 ac_cv_use_gif='wxUSE_GIF=yes'
11024 else
11025 ac_cv_use_gif='wxUSE_GIF=no'
11026 fi
11027
11028 else
11029
11030 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11031 if test "x$LINE" != x ; then
11032 eval "DEFAULT_$LINE"
11033 else
11034 no_cache=1
11035 fi
11036
11037 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11038
11039 fi;
11040
11041 eval "$ac_cv_use_gif"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test "$wxUSE_GIF" = yes; then
11047 echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6
11049 else
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11052 fi
11053
11054
11055 enablestring=
11056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11058 no_cache=0
11059 # Check whether --enable-pcx or --disable-pcx was given.
11060 if test "${enable_pcx+set}" = set; then
11061 enableval="$enable_pcx"
11062
11063 if test "$enableval" = yes; then
11064 ac_cv_use_pcx='wxUSE_PCX=yes'
11065 else
11066 ac_cv_use_pcx='wxUSE_PCX=no'
11067 fi
11068
11069 else
11070
11071 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11072 if test "x$LINE" != x ; then
11073 eval "DEFAULT_$LINE"
11074 else
11075 no_cache=1
11076 fi
11077
11078 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11079
11080 fi;
11081
11082 eval "$ac_cv_use_pcx"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11085 fi
11086
11087 if test "$wxUSE_PCX" = yes; then
11088 echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6
11090 else
11091 echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6
11093 fi
11094
11095
11096 enablestring=
11097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11099 no_cache=0
11100 # Check whether --enable-iff or --disable-iff was given.
11101 if test "${enable_iff+set}" = set; then
11102 enableval="$enable_iff"
11103
11104 if test "$enableval" = yes; then
11105 ac_cv_use_iff='wxUSE_IFF=yes'
11106 else
11107 ac_cv_use_iff='wxUSE_IFF=no'
11108 fi
11109
11110 else
11111
11112 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11113 if test "x$LINE" != x ; then
11114 eval "DEFAULT_$LINE"
11115 else
11116 no_cache=1
11117 fi
11118
11119 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11120
11121 fi;
11122
11123 eval "$ac_cv_use_iff"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11126 fi
11127
11128 if test "$wxUSE_IFF" = yes; then
11129 echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6
11131 else
11132 echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6
11134 fi
11135
11136
11137 enablestring=
11138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11140 no_cache=0
11141 # Check whether --enable-pnm or --disable-pnm was given.
11142 if test "${enable_pnm+set}" = set; then
11143 enableval="$enable_pnm"
11144
11145 if test "$enableval" = yes; then
11146 ac_cv_use_pnm='wxUSE_PNM=yes'
11147 else
11148 ac_cv_use_pnm='wxUSE_PNM=no'
11149 fi
11150
11151 else
11152
11153 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11154 if test "x$LINE" != x ; then
11155 eval "DEFAULT_$LINE"
11156 else
11157 no_cache=1
11158 fi
11159
11160 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11161
11162 fi;
11163
11164 eval "$ac_cv_use_pnm"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11167 fi
11168
11169 if test "$wxUSE_PNM" = yes; then
11170 echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6
11172 else
11173 echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6
11175 fi
11176
11177
11178 enablestring=
11179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11181 no_cache=0
11182 # Check whether --enable-xpm or --disable-xpm was given.
11183 if test "${enable_xpm+set}" = set; then
11184 enableval="$enable_xpm"
11185
11186 if test "$enableval" = yes; then
11187 ac_cv_use_xpm='wxUSE_XPM=yes'
11188 else
11189 ac_cv_use_xpm='wxUSE_XPM=no'
11190 fi
11191
11192 else
11193
11194 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11195 if test "x$LINE" != x ; then
11196 eval "DEFAULT_$LINE"
11197 else
11198 no_cache=1
11199 fi
11200
11201 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11202
11203 fi;
11204
11205 eval "$ac_cv_use_xpm"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11208 fi
11209
11210 if test "$wxUSE_XPM" = yes; then
11211 echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6
11213 else
11214 echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6
11216 fi
11217
11218
11219 enablestring=
11220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11222 no_cache=0
11223 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11224 if test "${enable_ico_cur+set}" = set; then
11225 enableval="$enable_ico_cur"
11226
11227 if test "$enableval" = yes; then
11228 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11229 else
11230 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11231 fi
11232
11233 else
11234
11235 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11236 if test "x$LINE" != x ; then
11237 eval "DEFAULT_$LINE"
11238 else
11239 no_cache=1
11240 fi
11241
11242 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11243
11244 fi;
11245
11246 eval "$ac_cv_use_ico_cur"
11247 if test "$no_cache" != 1; then
11248 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11249 fi
11250
11251 if test "$wxUSE_ICO_CUR" = yes; then
11252 echo "$as_me:$LINENO: result: yes" >&5
11253 echo "${ECHO_T}yes" >&6
11254 else
11255 echo "$as_me:$LINENO: result: no" >&5
11256 echo "${ECHO_T}no" >&6
11257 fi
11258
11259
11260 fi
11261
11262
11263
11264 # Check whether --with-flavour or --without-flavour was given.
11265 if test "${with_flavour+set}" = set; then
11266 withval="$with_flavour"
11267 WX_FLAVOUR="$withval"
11268 fi;
11269
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-official_build or --disable-official_build was given.
11277 if test "${enable_official_build+set}" = set; then
11278 enableval="$enable_official_build"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11282 else
11283 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11296
11297 fi;
11298
11299 eval "$ac_cv_use_official_build"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312 # Check whether --enable-vendor or --disable-vendor was given.
11313 if test "${enable_vendor+set}" = set; then
11314 enableval="$enable_vendor"
11315 VENDOR="$enableval"
11316 fi;
11317 if test "x$VENDOR" = "x"; then
11318 VENDOR="custom"
11319 fi
11320
11321
11322
11323
11324 echo "saving argument cache $wx_arg_cache_file"
11325 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11326
11327
11328
11329 echo "$as_me:$LINENO: checking for toolkit" >&5
11330 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11331
11332 # In Wine, we need to default to MSW, not GTK or MOTIF
11333 if test "$wxUSE_WINE" = "yes"; then
11334 DEFAULT_DEFAULT_wxUSE_GTK=0
11335 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11336 DEFAULT_DEFAULT_wxUSE_MSW=1
11337 wxUSE_SHARED=no
11338 fi
11339
11340
11341 if test "$wxUSE_GUI" = "yes"; then
11342
11343 if test "$USE_BEOS" = 1; then
11344 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11345 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11346 { (exit 1); exit 1; }; }
11347 fi
11348
11349 if test "$TOOLKIT_GIVEN" = 1; then
11350 for toolkit in `echo $ALL_TOOLKITS`; do
11351 var=wxUSE_$toolkit
11352 eval "value=\$${var}"
11353 if test "x$value" = "xno"; then
11354 eval "$var=0"
11355 elif test "x$value" != "x"; then
11356 eval "$var=1"
11357 fi
11358
11359 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11360 eval "wx${toolkit}_VERSION=$value"
11361 fi
11362 done
11363 else
11364 for toolkit in `echo $ALL_TOOLKITS`; do
11365 if test "$has_toolkit_in_cache" != 1; then
11366 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11367 else
11368 var=DEFAULT_wxUSE_$toolkit
11369
11370 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11371 if test "x$version" != "x"; then
11372 eval "wx${toolkit}_VERSION=$version"
11373 fi
11374 fi
11375 eval "wxUSE_$toolkit=\$${var}"
11376 done
11377 fi
11378
11379 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11380 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11381 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11382
11383 case "${host}" in
11384 *-pc-os2_emx | *-pc-os2-emx )
11385 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11386 esac
11387
11388 case "$NUM_TOOLKITS" in
11389 1)
11390 ;;
11391 0)
11392 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11393 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11394 { (exit 1); exit 1; }; }
11395 ;;
11396 *)
11397 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11398 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11399 { (exit 1); exit 1; }; }
11400 esac
11401
11402 # to be removed when --disable-gtk2 isn't needed
11403 if test "x$wxUSE_GTK2" = "xyes"; then
11404 wxGTK_VERSION=2
11405 elif test "x$wxUSE_GTK2" = "xno"; then
11406 wxGTK_VERSION=1
11407 fi
11408
11409 for toolkit in `echo $ALL_TOOLKITS`; do
11410 var=wxUSE_$toolkit
11411 eval "value=\$${var}"
11412 if test "x$value" != x; then
11413 cache_var=CACHE_$toolkit
11414 eval "cache=\$${cache_var}"
11415 if test "$cache" = 1; then
11416 echo "$var=$value" >> ${wx_arg_cache_file}
11417 eval "version=\$wx${toolkit}_VERSION"
11418 if test "x$version" != "x"; then
11419 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11420 fi
11421 fi
11422 if test "$value" = 1; then
11423 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11424 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11425 echo "${ECHO_T}$toolkit_echo" >&6
11426 fi
11427 fi
11428 done
11429 else
11430 if test "x$host_alias" != "x"; then
11431 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11432 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11433 else
11434 echo "$as_me:$LINENO: result: base only" >&5
11435 echo "${ECHO_T}base only" >&6
11436 fi
11437 fi
11438
11439 wants_win32=0
11440 doesnt_want_win32=0
11441 case "${host}" in
11442 *-*-cygwin*)
11443 if test "$wxUSE_MSW" = 1 ; then
11444 wants_win32=1
11445 BAKEFILE_FORCE_PLATFORM=win32
11446 else
11447 doesnt_want_win32=1
11448 fi
11449 ;;
11450 *-*-mingw*)
11451 wants_win32=1
11452 ;;
11453 esac
11454
11455 if test "$wxUSE_WINE" = "yes"; then
11456 wants_win32=1
11457 CC=winegcc
11458 CXX=wineg++
11459 LDFLAGS_GUI="-mwindows"
11460 fi
11461
11462 if test "$wants_win32" = 1 ; then
11463 USE_UNIX=0
11464 USE_WIN32=1
11465 cat >>confdefs.h <<\_ACEOF
11466 #define __WIN32__ 1
11467 _ACEOF
11468
11469 cat >>confdefs.h <<\_ACEOF
11470 #define __WIN95__ 1
11471 _ACEOF
11472
11473 cat >>confdefs.h <<\_ACEOF
11474 #define __WINDOWS__ 1
11475 _ACEOF
11476
11477 cat >>confdefs.h <<\_ACEOF
11478 #define __GNUWIN32__ 1
11479 _ACEOF
11480
11481 cat >>confdefs.h <<\_ACEOF
11482 #define STRICT 1
11483 _ACEOF
11484
11485 cat >>confdefs.h <<\_ACEOF
11486 #define WINVER 0x0400
11487 _ACEOF
11488
11489 fi
11490 if test "$doesnt_want_win32" = 1 ; then
11491 USE_UNIX=1
11492 USE_WIN32=0
11493 fi
11494
11495 if test "$USE_UNIX" = 1 ; then
11496 wxUSE_UNIX=yes
11497 cat >>confdefs.h <<\_ACEOF
11498 #define __UNIX__ 1
11499 _ACEOF
11500
11501 fi
11502
11503
11504 cat >confcache <<\_ACEOF
11505 # This file is a shell script that caches the results of configure
11506 # tests run on this system so they can be shared between configure
11507 # scripts and configure runs, see configure's option --config-cache.
11508 # It is not useful on other systems. If it contains results you don't
11509 # want to keep, you may remove or edit it.
11510 #
11511 # config.status only pays attention to the cache file if you give it
11512 # the --recheck option to rerun configure.
11513 #
11514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11516 # following values.
11517
11518 _ACEOF
11519
11520 # The following way of writing the cache mishandles newlines in values,
11521 # but we know of no workaround that is simple, portable, and efficient.
11522 # So, don't put newlines in cache variables' values.
11523 # Ultrix sh set writes to stderr and can't be redirected directly,
11524 # and sets the high bit in the cache file unless we assign to the vars.
11525 {
11526 (set) 2>&1 |
11527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11528 *ac_space=\ *)
11529 # `set' does not quote correctly, so add quotes (double-quote
11530 # substitution turns \\\\ into \\, and sed turns \\ into \).
11531 sed -n \
11532 "s/'/'\\\\''/g;
11533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11534 ;;
11535 *)
11536 # `set' quotes correctly as required by POSIX, so do not add quotes.
11537 sed -n \
11538 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11539 ;;
11540 esac;
11541 } |
11542 sed '
11543 t clear
11544 : clear
11545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11546 t end
11547 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11548 : end' >>confcache
11549 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11550 if test -w $cache_file; then
11551 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11552 cat confcache >$cache_file
11553 else
11554 echo "not updating unwritable cache $cache_file"
11555 fi
11556 fi
11557 rm -f confcache
11558
11559 CFLAGS=${CFLAGS:=}
11560
11561
11562
11563 ac_ext=c
11564 ac_cpp='$CPP $CPPFLAGS'
11565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11568 if test -n "$ac_tool_prefix"; then
11569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11571 echo "$as_me:$LINENO: checking for $ac_word" >&5
11572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11573 if test "${ac_cv_prog_CC+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 else
11576 if test -n "$CC"; then
11577 ac_cv_prog_CC="$CC" # Let the user override the test.
11578 else
11579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11580 for as_dir in $PATH
11581 do
11582 IFS=$as_save_IFS
11583 test -z "$as_dir" && as_dir=.
11584 for ac_exec_ext in '' $ac_executable_extensions; do
11585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11588 break 2
11589 fi
11590 done
11591 done
11592
11593 fi
11594 fi
11595 CC=$ac_cv_prog_CC
11596 if test -n "$CC"; then
11597 echo "$as_me:$LINENO: result: $CC" >&5
11598 echo "${ECHO_T}$CC" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604 fi
11605 if test -z "$ac_cv_prog_CC"; then
11606 ac_ct_CC=$CC
11607 # Extract the first word of "gcc", so it can be a program name with args.
11608 set dummy gcc; ac_word=$2
11609 echo "$as_me:$LINENO: checking for $ac_word" >&5
11610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 else
11614 if test -n "$ac_ct_CC"; then
11615 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11616 else
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11619 do
11620 IFS=$as_save_IFS
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_prog_ac_ct_CC="gcc"
11625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11626 break 2
11627 fi
11628 done
11629 done
11630
11631 fi
11632 fi
11633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11634 if test -n "$ac_ct_CC"; then
11635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11636 echo "${ECHO_T}$ac_ct_CC" >&6
11637 else
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11640 fi
11641
11642 CC=$ac_ct_CC
11643 else
11644 CC="$ac_cv_prog_CC"
11645 fi
11646
11647 if test -z "$CC"; then
11648 if test -n "$ac_tool_prefix"; then
11649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11650 set dummy ${ac_tool_prefix}cc; ac_word=$2
11651 echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 if test "${ac_cv_prog_CC+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11655 else
11656 if test -n "$CC"; then
11657 ac_cv_prog_CC="$CC" # Let the user override the test.
11658 else
11659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11660 for as_dir in $PATH
11661 do
11662 IFS=$as_save_IFS
11663 test -z "$as_dir" && as_dir=.
11664 for ac_exec_ext in '' $ac_executable_extensions; do
11665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_CC="${ac_tool_prefix}cc"
11667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11668 break 2
11669 fi
11670 done
11671 done
11672
11673 fi
11674 fi
11675 CC=$ac_cv_prog_CC
11676 if test -n "$CC"; then
11677 echo "$as_me:$LINENO: result: $CC" >&5
11678 echo "${ECHO_T}$CC" >&6
11679 else
11680 echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6
11682 fi
11683
11684 fi
11685 if test -z "$ac_cv_prog_CC"; then
11686 ac_ct_CC=$CC
11687 # Extract the first word of "cc", so it can be a program name with args.
11688 set dummy cc; ac_word=$2
11689 echo "$as_me:$LINENO: checking for $ac_word" >&5
11690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 else
11694 if test -n "$ac_ct_CC"; then
11695 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11696 else
11697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11699 do
11700 IFS=$as_save_IFS
11701 test -z "$as_dir" && as_dir=.
11702 for ac_exec_ext in '' $ac_executable_extensions; do
11703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11704 ac_cv_prog_ac_ct_CC="cc"
11705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11706 break 2
11707 fi
11708 done
11709 done
11710
11711 fi
11712 fi
11713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11714 if test -n "$ac_ct_CC"; then
11715 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11716 echo "${ECHO_T}$ac_ct_CC" >&6
11717 else
11718 echo "$as_me:$LINENO: result: no" >&5
11719 echo "${ECHO_T}no" >&6
11720 fi
11721
11722 CC=$ac_ct_CC
11723 else
11724 CC="$ac_cv_prog_CC"
11725 fi
11726
11727 fi
11728 if test -z "$CC"; then
11729 # Extract the first word of "cc", so it can be a program name with args.
11730 set dummy cc; ac_word=$2
11731 echo "$as_me:$LINENO: checking for $ac_word" >&5
11732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11733 if test "${ac_cv_prog_CC+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 else
11736 if test -n "$CC"; then
11737 ac_cv_prog_CC="$CC" # Let the user override the test.
11738 else
11739 ac_prog_rejected=no
11740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741 for as_dir in $PATH
11742 do
11743 IFS=$as_save_IFS
11744 test -z "$as_dir" && as_dir=.
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11748 ac_prog_rejected=yes
11749 continue
11750 fi
11751 ac_cv_prog_CC="cc"
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 break 2
11754 fi
11755 done
11756 done
11757
11758 if test $ac_prog_rejected = yes; then
11759 # We found a bogon in the path, so make sure we never use it.
11760 set dummy $ac_cv_prog_CC
11761 shift
11762 if test $# != 0; then
11763 # We chose a different compiler from the bogus one.
11764 # However, it has the same basename, so the bogon will be chosen
11765 # first if we set CC to just the basename; use the full file name.
11766 shift
11767 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11768 fi
11769 fi
11770 fi
11771 fi
11772 CC=$ac_cv_prog_CC
11773 if test -n "$CC"; then
11774 echo "$as_me:$LINENO: result: $CC" >&5
11775 echo "${ECHO_T}$CC" >&6
11776 else
11777 echo "$as_me:$LINENO: result: no" >&5
11778 echo "${ECHO_T}no" >&6
11779 fi
11780
11781 fi
11782 if test -z "$CC"; then
11783 if test -n "$ac_tool_prefix"; then
11784 for ac_prog in cl
11785 do
11786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11788 echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11790 if test "${ac_cv_prog_CC+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else
11793 if test -n "$CC"; then
11794 ac_cv_prog_CC="$CC" # Let the user override the test.
11795 else
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11798 do
11799 IFS=$as_save_IFS
11800 test -z "$as_dir" && as_dir=.
11801 for ac_exec_ext in '' $ac_executable_extensions; do
11802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11803 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11805 break 2
11806 fi
11807 done
11808 done
11809
11810 fi
11811 fi
11812 CC=$ac_cv_prog_CC
11813 if test -n "$CC"; then
11814 echo "$as_me:$LINENO: result: $CC" >&5
11815 echo "${ECHO_T}$CC" >&6
11816 else
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11819 fi
11820
11821 test -n "$CC" && break
11822 done
11823 fi
11824 if test -z "$CC"; then
11825 ac_ct_CC=$CC
11826 for ac_prog in cl
11827 do
11828 # Extract the first word of "$ac_prog", so it can be a program name with args.
11829 set dummy $ac_prog; ac_word=$2
11830 echo "$as_me:$LINENO: checking for $ac_word" >&5
11831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 else
11835 if test -n "$ac_ct_CC"; then
11836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11837 else
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11840 do
11841 IFS=$as_save_IFS
11842 test -z "$as_dir" && as_dir=.
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_ac_ct_CC="$ac_prog"
11846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11847 break 2
11848 fi
11849 done
11850 done
11851
11852 fi
11853 fi
11854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11855 if test -n "$ac_ct_CC"; then
11856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11857 echo "${ECHO_T}$ac_ct_CC" >&6
11858 else
11859 echo "$as_me:$LINENO: result: no" >&5
11860 echo "${ECHO_T}no" >&6
11861 fi
11862
11863 test -n "$ac_ct_CC" && break
11864 done
11865
11866 CC=$ac_ct_CC
11867 fi
11868
11869 fi
11870
11871
11872 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11873 See \`config.log' for more details." >&5
11874 echo "$as_me: error: no acceptable C compiler found in \$PATH
11875 See \`config.log' for more details." >&2;}
11876 { (exit 1); exit 1; }; }
11877
11878 # Provide some information about the compiler.
11879 echo "$as_me:$LINENO:" \
11880 "checking for C compiler version" >&5
11881 ac_compiler=`set X $ac_compile; echo $2`
11882 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11883 (eval $ac_compiler --version </dev/null >&5) 2>&5
11884 ac_status=$?
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }
11887 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11888 (eval $ac_compiler -v </dev/null >&5) 2>&5
11889 ac_status=$?
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }
11892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11893 (eval $ac_compiler -V </dev/null >&5) 2>&5
11894 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }
11897
11898 cat >conftest.$ac_ext <<_ACEOF
11899 /* confdefs.h. */
11900 _ACEOF
11901 cat confdefs.h >>conftest.$ac_ext
11902 cat >>conftest.$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11904
11905 int
11906 main ()
11907 {
11908
11909 ;
11910 return 0;
11911 }
11912 _ACEOF
11913 ac_clean_files_save=$ac_clean_files
11914 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11915 # Try to create an executable without -o first, disregard a.out.
11916 # It will help us diagnose broken compilers, and finding out an intuition
11917 # of exeext.
11918 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11919 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11920 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11922 (eval $ac_link_default) 2>&5
11923 ac_status=$?
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; then
11926 # Find the output, starting from the most likely. This scheme is
11927 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11928 # resort.
11929
11930 # Be careful to initialize this variable, since it used to be cached.
11931 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11932 ac_cv_exeext=
11933 # b.out is created by i960 compilers.
11934 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11935 do
11936 test -f "$ac_file" || continue
11937 case $ac_file in
11938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11939 ;;
11940 conftest.$ac_ext )
11941 # This is the source file.
11942 ;;
11943 [ab].out )
11944 # We found the default executable, but exeext='' is most
11945 # certainly right.
11946 break;;
11947 *.* )
11948 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11949 # FIXME: I believe we export ac_cv_exeext for Libtool,
11950 # but it would be cool to find out if it's true. Does anybody
11951 # maintain Libtool? --akim.
11952 export ac_cv_exeext
11953 break;;
11954 * )
11955 break;;
11956 esac
11957 done
11958 else
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11961
11962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11963 See \`config.log' for more details." >&5
11964 echo "$as_me: error: C compiler cannot create executables
11965 See \`config.log' for more details." >&2;}
11966 { (exit 77); exit 77; }; }
11967 fi
11968
11969 ac_exeext=$ac_cv_exeext
11970 echo "$as_me:$LINENO: result: $ac_file" >&5
11971 echo "${ECHO_T}$ac_file" >&6
11972
11973 # Check the compiler produces executables we can run. If not, either
11974 # the compiler is broken, or we cross compile.
11975 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11976 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11977 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11978 # If not cross compiling, check that we can run a simple program.
11979 if test "$cross_compiling" != yes; then
11980 if { ac_try='./$ac_file'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 cross_compiling=no
11987 else
11988 if test "$cross_compiling" = maybe; then
11989 cross_compiling=yes
11990 else
11991 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11992 If you meant to cross compile, use \`--host'.
11993 See \`config.log' for more details." >&5
11994 echo "$as_me: error: cannot run C compiled programs.
11995 If you meant to cross compile, use \`--host'.
11996 See \`config.log' for more details." >&2;}
11997 { (exit 1); exit 1; }; }
11998 fi
11999 fi
12000 fi
12001 echo "$as_me:$LINENO: result: yes" >&5
12002 echo "${ECHO_T}yes" >&6
12003
12004 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12005 ac_clean_files=$ac_clean_files_save
12006 # Check the compiler produces executables we can run. If not, either
12007 # the compiler is broken, or we cross compile.
12008 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12009 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12010 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12011 echo "${ECHO_T}$cross_compiling" >&6
12012
12013 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12014 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12016 (eval $ac_link) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; then
12020 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12021 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12022 # work properly (i.e., refer to `conftest.exe'), while it won't with
12023 # `rm'.
12024 for ac_file in conftest.exe conftest conftest.*; do
12025 test -f "$ac_file" || continue
12026 case $ac_file in
12027 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12028 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12029 export ac_cv_exeext
12030 break;;
12031 * ) break;;
12032 esac
12033 done
12034 else
12035 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12040 fi
12041
12042 rm -f conftest$ac_cv_exeext
12043 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12044 echo "${ECHO_T}$ac_cv_exeext" >&6
12045
12046 rm -f conftest.$ac_ext
12047 EXEEXT=$ac_cv_exeext
12048 ac_exeext=$EXEEXT
12049 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12050 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12051 if test "${ac_cv_objext+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054 cat >conftest.$ac_ext <<_ACEOF
12055 /* confdefs.h. */
12056 _ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060
12061 int
12062 main ()
12063 {
12064
12065 ;
12066 return 0;
12067 }
12068 _ACEOF
12069 rm -f conftest.o conftest.obj
12070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12071 (eval $ac_compile) 2>&5
12072 ac_status=$?
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; then
12075 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12076 case $ac_file in
12077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12078 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12079 break;;
12080 esac
12081 done
12082 else
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.$ac_ext >&5
12085
12086 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12087 See \`config.log' for more details." >&5
12088 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12089 See \`config.log' for more details." >&2;}
12090 { (exit 1); exit 1; }; }
12091 fi
12092
12093 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12094 fi
12095 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12096 echo "${ECHO_T}$ac_cv_objext" >&6
12097 OBJEXT=$ac_cv_objext
12098 ac_objext=$OBJEXT
12099 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12100 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12101 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 else
12104 cat >conftest.$ac_ext <<_ACEOF
12105 /* confdefs.h. */
12106 _ACEOF
12107 cat confdefs.h >>conftest.$ac_ext
12108 cat >>conftest.$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12110
12111 int
12112 main ()
12113 {
12114 #ifndef __GNUC__
12115 choke me
12116 #endif
12117
12118 ;
12119 return 0;
12120 }
12121 _ACEOF
12122 rm -f conftest.$ac_objext
12123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12124 (eval $ac_compile) 2>conftest.er1
12125 ac_status=$?
12126 grep -v '^ *+' conftest.er1 >conftest.err
12127 rm -f conftest.er1
12128 cat conftest.err >&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; } &&
12137 { ac_try='test -s conftest.$ac_objext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12140 ac_status=$?
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_compiler_gnu=yes
12144 else
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12147
12148 ac_compiler_gnu=no
12149 fi
12150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12152
12153 fi
12154 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12155 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12156 GCC=`test $ac_compiler_gnu = yes && echo yes`
12157 ac_test_CFLAGS=${CFLAGS+set}
12158 ac_save_CFLAGS=$CFLAGS
12159 CFLAGS="-g"
12160 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12161 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12162 if test "${ac_cv_prog_cc_g+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 else
12165 cat >conftest.$ac_ext <<_ACEOF
12166 /* confdefs.h. */
12167 _ACEOF
12168 cat confdefs.h >>conftest.$ac_ext
12169 cat >>conftest.$ac_ext <<_ACEOF
12170 /* end confdefs.h. */
12171
12172 int
12173 main ()
12174 {
12175
12176 ;
12177 return 0;
12178 }
12179 _ACEOF
12180 rm -f conftest.$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>conftest.er1
12183 ac_status=$?
12184 grep -v '^ *+' conftest.er1 >conftest.err
12185 rm -f conftest.er1
12186 cat conftest.err >&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12192 ac_status=$?
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; } &&
12195 { ac_try='test -s conftest.$ac_objext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12198 ac_status=$?
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_cv_prog_cc_g=yes
12202 else
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.$ac_ext >&5
12205
12206 ac_cv_prog_cc_g=no
12207 fi
12208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12209 fi
12210 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12211 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12212 if test "$ac_test_CFLAGS" = set; then
12213 CFLAGS=$ac_save_CFLAGS
12214 elif test $ac_cv_prog_cc_g = yes; then
12215 if test "$GCC" = yes; then
12216 CFLAGS="-g -O2"
12217 else
12218 CFLAGS="-g"
12219 fi
12220 else
12221 if test "$GCC" = yes; then
12222 CFLAGS="-O2"
12223 else
12224 CFLAGS=
12225 fi
12226 fi
12227 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12228 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12229 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 else
12232 ac_cv_prog_cc_stdc=no
12233 ac_save_CC=$CC
12234 cat >conftest.$ac_ext <<_ACEOF
12235 /* confdefs.h. */
12236 _ACEOF
12237 cat confdefs.h >>conftest.$ac_ext
12238 cat >>conftest.$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12240 #include <stdarg.h>
12241 #include <stdio.h>
12242 #include <sys/types.h>
12243 #include <sys/stat.h>
12244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12245 struct buf { int x; };
12246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12247 static char *e (p, i)
12248 char **p;
12249 int i;
12250 {
12251 return p[i];
12252 }
12253 static char *f (char * (*g) (char **, int), char **p, ...)
12254 {
12255 char *s;
12256 va_list v;
12257 va_start (v,p);
12258 s = g (p, va_arg (v,int));
12259 va_end (v);
12260 return s;
12261 }
12262
12263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12264 function prototypes and stuff, but not '\xHH' hex character constants.
12265 These don't provoke an error unfortunately, instead are silently treated
12266 as 'x'. The following induces an error, until -std1 is added to get
12267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12268 array size at least. It's necessary to write '\x00'==0 to get something
12269 that's true only with -std1. */
12270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12271
12272 int test (int i, double x);
12273 struct s1 {int (*f) (int a);};
12274 struct s2 {int (*f) (double a);};
12275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12276 int argc;
12277 char **argv;
12278 int
12279 main ()
12280 {
12281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12282 ;
12283 return 0;
12284 }
12285 _ACEOF
12286 # Don't try gcc -ansi; that turns off useful extensions and
12287 # breaks some systems' header files.
12288 # AIX -qlanglvl=ansi
12289 # Ultrix and OSF/1 -std1
12290 # HP-UX 10.20 and later -Ae
12291 # HP-UX older versions -Aa -D_HPUX_SOURCE
12292 # SVR4 -Xc -D__EXTENSIONS__
12293 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12294 do
12295 CC="$ac_save_CC $ac_arg"
12296 rm -f conftest.$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12299 ac_status=$?
12300 grep -v '^ *+' conftest.er1 >conftest.err
12301 rm -f conftest.er1
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12308 ac_status=$?
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest.$ac_objext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_prog_cc_stdc=$ac_arg
12318 break
12319 else
12320 echo "$as_me: failed program was:" >&5
12321 sed 's/^/| /' conftest.$ac_ext >&5
12322
12323 fi
12324 rm -f conftest.err conftest.$ac_objext
12325 done
12326 rm -f conftest.$ac_ext conftest.$ac_objext
12327 CC=$ac_save_CC
12328
12329 fi
12330
12331 case "x$ac_cv_prog_cc_stdc" in
12332 x|xno)
12333 echo "$as_me:$LINENO: result: none needed" >&5
12334 echo "${ECHO_T}none needed" >&6 ;;
12335 *)
12336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12338 CC="$CC $ac_cv_prog_cc_stdc" ;;
12339 esac
12340
12341 # Some people use a C++ compiler to compile C. Since we use `exit',
12342 # in C++ we need to declare it. In case someone uses the same compiler
12343 # for both compiling C and C++ we need to have the C++ compiler decide
12344 # the declaration of exit, since it's the most demanding environment.
12345 cat >conftest.$ac_ext <<_ACEOF
12346 #ifndef __cplusplus
12347 choke me
12348 #endif
12349 _ACEOF
12350 rm -f conftest.$ac_objext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12352 (eval $ac_compile) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try='test -s conftest.$ac_objext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12368 ac_status=$?
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 for ac_declaration in \
12372 '' \
12373 'extern "C" void std::exit (int) throw (); using std::exit;' \
12374 'extern "C" void std::exit (int); using std::exit;' \
12375 'extern "C" void exit (int) throw ();' \
12376 'extern "C" void exit (int);' \
12377 'void exit (int);'
12378 do
12379 cat >conftest.$ac_ext <<_ACEOF
12380 /* confdefs.h. */
12381 _ACEOF
12382 cat confdefs.h >>conftest.$ac_ext
12383 cat >>conftest.$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385 $ac_declaration
12386 #include <stdlib.h>
12387 int
12388 main ()
12389 {
12390 exit (42);
12391 ;
12392 return 0;
12393 }
12394 _ACEOF
12395 rm -f conftest.$ac_objext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12397 (eval $ac_compile) 2>conftest.er1
12398 ac_status=$?
12399 grep -v '^ *+' conftest.er1 >conftest.err
12400 rm -f conftest.er1
12401 cat conftest.err >&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 :
12417 else
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.$ac_ext >&5
12420
12421 continue
12422 fi
12423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12424 cat >conftest.$ac_ext <<_ACEOF
12425 /* confdefs.h. */
12426 _ACEOF
12427 cat confdefs.h >>conftest.$ac_ext
12428 cat >>conftest.$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12430 $ac_declaration
12431 int
12432 main ()
12433 {
12434 exit (42);
12435 ;
12436 return 0;
12437 }
12438 _ACEOF
12439 rm -f conftest.$ac_objext
12440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12441 (eval $ac_compile) 2>conftest.er1
12442 ac_status=$?
12443 grep -v '^ *+' conftest.er1 >conftest.err
12444 rm -f conftest.er1
12445 cat conftest.err >&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } &&
12448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12451 ac_status=$?
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try='test -s conftest.$ac_objext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12457 ac_status=$?
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12460 break
12461 else
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12464
12465 fi
12466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12467 done
12468 rm -f conftest*
12469 if test -n "$ac_declaration"; then
12470 echo '#ifdef __cplusplus' >>confdefs.h
12471 echo $ac_declaration >>confdefs.h
12472 echo '#endif' >>confdefs.h
12473 fi
12474
12475 else
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12478
12479 fi
12480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12481 ac_ext=c
12482 ac_cpp='$CPP $CPPFLAGS'
12483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12486
12487
12488
12489 ac_ext=c
12490 ac_cpp='$CPP $CPPFLAGS'
12491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12494
12495 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12496 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12497 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 else
12500 cat >conftest.$ac_ext <<_ACEOF
12501 /* confdefs.h. */
12502 _ACEOF
12503 cat confdefs.h >>conftest.$ac_ext
12504 cat >>conftest.$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12506
12507 int
12508 main ()
12509 {
12510
12511 #ifndef __INTEL_COMPILER
12512 choke me
12513 #endif
12514
12515 ;
12516 return 0;
12517 }
12518 _ACEOF
12519 rm -f conftest.$ac_objext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>conftest.er1
12522 ac_status=$?
12523 grep -v '^ *+' conftest.er1 >conftest.err
12524 rm -f conftest.er1
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12531 ac_status=$?
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try='test -s conftest.$ac_objext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12541 else
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.$ac_ext >&5
12544
12545 bakefile_cv_c_compiler___INTEL_COMPILER=no
12546
12547 fi
12548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12549
12550
12551 fi
12552 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12553 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12554 ac_ext=c
12555 ac_cpp='$CPP $CPPFLAGS'
12556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12559
12560 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12561 :; INTELCC=yes
12562 else
12563 :;
12564 fi
12565
12566
12567 if test "x$GCC" != "xyes"; then
12568 if test "xCC" = "xC"; then
12569 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12570 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12571 if test "${bakefile_cv_c_exto+set}" = set; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 else
12574 cat >conftest.$ac_ext <<_ACEOF
12575 /* confdefs.h. */
12576 _ACEOF
12577 cat confdefs.h >>conftest.$ac_ext
12578 cat >>conftest.$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12580
12581 int
12582 main ()
12583 {
12584
12585 ;
12586 return 0;
12587 }
12588 _ACEOF
12589 rm -f conftest.$ac_objext conftest.$ac_ext.o
12590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12591 (eval $ac_compile) 2>&5
12592 ac_status=$?
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; then
12595 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12596 case $ac_file in
12597 conftest.$ac_ext.o)
12598 bakefile_cv_c_exto="-ext o"
12599 ;;
12600 *)
12601 ;;
12602 esac
12603 done
12604 else
12605 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12606 See \`config.log' for more details." >&5
12607 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12608 See \`config.log' for more details." >&2;}
12609 { (exit 1); exit 1; }; }
12610
12611 fi
12612
12613 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12614
12615 fi
12616 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12617 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12618 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12619 if test "c" = "c"; then
12620 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12621 fi
12622 if test "c" = "cxx"; then
12623 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12624 fi
12625 fi
12626
12627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12628 unset ac_cv_prog_cc_g
12629 ac_test_CFLAGS=${CFLAGS+set}
12630 ac_save_CFLAGS=$CFLAGS
12631 CFLAGS="-g"
12632 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12633 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12634 if test "${ac_cv_prog_cc_g+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 else
12637 cat >conftest.$ac_ext <<_ACEOF
12638 /* confdefs.h. */
12639 _ACEOF
12640 cat confdefs.h >>conftest.$ac_ext
12641 cat >>conftest.$ac_ext <<_ACEOF
12642 /* end confdefs.h. */
12643
12644 int
12645 main ()
12646 {
12647
12648 ;
12649 return 0;
12650 }
12651 _ACEOF
12652 rm -f conftest.$ac_objext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>conftest.er1
12655 ac_status=$?
12656 grep -v '^ *+' conftest.er1 >conftest.err
12657 rm -f conftest.er1
12658 cat conftest.err >&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); } &&
12661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try='test -s conftest.$ac_objext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12670 ac_status=$?
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 ac_cv_prog_cc_g=yes
12674 else
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.$ac_ext >&5
12677
12678 ac_cv_prog_cc_g=no
12679 fi
12680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12681 fi
12682 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12683 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12684 if test "$ac_test_CFLAGS" = set; then
12685 CFLAGS=$ac_save_CFLAGS
12686 elif test $ac_cv_prog_cc_g = yes; then
12687 if test "$GCC" = yes; then
12688 CFLAGS="-g -O2"
12689 else
12690 CFLAGS="-g"
12691 fi
12692 else
12693 if test "$GCC" = yes; then
12694 CFLAGS="-O2"
12695 else
12696 CFLAGS=
12697 fi
12698 fi
12699 fi
12700 fi
12701
12702 case `uname -s` in
12703 AIX*)
12704 ac_ext=c
12705 ac_cpp='$CPP $CPPFLAGS'
12706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12709
12710 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12711 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12712 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 else
12715 cat >conftest.$ac_ext <<_ACEOF
12716 /* confdefs.h. */
12717 _ACEOF
12718 cat confdefs.h >>conftest.$ac_ext
12719 cat >>conftest.$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12721
12722 int
12723 main ()
12724 {
12725 #ifndef __xlC__
12726 choke me
12727 #endif
12728
12729 ;
12730 return 0;
12731 }
12732 _ACEOF
12733 rm -f conftest.$ac_objext
12734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12735 (eval $ac_compile) 2>conftest.er1
12736 ac_status=$?
12737 grep -v '^ *+' conftest.er1 >conftest.err
12738 rm -f conftest.er1
12739 cat conftest.err >&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } &&
12742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12745 ac_status=$?
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try='test -s conftest.$ac_objext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12751 ac_status=$?
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12754 bakefile_compiler_xlc=yes
12755 else
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.$ac_ext >&5
12758
12759 bakefile_compiler_xlc=no
12760 fi
12761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12762 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12763
12764 fi
12765 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12766 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12767
12768 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12769 ac_ext=c
12770 ac_cpp='$CPP $CPPFLAGS'
12771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12774
12775
12776 ;;
12777
12778 Darwin)
12779 ac_ext=c
12780 ac_cpp='$CPP $CPPFLAGS'
12781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12784
12785 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12786 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12787 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 else
12790 cat >conftest.$ac_ext <<_ACEOF
12791 /* confdefs.h. */
12792 _ACEOF
12793 cat confdefs.h >>conftest.$ac_ext
12794 cat >>conftest.$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796
12797 int
12798 main ()
12799 {
12800 #ifndef __MWERKS__
12801 choke me
12802 #endif
12803
12804 ;
12805 return 0;
12806 }
12807 _ACEOF
12808 rm -f conftest.$ac_objext
12809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12810 (eval $ac_compile) 2>conftest.er1
12811 ac_status=$?
12812 grep -v '^ *+' conftest.er1 >conftest.err
12813 rm -f conftest.er1
12814 cat conftest.err >&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12820 ac_status=$?
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; } &&
12823 { ac_try='test -s conftest.$ac_objext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12826 ac_status=$?
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 bakefile_compiler_mwerks=yes
12830 else
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12833
12834 bakefile_compiler_mwerks=no
12835 fi
12836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12837 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12838
12839 fi
12840 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12841 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12842
12843 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12844 ac_ext=c
12845 ac_cpp='$CPP $CPPFLAGS'
12846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12849
12850
12851 ac_ext=c
12852 ac_cpp='$CPP $CPPFLAGS'
12853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12856
12857 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12858 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12859 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12861 else
12862 cat >conftest.$ac_ext <<_ACEOF
12863 /* confdefs.h. */
12864 _ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868
12869 int
12870 main ()
12871 {
12872 #ifndef __xlC__
12873 choke me
12874 #endif
12875
12876 ;
12877 return 0;
12878 }
12879 _ACEOF
12880 rm -f conftest.$ac_objext
12881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12882 (eval $ac_compile) 2>conftest.er1
12883 ac_status=$?
12884 grep -v '^ *+' conftest.er1 >conftest.err
12885 rm -f conftest.er1
12886 cat conftest.err >&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); } &&
12889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12892 ac_status=$?
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; } &&
12895 { ac_try='test -s conftest.$ac_objext'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12898 ac_status=$?
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; }; then
12901 bakefile_compiler_xlc=yes
12902 else
12903 echo "$as_me: failed program was:" >&5
12904 sed 's/^/| /' conftest.$ac_ext >&5
12905
12906 bakefile_compiler_xlc=no
12907 fi
12908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12909 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12910
12911 fi
12912 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12913 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12914
12915 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12916 ac_ext=c
12917 ac_cpp='$CPP $CPPFLAGS'
12918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12921
12922
12923 ;;
12924
12925 IRIX*)
12926
12927
12928 ac_ext=c
12929 ac_cpp='$CPP $CPPFLAGS'
12930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12933
12934 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12935 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12936 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 else
12939 cat >conftest.$ac_ext <<_ACEOF
12940 /* confdefs.h. */
12941 _ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945
12946 int
12947 main ()
12948 {
12949
12950 #ifndef _SGI_COMPILER_VERSION
12951 choke me
12952 #endif
12953
12954 ;
12955 return 0;
12956 }
12957 _ACEOF
12958 rm -f conftest.$ac_objext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12960 (eval $ac_compile) 2>conftest.er1
12961 ac_status=$?
12962 grep -v '^ *+' conftest.er1 >conftest.err
12963 rm -f conftest.er1
12964 cat conftest.err >&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12970 ac_status=$?
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try='test -s conftest.$ac_objext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12976 ac_status=$?
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12980 else
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12983
12984 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12985
12986 fi
12987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12988
12989
12990 fi
12991 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12992 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12993 ac_ext=c
12994 ac_cpp='$CPP $CPPFLAGS'
12995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12998
12999 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13000 :; SGICC=yes
13001 else
13002 :;
13003 fi
13004
13005
13006 ;;
13007
13008 HP-UX*)
13009
13010
13011 ac_ext=c
13012 ac_cpp='$CPP $CPPFLAGS'
13013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13016
13017 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13018 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13019 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022 cat >conftest.$ac_ext <<_ACEOF
13023 /* confdefs.h. */
13024 _ACEOF
13025 cat confdefs.h >>conftest.$ac_ext
13026 cat >>conftest.$ac_ext <<_ACEOF
13027 /* end confdefs.h. */
13028
13029 int
13030 main ()
13031 {
13032
13033 #ifndef __HP_cc
13034 choke me
13035 #endif
13036
13037 ;
13038 return 0;
13039 }
13040 _ACEOF
13041 rm -f conftest.$ac_objext
13042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13043 (eval $ac_compile) 2>conftest.er1
13044 ac_status=$?
13045 grep -v '^ *+' conftest.er1 >conftest.err
13046 rm -f conftest.er1
13047 cat conftest.err >&5
13048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 (exit $ac_status); } &&
13050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052 (eval $ac_try) 2>&5
13053 ac_status=$?
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; } &&
13056 { ac_try='test -s conftest.$ac_objext'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13059 ac_status=$?
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; }; then
13062 bakefile_cv_c_compiler___HP_cc=yes
13063 else
13064 echo "$as_me: failed program was:" >&5
13065 sed 's/^/| /' conftest.$ac_ext >&5
13066
13067 bakefile_cv_c_compiler___HP_cc=no
13068
13069 fi
13070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13071
13072
13073 fi
13074 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13075 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13076 ac_ext=c
13077 ac_cpp='$CPP $CPPFLAGS'
13078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13081
13082 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13083 :; HPCC=yes
13084 else
13085 :;
13086 fi
13087
13088
13089 ;;
13090
13091 OSF1)
13092
13093
13094 ac_ext=c
13095 ac_cpp='$CPP $CPPFLAGS'
13096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13099
13100 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13101 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13102 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 else
13105 cat >conftest.$ac_ext <<_ACEOF
13106 /* confdefs.h. */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111
13112 int
13113 main ()
13114 {
13115
13116 #ifndef __DECC
13117 choke me
13118 #endif
13119
13120 ;
13121 return 0;
13122 }
13123 _ACEOF
13124 rm -f conftest.$ac_objext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126 (eval $ac_compile) 2>conftest.er1
13127 ac_status=$?
13128 grep -v '^ *+' conftest.er1 >conftest.err
13129 rm -f conftest.er1
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } &&
13133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13136 ac_status=$?
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; } &&
13139 { ac_try='test -s conftest.$ac_objext'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13142 ac_status=$?
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; }; then
13145 bakefile_cv_c_compiler___DECC=yes
13146 else
13147 echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.$ac_ext >&5
13149
13150 bakefile_cv_c_compiler___DECC=no
13151
13152 fi
13153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13154
13155
13156 fi
13157 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13158 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13159 ac_ext=c
13160 ac_cpp='$CPP $CPPFLAGS'
13161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13164
13165 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13166 :; COMPAQCC=yes
13167 else
13168 :;
13169 fi
13170
13171
13172 ;;
13173
13174 SunOS)
13175
13176
13177 ac_ext=c
13178 ac_cpp='$CPP $CPPFLAGS'
13179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13182
13183 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13184 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13185 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 else
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194
13195 int
13196 main ()
13197 {
13198
13199 #ifndef __SUNPRO_C
13200 choke me
13201 #endif
13202
13203 ;
13204 return 0;
13205 }
13206 _ACEOF
13207 rm -f conftest.$ac_objext
13208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13209 (eval $ac_compile) 2>conftest.er1
13210 ac_status=$?
13211 grep -v '^ *+' conftest.er1 >conftest.err
13212 rm -f conftest.er1
13213 cat conftest.err >&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); } &&
13216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13219 ac_status=$?
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; } &&
13222 { ac_try='test -s conftest.$ac_objext'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 bakefile_cv_c_compiler___SUNPRO_C=yes
13229 else
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13232
13233 bakefile_cv_c_compiler___SUNPRO_C=no
13234
13235 fi
13236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13237
13238
13239 fi
13240 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13241 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13242 ac_ext=c
13243 ac_cpp='$CPP $CPPFLAGS'
13244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13247
13248 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13249 :; SUNCC=yes
13250 else
13251 :;
13252 fi
13253
13254
13255 ;;
13256 esac
13257 fi
13258
13259
13260
13261 ac_ext=c
13262 ac_cpp='$CPP $CPPFLAGS'
13263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13266 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13267 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13268 # On Suns, sometimes $CPP names a directory.
13269 if test -n "$CPP" && test -d "$CPP"; then
13270 CPP=
13271 fi
13272 if test -z "$CPP"; then
13273 if test "${ac_cv_prog_CPP+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 else
13276 # Double quotes because CPP needs to be expanded
13277 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13278 do
13279 ac_preproc_ok=false
13280 for ac_c_preproc_warn_flag in '' yes
13281 do
13282 # Use a header file that comes with gcc, so configuring glibc
13283 # with a fresh cross-compiler works.
13284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13285 # <limits.h> exists even on freestanding compilers.
13286 # On the NeXT, cc -E runs the code through the compiler's parser,
13287 # not just through cpp. "Syntax error" is here to catch this case.
13288 cat >conftest.$ac_ext <<_ACEOF
13289 /* confdefs.h. */
13290 _ACEOF
13291 cat confdefs.h >>conftest.$ac_ext
13292 cat >>conftest.$ac_ext <<_ACEOF
13293 /* end confdefs.h. */
13294 #ifdef __STDC__
13295 # include <limits.h>
13296 #else
13297 # include <assert.h>
13298 #endif
13299 Syntax error
13300 _ACEOF
13301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev/null; then
13309 if test -s conftest.err; then
13310 ac_cpp_err=$ac_c_preproc_warn_flag
13311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13312 else
13313 ac_cpp_err=
13314 fi
13315 else
13316 ac_cpp_err=yes
13317 fi
13318 if test -z "$ac_cpp_err"; then
13319 :
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 # Broken: fails on valid input.
13325 continue
13326 fi
13327 rm -f conftest.err conftest.$ac_ext
13328
13329 # OK, works on sane cases. Now check whether non-existent headers
13330 # can be detected and how.
13331 cat >conftest.$ac_ext <<_ACEOF
13332 /* confdefs.h. */
13333 _ACEOF
13334 cat confdefs.h >>conftest.$ac_ext
13335 cat >>conftest.$ac_ext <<_ACEOF
13336 /* end confdefs.h. */
13337 #include <ac_nonexistent.h>
13338 _ACEOF
13339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13341 ac_status=$?
13342 grep -v '^ *+' conftest.er1 >conftest.err
13343 rm -f conftest.er1
13344 cat conftest.err >&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); } >/dev/null; then
13347 if test -s conftest.err; then
13348 ac_cpp_err=$ac_c_preproc_warn_flag
13349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13350 else
13351 ac_cpp_err=
13352 fi
13353 else
13354 ac_cpp_err=yes
13355 fi
13356 if test -z "$ac_cpp_err"; then
13357 # Broken: success on invalid input.
13358 continue
13359 else
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.$ac_ext >&5
13362
13363 # Passes both tests.
13364 ac_preproc_ok=:
13365 break
13366 fi
13367 rm -f conftest.err conftest.$ac_ext
13368
13369 done
13370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13371 rm -f conftest.err conftest.$ac_ext
13372 if $ac_preproc_ok; then
13373 break
13374 fi
13375
13376 done
13377 ac_cv_prog_CPP=$CPP
13378
13379 fi
13380 CPP=$ac_cv_prog_CPP
13381 else
13382 ac_cv_prog_CPP=$CPP
13383 fi
13384 echo "$as_me:$LINENO: result: $CPP" >&5
13385 echo "${ECHO_T}$CPP" >&6
13386 ac_preproc_ok=false
13387 for ac_c_preproc_warn_flag in '' yes
13388 do
13389 # Use a header file that comes with gcc, so configuring glibc
13390 # with a fresh cross-compiler works.
13391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13392 # <limits.h> exists even on freestanding compilers.
13393 # On the NeXT, cc -E runs the code through the compiler's parser,
13394 # not just through cpp. "Syntax error" is here to catch this case.
13395 cat >conftest.$ac_ext <<_ACEOF
13396 /* confdefs.h. */
13397 _ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 #ifdef __STDC__
13402 # include <limits.h>
13403 #else
13404 # include <assert.h>
13405 #endif
13406 Syntax error
13407 _ACEOF
13408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13409 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
13416 if test -s conftest.err; then
13417 ac_cpp_err=$ac_c_preproc_warn_flag
13418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13419 else
13420 ac_cpp_err=
13421 fi
13422 else
13423 ac_cpp_err=yes
13424 fi
13425 if test -z "$ac_cpp_err"; then
13426 :
13427 else
13428 echo "$as_me: failed program was:" >&5
13429 sed 's/^/| /' conftest.$ac_ext >&5
13430
13431 # Broken: fails on valid input.
13432 continue
13433 fi
13434 rm -f conftest.err conftest.$ac_ext
13435
13436 # OK, works on sane cases. Now check whether non-existent headers
13437 # can be detected and how.
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 #include <ac_nonexistent.h>
13445 _ACEOF
13446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } >/dev/null; then
13454 if test -s conftest.err; then
13455 ac_cpp_err=$ac_c_preproc_warn_flag
13456 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13457 else
13458 ac_cpp_err=
13459 fi
13460 else
13461 ac_cpp_err=yes
13462 fi
13463 if test -z "$ac_cpp_err"; then
13464 # Broken: success on invalid input.
13465 continue
13466 else
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13469
13470 # Passes both tests.
13471 ac_preproc_ok=:
13472 break
13473 fi
13474 rm -f conftest.err conftest.$ac_ext
13475
13476 done
13477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13478 rm -f conftest.err conftest.$ac_ext
13479 if $ac_preproc_ok; then
13480 :
13481 else
13482 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13483 See \`config.log' for more details." >&5
13484 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13485 See \`config.log' for more details." >&2;}
13486 { (exit 1); exit 1; }; }
13487 fi
13488
13489 ac_ext=c
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13494
13495
13496 echo "$as_me:$LINENO: checking for egrep" >&5
13497 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13498 if test "${ac_cv_prog_egrep+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 else
13501 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13502 then ac_cv_prog_egrep='grep -E'
13503 else ac_cv_prog_egrep='egrep'
13504 fi
13505 fi
13506 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13507 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13508 EGREP=$ac_cv_prog_egrep
13509
13510
13511 if test $ac_cv_c_compiler_gnu = yes; then
13512 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13513 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13514 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 else
13517 ac_pattern="Autoconf.*'x'"
13518 cat >conftest.$ac_ext <<_ACEOF
13519 /* confdefs.h. */
13520 _ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524 #include <sgtty.h>
13525 Autoconf TIOCGETP
13526 _ACEOF
13527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13528 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13529 ac_cv_prog_gcc_traditional=yes
13530 else
13531 ac_cv_prog_gcc_traditional=no
13532 fi
13533 rm -f conftest*
13534
13535
13536 if test $ac_cv_prog_gcc_traditional = no; then
13537 cat >conftest.$ac_ext <<_ACEOF
13538 /* confdefs.h. */
13539 _ACEOF
13540 cat confdefs.h >>conftest.$ac_ext
13541 cat >>conftest.$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13543 #include <termio.h>
13544 Autoconf TCGETA
13545 _ACEOF
13546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13547 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13548 ac_cv_prog_gcc_traditional=yes
13549 fi
13550 rm -f conftest*
13551
13552 fi
13553 fi
13554 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13555 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13556 if test $ac_cv_prog_gcc_traditional = yes; then
13557 CC="$CC -traditional"
13558 fi
13559 fi
13560
13561
13562 ac_ext=cc
13563 ac_cpp='$CXXCPP $CPPFLAGS'
13564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13567
13568
13569 CXXFLAGS=${CXXFLAGS:=}
13570
13571
13572
13573 ac_ext=cc
13574 ac_cpp='$CXXCPP $CPPFLAGS'
13575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13578 if test -n "$ac_tool_prefix"; then
13579 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13580 do
13581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13583 echo "$as_me:$LINENO: checking for $ac_word" >&5
13584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13585 if test "${ac_cv_prog_CXX+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 else
13588 if test -n "$CXX"; then
13589 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13590 else
13591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13592 for as_dir in $PATH
13593 do
13594 IFS=$as_save_IFS
13595 test -z "$as_dir" && as_dir=.
13596 for ac_exec_ext in '' $ac_executable_extensions; do
13597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13600 break 2
13601 fi
13602 done
13603 done
13604
13605 fi
13606 fi
13607 CXX=$ac_cv_prog_CXX
13608 if test -n "$CXX"; then
13609 echo "$as_me:$LINENO: result: $CXX" >&5
13610 echo "${ECHO_T}$CXX" >&6
13611 else
13612 echo "$as_me:$LINENO: result: no" >&5
13613 echo "${ECHO_T}no" >&6
13614 fi
13615
13616 test -n "$CXX" && break
13617 done
13618 fi
13619 if test -z "$CXX"; then
13620 ac_ct_CXX=$CXX
13621 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13622 do
13623 # Extract the first word of "$ac_prog", so it can be a program name with args.
13624 set dummy $ac_prog; ac_word=$2
13625 echo "$as_me:$LINENO: checking for $ac_word" >&5
13626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13627 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 else
13630 if test -n "$ac_ct_CXX"; then
13631 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13632 else
13633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13634 for as_dir in $PATH
13635 do
13636 IFS=$as_save_IFS
13637 test -z "$as_dir" && as_dir=.
13638 for ac_exec_ext in '' $ac_executable_extensions; do
13639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13640 ac_cv_prog_ac_ct_CXX="$ac_prog"
13641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13642 break 2
13643 fi
13644 done
13645 done
13646
13647 fi
13648 fi
13649 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13650 if test -n "$ac_ct_CXX"; then
13651 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13652 echo "${ECHO_T}$ac_ct_CXX" >&6
13653 else
13654 echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6
13656 fi
13657
13658 test -n "$ac_ct_CXX" && break
13659 done
13660 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13661
13662 CXX=$ac_ct_CXX
13663 fi
13664
13665
13666 # Provide some information about the compiler.
13667 echo "$as_me:$LINENO:" \
13668 "checking for C++ compiler version" >&5
13669 ac_compiler=`set X $ac_compile; echo $2`
13670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13671 (eval $ac_compiler --version </dev/null >&5) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }
13675 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13676 (eval $ac_compiler -v </dev/null >&5) 2>&5
13677 ac_status=$?
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }
13680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13681 (eval $ac_compiler -V </dev/null >&5) 2>&5
13682 ac_status=$?
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }
13685
13686 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13687 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13688 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13689 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 else
13691 cat >conftest.$ac_ext <<_ACEOF
13692 /* confdefs.h. */
13693 _ACEOF
13694 cat confdefs.h >>conftest.$ac_ext
13695 cat >>conftest.$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13697
13698 int
13699 main ()
13700 {
13701 #ifndef __GNUC__
13702 choke me
13703 #endif
13704
13705 ;
13706 return 0;
13707 }
13708 _ACEOF
13709 rm -f conftest.$ac_objext
13710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13711 (eval $ac_compile) 2>conftest.er1
13712 ac_status=$?
13713 grep -v '^ *+' conftest.er1 >conftest.err
13714 rm -f conftest.er1
13715 cat conftest.err >&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13727 ac_status=$?
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ac_compiler_gnu=yes
13731 else
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13734
13735 ac_compiler_gnu=no
13736 fi
13737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13738 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13739
13740 fi
13741 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13742 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13743 GXX=`test $ac_compiler_gnu = yes && echo yes`
13744 ac_test_CXXFLAGS=${CXXFLAGS+set}
13745 ac_save_CXXFLAGS=$CXXFLAGS
13746 CXXFLAGS="-g"
13747 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13748 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13749 if test "${ac_cv_prog_cxx_g+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 else
13752 cat >conftest.$ac_ext <<_ACEOF
13753 /* confdefs.h. */
13754 _ACEOF
13755 cat confdefs.h >>conftest.$ac_ext
13756 cat >>conftest.$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13758
13759 int
13760 main ()
13761 {
13762
13763 ;
13764 return 0;
13765 }
13766 _ACEOF
13767 rm -f conftest.$ac_objext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13769 (eval $ac_compile) 2>conftest.er1
13770 ac_status=$?
13771 grep -v '^ *+' conftest.er1 >conftest.err
13772 rm -f conftest.er1
13773 cat conftest.err >&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_prog_cxx_g=yes
13789 else
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13792
13793 ac_cv_prog_cxx_g=no
13794 fi
13795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13796 fi
13797 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13798 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13799 if test "$ac_test_CXXFLAGS" = set; then
13800 CXXFLAGS=$ac_save_CXXFLAGS
13801 elif test $ac_cv_prog_cxx_g = yes; then
13802 if test "$GXX" = yes; then
13803 CXXFLAGS="-g -O2"
13804 else
13805 CXXFLAGS="-g"
13806 fi
13807 else
13808 if test "$GXX" = yes; then
13809 CXXFLAGS="-O2"
13810 else
13811 CXXFLAGS=
13812 fi
13813 fi
13814 for ac_declaration in \
13815 '' \
13816 'extern "C" void std::exit (int) throw (); using std::exit;' \
13817 'extern "C" void std::exit (int); using std::exit;' \
13818 'extern "C" void exit (int) throw ();' \
13819 'extern "C" void exit (int);' \
13820 'void exit (int);'
13821 do
13822 cat >conftest.$ac_ext <<_ACEOF
13823 /* confdefs.h. */
13824 _ACEOF
13825 cat confdefs.h >>conftest.$ac_ext
13826 cat >>conftest.$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13828 $ac_declaration
13829 #include <stdlib.h>
13830 int
13831 main ()
13832 {
13833 exit (42);
13834 ;
13835 return 0;
13836 }
13837 _ACEOF
13838 rm -f conftest.$ac_objext
13839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13840 (eval $ac_compile) 2>conftest.er1
13841 ac_status=$?
13842 grep -v '^ *+' conftest.er1 >conftest.err
13843 rm -f conftest.er1
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13850 ac_status=$?
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; } &&
13853 { ac_try='test -s conftest.$ac_objext'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13856 ac_status=$?
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; }; then
13859 :
13860 else
13861 echo "$as_me: failed program was:" >&5
13862 sed 's/^/| /' conftest.$ac_ext >&5
13863
13864 continue
13865 fi
13866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13867 cat >conftest.$ac_ext <<_ACEOF
13868 /* confdefs.h. */
13869 _ACEOF
13870 cat confdefs.h >>conftest.$ac_ext
13871 cat >>conftest.$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13873 $ac_declaration
13874 int
13875 main ()
13876 {
13877 exit (42);
13878 ;
13879 return 0;
13880 }
13881 _ACEOF
13882 rm -f conftest.$ac_objext
13883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13884 (eval $ac_compile) 2>conftest.er1
13885 ac_status=$?
13886 grep -v '^ *+' conftest.er1 >conftest.err
13887 rm -f conftest.er1
13888 cat conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13894 ac_status=$?
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; } &&
13897 { ac_try='test -s conftest.$ac_objext'
13898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13899 (eval $ac_try) 2>&5
13900 ac_status=$?
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); }; }; then
13903 break
13904 else
13905 echo "$as_me: failed program was:" >&5
13906 sed 's/^/| /' conftest.$ac_ext >&5
13907
13908 fi
13909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13910 done
13911 rm -f conftest*
13912 if test -n "$ac_declaration"; then
13913 echo '#ifdef __cplusplus' >>confdefs.h
13914 echo $ac_declaration >>confdefs.h
13915 echo '#endif' >>confdefs.h
13916 fi
13917
13918 ac_ext=cc
13919 ac_cpp='$CXXCPP $CPPFLAGS'
13920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13923
13924
13925
13926 ac_ext=cc
13927 ac_cpp='$CXXCPP $CPPFLAGS'
13928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13931
13932 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13933 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13934 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 else
13937 cat >conftest.$ac_ext <<_ACEOF
13938 /* confdefs.h. */
13939 _ACEOF
13940 cat confdefs.h >>conftest.$ac_ext
13941 cat >>conftest.$ac_ext <<_ACEOF
13942 /* end confdefs.h. */
13943
13944 int
13945 main ()
13946 {
13947
13948 #ifndef __INTEL_COMPILER
13949 choke me
13950 #endif
13951
13952 ;
13953 return 0;
13954 }
13955 _ACEOF
13956 rm -f conftest.$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>conftest.er1
13959 ac_status=$?
13960 grep -v '^ *+' conftest.er1 >conftest.err
13961 rm -f conftest.er1
13962 cat conftest.err >&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13968 ac_status=$?
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; } &&
13971 { ac_try='test -s conftest.$ac_objext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13974 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13978 else
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.$ac_ext >&5
13981
13982 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13983
13984 fi
13985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13986
13987
13988 fi
13989 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13990 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13991 ac_ext=cc
13992 ac_cpp='$CXXCPP $CPPFLAGS'
13993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13996
13997 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13998 :; INTELCXX=yes
13999 else
14000 :;
14001 fi
14002
14003
14004 if test "x$GCXX" != "xyes"; then
14005 if test "xCXX" = "xC"; then
14006 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14007 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14008 if test "${bakefile_cv_cxx_exto+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 else
14011 cat >conftest.$ac_ext <<_ACEOF
14012 /* confdefs.h. */
14013 _ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017
14018 int
14019 main ()
14020 {
14021
14022 ;
14023 return 0;
14024 }
14025 _ACEOF
14026 rm -f conftest.$ac_objext conftest.$ac_ext.o
14027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14028 (eval $ac_compile) 2>&5
14029 ac_status=$?
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; then
14032 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14033 case $ac_file in
14034 conftest.$ac_ext.o)
14035 bakefile_cv_cxx_exto="-ext o"
14036 ;;
14037 *)
14038 ;;
14039 esac
14040 done
14041 else
14042 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14043 See \`config.log' for more details." >&5
14044 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14045 See \`config.log' for more details." >&2;}
14046 { (exit 1); exit 1; }; }
14047
14048 fi
14049
14050 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14051
14052 fi
14053 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14054 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14055 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14056 if test "cxx" = "c"; then
14057 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14058 fi
14059 if test "cxx" = "cxx"; then
14060 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14061 fi
14062 fi
14063
14064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14065 unset ac_cv_prog_cc_g
14066 ac_test_CFLAGS=${CFLAGS+set}
14067 ac_save_CFLAGS=$CFLAGS
14068 CFLAGS="-g"
14069 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14070 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14071 if test "${ac_cv_prog_cc_g+set}" = set; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 else
14074 cat >conftest.$ac_ext <<_ACEOF
14075 /* confdefs.h. */
14076 _ACEOF
14077 cat confdefs.h >>conftest.$ac_ext
14078 cat >>conftest.$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14080
14081 int
14082 main ()
14083 {
14084
14085 ;
14086 return 0;
14087 }
14088 _ACEOF
14089 rm -f conftest.$ac_objext
14090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14091 (eval $ac_compile) 2>conftest.er1
14092 ac_status=$?
14093 grep -v '^ *+' conftest.er1 >conftest.err
14094 rm -f conftest.er1
14095 cat conftest.err >&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14101 ac_status=$?
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; } &&
14104 { ac_try='test -s conftest.$ac_objext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14107 ac_status=$?
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14110 ac_cv_prog_cc_g=yes
14111 else
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.$ac_ext >&5
14114
14115 ac_cv_prog_cc_g=no
14116 fi
14117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14118 fi
14119 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14120 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14121 if test "$ac_test_CFLAGS" = set; then
14122 CFLAGS=$ac_save_CFLAGS
14123 elif test $ac_cv_prog_cc_g = yes; then
14124 if test "$GCC" = yes; then
14125 CFLAGS="-g -O2"
14126 else
14127 CFLAGS="-g"
14128 fi
14129 else
14130 if test "$GCC" = yes; then
14131 CFLAGS="-O2"
14132 else
14133 CFLAGS=
14134 fi
14135 fi
14136 fi
14137 fi
14138
14139 case `uname -s` in
14140 AIX*)
14141 ac_ext=cc
14142 ac_cpp='$CXXCPP $CPPFLAGS'
14143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14146
14147 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14148 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14149 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14151 else
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h. */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158
14159 int
14160 main ()
14161 {
14162 #ifndef __xlC__
14163 choke me
14164 #endif
14165
14166 ;
14167 return 0;
14168 }
14169 _ACEOF
14170 rm -f conftest.$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14173 ac_status=$?
14174 grep -v '^ *+' conftest.er1 >conftest.err
14175 rm -f conftest.er1
14176 cat conftest.err >&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14188 ac_status=$?
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 bakefile_compiler_xlc=yes
14192 else
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14195
14196 bakefile_compiler_xlc=no
14197 fi
14198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14199 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14200
14201 fi
14202 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14203 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14204
14205 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14206 ac_ext=cc
14207 ac_cpp='$CXXCPP $CPPFLAGS'
14208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14211
14212
14213 ;;
14214
14215 Darwin)
14216 ac_ext=cc
14217 ac_cpp='$CXXCPP $CPPFLAGS'
14218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14221
14222 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14223 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14224 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 else
14227 cat >conftest.$ac_ext <<_ACEOF
14228 /* confdefs.h. */
14229 _ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233
14234 int
14235 main ()
14236 {
14237 #ifndef __MWERKS__
14238 choke me
14239 #endif
14240
14241 ;
14242 return 0;
14243 }
14244 _ACEOF
14245 rm -f conftest.$ac_objext
14246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14247 (eval $ac_compile) 2>conftest.er1
14248 ac_status=$?
14249 grep -v '^ *+' conftest.er1 >conftest.err
14250 rm -f conftest.er1
14251 cat conftest.err >&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); } &&
14254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14257 ac_status=$?
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; } &&
14260 { ac_try='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14263 ac_status=$?
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14266 bakefile_compiler_mwerks=yes
14267 else
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.$ac_ext >&5
14270
14271 bakefile_compiler_mwerks=no
14272 fi
14273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14274 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14275
14276 fi
14277 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14278 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14279
14280 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14281 ac_ext=cc
14282 ac_cpp='$CXXCPP $CPPFLAGS'
14283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14286
14287
14288 ac_ext=cc
14289 ac_cpp='$CXXCPP $CPPFLAGS'
14290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14293
14294 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14295 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14296 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299 cat >conftest.$ac_ext <<_ACEOF
14300 /* confdefs.h. */
14301 _ACEOF
14302 cat confdefs.h >>conftest.$ac_ext
14303 cat >>conftest.$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305
14306 int
14307 main ()
14308 {
14309 #ifndef __xlC__
14310 choke me
14311 #endif
14312
14313 ;
14314 return 0;
14315 }
14316 _ACEOF
14317 rm -f conftest.$ac_objext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>conftest.er1
14320 ac_status=$?
14321 grep -v '^ *+' conftest.er1 >conftest.err
14322 rm -f conftest.er1
14323 cat conftest.err >&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } &&
14326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14328 (eval $ac_try) 2>&5
14329 ac_status=$?
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }; } &&
14332 { ac_try='test -s conftest.$ac_objext'
14333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; }; then
14338 bakefile_compiler_xlc=yes
14339 else
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.$ac_ext >&5
14342
14343 bakefile_compiler_xlc=no
14344 fi
14345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14346 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14347
14348 fi
14349 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14350 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14351
14352 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14353 ac_ext=cc
14354 ac_cpp='$CXXCPP $CPPFLAGS'
14355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14358
14359
14360 ;;
14361
14362 IRIX*)
14363
14364
14365 ac_ext=cc
14366 ac_cpp='$CXXCPP $CPPFLAGS'
14367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14370
14371 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14372 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14373 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 else
14376 cat >conftest.$ac_ext <<_ACEOF
14377 /* confdefs.h. */
14378 _ACEOF
14379 cat confdefs.h >>conftest.$ac_ext
14380 cat >>conftest.$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382
14383 int
14384 main ()
14385 {
14386
14387 #ifndef _SGI_COMPILER_VERSION
14388 choke me
14389 #endif
14390
14391 ;
14392 return 0;
14393 }
14394 _ACEOF
14395 rm -f conftest.$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14398 ac_status=$?
14399 grep -v '^ *+' conftest.er1 >conftest.err
14400 rm -f conftest.er1
14401 cat conftest.err >&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14407 ac_status=$?
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14417 else
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.$ac_ext >&5
14420
14421 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14422
14423 fi
14424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14425
14426
14427 fi
14428 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14429 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14430 ac_ext=cc
14431 ac_cpp='$CXXCPP $CPPFLAGS'
14432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14435
14436 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14437 :; SGICXX=yes
14438 else
14439 :;
14440 fi
14441
14442
14443 ;;
14444
14445 HP-UX*)
14446
14447
14448 ac_ext=cc
14449 ac_cpp='$CXXCPP $CPPFLAGS'
14450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14453
14454 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14455 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14456 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 else
14459 cat >conftest.$ac_ext <<_ACEOF
14460 /* confdefs.h. */
14461 _ACEOF
14462 cat confdefs.h >>conftest.$ac_ext
14463 cat >>conftest.$ac_ext <<_ACEOF
14464 /* end confdefs.h. */
14465
14466 int
14467 main ()
14468 {
14469
14470 #ifndef __HP_aCC
14471 choke me
14472 #endif
14473
14474 ;
14475 return 0;
14476 }
14477 _ACEOF
14478 rm -f conftest.$ac_objext
14479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14480 (eval $ac_compile) 2>conftest.er1
14481 ac_status=$?
14482 grep -v '^ *+' conftest.er1 >conftest.err
14483 rm -f conftest.er1
14484 cat conftest.err >&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } &&
14487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; } &&
14493 { ac_try='test -s conftest.$ac_objext'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14496 ac_status=$?
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14499 bakefile_cv_cxx_compiler___HP_aCC=yes
14500 else
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.$ac_ext >&5
14503
14504 bakefile_cv_cxx_compiler___HP_aCC=no
14505
14506 fi
14507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14508
14509
14510 fi
14511 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14512 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14513 ac_ext=cc
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14518
14519 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14520 :; HPCXX=yes
14521 else
14522 :;
14523 fi
14524
14525
14526 ;;
14527
14528 OSF1)
14529
14530
14531 ac_ext=cc
14532 ac_cpp='$CXXCPP $CPPFLAGS'
14533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14536
14537 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14538 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14539 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 else
14542 cat >conftest.$ac_ext <<_ACEOF
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548
14549 int
14550 main ()
14551 {
14552
14553 #ifndef __DECCXX
14554 choke me
14555 #endif
14556
14557 ;
14558 return 0;
14559 }
14560 _ACEOF
14561 rm -f conftest.$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>conftest.er1
14564 ac_status=$?
14565 grep -v '^ *+' conftest.er1 >conftest.err
14566 rm -f conftest.er1
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14573 ac_status=$?
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; } &&
14576 { ac_try='test -s conftest.$ac_objext'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14579 ac_status=$?
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; }; then
14582 bakefile_cv_cxx_compiler___DECCXX=yes
14583 else
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.$ac_ext >&5
14586
14587 bakefile_cv_cxx_compiler___DECCXX=no
14588
14589 fi
14590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14591
14592
14593 fi
14594 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14595 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14596 ac_ext=cc
14597 ac_cpp='$CXXCPP $CPPFLAGS'
14598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14601
14602 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14603 :; COMPAQCXX=yes
14604 else
14605 :;
14606 fi
14607
14608
14609 ;;
14610
14611 SunOS)
14612
14613
14614 ac_ext=cc
14615 ac_cpp='$CXXCPP $CPPFLAGS'
14616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14619
14620 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14621 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14622 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 else
14625 cat >conftest.$ac_ext <<_ACEOF
14626 /* confdefs.h. */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631
14632 int
14633 main ()
14634 {
14635
14636 #ifndef __SUNPRO_CC
14637 choke me
14638 #endif
14639
14640 ;
14641 return 0;
14642 }
14643 _ACEOF
14644 rm -f conftest.$ac_objext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646 (eval $ac_compile) 2>conftest.er1
14647 ac_status=$?
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14671
14672 fi
14673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14674
14675
14676 fi
14677 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14678 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14679 ac_ext=cc
14680 ac_cpp='$CXXCPP $CPPFLAGS'
14681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14684
14685 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14686 :; SUNCXX=yes
14687 else
14688 :;
14689 fi
14690
14691
14692 ;;
14693 esac
14694 fi
14695
14696
14697
14698 if test -n "$ac_tool_prefix"; then
14699 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14700 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14701 echo "$as_me:$LINENO: checking for $ac_word" >&5
14702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14703 if test "${ac_cv_prog_RANLIB+set}" = set; then
14704 echo $ECHO_N "(cached) $ECHO_C" >&6
14705 else
14706 if test -n "$RANLIB"; then
14707 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14708 else
14709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14710 for as_dir in $PATH
14711 do
14712 IFS=$as_save_IFS
14713 test -z "$as_dir" && as_dir=.
14714 for ac_exec_ext in '' $ac_executable_extensions; do
14715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14716 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14718 break 2
14719 fi
14720 done
14721 done
14722
14723 fi
14724 fi
14725 RANLIB=$ac_cv_prog_RANLIB
14726 if test -n "$RANLIB"; then
14727 echo "$as_me:$LINENO: result: $RANLIB" >&5
14728 echo "${ECHO_T}$RANLIB" >&6
14729 else
14730 echo "$as_me:$LINENO: result: no" >&5
14731 echo "${ECHO_T}no" >&6
14732 fi
14733
14734 fi
14735 if test -z "$ac_cv_prog_RANLIB"; then
14736 ac_ct_RANLIB=$RANLIB
14737 # Extract the first word of "ranlib", so it can be a program name with args.
14738 set dummy ranlib; ac_word=$2
14739 echo "$as_me:$LINENO: checking for $ac_word" >&5
14740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14741 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 else
14744 if test -n "$ac_ct_RANLIB"; then
14745 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14746 else
14747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14748 for as_dir in $PATH
14749 do
14750 IFS=$as_save_IFS
14751 test -z "$as_dir" && as_dir=.
14752 for ac_exec_ext in '' $ac_executable_extensions; do
14753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14754 ac_cv_prog_ac_ct_RANLIB="ranlib"
14755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14756 break 2
14757 fi
14758 done
14759 done
14760
14761 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14762 fi
14763 fi
14764 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14765 if test -n "$ac_ct_RANLIB"; then
14766 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14767 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14768 else
14769 echo "$as_me:$LINENO: result: no" >&5
14770 echo "${ECHO_T}no" >&6
14771 fi
14772
14773 RANLIB=$ac_ct_RANLIB
14774 else
14775 RANLIB="$ac_cv_prog_RANLIB"
14776 fi
14777
14778
14779 if test -n "$ac_tool_prefix"; then
14780 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14781 set dummy ${ac_tool_prefix}ar; ac_word=$2
14782 echo "$as_me:$LINENO: checking for $ac_word" >&5
14783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14784 if test "${ac_cv_prog_AR+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 else
14787 if test -n "$AR"; then
14788 ac_cv_prog_AR="$AR" # Let the user override the test.
14789 else
14790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14791 for as_dir in $PATH
14792 do
14793 IFS=$as_save_IFS
14794 test -z "$as_dir" && as_dir=.
14795 for ac_exec_ext in '' $ac_executable_extensions; do
14796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14797 ac_cv_prog_AR="${ac_tool_prefix}ar"
14798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14799 break 2
14800 fi
14801 done
14802 done
14803
14804 fi
14805 fi
14806 AR=$ac_cv_prog_AR
14807 if test -n "$AR"; then
14808 echo "$as_me:$LINENO: result: $AR" >&5
14809 echo "${ECHO_T}$AR" >&6
14810 else
14811 echo "$as_me:$LINENO: result: no" >&5
14812 echo "${ECHO_T}no" >&6
14813 fi
14814
14815 fi
14816 if test -z "$ac_cv_prog_AR"; then
14817 ac_ct_AR=$AR
14818 # Extract the first word of "ar", so it can be a program name with args.
14819 set dummy ar; ac_word=$2
14820 echo "$as_me:$LINENO: checking for $ac_word" >&5
14821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14822 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14823 echo $ECHO_N "(cached) $ECHO_C" >&6
14824 else
14825 if test -n "$ac_ct_AR"; then
14826 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14827 else
14828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14829 for as_dir in $PATH
14830 do
14831 IFS=$as_save_IFS
14832 test -z "$as_dir" && as_dir=.
14833 for ac_exec_ext in '' $ac_executable_extensions; do
14834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14835 ac_cv_prog_ac_ct_AR="ar"
14836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14837 break 2
14838 fi
14839 done
14840 done
14841
14842 fi
14843 fi
14844 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14845 if test -n "$ac_ct_AR"; then
14846 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14847 echo "${ECHO_T}$ac_ct_AR" >&6
14848 else
14849 echo "$as_me:$LINENO: result: no" >&5
14850 echo "${ECHO_T}no" >&6
14851 fi
14852
14853 AR=$ac_ct_AR
14854 else
14855 AR="$ac_cv_prog_AR"
14856 fi
14857
14858 if test "x$AR" = "x" ; then
14859 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14860 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14861 { (exit 1); exit 1; }; }
14862 fi
14863
14864 # Find a good install program. We prefer a C program (faster),
14865 # so one script is as good as another. But avoid the broken or
14866 # incompatible versions:
14867 # SysV /etc/install, /usr/sbin/install
14868 # SunOS /usr/etc/install
14869 # IRIX /sbin/install
14870 # AIX /bin/install
14871 # AmigaOS /C/install, which installs bootblocks on floppy discs
14872 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14873 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14874 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14875 # OS/2's system install, which has a completely different semantic
14876 # ./install, which can be erroneously created by make from ./install.sh.
14877 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14878 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14879 if test -z "$INSTALL"; then
14880 if test "${ac_cv_path_install+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14882 else
14883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14884 for as_dir in $PATH
14885 do
14886 IFS=$as_save_IFS
14887 test -z "$as_dir" && as_dir=.
14888 # Account for people who put trailing slashes in PATH elements.
14889 case $as_dir/ in
14890 ./ | .// | /cC/* | \
14891 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14892 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14893 /usr/ucb/* ) ;;
14894 *)
14895 # OSF1 and SCO ODT 3.0 have their own names for install.
14896 # Don't use installbsd from OSF since it installs stuff as root
14897 # by default.
14898 for ac_prog in ginstall scoinst install; do
14899 for ac_exec_ext in '' $ac_executable_extensions; do
14900 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14901 if test $ac_prog = install &&
14902 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14903 # AIX install. It has an incompatible calling convention.
14904 :
14905 elif test $ac_prog = install &&
14906 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14907 # program-specific install script used by HP pwplus--don't use.
14908 :
14909 else
14910 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14911 break 3
14912 fi
14913 fi
14914 done
14915 done
14916 ;;
14917 esac
14918 done
14919
14920
14921 fi
14922 if test "${ac_cv_path_install+set}" = set; then
14923 INSTALL=$ac_cv_path_install
14924 else
14925 # As a last resort, use the slow shell script. We don't cache a
14926 # path for INSTALL within a source directory, because that will
14927 # break other packages using the cache if that directory is
14928 # removed, or if the path is relative.
14929 INSTALL=$ac_install_sh
14930 fi
14931 fi
14932 echo "$as_me:$LINENO: result: $INSTALL" >&5
14933 echo "${ECHO_T}$INSTALL" >&6
14934
14935 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14936 # It thinks the first close brace ends the variable substitution.
14937 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14938
14939 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14940
14941 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14942
14943
14944 case ${INSTALL} in
14945 /* ) # Absolute
14946 ;;
14947 ?:* ) # Drive letter, considered as absolute.
14948 ;;
14949 *)
14950 INSTALL=`pwd`/${INSTALL} ;;
14951 esac
14952
14953
14954 case "${host}" in
14955
14956 *-*-darwin* )
14957 INSTALL_PROGRAM="cp -fp"
14958 INSTALL_DATA="cp -fp"
14959 ;;
14960 *)
14961 ;;
14962 esac
14963
14964 if test -n "$ac_tool_prefix"; then
14965 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14966 set dummy ${ac_tool_prefix}strip; ac_word=$2
14967 echo "$as_me:$LINENO: checking for $ac_word" >&5
14968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14969 if test "${ac_cv_prog_STRIP+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 if test -n "$STRIP"; then
14973 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14974 else
14975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14976 for as_dir in $PATH
14977 do
14978 IFS=$as_save_IFS
14979 test -z "$as_dir" && as_dir=.
14980 for ac_exec_ext in '' $ac_executable_extensions; do
14981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14982 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14984 break 2
14985 fi
14986 done
14987 done
14988
14989 fi
14990 fi
14991 STRIP=$ac_cv_prog_STRIP
14992 if test -n "$STRIP"; then
14993 echo "$as_me:$LINENO: result: $STRIP" >&5
14994 echo "${ECHO_T}$STRIP" >&6
14995 else
14996 echo "$as_me:$LINENO: result: no" >&5
14997 echo "${ECHO_T}no" >&6
14998 fi
14999
15000 fi
15001 if test -z "$ac_cv_prog_STRIP"; then
15002 ac_ct_STRIP=$STRIP
15003 # Extract the first word of "strip", so it can be a program name with args.
15004 set dummy strip; ac_word=$2
15005 echo "$as_me:$LINENO: checking for $ac_word" >&5
15006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15007 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 else
15010 if test -n "$ac_ct_STRIP"; then
15011 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15012 else
15013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15014 for as_dir in $PATH
15015 do
15016 IFS=$as_save_IFS
15017 test -z "$as_dir" && as_dir=.
15018 for ac_exec_ext in '' $ac_executable_extensions; do
15019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15020 ac_cv_prog_ac_ct_STRIP="strip"
15021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15022 break 2
15023 fi
15024 done
15025 done
15026
15027 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15028 fi
15029 fi
15030 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15031 if test -n "$ac_ct_STRIP"; then
15032 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15033 echo "${ECHO_T}$ac_ct_STRIP" >&6
15034 else
15035 echo "$as_me:$LINENO: result: no" >&5
15036 echo "${ECHO_T}no" >&6
15037 fi
15038
15039 STRIP=$ac_ct_STRIP
15040 else
15041 STRIP="$ac_cv_prog_STRIP"
15042 fi
15043
15044
15045 if test "$wxUSE_WINE" = "yes"; then
15046 if test -n "$ac_tool_prefix"; then
15047 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15048 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15049 echo "$as_me:$LINENO: checking for $ac_word" >&5
15050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15051 if test "${ac_cv_prog_WINDRES+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 else
15054 if test -n "$WINDRES"; then
15055 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15056 else
15057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15058 for as_dir in $PATH
15059 do
15060 IFS=$as_save_IFS
15061 test -z "$as_dir" && as_dir=.
15062 for ac_exec_ext in '' $ac_executable_extensions; do
15063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15064 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15066 break 2
15067 fi
15068 done
15069 done
15070
15071 fi
15072 fi
15073 WINDRES=$ac_cv_prog_WINDRES
15074 if test -n "$WINDRES"; then
15075 echo "$as_me:$LINENO: result: $WINDRES" >&5
15076 echo "${ECHO_T}$WINDRES" >&6
15077 else
15078 echo "$as_me:$LINENO: result: no" >&5
15079 echo "${ECHO_T}no" >&6
15080 fi
15081
15082 fi
15083 if test -z "$ac_cv_prog_WINDRES"; then
15084 ac_ct_WINDRES=$WINDRES
15085 # Extract the first word of "wrc", so it can be a program name with args.
15086 set dummy wrc; ac_word=$2
15087 echo "$as_me:$LINENO: checking for $ac_word" >&5
15088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15089 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 else
15092 if test -n "$ac_ct_WINDRES"; then
15093 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15094 else
15095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15096 for as_dir in $PATH
15097 do
15098 IFS=$as_save_IFS
15099 test -z "$as_dir" && as_dir=.
15100 for ac_exec_ext in '' $ac_executable_extensions; do
15101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15102 ac_cv_prog_ac_ct_WINDRES="wrc"
15103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15104 break 2
15105 fi
15106 done
15107 done
15108
15109 fi
15110 fi
15111 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15112 if test -n "$ac_ct_WINDRES"; then
15113 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15114 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15115 else
15116 echo "$as_me:$LINENO: result: no" >&5
15117 echo "${ECHO_T}no" >&6
15118 fi
15119
15120 WINDRES=$ac_ct_WINDRES
15121 else
15122 WINDRES="$ac_cv_prog_WINDRES"
15123 fi
15124
15125 RESCOMP="$WINDRES"
15126 else
15127 case "${host}" in
15128 *-*-cygwin* | *-*-mingw32* )
15129 if test -n "$ac_tool_prefix"; then
15130 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15131 set dummy ${ac_tool_prefix}windres; ac_word=$2
15132 echo "$as_me:$LINENO: checking for $ac_word" >&5
15133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15134 if test "${ac_cv_prog_WINDRES+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15136 else
15137 if test -n "$WINDRES"; then
15138 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15139 else
15140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15141 for as_dir in $PATH
15142 do
15143 IFS=$as_save_IFS
15144 test -z "$as_dir" && as_dir=.
15145 for ac_exec_ext in '' $ac_executable_extensions; do
15146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15147 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15149 break 2
15150 fi
15151 done
15152 done
15153
15154 fi
15155 fi
15156 WINDRES=$ac_cv_prog_WINDRES
15157 if test -n "$WINDRES"; then
15158 echo "$as_me:$LINENO: result: $WINDRES" >&5
15159 echo "${ECHO_T}$WINDRES" >&6
15160 else
15161 echo "$as_me:$LINENO: result: no" >&5
15162 echo "${ECHO_T}no" >&6
15163 fi
15164
15165 fi
15166 if test -z "$ac_cv_prog_WINDRES"; then
15167 ac_ct_WINDRES=$WINDRES
15168 # Extract the first word of "windres", so it can be a program name with args.
15169 set dummy windres; ac_word=$2
15170 echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15172 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 if test -n "$ac_ct_WINDRES"; then
15176 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15177 else
15178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15179 for as_dir in $PATH
15180 do
15181 IFS=$as_save_IFS
15182 test -z "$as_dir" && as_dir=.
15183 for ac_exec_ext in '' $ac_executable_extensions; do
15184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15185 ac_cv_prog_ac_ct_WINDRES="windres"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15187 break 2
15188 fi
15189 done
15190 done
15191
15192 fi
15193 fi
15194 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15195 if test -n "$ac_ct_WINDRES"; then
15196 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15197 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15198 else
15199 echo "$as_me:$LINENO: result: no" >&5
15200 echo "${ECHO_T}no" >&6
15201 fi
15202
15203 WINDRES=$ac_ct_WINDRES
15204 else
15205 WINDRES="$ac_cv_prog_WINDRES"
15206 fi
15207
15208 RESCOMP="$WINDRES"
15209 if test -n "$ac_tool_prefix"; then
15210 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15211 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15212 echo "$as_me:$LINENO: checking for $ac_word" >&5
15213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15214 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 else
15217 if test -n "$DLLTOOL"; then
15218 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15219 else
15220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15221 for as_dir in $PATH
15222 do
15223 IFS=$as_save_IFS
15224 test -z "$as_dir" && as_dir=.
15225 for ac_exec_ext in '' $ac_executable_extensions; do
15226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15227 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15229 break 2
15230 fi
15231 done
15232 done
15233
15234 fi
15235 fi
15236 DLLTOOL=$ac_cv_prog_DLLTOOL
15237 if test -n "$DLLTOOL"; then
15238 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15239 echo "${ECHO_T}$DLLTOOL" >&6
15240 else
15241 echo "$as_me:$LINENO: result: no" >&5
15242 echo "${ECHO_T}no" >&6
15243 fi
15244
15245 fi
15246 if test -z "$ac_cv_prog_DLLTOOL"; then
15247 ac_ct_DLLTOOL=$DLLTOOL
15248 # Extract the first word of "dlltool", so it can be a program name with args.
15249 set dummy dlltool; ac_word=$2
15250 echo "$as_me:$LINENO: checking for $ac_word" >&5
15251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15252 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 if test -n "$ac_ct_DLLTOOL"; then
15256 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15257 else
15258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15259 for as_dir in $PATH
15260 do
15261 IFS=$as_save_IFS
15262 test -z "$as_dir" && as_dir=.
15263 for ac_exec_ext in '' $ac_executable_extensions; do
15264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15265 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15267 break 2
15268 fi
15269 done
15270 done
15271
15272 fi
15273 fi
15274 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15275 if test -n "$ac_ct_DLLTOOL"; then
15276 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15277 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15278 else
15279 echo "$as_me:$LINENO: result: no" >&5
15280 echo "${ECHO_T}no" >&6
15281 fi
15282
15283 DLLTOOL=$ac_ct_DLLTOOL
15284 else
15285 DLLTOOL="$ac_cv_prog_DLLTOOL"
15286 fi
15287
15288 ;;
15289 esac
15290 fi
15291
15292 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15293 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15294 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 else
15297
15298 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15299 egrep -s GNU > /dev/null); then
15300 wx_cv_prog_makeisgnu="yes"
15301 else
15302 wx_cv_prog_makeisgnu="no"
15303 fi
15304
15305 fi
15306 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15307 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15308
15309 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15310 IF_GNU_MAKE=""
15311 else
15312 IF_GNU_MAKE="#"
15313 fi
15314
15315
15316
15317 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15318 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15319 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15320 if test "${wx_cv_prog_makevpath+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15322 else
15323
15324 cat - << EOF > confMake
15325 check : file
15326 cp \$? \$@
15327 cp \$? final_file
15328 EOF
15329
15330 if test ! -d sub ; then
15331 mkdir sub
15332 fi
15333 echo dummy > sub/file
15334 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15335 RESULT=$?
15336 rm -f sub/file check final_file confMake
15337 rmdir sub
15338 if test "$RESULT" = 0; then
15339 wx_cv_prog_makevpath="yes"
15340 else
15341 wx_cv_prog_makevpath="no"
15342 fi
15343
15344 fi
15345 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15346 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15347
15348 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15349 { { echo "$as_me:$LINENO: error:
15350 You need a make-utility that is able to use the variable
15351 VPATH correctly.
15352 If your version of make does not support VPATH correctly,
15353 please install GNU-make (possibly as gmake), and start
15354 configure with the following command:
15355 export MAKE=gmake; ./configure for sh-type shells
15356 setenv MAKE gmake; ./configure for csh-type shells
15357 Also please do remember to use gmake in this case every time
15358 you are trying to compile.
15359 " >&5
15360 echo "$as_me: error:
15361 You need a make-utility that is able to use the variable
15362 VPATH correctly.
15363 If your version of make does not support VPATH correctly,
15364 please install GNU-make (possibly as gmake), and start
15365 configure with the following command:
15366 export MAKE=gmake; ./configure for sh-type shells
15367 setenv MAKE gmake; ./configure for csh-type shells
15368 Also please do remember to use gmake in this case every time
15369 you are trying to compile.
15370 " >&2;}
15371 { (exit 1); exit 1; }; }
15372 fi fi
15373 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15375 LN_S=$as_ln_s
15376 if test "$LN_S" = "ln -s"; then
15377 echo "$as_me:$LINENO: result: yes" >&5
15378 echo "${ECHO_T}yes" >&6
15379 else
15380 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15381 echo "${ECHO_T}no, using $LN_S" >&6
15382 fi
15383
15384
15385
15386
15387 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15388 CXXFLAGS="-qunique $CXXFLAGS"
15389 fi
15390
15391 case "${host}" in
15392 powerpc-*-darwin* )
15393 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15394 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15395 cat >conftest.$ac_ext <<_ACEOF
15396 /* confdefs.h. */
15397 _ACEOF
15398 cat confdefs.h >>conftest.$ac_ext
15399 cat >>conftest.$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15401
15402 int
15403 main ()
15404 {
15405 #ifndef __POWERPC__
15406 choke me for lack of PowerPC
15407 #endif
15408
15409 ;
15410 return 0;
15411 }
15412 _ACEOF
15413 rm -f conftest.$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>conftest.er1
15416 ac_status=$?
15417 grep -v '^ *+' conftest.er1 >conftest.err
15418 rm -f conftest.er1
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15424 (eval $ac_try) 2>&5
15425 ac_status=$?
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); }; } &&
15428 { ac_try='test -s conftest.$ac_objext'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15431 ac_status=$?
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; }; then
15434 echo "$as_me:$LINENO: result: yes" >&5
15435 echo "${ECHO_T}yes" >&6
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15439
15440 echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6
15442 cat >>confdefs.h <<\_ACEOF
15443 #define __POWERPC__ 1
15444 _ACEOF
15445
15446
15447 fi
15448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15449 ;;
15450 esac
15451
15452 case "${host}" in
15453 *-*-darwin* )
15454 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15455 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15456 cat >conftest.$ac_ext <<_ACEOF
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 #include <CoreFoundation/CFBase.h>
15463
15464 int
15465 main ()
15466 {
15467
15468 ;
15469 return 0;
15470 }
15471 _ACEOF
15472 rm -f conftest.$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15475 ac_status=$?
15476 grep -v '^ *+' conftest.er1 >conftest.err
15477 rm -f conftest.er1
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 echo "$as_me:$LINENO: result: yes" >&5
15494 echo "${ECHO_T}yes" >&6
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15498
15499 echo "$as_me:$LINENO: result: no" >&5
15500 echo "${ECHO_T}no" >&6
15501 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15502 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15503 cat >conftest.$ac_ext <<_ACEOF
15504 /* confdefs.h. */
15505 _ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 #define __CF_USE_FRAMEWORK_INCLUDES__
15510 #include <CoreFoundation/CFBase.h>
15511
15512 int
15513 main ()
15514 {
15515
15516 ;
15517 return 0;
15518 }
15519 _ACEOF
15520 rm -f conftest.$ac_objext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>conftest.er1
15523 ac_status=$?
15524 grep -v '^ *+' conftest.er1 >conftest.err
15525 rm -f conftest.er1
15526 cat conftest.err >&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } &&
15529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15532 ac_status=$?
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15538 ac_status=$?
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 echo "$as_me:$LINENO: result: yes" >&5
15542 echo "${ECHO_T}yes" >&6
15543 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15547
15548 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15549 See \`config.log' for more details." >&5
15550 echo "$as_me: error: no. CoreFoundation not available.
15551 See \`config.log' for more details." >&2;}
15552 { (exit 1); exit 1; }; }
15553
15554 fi
15555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15556
15557
15558 fi
15559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15560 ;;
15561 esac
15562
15563 case "${host}" in
15564 *-pc-os2_emx | *-pc-os2-emx )
15565 ac_ext=c
15566 ac_cpp='$CPP $CPPFLAGS'
15567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15570
15571 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15572 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15573 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15574 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 else
15577 ac_check_lib_save_LIBS=$LIBS
15578 LIBS="-lcExt $LIBS"
15579 cat >conftest.$ac_ext <<_ACEOF
15580 /* confdefs.h. */
15581 _ACEOF
15582 cat confdefs.h >>conftest.$ac_ext
15583 cat >>conftest.$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585
15586 /* Override any gcc2 internal prototype to avoid an error. */
15587 #ifdef __cplusplus
15588 extern "C"
15589 #endif
15590 /* We use char because int might match the return type of a gcc2
15591 builtin and then its argument prototype would still apply. */
15592 char drand48 ();
15593 int
15594 main ()
15595 {
15596 drand48 ();
15597 ;
15598 return 0;
15599 }
15600 _ACEOF
15601 rm -f conftest.$ac_objext conftest$ac_exeext
15602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15603 (eval $ac_link) 2>conftest.er1
15604 ac_status=$?
15605 grep -v '^ *+' conftest.er1 >conftest.err
15606 rm -f conftest.er1
15607 cat conftest.err >&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); } &&
15610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest$ac_exeext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_cv_lib_cExt_drand48=yes
15623 else
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15626
15627 ac_cv_lib_cExt_drand48=no
15628 fi
15629 rm -f conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15631 LIBS=$ac_check_lib_save_LIBS
15632 fi
15633 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15634 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15635 if test $ac_cv_lib_cExt_drand48 = yes; then
15636 LIBS="$LIBS -lcExt"
15637 fi
15638
15639 else
15640 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15641 fi
15642 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15643 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15644 if test "${wx_cv_gccversion+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647
15648 if test "$cross_compiling" = yes; then
15649 wx_cv_gccversion="EMX2"
15650
15651 else
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658
15659 #include <stdio.h>
15660
15661 int main()
15662 {
15663 FILE *f=fopen("conftestval", "w");
15664 if (!f) exit(1);
15665 fprintf(f,
15666 #if (__GNUC__ < 3)
15667 "EMX2"
15668 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15669 "EMX3"
15670 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15671 "Innotek5"
15672 #else
15673 "Innotek6"
15674 #endif
15675 );
15676 exit(0);
15677 }
15678
15679 _ACEOF
15680 rm -f conftest$ac_exeext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15682 (eval $ac_link) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 wx_cv_gccversion=`cat conftestval`
15692 else
15693 echo "$as_me: program exited with status $ac_status" >&5
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 ( exit $ac_status )
15698 wx_cv_gccversion="EMX2"
15699 fi
15700 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15701 fi
15702
15703 fi
15704 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15705 echo "${ECHO_T}$wx_cv_gccversion" >&6
15706 ac_ext=cc
15707 ac_cpp='$CXXCPP $CPPFLAGS'
15708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15711
15712 if test "$wx_cv_gccversion" = "EMX2"; then
15713 LIBS="$LIBS -lstdcpp"
15714 LDFLAGS="$LDFLAGS -Zsysv-signals"
15715 else
15716 if test "$wx_cv_gccversion" = "EMX3"; then
15717 LIBS="$LIBS -lstdcxx -lgcc"
15718 LDFLAGS="$LDFLAGS -Zsysv-signals"
15719 else
15720 LIBS="$LIBS -lstdc++"
15721 fi
15722 fi
15723 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15724 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15725 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15726 wxUSE_OMF=yes
15727 enable_omf=yes
15728 fi
15729 ;;
15730 *)
15731
15732 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15733 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15734 if test "${ac_cv_string_strcasecmp+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 else
15737
15738 cat >conftest.$ac_ext <<_ACEOF
15739 /* confdefs.h. */
15740 _ACEOF
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15744
15745 #include <string.h>
15746
15747 int
15748 main ()
15749 {
15750
15751 strcasecmp("foo", "bar");
15752
15753 ;
15754 return 0;
15755 }
15756 _ACEOF
15757 rm -f conftest.$ac_objext conftest$ac_exeext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15759 (eval $ac_link) 2>conftest.er1
15760 ac_status=$?
15761 grep -v '^ *+' conftest.er1 >conftest.err
15762 rm -f conftest.er1
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15769 ac_status=$?
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; } &&
15772 { ac_try='test -s conftest$ac_exeext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15775 ac_status=$?
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 ac_cv_string_strcasecmp=yes
15779 else
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.$ac_ext >&5
15782
15783 ac_cv_string_strcasecmp=no
15784
15785 fi
15786 rm -f conftest.err conftest.$ac_objext \
15787 conftest$ac_exeext conftest.$ac_ext
15788
15789 fi
15790 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15791 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15792
15793 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15794 cat >>confdefs.h <<\_ACEOF
15795 #define HAVE_STRCASECMP_IN_STRING_H 1
15796 _ACEOF
15797
15798 else
15799 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15800 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15801 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804
15805 cat >conftest.$ac_ext <<_ACEOF
15806 /* confdefs.h. */
15807 _ACEOF
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811
15812 #include <strings.h>
15813
15814 int
15815 main ()
15816 {
15817
15818 strcasecmp("foo", "bar");
15819
15820 ;
15821 return 0;
15822 }
15823 _ACEOF
15824 rm -f conftest.$ac_objext conftest$ac_exeext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15826 (eval $ac_link) 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15836 ac_status=$?
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try='test -s conftest$ac_exeext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15842 ac_status=$?
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15845 ac_cv_strings_strcasecmp=yes
15846 else
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15849
15850 ac_cv_strings_strcasecmp=no
15851
15852 fi
15853 rm -f conftest.err conftest.$ac_objext \
15854 conftest$ac_exeext conftest.$ac_ext
15855
15856 fi
15857 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15858 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15859
15860 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15861 cat >>confdefs.h <<\_ACEOF
15862 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15863 _ACEOF
15864
15865 else
15866 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15867 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15868 { (exit 1); exit 1; }; }
15869 fi
15870 fi
15871
15872 ;;
15873 esac
15874
15875
15876 ac_ext=cc
15877 ac_cpp='$CXXCPP $CPPFLAGS'
15878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15881 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15882 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15883 if test -z "$CXXCPP"; then
15884 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15886 else
15887 # Double quotes because CXXCPP needs to be expanded
15888 for CXXCPP in "$CXX -E" "/lib/cpp"
15889 do
15890 ac_preproc_ok=false
15891 for ac_cxx_preproc_warn_flag in '' yes
15892 do
15893 # Use a header file that comes with gcc, so configuring glibc
15894 # with a fresh cross-compiler works.
15895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15896 # <limits.h> exists even on freestanding compilers.
15897 # On the NeXT, cc -E runs the code through the compiler's parser,
15898 # not just through cpp. "Syntax error" is here to catch this case.
15899 cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h. */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 #ifdef __STDC__
15906 # include <limits.h>
15907 #else
15908 # include <assert.h>
15909 #endif
15910 Syntax error
15911 _ACEOF
15912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15914 ac_status=$?
15915 grep -v '^ *+' conftest.er1 >conftest.err
15916 rm -f conftest.er1
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } >/dev/null; then
15920 if test -s conftest.err; then
15921 ac_cpp_err=$ac_cxx_preproc_warn_flag
15922 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15923 else
15924 ac_cpp_err=
15925 fi
15926 else
15927 ac_cpp_err=yes
15928 fi
15929 if test -z "$ac_cpp_err"; then
15930 :
15931 else
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15934
15935 # Broken: fails on valid input.
15936 continue
15937 fi
15938 rm -f conftest.err conftest.$ac_ext
15939
15940 # OK, works on sane cases. Now check whether non-existent headers
15941 # can be detected and how.
15942 cat >conftest.$ac_ext <<_ACEOF
15943 /* confdefs.h. */
15944 _ACEOF
15945 cat confdefs.h >>conftest.$ac_ext
15946 cat >>conftest.$ac_ext <<_ACEOF
15947 /* end confdefs.h. */
15948 #include <ac_nonexistent.h>
15949 _ACEOF
15950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15952 ac_status=$?
15953 grep -v '^ *+' conftest.er1 >conftest.err
15954 rm -f conftest.er1
15955 cat conftest.err >&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } >/dev/null; then
15958 if test -s conftest.err; then
15959 ac_cpp_err=$ac_cxx_preproc_warn_flag
15960 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15961 else
15962 ac_cpp_err=
15963 fi
15964 else
15965 ac_cpp_err=yes
15966 fi
15967 if test -z "$ac_cpp_err"; then
15968 # Broken: success on invalid input.
15969 continue
15970 else
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15973
15974 # Passes both tests.
15975 ac_preproc_ok=:
15976 break
15977 fi
15978 rm -f conftest.err conftest.$ac_ext
15979
15980 done
15981 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15982 rm -f conftest.err conftest.$ac_ext
15983 if $ac_preproc_ok; then
15984 break
15985 fi
15986
15987 done
15988 ac_cv_prog_CXXCPP=$CXXCPP
15989
15990 fi
15991 CXXCPP=$ac_cv_prog_CXXCPP
15992 else
15993 ac_cv_prog_CXXCPP=$CXXCPP
15994 fi
15995 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15996 echo "${ECHO_T}$CXXCPP" >&6
15997 ac_preproc_ok=false
15998 for ac_cxx_preproc_warn_flag in '' yes
15999 do
16000 # Use a header file that comes with gcc, so configuring glibc
16001 # with a fresh cross-compiler works.
16002 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16003 # <limits.h> exists even on freestanding compilers.
16004 # On the NeXT, cc -E runs the code through the compiler's parser,
16005 # not just through cpp. "Syntax error" is here to catch this case.
16006 cat >conftest.$ac_ext <<_ACEOF
16007 /* confdefs.h. */
16008 _ACEOF
16009 cat confdefs.h >>conftest.$ac_ext
16010 cat >>conftest.$ac_ext <<_ACEOF
16011 /* end confdefs.h. */
16012 #ifdef __STDC__
16013 # include <limits.h>
16014 #else
16015 # include <assert.h>
16016 #endif
16017 Syntax error
16018 _ACEOF
16019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16021 ac_status=$?
16022 grep -v '^ *+' conftest.er1 >conftest.err
16023 rm -f conftest.er1
16024 cat conftest.err >&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } >/dev/null; then
16027 if test -s conftest.err; then
16028 ac_cpp_err=$ac_cxx_preproc_warn_flag
16029 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16030 else
16031 ac_cpp_err=
16032 fi
16033 else
16034 ac_cpp_err=yes
16035 fi
16036 if test -z "$ac_cpp_err"; then
16037 :
16038 else
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16041
16042 # Broken: fails on valid input.
16043 continue
16044 fi
16045 rm -f conftest.err conftest.$ac_ext
16046
16047 # OK, works on sane cases. Now check whether non-existent headers
16048 # can be detected and how.
16049 cat >conftest.$ac_ext <<_ACEOF
16050 /* confdefs.h. */
16051 _ACEOF
16052 cat confdefs.h >>conftest.$ac_ext
16053 cat >>conftest.$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 #include <ac_nonexistent.h>
16056 _ACEOF
16057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16059 ac_status=$?
16060 grep -v '^ *+' conftest.er1 >conftest.err
16061 rm -f conftest.er1
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } >/dev/null; then
16065 if test -s conftest.err; then
16066 ac_cpp_err=$ac_cxx_preproc_warn_flag
16067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16068 else
16069 ac_cpp_err=
16070 fi
16071 else
16072 ac_cpp_err=yes
16073 fi
16074 if test -z "$ac_cpp_err"; then
16075 # Broken: success on invalid input.
16076 continue
16077 else
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.$ac_ext >&5
16080
16081 # Passes both tests.
16082 ac_preproc_ok=:
16083 break
16084 fi
16085 rm -f conftest.err conftest.$ac_ext
16086
16087 done
16088 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16089 rm -f conftest.err conftest.$ac_ext
16090 if $ac_preproc_ok; then
16091 :
16092 else
16093 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16098 fi
16099
16100 ac_ext=cc
16101 ac_cpp='$CXXCPP $CPPFLAGS'
16102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16105
16106
16107 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16108 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16109 if test "${ac_cv_header_stdc+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #include <stdlib.h>
16119 #include <stdarg.h>
16120 #include <string.h>
16121 #include <float.h>
16122
16123 int
16124 main ()
16125 {
16126
16127 ;
16128 return 0;
16129 }
16130 _ACEOF
16131 rm -f conftest.$ac_objext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16133 (eval $ac_compile) 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); } &&
16140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16143 ac_status=$?
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; } &&
16146 { ac_try='test -s conftest.$ac_objext'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16149 ac_status=$?
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 ac_cv_header_stdc=yes
16153 else
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.$ac_ext >&5
16156
16157 ac_cv_header_stdc=no
16158 fi
16159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16160
16161 if test $ac_cv_header_stdc = yes; then
16162 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16163 cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h. */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <string.h>
16170
16171 _ACEOF
16172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16173 $EGREP "memchr" >/dev/null 2>&1; then
16174 :
16175 else
16176 ac_cv_header_stdc=no
16177 fi
16178 rm -f conftest*
16179
16180 fi
16181
16182 if test $ac_cv_header_stdc = yes; then
16183 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16184 cat >conftest.$ac_ext <<_ACEOF
16185 /* confdefs.h. */
16186 _ACEOF
16187 cat confdefs.h >>conftest.$ac_ext
16188 cat >>conftest.$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16190 #include <stdlib.h>
16191
16192 _ACEOF
16193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16194 $EGREP "free" >/dev/null 2>&1; then
16195 :
16196 else
16197 ac_cv_header_stdc=no
16198 fi
16199 rm -f conftest*
16200
16201 fi
16202
16203 if test $ac_cv_header_stdc = yes; then
16204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16205 if test "$cross_compiling" = yes; then
16206 :
16207 else
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #include <ctype.h>
16215 #if ((' ' & 0x0FF) == 0x020)
16216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16218 #else
16219 # define ISLOWER(c) \
16220 (('a' <= (c) && (c) <= 'i') \
16221 || ('j' <= (c) && (c) <= 'r') \
16222 || ('s' <= (c) && (c) <= 'z'))
16223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16224 #endif
16225
16226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16227 int
16228 main ()
16229 {
16230 int i;
16231 for (i = 0; i < 256; i++)
16232 if (XOR (islower (i), ISLOWER (i))
16233 || toupper (i) != TOUPPER (i))
16234 exit(2);
16235 exit (0);
16236 }
16237 _ACEOF
16238 rm -f conftest$ac_exeext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16240 (eval $ac_link) 2>&5
16241 ac_status=$?
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; }; then
16249 :
16250 else
16251 echo "$as_me: program exited with status $ac_status" >&5
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16254
16255 ( exit $ac_status )
16256 ac_cv_header_stdc=no
16257 fi
16258 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16259 fi
16260 fi
16261 fi
16262 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16263 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16264 if test $ac_cv_header_stdc = yes; then
16265
16266 cat >>confdefs.h <<\_ACEOF
16267 #define STDC_HEADERS 1
16268 _ACEOF
16269
16270 fi
16271
16272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16283 inttypes.h stdint.h unistd.h
16284 do
16285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16286 echo "$as_me:$LINENO: checking for $ac_header" >&5
16287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 else
16291 cat >conftest.$ac_ext <<_ACEOF
16292 /* confdefs.h. */
16293 _ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 $ac_includes_default
16298
16299 #include <$ac_header>
16300 _ACEOF
16301 rm -f conftest.$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>conftest.er1
16304 ac_status=$?
16305 grep -v '^ *+' conftest.er1 >conftest.err
16306 rm -f conftest.er1
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16313 ac_status=$?
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; } &&
16316 { ac_try='test -s conftest.$ac_objext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16319 ac_status=$?
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16322 eval "$as_ac_Header=yes"
16323 else
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327 eval "$as_ac_Header=no"
16328 fi
16329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16330 fi
16331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16334 cat >>confdefs.h <<_ACEOF
16335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16336 _ACEOF
16337
16338 fi
16339
16340 done
16341
16342
16343
16344 for ac_header in stdlib.h
16345 do
16346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16348 echo "$as_me:$LINENO: checking for $ac_header" >&5
16349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 fi
16353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16355 else
16356 # Is the header compilable?
16357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16359 cat >conftest.$ac_ext <<_ACEOF
16360 /* confdefs.h. */
16361 _ACEOF
16362 cat confdefs.h >>conftest.$ac_ext
16363 cat >>conftest.$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16365 $ac_includes_default
16366 #include <$ac_header>
16367 _ACEOF
16368 rm -f conftest.$ac_objext
16369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16370 (eval $ac_compile) 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } &&
16377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16380 ac_status=$?
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; } &&
16383 { ac_try='test -s conftest.$ac_objext'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16389 ac_header_compiler=yes
16390 else
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16393
16394 ac_header_compiler=no
16395 fi
16396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16398 echo "${ECHO_T}$ac_header_compiler" >&6
16399
16400 # Is the header present?
16401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16403 cat >conftest.$ac_ext <<_ACEOF
16404 /* confdefs.h. */
16405 _ACEOF
16406 cat confdefs.h >>conftest.$ac_ext
16407 cat >>conftest.$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 #include <$ac_header>
16410 _ACEOF
16411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16413 ac_status=$?
16414 grep -v '^ *+' conftest.er1 >conftest.err
16415 rm -f conftest.er1
16416 cat conftest.err >&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } >/dev/null; then
16419 if test -s conftest.err; then
16420 ac_cpp_err=$ac_cxx_preproc_warn_flag
16421 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16422 else
16423 ac_cpp_err=
16424 fi
16425 else
16426 ac_cpp_err=yes
16427 fi
16428 if test -z "$ac_cpp_err"; then
16429 ac_header_preproc=yes
16430 else
16431 echo "$as_me: failed program was:" >&5
16432 sed 's/^/| /' conftest.$ac_ext >&5
16433
16434 ac_header_preproc=no
16435 fi
16436 rm -f conftest.err conftest.$ac_ext
16437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16438 echo "${ECHO_T}$ac_header_preproc" >&6
16439
16440 # So? What about this header?
16441 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16442 yes:no: )
16443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16447 ac_header_preproc=yes
16448 ;;
16449 no:yes:* )
16450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16462 (
16463 cat <<\_ASBOX
16464 ## ----------------------------------------- ##
16465 ## Report this to wx-dev@lists.wxwidgets.org ##
16466 ## ----------------------------------------- ##
16467 _ASBOX
16468 ) |
16469 sed "s/^/$as_me: WARNING: /" >&2
16470 ;;
16471 esac
16472 echo "$as_me:$LINENO: checking for $ac_header" >&5
16473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16476 else
16477 eval "$as_ac_Header=\$ac_header_preproc"
16478 fi
16479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16481
16482 fi
16483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16484 cat >>confdefs.h <<_ACEOF
16485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16486 _ACEOF
16487
16488 fi
16489
16490 done
16491
16492
16493 for ac_header in malloc.h
16494 do
16495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16497 echo "$as_me:$LINENO: checking for $ac_header" >&5
16498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 fi
16502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16504 else
16505 # Is the header compilable?
16506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16508 cat >conftest.$ac_ext <<_ACEOF
16509 /* confdefs.h. */
16510 _ACEOF
16511 cat confdefs.h >>conftest.$ac_ext
16512 cat >>conftest.$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 $ac_includes_default
16515 #include <$ac_header>
16516 _ACEOF
16517 rm -f conftest.$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16520 ac_status=$?
16521 grep -v '^ *+' conftest.er1 >conftest.err
16522 rm -f conftest.er1
16523 cat conftest.err >&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16538 ac_header_compiler=yes
16539 else
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16542
16543 ac_header_compiler=no
16544 fi
16545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16547 echo "${ECHO_T}$ac_header_compiler" >&6
16548
16549 # Is the header present?
16550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16552 cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 #include <$ac_header>
16559 _ACEOF
16560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16562 ac_status=$?
16563 grep -v '^ *+' conftest.er1 >conftest.err
16564 rm -f conftest.er1
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } >/dev/null; then
16568 if test -s conftest.err; then
16569 ac_cpp_err=$ac_cxx_preproc_warn_flag
16570 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16571 else
16572 ac_cpp_err=
16573 fi
16574 else
16575 ac_cpp_err=yes
16576 fi
16577 if test -z "$ac_cpp_err"; then
16578 ac_header_preproc=yes
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16582
16583 ac_header_preproc=no
16584 fi
16585 rm -f conftest.err conftest.$ac_ext
16586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16587 echo "${ECHO_T}$ac_header_preproc" >&6
16588
16589 # So? What about this header?
16590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16591 yes:no: )
16592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16596 ac_header_preproc=yes
16597 ;;
16598 no:yes:* )
16599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16611 (
16612 cat <<\_ASBOX
16613 ## ----------------------------------------- ##
16614 ## Report this to wx-dev@lists.wxwidgets.org ##
16615 ## ----------------------------------------- ##
16616 _ASBOX
16617 ) |
16618 sed "s/^/$as_me: WARNING: /" >&2
16619 ;;
16620 esac
16621 echo "$as_me:$LINENO: checking for $ac_header" >&5
16622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 else
16626 eval "$as_ac_Header=\$ac_header_preproc"
16627 fi
16628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16630
16631 fi
16632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16633 cat >>confdefs.h <<_ACEOF
16634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16635 _ACEOF
16636
16637 fi
16638
16639 done
16640
16641
16642 for ac_header in unistd.h
16643 do
16644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16646 echo "$as_me:$LINENO: checking for $ac_header" >&5
16647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 fi
16651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16653 else
16654 # Is the header compilable?
16655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16657 cat >conftest.$ac_ext <<_ACEOF
16658 /* confdefs.h. */
16659 _ACEOF
16660 cat confdefs.h >>conftest.$ac_ext
16661 cat >>conftest.$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16663 $ac_includes_default
16664 #include <$ac_header>
16665 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } &&
16675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16678 ac_status=$?
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; } &&
16681 { ac_try='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16687 ac_header_compiler=yes
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 ac_header_compiler=no
16693 fi
16694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16696 echo "${ECHO_T}$ac_header_compiler" >&6
16697
16698 # Is the header present?
16699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16701 cat >conftest.$ac_ext <<_ACEOF
16702 /* confdefs.h. */
16703 _ACEOF
16704 cat confdefs.h >>conftest.$ac_ext
16705 cat >>conftest.$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 #include <$ac_header>
16708 _ACEOF
16709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16711 ac_status=$?
16712 grep -v '^ *+' conftest.er1 >conftest.err
16713 rm -f conftest.er1
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } >/dev/null; then
16717 if test -s conftest.err; then
16718 ac_cpp_err=$ac_cxx_preproc_warn_flag
16719 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16720 else
16721 ac_cpp_err=
16722 fi
16723 else
16724 ac_cpp_err=yes
16725 fi
16726 if test -z "$ac_cpp_err"; then
16727 ac_header_preproc=yes
16728 else
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732 ac_header_preproc=no
16733 fi
16734 rm -f conftest.err conftest.$ac_ext
16735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16736 echo "${ECHO_T}$ac_header_preproc" >&6
16737
16738 # So? What about this header?
16739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16740 yes:no: )
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16745 ac_header_preproc=yes
16746 ;;
16747 no:yes:* )
16748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16760 (
16761 cat <<\_ASBOX
16762 ## ----------------------------------------- ##
16763 ## Report this to wx-dev@lists.wxwidgets.org ##
16764 ## ----------------------------------------- ##
16765 _ASBOX
16766 ) |
16767 sed "s/^/$as_me: WARNING: /" >&2
16768 ;;
16769 esac
16770 echo "$as_me:$LINENO: checking for $ac_header" >&5
16771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16774 else
16775 eval "$as_ac_Header=\$ac_header_preproc"
16776 fi
16777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16779
16780 fi
16781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16782 cat >>confdefs.h <<_ACEOF
16783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16784 _ACEOF
16785
16786 fi
16787
16788 done
16789
16790
16791 for ac_header in wchar.h
16792 do
16793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16795 echo "$as_me:$LINENO: checking for $ac_header" >&5
16796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16798 echo $ECHO_N "(cached) $ECHO_C" >&6
16799 fi
16800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16802 else
16803 # Is the header compilable?
16804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16806 cat >conftest.$ac_ext <<_ACEOF
16807 /* confdefs.h. */
16808 _ACEOF
16809 cat confdefs.h >>conftest.$ac_ext
16810 cat >>conftest.$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 $ac_includes_default
16813 #include <$ac_header>
16814 _ACEOF
16815 rm -f conftest.$ac_objext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16817 (eval $ac_compile) 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16826 (eval $ac_try) 2>&5
16827 ac_status=$?
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; } &&
16830 { ac_try='test -s conftest.$ac_objext'
16831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16832 (eval $ac_try) 2>&5
16833 ac_status=$?
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; }; then
16836 ac_header_compiler=yes
16837 else
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.$ac_ext >&5
16840
16841 ac_header_compiler=no
16842 fi
16843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16845 echo "${ECHO_T}$ac_header_compiler" >&6
16846
16847 # Is the header present?
16848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <$ac_header>
16857 _ACEOF
16858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16860 ac_status=$?
16861 grep -v '^ *+' conftest.er1 >conftest.err
16862 rm -f conftest.er1
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev/null; then
16866 if test -s conftest.err; then
16867 ac_cpp_err=$ac_cxx_preproc_warn_flag
16868 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16869 else
16870 ac_cpp_err=
16871 fi
16872 else
16873 ac_cpp_err=yes
16874 fi
16875 if test -z "$ac_cpp_err"; then
16876 ac_header_preproc=yes
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16880
16881 ac_header_preproc=no
16882 fi
16883 rm -f conftest.err conftest.$ac_ext
16884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16885 echo "${ECHO_T}$ac_header_preproc" >&6
16886
16887 # So? What about this header?
16888 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16889 yes:no: )
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16894 ac_header_preproc=yes
16895 ;;
16896 no:yes:* )
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16909 (
16910 cat <<\_ASBOX
16911 ## ----------------------------------------- ##
16912 ## Report this to wx-dev@lists.wxwidgets.org ##
16913 ## ----------------------------------------- ##
16914 _ASBOX
16915 ) |
16916 sed "s/^/$as_me: WARNING: /" >&2
16917 ;;
16918 esac
16919 echo "$as_me:$LINENO: checking for $ac_header" >&5
16920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 eval "$as_ac_Header=\$ac_header_preproc"
16925 fi
16926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16928
16929 fi
16930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16931 cat >>confdefs.h <<_ACEOF
16932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16933 _ACEOF
16934
16935 fi
16936
16937 done
16938
16939
16940 if test "$ac_cv_header_wchar_h" != "yes"; then
16941
16942 for ac_header in wcstr.h
16943 do
16944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16946 echo "$as_me:$LINENO: checking for $ac_header" >&5
16947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 fi
16951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16953 else
16954 # Is the header compilable?
16955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16957 cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h. */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16964 #include <$ac_header>
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968 (eval $ac_compile) 2>conftest.er1
16969 ac_status=$?
16970 grep -v '^ *+' conftest.er1 >conftest.err
16971 rm -f conftest.er1
16972 cat conftest.err >&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16978 ac_status=$?
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16984 ac_status=$?
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_header_compiler=yes
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 ac_header_compiler=no
16993 fi
16994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16996 echo "${ECHO_T}$ac_header_compiler" >&6
16997
16998 # Is the header present?
16999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 #include <$ac_header>
17008 _ACEOF
17009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } >/dev/null; then
17017 if test -s conftest.err; then
17018 ac_cpp_err=$ac_cxx_preproc_warn_flag
17019 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17020 else
17021 ac_cpp_err=
17022 fi
17023 else
17024 ac_cpp_err=yes
17025 fi
17026 if test -z "$ac_cpp_err"; then
17027 ac_header_preproc=yes
17028 else
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.$ac_ext >&5
17031
17032 ac_header_preproc=no
17033 fi
17034 rm -f conftest.err conftest.$ac_ext
17035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17036 echo "${ECHO_T}$ac_header_preproc" >&6
17037
17038 # So? What about this header?
17039 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17040 yes:no: )
17041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17045 ac_header_preproc=yes
17046 ;;
17047 no:yes:* )
17048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17060 (
17061 cat <<\_ASBOX
17062 ## ----------------------------------------- ##
17063 ## Report this to wx-dev@lists.wxwidgets.org ##
17064 ## ----------------------------------------- ##
17065 _ASBOX
17066 ) |
17067 sed "s/^/$as_me: WARNING: /" >&2
17068 ;;
17069 esac
17070 echo "$as_me:$LINENO: checking for $ac_header" >&5
17071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17073 echo $ECHO_N "(cached) $ECHO_C" >&6
17074 else
17075 eval "$as_ac_Header=\$ac_header_preproc"
17076 fi
17077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17079
17080 fi
17081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17082 cat >>confdefs.h <<_ACEOF
17083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17084 _ACEOF
17085
17086 fi
17087
17088 done
17089
17090 fi
17091
17092
17093 for ac_header in fnmatch.h
17094 do
17095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17097 echo "$as_me:$LINENO: checking for $ac_header" >&5
17098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 fi
17102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17104 else
17105 # Is the header compilable?
17106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h. */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 #include <$ac_header>
17116 _ACEOF
17117 rm -f conftest.$ac_objext
17118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17119 (eval $ac_compile) 2>conftest.er1
17120 ac_status=$?
17121 grep -v '^ *+' conftest.er1 >conftest.err
17122 rm -f conftest.er1
17123 cat conftest.err >&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } &&
17126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try='test -s conftest.$ac_objext'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; }; then
17138 ac_header_compiler=yes
17139 else
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17142
17143 ac_header_compiler=no
17144 fi
17145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17147 echo "${ECHO_T}$ac_header_compiler" >&6
17148
17149 # Is the header present?
17150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17152 cat >conftest.$ac_ext <<_ACEOF
17153 /* confdefs.h. */
17154 _ACEOF
17155 cat confdefs.h >>conftest.$ac_ext
17156 cat >>conftest.$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17158 #include <$ac_header>
17159 _ACEOF
17160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17162 ac_status=$?
17163 grep -v '^ *+' conftest.er1 >conftest.err
17164 rm -f conftest.er1
17165 cat conftest.err >&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } >/dev/null; then
17168 if test -s conftest.err; then
17169 ac_cpp_err=$ac_cxx_preproc_warn_flag
17170 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17171 else
17172 ac_cpp_err=
17173 fi
17174 else
17175 ac_cpp_err=yes
17176 fi
17177 if test -z "$ac_cpp_err"; then
17178 ac_header_preproc=yes
17179 else
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17182
17183 ac_header_preproc=no
17184 fi
17185 rm -f conftest.err conftest.$ac_ext
17186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17187 echo "${ECHO_T}$ac_header_preproc" >&6
17188
17189 # So? What about this header?
17190 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17191 yes:no: )
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17196 ac_header_preproc=yes
17197 ;;
17198 no:yes:* )
17199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17211 (
17212 cat <<\_ASBOX
17213 ## ----------------------------------------- ##
17214 ## Report this to wx-dev@lists.wxwidgets.org ##
17215 ## ----------------------------------------- ##
17216 _ASBOX
17217 ) |
17218 sed "s/^/$as_me: WARNING: /" >&2
17219 ;;
17220 esac
17221 echo "$as_me:$LINENO: checking for $ac_header" >&5
17222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 else
17226 eval "$as_ac_Header=\$ac_header_preproc"
17227 fi
17228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17230
17231 fi
17232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17233 cat >>confdefs.h <<_ACEOF
17234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17235 _ACEOF
17236
17237 fi
17238
17239 done
17240
17241
17242
17243 for ac_header in langinfo.h
17244 do
17245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17247 echo "$as_me:$LINENO: checking for $ac_header" >&5
17248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17250 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 fi
17252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17254 else
17255 # Is the header compilable?
17256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17258 cat >conftest.$ac_ext <<_ACEOF
17259 /* confdefs.h. */
17260 _ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 $ac_includes_default
17265 #include <$ac_header>
17266 _ACEOF
17267 rm -f conftest.$ac_objext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17269 (eval $ac_compile) 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17279 ac_status=$?
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_header_compiler=yes
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17292
17293 ac_header_compiler=no
17294 fi
17295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17297 echo "${ECHO_T}$ac_header_compiler" >&6
17298
17299 # Is the header present?
17300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #include <$ac_header>
17309 _ACEOF
17310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17312 ac_status=$?
17313 grep -v '^ *+' conftest.er1 >conftest.err
17314 rm -f conftest.er1
17315 cat conftest.err >&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } >/dev/null; then
17318 if test -s conftest.err; then
17319 ac_cpp_err=$ac_cxx_preproc_warn_flag
17320 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17321 else
17322 ac_cpp_err=
17323 fi
17324 else
17325 ac_cpp_err=yes
17326 fi
17327 if test -z "$ac_cpp_err"; then
17328 ac_header_preproc=yes
17329 else
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.$ac_ext >&5
17332
17333 ac_header_preproc=no
17334 fi
17335 rm -f conftest.err conftest.$ac_ext
17336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17337 echo "${ECHO_T}$ac_header_preproc" >&6
17338
17339 # So? What about this header?
17340 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17341 yes:no: )
17342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17346 ac_header_preproc=yes
17347 ;;
17348 no:yes:* )
17349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17361 (
17362 cat <<\_ASBOX
17363 ## ----------------------------------------- ##
17364 ## Report this to wx-dev@lists.wxwidgets.org ##
17365 ## ----------------------------------------- ##
17366 _ASBOX
17367 ) |
17368 sed "s/^/$as_me: WARNING: /" >&2
17369 ;;
17370 esac
17371 echo "$as_me:$LINENO: checking for $ac_header" >&5
17372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17374 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 else
17376 eval "$as_ac_Header=\$ac_header_preproc"
17377 fi
17378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17380
17381 fi
17382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17383 cat >>confdefs.h <<_ACEOF
17384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17385 _ACEOF
17386
17387 fi
17388
17389 done
17390
17391
17392 case "${host}" in
17393 *-pc-os2_emx | *-pc-os2-emx )
17394 if test $ac_cv_header_langinfo_h = "yes" \
17395 -a \( "$wx_cv_gccversion" = "EMX2" \
17396 -o "$wx_cv_gccversion" = "EMX3" \
17397 -o "$wx_cv_gccversion" = "Innotek5" \); then
17398 LIBS="$LIBS -lintl"
17399 fi
17400 ;;
17401 esac
17402
17403 if test "$USE_UNIX" = 1 ; then
17404
17405 for ac_header in sys/select.h
17406 do
17407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17409 echo "$as_me:$LINENO: checking for $ac_header" >&5
17410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 fi
17414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17416 else
17417 # Is the header compilable?
17418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17420 cat >conftest.$ac_ext <<_ACEOF
17421 /* confdefs.h. */
17422 _ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17426 $ac_includes_default
17427 #include <$ac_header>
17428 _ACEOF
17429 rm -f conftest.$ac_objext
17430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17431 (eval $ac_compile) 2>conftest.er1
17432 ac_status=$?
17433 grep -v '^ *+' conftest.er1 >conftest.err
17434 rm -f conftest.er1
17435 cat conftest.err >&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } &&
17438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17441 ac_status=$?
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try='test -s conftest.$ac_objext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17447 ac_status=$?
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 ac_header_compiler=yes
17451 else
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17454
17455 ac_header_compiler=no
17456 fi
17457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17459 echo "${ECHO_T}$ac_header_compiler" >&6
17460
17461 # Is the header present?
17462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17464 cat >conftest.$ac_ext <<_ACEOF
17465 /* confdefs.h. */
17466 _ACEOF
17467 cat confdefs.h >>conftest.$ac_ext
17468 cat >>conftest.$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17470 #include <$ac_header>
17471 _ACEOF
17472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17474 ac_status=$?
17475 grep -v '^ *+' conftest.er1 >conftest.err
17476 rm -f conftest.er1
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } >/dev/null; then
17480 if test -s conftest.err; then
17481 ac_cpp_err=$ac_cxx_preproc_warn_flag
17482 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17483 else
17484 ac_cpp_err=
17485 fi
17486 else
17487 ac_cpp_err=yes
17488 fi
17489 if test -z "$ac_cpp_err"; then
17490 ac_header_preproc=yes
17491 else
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17494
17495 ac_header_preproc=no
17496 fi
17497 rm -f conftest.err conftest.$ac_ext
17498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17499 echo "${ECHO_T}$ac_header_preproc" >&6
17500
17501 # So? What about this header?
17502 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17503 yes:no: )
17504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17508 ac_header_preproc=yes
17509 ;;
17510 no:yes:* )
17511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17523 (
17524 cat <<\_ASBOX
17525 ## ----------------------------------------- ##
17526 ## Report this to wx-dev@lists.wxwidgets.org ##
17527 ## ----------------------------------------- ##
17528 _ASBOX
17529 ) |
17530 sed "s/^/$as_me: WARNING: /" >&2
17531 ;;
17532 esac
17533 echo "$as_me:$LINENO: checking for $ac_header" >&5
17534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 else
17538 eval "$as_ac_Header=\$ac_header_preproc"
17539 fi
17540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17542
17543 fi
17544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17545 cat >>confdefs.h <<_ACEOF
17546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17547 _ACEOF
17548
17549 fi
17550
17551 done
17552
17553 fi
17554
17555
17556 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17557 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17558 if test "${ac_cv_c_const+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17561 cat >conftest.$ac_ext <<_ACEOF
17562 /* confdefs.h. */
17563 _ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567
17568 int
17569 main ()
17570 {
17571 /* FIXME: Include the comments suggested by Paul. */
17572 #ifndef __cplusplus
17573 /* Ultrix mips cc rejects this. */
17574 typedef int charset[2];
17575 const charset x;
17576 /* SunOS 4.1.1 cc rejects this. */
17577 char const *const *ccp;
17578 char **p;
17579 /* NEC SVR4.0.2 mips cc rejects this. */
17580 struct point {int x, y;};
17581 static struct point const zero = {0,0};
17582 /* AIX XL C 1.02.0.0 rejects this.
17583 It does not let you subtract one const X* pointer from another in
17584 an arm of an if-expression whose if-part is not a constant
17585 expression */
17586 const char *g = "string";
17587 ccp = &g + (g ? g-g : 0);
17588 /* HPUX 7.0 cc rejects these. */
17589 ++ccp;
17590 p = (char**) ccp;
17591 ccp = (char const *const *) p;
17592 { /* SCO 3.2v4 cc rejects this. */
17593 char *t;
17594 char const *s = 0 ? (char *) 0 : (char const *) 0;
17595
17596 *t++ = 0;
17597 }
17598 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17599 int x[] = {25, 17};
17600 const int *foo = &x[0];
17601 ++foo;
17602 }
17603 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17604 typedef const int *iptr;
17605 iptr p = 0;
17606 ++p;
17607 }
17608 { /* AIX XL C 1.02.0.0 rejects this saying
17609 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17610 struct s { int j; const int *ap[3]; };
17611 struct s *b; b->j = 5;
17612 }
17613 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17614 const int foo = 10;
17615 }
17616 #endif
17617
17618 ;
17619 return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17624 (eval $ac_compile) 2>conftest.er1
17625 ac_status=$?
17626 grep -v '^ *+' conftest.er1 >conftest.err
17627 rm -f conftest.er1
17628 cat conftest.err >&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); } &&
17631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17634 ac_status=$?
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; } &&
17637 { ac_try='test -s conftest.$ac_objext'
17638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17639 (eval $ac_try) 2>&5
17640 ac_status=$?
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); }; }; then
17643 ac_cv_c_const=yes
17644 else
17645 echo "$as_me: failed program was:" >&5
17646 sed 's/^/| /' conftest.$ac_ext >&5
17647
17648 ac_cv_c_const=no
17649 fi
17650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17651 fi
17652 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17653 echo "${ECHO_T}$ac_cv_c_const" >&6
17654 if test $ac_cv_c_const = no; then
17655
17656 cat >>confdefs.h <<\_ACEOF
17657 #define const
17658 _ACEOF
17659
17660 fi
17661
17662 echo "$as_me:$LINENO: checking for inline" >&5
17663 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17664 if test "${ac_cv_c_inline+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17666 else
17667 ac_cv_c_inline=no
17668 for ac_kw in inline __inline__ __inline; do
17669 cat >conftest.$ac_ext <<_ACEOF
17670 /* confdefs.h. */
17671 _ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #ifndef __cplusplus
17676 typedef int foo_t;
17677 static $ac_kw foo_t static_foo () {return 0; }
17678 $ac_kw foo_t foo () {return 0; }
17679 #endif
17680
17681 _ACEOF
17682 rm -f conftest.$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>conftest.er1
17685 ac_status=$?
17686 grep -v '^ *+' conftest.er1 >conftest.err
17687 rm -f conftest.er1
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } &&
17691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17694 ac_status=$?
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; } &&
17697 { ac_try='test -s conftest.$ac_objext'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17700 ac_status=$?
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; }; then
17703 ac_cv_c_inline=$ac_kw; break
17704 else
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17707
17708 fi
17709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17710 done
17711
17712 fi
17713 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17714 echo "${ECHO_T}$ac_cv_c_inline" >&6
17715
17716
17717 case $ac_cv_c_inline in
17718 inline | yes) ;;
17719 *)
17720 case $ac_cv_c_inline in
17721 no) ac_val=;;
17722 *) ac_val=$ac_cv_c_inline;;
17723 esac
17724 cat >>confdefs.h <<_ACEOF
17725 #ifndef __cplusplus
17726 #define inline $ac_val
17727 #endif
17728 _ACEOF
17729 ;;
17730 esac
17731
17732
17733 echo "$as_me:$LINENO: checking for char" >&5
17734 echo $ECHO_N "checking for char... $ECHO_C" >&6
17735 if test "${ac_cv_type_char+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 else
17738 cat >conftest.$ac_ext <<_ACEOF
17739 /* confdefs.h. */
17740 _ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 $ac_includes_default
17745 int
17746 main ()
17747 {
17748 if ((char *) 0)
17749 return 0;
17750 if (sizeof (char))
17751 return 0;
17752 ;
17753 return 0;
17754 }
17755 _ACEOF
17756 rm -f conftest.$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17759 ac_status=$?
17760 grep -v '^ *+' conftest.er1 >conftest.err
17761 rm -f conftest.er1
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try='test -s conftest.$ac_objext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 ac_cv_type_char=yes
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17781
17782 ac_cv_type_char=no
17783 fi
17784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17785 fi
17786 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17787 echo "${ECHO_T}$ac_cv_type_char" >&6
17788
17789 echo "$as_me:$LINENO: checking size of char" >&5
17790 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17791 if test "${ac_cv_sizeof_char+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 else
17794 if test "$ac_cv_type_char" = yes; then
17795 # The cast to unsigned long works around a bug in the HP C Compiler
17796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17798 # This bug is HP SR number 8606223364.
17799 if test "$cross_compiling" = yes; then
17800 # Depending upon the size, compute the lo and hi bounds.
17801 cat >conftest.$ac_ext <<_ACEOF
17802 /* confdefs.h. */
17803 _ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 $ac_includes_default
17808 int
17809 main ()
17810 {
17811 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17812 test_array [0] = 0
17813
17814 ;
17815 return 0;
17816 }
17817 _ACEOF
17818 rm -f conftest.$ac_objext
17819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17820 (eval $ac_compile) 2>conftest.er1
17821 ac_status=$?
17822 grep -v '^ *+' conftest.er1 >conftest.err
17823 rm -f conftest.er1
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17830 ac_status=$?
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try='test -s conftest.$ac_objext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17836 ac_status=$?
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 ac_lo=0 ac_mid=0
17840 while :; do
17841 cat >conftest.$ac_ext <<_ACEOF
17842 /* confdefs.h. */
17843 _ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 $ac_includes_default
17848 int
17849 main ()
17850 {
17851 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17852 test_array [0] = 0
17853
17854 ;
17855 return 0;
17856 }
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_hi=$ac_mid; break
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17883
17884 ac_lo=`expr $ac_mid + 1`
17885 if test $ac_lo -le $ac_mid; then
17886 ac_lo= ac_hi=
17887 break
17888 fi
17889 ac_mid=`expr 2 '*' $ac_mid + 1`
17890 fi
17891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17892 done
17893 else
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17896
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h. */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 $ac_includes_default
17904 int
17905 main ()
17906 {
17907 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17908 test_array [0] = 0
17909
17910 ;
17911 return 0;
17912 }
17913 _ACEOF
17914 rm -f conftest.$ac_objext
17915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17916 (eval $ac_compile) 2>conftest.er1
17917 ac_status=$?
17918 grep -v '^ *+' conftest.er1 >conftest.err
17919 rm -f conftest.er1
17920 cat conftest.err >&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } &&
17923 { ac_try='test -z "$ac_cxx_werror_flag" || 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_hi=-1 ac_mid=-1
17936 while :; do
17937 cat >conftest.$ac_ext <<_ACEOF
17938 /* confdefs.h. */
17939 _ACEOF
17940 cat confdefs.h >>conftest.$ac_ext
17941 cat >>conftest.$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17943 $ac_includes_default
17944 int
17945 main ()
17946 {
17947 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17948 test_array [0] = 0
17949
17950 ;
17951 return 0;
17952 }
17953 _ACEOF
17954 rm -f conftest.$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17966 ac_status=$?
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; } &&
17969 { ac_try='test -s conftest.$ac_objext'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; }; then
17975 ac_lo=$ac_mid; break
17976 else
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17979
17980 ac_hi=`expr '(' $ac_mid ')' - 1`
17981 if test $ac_mid -le $ac_hi; then
17982 ac_lo= ac_hi=
17983 break
17984 fi
17985 ac_mid=`expr 2 '*' $ac_mid`
17986 fi
17987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 done
17989 else
17990 echo "$as_me: failed program was:" >&5
17991 sed 's/^/| /' conftest.$ac_ext >&5
17992
17993 ac_lo= ac_hi=
17994 fi
17995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17996 fi
17997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17998 # Binary search between lo and hi bounds.
17999 while test "x$ac_lo" != "x$ac_hi"; do
18000 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18008 int
18009 main ()
18010 {
18011 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18012 test_array [0] = 0
18013
18014 ;
18015 return 0;
18016 }
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039 ac_hi=$ac_mid
18040 else
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.$ac_ext >&5
18043
18044 ac_lo=`expr '(' $ac_mid ')' + 1`
18045 fi
18046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18047 done
18048 case $ac_lo in
18049 ?*) ac_cv_sizeof_char=$ac_lo;;
18050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18051 See \`config.log' for more details." >&5
18052 echo "$as_me: error: cannot compute sizeof (char), 77
18053 See \`config.log' for more details." >&2;}
18054 { (exit 1); exit 1; }; } ;;
18055 esac
18056 else
18057 if test "$cross_compiling" = yes; then
18058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18060 { (exit 1); exit 1; }; }
18061 else
18062 cat >conftest.$ac_ext <<_ACEOF
18063 /* confdefs.h. */
18064 _ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 $ac_includes_default
18069 long longval () { return (long) (sizeof (char)); }
18070 unsigned long ulongval () { return (long) (sizeof (char)); }
18071 #include <stdio.h>
18072 #include <stdlib.h>
18073 int
18074 main ()
18075 {
18076
18077 FILE *f = fopen ("conftest.val", "w");
18078 if (! f)
18079 exit (1);
18080 if (((long) (sizeof (char))) < 0)
18081 {
18082 long i = longval ();
18083 if (i != ((long) (sizeof (char))))
18084 exit (1);
18085 fprintf (f, "%ld\n", i);
18086 }
18087 else
18088 {
18089 unsigned long i = ulongval ();
18090 if (i != ((long) (sizeof (char))))
18091 exit (1);
18092 fprintf (f, "%lu\n", i);
18093 }
18094 exit (ferror (f) || fclose (f) != 0);
18095
18096 ;
18097 return 0;
18098 }
18099 _ACEOF
18100 rm -f conftest$ac_exeext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18102 (eval $ac_link) 2>&5
18103 ac_status=$?
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18108 ac_status=$?
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; }; then
18111 ac_cv_sizeof_char=`cat conftest.val`
18112 else
18113 echo "$as_me: program exited with status $ac_status" >&5
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ( exit $ac_status )
18118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18119 See \`config.log' for more details." >&5
18120 echo "$as_me: error: cannot compute sizeof (char), 77
18121 See \`config.log' for more details." >&2;}
18122 { (exit 1); exit 1; }; }
18123 fi
18124 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18125 fi
18126 fi
18127 rm -f conftest.val
18128 else
18129 ac_cv_sizeof_char=0
18130 fi
18131 fi
18132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18133 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18134 cat >>confdefs.h <<_ACEOF
18135 #define SIZEOF_CHAR $ac_cv_sizeof_char
18136 _ACEOF
18137
18138
18139 echo "$as_me:$LINENO: checking for short" >&5
18140 echo $ECHO_N "checking for short... $ECHO_C" >&6
18141 if test "${ac_cv_type_short+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 else
18144 cat >conftest.$ac_ext <<_ACEOF
18145 /* confdefs.h. */
18146 _ACEOF
18147 cat confdefs.h >>conftest.$ac_ext
18148 cat >>conftest.$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18150 $ac_includes_default
18151 int
18152 main ()
18153 {
18154 if ((short *) 0)
18155 return 0;
18156 if (sizeof (short))
18157 return 0;
18158 ;
18159 return 0;
18160 }
18161 _ACEOF
18162 rm -f conftest.$ac_objext
18163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18164 (eval $ac_compile) 2>conftest.er1
18165 ac_status=$?
18166 grep -v '^ *+' conftest.er1 >conftest.err
18167 rm -f conftest.er1
18168 cat conftest.err >&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; } &&
18177 { ac_try='test -s conftest.$ac_objext'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18180 ac_status=$?
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; }; then
18183 ac_cv_type_short=yes
18184 else
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.$ac_ext >&5
18187
18188 ac_cv_type_short=no
18189 fi
18190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18191 fi
18192 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18193 echo "${ECHO_T}$ac_cv_type_short" >&6
18194
18195 echo "$as_me:$LINENO: checking size of short" >&5
18196 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18197 if test "${ac_cv_sizeof_short+set}" = set; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 else
18200 if test "$ac_cv_type_short" = yes; then
18201 # The cast to unsigned long works around a bug in the HP C Compiler
18202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18204 # This bug is HP SR number 8606223364.
18205 if test "$cross_compiling" = yes; then
18206 # Depending upon the size, compute the lo and hi bounds.
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213 $ac_includes_default
18214 int
18215 main ()
18216 {
18217 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18218 test_array [0] = 0
18219
18220 ;
18221 return 0;
18222 }
18223 _ACEOF
18224 rm -f conftest.$ac_objext
18225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18226 (eval $ac_compile) 2>conftest.er1
18227 ac_status=$?
18228 grep -v '^ *+' conftest.er1 >conftest.err
18229 rm -f conftest.er1
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
18233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18236 ac_status=$?
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; } &&
18239 { ac_try='test -s conftest.$ac_objext'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18242 ac_status=$?
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18245 ac_lo=0 ac_mid=0
18246 while :; do
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 $ac_includes_default
18254 int
18255 main ()
18256 {
18257 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18258 test_array [0] = 0
18259
18260 ;
18261 return 0;
18262 }
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18267 ac_status=$?
18268 grep -v '^ *+' conftest.er1 >conftest.err
18269 rm -f conftest.er1
18270 cat conftest.err >&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; } &&
18279 { ac_try='test -s conftest.$ac_objext'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18282 ac_status=$?
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; }; then
18285 ac_hi=$ac_mid; break
18286 else
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18289
18290 ac_lo=`expr $ac_mid + 1`
18291 if test $ac_lo -le $ac_mid; then
18292 ac_lo= ac_hi=
18293 break
18294 fi
18295 ac_mid=`expr 2 '*' $ac_mid + 1`
18296 fi
18297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18298 done
18299 else
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18302
18303 cat >conftest.$ac_ext <<_ACEOF
18304 /* confdefs.h. */
18305 _ACEOF
18306 cat confdefs.h >>conftest.$ac_ext
18307 cat >>conftest.$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18309 $ac_includes_default
18310 int
18311 main ()
18312 {
18313 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18314 test_array [0] = 0
18315
18316 ;
18317 return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>conftest.er1
18323 ac_status=$?
18324 grep -v '^ *+' conftest.er1 >conftest.err
18325 rm -f conftest.er1
18326 cat conftest.err >&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18332 ac_status=$?
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try='test -s conftest.$ac_objext'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18338 ac_status=$?
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; }; then
18341 ac_hi=-1 ac_mid=-1
18342 while :; do
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 $ac_includes_default
18350 int
18351 main ()
18352 {
18353 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18354 test_array [0] = 0
18355
18356 ;
18357 return 0;
18358 }
18359 _ACEOF
18360 rm -f conftest.$ac_objext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18362 (eval $ac_compile) 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; } &&
18375 { ac_try='test -s conftest.$ac_objext'
18376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18377 (eval $ac_try) 2>&5
18378 ac_status=$?
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 ac_lo=$ac_mid; break
18382 else
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18385
18386 ac_hi=`expr '(' $ac_mid ')' - 1`
18387 if test $ac_mid -le $ac_hi; then
18388 ac_lo= ac_hi=
18389 break
18390 fi
18391 ac_mid=`expr 2 '*' $ac_mid`
18392 fi
18393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18394 done
18395 else
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18398
18399 ac_lo= ac_hi=
18400 fi
18401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402 fi
18403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18404 # Binary search between lo and hi bounds.
18405 while test "x$ac_lo" != "x$ac_hi"; do
18406 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18407 cat >conftest.$ac_ext <<_ACEOF
18408 /* confdefs.h. */
18409 _ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 $ac_includes_default
18414 int
18415 main ()
18416 {
18417 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18418 test_array [0] = 0
18419
18420 ;
18421 return 0;
18422 }
18423 _ACEOF
18424 rm -f conftest.$ac_objext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18426 (eval $ac_compile) 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try='test -s conftest.$ac_objext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18442 ac_status=$?
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18445 ac_hi=$ac_mid
18446 else
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.$ac_ext >&5
18449
18450 ac_lo=`expr '(' $ac_mid ')' + 1`
18451 fi
18452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18453 done
18454 case $ac_lo in
18455 ?*) ac_cv_sizeof_short=$ac_lo;;
18456 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18457 See \`config.log' for more details." >&5
18458 echo "$as_me: error: cannot compute sizeof (short), 77
18459 See \`config.log' for more details." >&2;}
18460 { (exit 1); exit 1; }; } ;;
18461 esac
18462 else
18463 if test "$cross_compiling" = yes; then
18464 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18465 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18466 { (exit 1); exit 1; }; }
18467 else
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18475 long longval () { return (long) (sizeof (short)); }
18476 unsigned long ulongval () { return (long) (sizeof (short)); }
18477 #include <stdio.h>
18478 #include <stdlib.h>
18479 int
18480 main ()
18481 {
18482
18483 FILE *f = fopen ("conftest.val", "w");
18484 if (! f)
18485 exit (1);
18486 if (((long) (sizeof (short))) < 0)
18487 {
18488 long i = longval ();
18489 if (i != ((long) (sizeof (short))))
18490 exit (1);
18491 fprintf (f, "%ld\n", i);
18492 }
18493 else
18494 {
18495 unsigned long i = ulongval ();
18496 if (i != ((long) (sizeof (short))))
18497 exit (1);
18498 fprintf (f, "%lu\n", i);
18499 }
18500 exit (ferror (f) || fclose (f) != 0);
18501
18502 ;
18503 return 0;
18504 }
18505 _ACEOF
18506 rm -f conftest$ac_exeext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18508 (eval $ac_link) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18514 ac_status=$?
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; }; then
18517 ac_cv_sizeof_short=`cat conftest.val`
18518 else
18519 echo "$as_me: program exited with status $ac_status" >&5
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 ( exit $ac_status )
18524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot compute sizeof (short), 77
18527 See \`config.log' for more details." >&2;}
18528 { (exit 1); exit 1; }; }
18529 fi
18530 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18531 fi
18532 fi
18533 rm -f conftest.val
18534 else
18535 ac_cv_sizeof_short=0
18536 fi
18537 fi
18538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18539 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18540 cat >>confdefs.h <<_ACEOF
18541 #define SIZEOF_SHORT $ac_cv_sizeof_short
18542 _ACEOF
18543
18544
18545 echo "$as_me:$LINENO: checking for void *" >&5
18546 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18547 if test "${ac_cv_type_void_p+set}" = set; then
18548 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 else
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 $ac_includes_default
18557 int
18558 main ()
18559 {
18560 if ((void * *) 0)
18561 return 0;
18562 if (sizeof (void *))
18563 return 0;
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18570 (eval $ac_compile) 2>conftest.er1
18571 ac_status=$?
18572 grep -v '^ *+' conftest.er1 >conftest.err
18573 rm -f conftest.er1
18574 cat conftest.err >&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try='test -s conftest.$ac_objext'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18586 ac_status=$?
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; }; then
18589 ac_cv_type_void_p=yes
18590 else
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18593
18594 ac_cv_type_void_p=no
18595 fi
18596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18597 fi
18598 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18599 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18600
18601 echo "$as_me:$LINENO: checking size of void *" >&5
18602 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18603 if test "${ac_cv_sizeof_void_p+set}" = set; then
18604 echo $ECHO_N "(cached) $ECHO_C" >&6
18605 else
18606 if test "$ac_cv_type_void_p" = yes; then
18607 # The cast to unsigned long works around a bug in the HP C Compiler
18608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18610 # This bug is HP SR number 8606223364.
18611 if test "$cross_compiling" = yes; then
18612 # Depending upon the size, compute the lo and hi bounds.
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 $ac_includes_default
18620 int
18621 main ()
18622 {
18623 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18624 test_array [0] = 0
18625
18626 ;
18627 return 0;
18628 }
18629 _ACEOF
18630 rm -f conftest.$ac_objext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18632 (eval $ac_compile) 2>conftest.er1
18633 ac_status=$?
18634 grep -v '^ *+' conftest.er1 >conftest.err
18635 rm -f conftest.er1
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18642 ac_status=$?
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_lo=0 ac_mid=0
18652 while :; do
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18660 int
18661 main ()
18662 {
18663 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18664 test_array [0] = 0
18665
18666 ;
18667 return 0;
18668 }
18669 _ACEOF
18670 rm -f conftest.$ac_objext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18672 (eval $ac_compile) 2>conftest.er1
18673 ac_status=$?
18674 grep -v '^ *+' conftest.er1 >conftest.err
18675 rm -f conftest.er1
18676 cat conftest.err >&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try='test -z "$ac_cxx_werror_flag" || 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; break
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 if test $ac_lo -le $ac_mid; then
18698 ac_lo= ac_hi=
18699 break
18700 fi
18701 ac_mid=`expr 2 '*' $ac_mid + 1`
18702 fi
18703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18704 done
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h. */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18716 int
18717 main ()
18718 {
18719 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18720 test_array [0] = 0
18721
18722 ;
18723 return 0;
18724 }
18725 _ACEOF
18726 rm -f conftest.$ac_objext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18728 (eval $ac_compile) 2>conftest.er1
18729 ac_status=$?
18730 grep -v '^ *+' conftest.er1 >conftest.err
18731 rm -f conftest.er1
18732 cat conftest.err >&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } &&
18735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 ac_hi=-1 ac_mid=-1
18748 while :; do
18749 cat >conftest.$ac_ext <<_ACEOF
18750 /* confdefs.h. */
18751 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 $ac_includes_default
18756 int
18757 main ()
18758 {
18759 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18760 test_array [0] = 0
18761
18762 ;
18763 return 0;
18764 }
18765 _ACEOF
18766 rm -f conftest.$ac_objext
18767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18768 (eval $ac_compile) 2>conftest.er1
18769 ac_status=$?
18770 grep -v '^ *+' conftest.er1 >conftest.err
18771 rm -f conftest.er1
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } &&
18775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18778 ac_status=$?
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; } &&
18781 { ac_try='test -s conftest.$ac_objext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_lo=$ac_mid; break
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18791
18792 ac_hi=`expr '(' $ac_mid ')' - 1`
18793 if test $ac_mid -le $ac_hi; then
18794 ac_lo= ac_hi=
18795 break
18796 fi
18797 ac_mid=`expr 2 '*' $ac_mid`
18798 fi
18799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18800 done
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 ac_lo= ac_hi=
18806 fi
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18808 fi
18809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18810 # Binary search between lo and hi bounds.
18811 while test "x$ac_lo" != "x$ac_hi"; do
18812 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18813 cat >conftest.$ac_ext <<_ACEOF
18814 /* confdefs.h. */
18815 _ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 $ac_includes_default
18820 int
18821 main ()
18822 {
18823 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18824 test_array [0] = 0
18825
18826 ;
18827 return 0;
18828 }
18829 _ACEOF
18830 rm -f conftest.$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>conftest.er1
18833 ac_status=$?
18834 grep -v '^ *+' conftest.er1 >conftest.err
18835 rm -f conftest.er1
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18842 ac_status=$?
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try='test -s conftest.$ac_objext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18848 ac_status=$?
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 ac_hi=$ac_mid
18852 else
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.$ac_ext >&5
18855
18856 ac_lo=`expr '(' $ac_mid ')' + 1`
18857 fi
18858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18859 done
18860 case $ac_lo in
18861 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18862 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18863 See \`config.log' for more details." >&5
18864 echo "$as_me: error: cannot compute sizeof (void *), 77
18865 See \`config.log' for more details." >&2;}
18866 { (exit 1); exit 1; }; } ;;
18867 esac
18868 else
18869 if test "$cross_compiling" = yes; then
18870 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18871 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18872 { (exit 1); exit 1; }; }
18873 else
18874 cat >conftest.$ac_ext <<_ACEOF
18875 /* confdefs.h. */
18876 _ACEOF
18877 cat confdefs.h >>conftest.$ac_ext
18878 cat >>conftest.$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18880 $ac_includes_default
18881 long longval () { return (long) (sizeof (void *)); }
18882 unsigned long ulongval () { return (long) (sizeof (void *)); }
18883 #include <stdio.h>
18884 #include <stdlib.h>
18885 int
18886 main ()
18887 {
18888
18889 FILE *f = fopen ("conftest.val", "w");
18890 if (! f)
18891 exit (1);
18892 if (((long) (sizeof (void *))) < 0)
18893 {
18894 long i = longval ();
18895 if (i != ((long) (sizeof (void *))))
18896 exit (1);
18897 fprintf (f, "%ld\n", i);
18898 }
18899 else
18900 {
18901 unsigned long i = ulongval ();
18902 if (i != ((long) (sizeof (void *))))
18903 exit (1);
18904 fprintf (f, "%lu\n", i);
18905 }
18906 exit (ferror (f) || fclose (f) != 0);
18907
18908 ;
18909 return 0;
18910 }
18911 _ACEOF
18912 rm -f conftest$ac_exeext
18913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18914 (eval $ac_link) 2>&5
18915 ac_status=$?
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18920 ac_status=$?
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_cv_sizeof_void_p=`cat conftest.val`
18924 else
18925 echo "$as_me: program exited with status $ac_status" >&5
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.$ac_ext >&5
18928
18929 ( exit $ac_status )
18930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18931 See \`config.log' for more details." >&5
18932 echo "$as_me: error: cannot compute sizeof (void *), 77
18933 See \`config.log' for more details." >&2;}
18934 { (exit 1); exit 1; }; }
18935 fi
18936 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18937 fi
18938 fi
18939 rm -f conftest.val
18940 else
18941 ac_cv_sizeof_void_p=0
18942 fi
18943 fi
18944 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18945 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18946 cat >>confdefs.h <<_ACEOF
18947 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18948 _ACEOF
18949
18950
18951 echo "$as_me:$LINENO: checking for int" >&5
18952 echo $ECHO_N "checking for int... $ECHO_C" >&6
18953 if test "${ac_cv_type_int+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h. */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 $ac_includes_default
18963 int
18964 main ()
18965 {
18966 if ((int *) 0)
18967 return 0;
18968 if (sizeof (int))
18969 return 0;
18970 ;
18971 return 0;
18972 }
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18976 (eval $ac_compile) 2>conftest.er1
18977 ac_status=$?
18978 grep -v '^ *+' conftest.er1 >conftest.err
18979 rm -f conftest.er1
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } &&
18983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; } &&
18989 { ac_try='test -s conftest.$ac_objext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18992 ac_status=$?
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_cv_type_int=yes
18996 else
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.$ac_ext >&5
18999
19000 ac_cv_type_int=no
19001 fi
19002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19003 fi
19004 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19005 echo "${ECHO_T}$ac_cv_type_int" >&6
19006
19007 echo "$as_me:$LINENO: checking size of int" >&5
19008 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19009 if test "${ac_cv_sizeof_int+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 if test "$ac_cv_type_int" = yes; then
19013 # The cast to unsigned long works around a bug in the HP C Compiler
19014 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19015 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19016 # This bug is HP SR number 8606223364.
19017 if test "$cross_compiling" = yes; then
19018 # Depending upon the size, compute the lo and hi bounds.
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 int
19027 main ()
19028 {
19029 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19030 test_array [0] = 0
19031
19032 ;
19033 return 0;
19034 }
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 ac_lo=0 ac_mid=0
19058 while :; do
19059 cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h. */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 $ac_includes_default
19066 int
19067 main ()
19068 {
19069 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19070 test_array [0] = 0
19071
19072 ;
19073 return 0;
19074 }
19075 _ACEOF
19076 rm -f conftest.$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>conftest.er1
19079 ac_status=$?
19080 grep -v '^ *+' conftest.er1 >conftest.err
19081 rm -f conftest.er1
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19088 ac_status=$?
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try='test -s conftest.$ac_objext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19097 ac_hi=$ac_mid; break
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19101
19102 ac_lo=`expr $ac_mid + 1`
19103 if test $ac_lo -le $ac_mid; then
19104 ac_lo= ac_hi=
19105 break
19106 fi
19107 ac_mid=`expr 2 '*' $ac_mid + 1`
19108 fi
19109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19110 done
19111 else
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */
19117 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 $ac_includes_default
19122 int
19123 main ()
19124 {
19125 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19126 test_array [0] = 0
19127
19128 ;
19129 return 0;
19130 }
19131 _ACEOF
19132 rm -f conftest.$ac_objext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19134 (eval $ac_compile) 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try='test -s conftest.$ac_objext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19150 ac_status=$?
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19153 ac_hi=-1 ac_mid=-1
19154 while :; do
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 int
19163 main ()
19164 {
19165 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19166 test_array [0] = 0
19167
19168 ;
19169 return 0;
19170 }
19171 _ACEOF
19172 rm -f conftest.$ac_objext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174 (eval $ac_compile) 2>conftest.er1
19175 ac_status=$?
19176 grep -v '^ *+' conftest.er1 >conftest.err
19177 rm -f conftest.er1
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19184 ac_status=$?
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19190 ac_status=$?
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 ac_lo=$ac_mid; break
19194 else
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.$ac_ext >&5
19197
19198 ac_hi=`expr '(' $ac_mid ')' - 1`
19199 if test $ac_mid -le $ac_hi; then
19200 ac_lo= ac_hi=
19201 break
19202 fi
19203 ac_mid=`expr 2 '*' $ac_mid`
19204 fi
19205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19206 done
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 ac_lo= ac_hi=
19212 fi
19213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19214 fi
19215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19216 # Binary search between lo and hi bounds.
19217 while test "x$ac_lo" != "x$ac_hi"; do
19218 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h. */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 $ac_includes_default
19226 int
19227 main ()
19228 {
19229 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19230 test_array [0] = 0
19231
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 rm -f conftest.$ac_objext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19238 (eval $ac_compile) 2>conftest.er1
19239 ac_status=$?
19240 grep -v '^ *+' conftest.er1 >conftest.err
19241 rm -f conftest.er1
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; } &&
19251 { ac_try='test -s conftest.$ac_objext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19254 ac_status=$?
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_hi=$ac_mid
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19261
19262 ac_lo=`expr '(' $ac_mid ')' + 1`
19263 fi
19264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19265 done
19266 case $ac_lo in
19267 ?*) ac_cv_sizeof_int=$ac_lo;;
19268 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19269 See \`config.log' for more details." >&5
19270 echo "$as_me: error: cannot compute sizeof (int), 77
19271 See \`config.log' for more details." >&2;}
19272 { (exit 1); exit 1; }; } ;;
19273 esac
19274 else
19275 if test "$cross_compiling" = yes; then
19276 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19277 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19278 { (exit 1); exit 1; }; }
19279 else
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19287 long longval () { return (long) (sizeof (int)); }
19288 unsigned long ulongval () { return (long) (sizeof (int)); }
19289 #include <stdio.h>
19290 #include <stdlib.h>
19291 int
19292 main ()
19293 {
19294
19295 FILE *f = fopen ("conftest.val", "w");
19296 if (! f)
19297 exit (1);
19298 if (((long) (sizeof (int))) < 0)
19299 {
19300 long i = longval ();
19301 if (i != ((long) (sizeof (int))))
19302 exit (1);
19303 fprintf (f, "%ld\n", i);
19304 }
19305 else
19306 {
19307 unsigned long i = ulongval ();
19308 if (i != ((long) (sizeof (int))))
19309 exit (1);
19310 fprintf (f, "%lu\n", i);
19311 }
19312 exit (ferror (f) || fclose (f) != 0);
19313
19314 ;
19315 return 0;
19316 }
19317 _ACEOF
19318 rm -f conftest$ac_exeext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19320 (eval $ac_link) 2>&5
19321 ac_status=$?
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19326 ac_status=$?
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; }; then
19329 ac_cv_sizeof_int=`cat conftest.val`
19330 else
19331 echo "$as_me: program exited with status $ac_status" >&5
19332 echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.$ac_ext >&5
19334
19335 ( exit $ac_status )
19336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19337 See \`config.log' for more details." >&5
19338 echo "$as_me: error: cannot compute sizeof (int), 77
19339 See \`config.log' for more details." >&2;}
19340 { (exit 1); exit 1; }; }
19341 fi
19342 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19343 fi
19344 fi
19345 rm -f conftest.val
19346 else
19347 ac_cv_sizeof_int=0
19348 fi
19349 fi
19350 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19351 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19352 cat >>confdefs.h <<_ACEOF
19353 #define SIZEOF_INT $ac_cv_sizeof_int
19354 _ACEOF
19355
19356
19357 echo "$as_me:$LINENO: checking for long" >&5
19358 echo $ECHO_N "checking for long... $ECHO_C" >&6
19359 if test "${ac_cv_type_long+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 else
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19369 int
19370 main ()
19371 {
19372 if ((long *) 0)
19373 return 0;
19374 if (sizeof (long))
19375 return 0;
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19383 ac_status=$?
19384 grep -v '^ *+' conftest.er1 >conftest.err
19385 rm -f conftest.er1
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; } &&
19395 { ac_try='test -s conftest.$ac_objext'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19398 ac_status=$?
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; }; then
19401 ac_cv_type_long=yes
19402 else
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19405
19406 ac_cv_type_long=no
19407 fi
19408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19409 fi
19410 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19411 echo "${ECHO_T}$ac_cv_type_long" >&6
19412
19413 echo "$as_me:$LINENO: checking size of long" >&5
19414 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19415 if test "${ac_cv_sizeof_long+set}" = set; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 else
19418 if test "$ac_cv_type_long" = yes; then
19419 # The cast to unsigned long works around a bug in the HP C Compiler
19420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19422 # This bug is HP SR number 8606223364.
19423 if test "$cross_compiling" = yes; then
19424 # Depending upon the size, compute the lo and hi bounds.
19425 cat >conftest.$ac_ext <<_ACEOF
19426 /* confdefs.h. */
19427 _ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 $ac_includes_default
19432 int
19433 main ()
19434 {
19435 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19436 test_array [0] = 0
19437
19438 ;
19439 return 0;
19440 }
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19454 ac_status=$?
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; } &&
19457 { ac_try='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19460 ac_status=$?
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 ac_lo=0 ac_mid=0
19464 while :; do
19465 cat >conftest.$ac_ext <<_ACEOF
19466 /* confdefs.h. */
19467 _ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 $ac_includes_default
19472 int
19473 main ()
19474 {
19475 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19476 test_array [0] = 0
19477
19478 ;
19479 return 0;
19480 }
19481 _ACEOF
19482 rm -f conftest.$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19485 ac_status=$?
19486 grep -v '^ *+' conftest.er1 >conftest.err
19487 rm -f conftest.er1
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19494 ac_status=$?
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_hi=$ac_mid; break
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19507
19508 ac_lo=`expr $ac_mid + 1`
19509 if test $ac_lo -le $ac_mid; then
19510 ac_lo= ac_hi=
19511 break
19512 fi
19513 ac_mid=`expr 2 '*' $ac_mid + 1`
19514 fi
19515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19516 done
19517 else
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19520
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 $ac_includes_default
19528 int
19529 main ()
19530 {
19531 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19532 test_array [0] = 0
19533
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19540 (eval $ac_compile) 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549 (eval $ac_try) 2>&5
19550 ac_status=$?
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; } &&
19553 { ac_try='test -s conftest.$ac_objext'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; }; then
19559 ac_hi=-1 ac_mid=-1
19560 while :; do
19561 cat >conftest.$ac_ext <<_ACEOF
19562 /* confdefs.h. */
19563 _ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567 $ac_includes_default
19568 int
19569 main ()
19570 {
19571 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19572 test_array [0] = 0
19573
19574 ;
19575 return 0;
19576 }
19577 _ACEOF
19578 rm -f conftest.$ac_objext
19579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19580 (eval $ac_compile) 2>conftest.er1
19581 ac_status=$?
19582 grep -v '^ *+' conftest.er1 >conftest.err
19583 rm -f conftest.er1
19584 cat conftest.err >&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); } &&
19587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19593 { ac_try='test -s conftest.$ac_objext'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19596 ac_status=$?
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 ac_lo=$ac_mid; break
19600 else
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19603
19604 ac_hi=`expr '(' $ac_mid ')' - 1`
19605 if test $ac_mid -le $ac_hi; then
19606 ac_lo= ac_hi=
19607 break
19608 fi
19609 ac_mid=`expr 2 '*' $ac_mid`
19610 fi
19611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19612 done
19613 else
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.$ac_ext >&5
19616
19617 ac_lo= ac_hi=
19618 fi
19619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19620 fi
19621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19622 # Binary search between lo and hi bounds.
19623 while test "x$ac_lo" != "x$ac_hi"; do
19624 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19625 cat >conftest.$ac_ext <<_ACEOF
19626 /* confdefs.h. */
19627 _ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19632 int
19633 main ()
19634 {
19635 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19636 test_array [0] = 0
19637
19638 ;
19639 return 0;
19640 }
19641 _ACEOF
19642 rm -f conftest.$ac_objext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644 (eval $ac_compile) 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; } &&
19657 { ac_try='test -s conftest.$ac_objext'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19660 ac_status=$?
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; }; then
19663 ac_hi=$ac_mid
19664 else
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.$ac_ext >&5
19667
19668 ac_lo=`expr '(' $ac_mid ')' + 1`
19669 fi
19670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19671 done
19672 case $ac_lo in
19673 ?*) ac_cv_sizeof_long=$ac_lo;;
19674 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19675 See \`config.log' for more details." >&5
19676 echo "$as_me: error: cannot compute sizeof (long), 77
19677 See \`config.log' for more details." >&2;}
19678 { (exit 1); exit 1; }; } ;;
19679 esac
19680 else
19681 if test "$cross_compiling" = yes; then
19682 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19683 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19684 { (exit 1); exit 1; }; }
19685 else
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 long longval () { return (long) (sizeof (long)); }
19694 unsigned long ulongval () { return (long) (sizeof (long)); }
19695 #include <stdio.h>
19696 #include <stdlib.h>
19697 int
19698 main ()
19699 {
19700
19701 FILE *f = fopen ("conftest.val", "w");
19702 if (! f)
19703 exit (1);
19704 if (((long) (sizeof (long))) < 0)
19705 {
19706 long i = longval ();
19707 if (i != ((long) (sizeof (long))))
19708 exit (1);
19709 fprintf (f, "%ld\n", i);
19710 }
19711 else
19712 {
19713 unsigned long i = ulongval ();
19714 if (i != ((long) (sizeof (long))))
19715 exit (1);
19716 fprintf (f, "%lu\n", i);
19717 }
19718 exit (ferror (f) || fclose (f) != 0);
19719
19720 ;
19721 return 0;
19722 }
19723 _ACEOF
19724 rm -f conftest$ac_exeext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19726 (eval $ac_link) 2>&5
19727 ac_status=$?
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19732 ac_status=$?
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 ac_cv_sizeof_long=`cat conftest.val`
19736 else
19737 echo "$as_me: program exited with status $ac_status" >&5
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 ( exit $ac_status )
19742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19743 See \`config.log' for more details." >&5
19744 echo "$as_me: error: cannot compute sizeof (long), 77
19745 See \`config.log' for more details." >&2;}
19746 { (exit 1); exit 1; }; }
19747 fi
19748 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19749 fi
19750 fi
19751 rm -f conftest.val
19752 else
19753 ac_cv_sizeof_long=0
19754 fi
19755 fi
19756 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19757 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19758 cat >>confdefs.h <<_ACEOF
19759 #define SIZEOF_LONG $ac_cv_sizeof_long
19760 _ACEOF
19761
19762
19763 echo "$as_me:$LINENO: checking for size_t" >&5
19764 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19765 if test "${ac_cv_type_size_t+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 else
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 int
19776 main ()
19777 {
19778 if ((size_t *) 0)
19779 return 0;
19780 if (sizeof (size_t))
19781 return 0;
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19788 (eval $ac_compile) 2>conftest.er1
19789 ac_status=$?
19790 grep -v '^ *+' conftest.er1 >conftest.err
19791 rm -f conftest.er1
19792 cat conftest.err >&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } &&
19795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19798 ac_status=$?
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; } &&
19801 { ac_try='test -s conftest.$ac_objext'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19804 ac_status=$?
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; }; then
19807 ac_cv_type_size_t=yes
19808 else
19809 echo "$as_me: failed program was:" >&5
19810 sed 's/^/| /' conftest.$ac_ext >&5
19811
19812 ac_cv_type_size_t=no
19813 fi
19814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19815 fi
19816 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19817 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19818
19819 echo "$as_me:$LINENO: checking size of size_t" >&5
19820 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19821 if test "${ac_cv_sizeof_size_t+set}" = set; then
19822 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 else
19824 if test "$ac_cv_type_size_t" = yes; then
19825 # The cast to unsigned long works around a bug in the HP C Compiler
19826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19828 # This bug is HP SR number 8606223364.
19829 if test "$cross_compiling" = yes; then
19830 # Depending upon the size, compute the lo and hi bounds.
19831 cat >conftest.$ac_ext <<_ACEOF
19832 /* confdefs.h. */
19833 _ACEOF
19834 cat confdefs.h >>conftest.$ac_ext
19835 cat >>conftest.$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 $ac_includes_default
19838 int
19839 main ()
19840 {
19841 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19842 test_array [0] = 0
19843
19844 ;
19845 return 0;
19846 }
19847 _ACEOF
19848 rm -f conftest.$ac_objext
19849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19850 (eval $ac_compile) 2>conftest.er1
19851 ac_status=$?
19852 grep -v '^ *+' conftest.er1 >conftest.err
19853 rm -f conftest.er1
19854 cat conftest.err >&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } &&
19857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19860 ac_status=$?
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; } &&
19863 { ac_try='test -s conftest.$ac_objext'
19864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19865 (eval $ac_try) 2>&5
19866 ac_status=$?
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19869 ac_lo=0 ac_mid=0
19870 while :; do
19871 cat >conftest.$ac_ext <<_ACEOF
19872 /* confdefs.h. */
19873 _ACEOF
19874 cat confdefs.h >>conftest.$ac_ext
19875 cat >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 $ac_includes_default
19878 int
19879 main ()
19880 {
19881 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19882 test_array [0] = 0
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899 (eval $ac_try) 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; } &&
19903 { ac_try='test -s conftest.$ac_objext'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19906 ac_status=$?
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; }; then
19909 ac_hi=$ac_mid; break
19910 else
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19913
19914 ac_lo=`expr $ac_mid + 1`
19915 if test $ac_lo -le $ac_mid; then
19916 ac_lo= ac_hi=
19917 break
19918 fi
19919 ac_mid=`expr 2 '*' $ac_mid + 1`
19920 fi
19921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19922 done
19923 else
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19926
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 $ac_includes_default
19934 int
19935 main ()
19936 {
19937 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19938 test_array [0] = 0
19939
19940 ;
19941 return 0;
19942 }
19943 _ACEOF
19944 rm -f conftest.$ac_objext
19945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19946 (eval $ac_compile) 2>conftest.er1
19947 ac_status=$?
19948 grep -v '^ *+' conftest.er1 >conftest.err
19949 rm -f conftest.er1
19950 cat conftest.err >&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); } &&
19953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19956 ac_status=$?
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; } &&
19959 { ac_try='test -s conftest.$ac_objext'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19962 ac_status=$?
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then
19965 ac_hi=-1 ac_mid=-1
19966 while :; do
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 int
19975 main ()
19976 {
19977 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19978 test_array [0] = 0
19979
19980 ;
19981 return 0;
19982 }
19983 _ACEOF
19984 rm -f conftest.$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19987 ac_status=$?
19988 grep -v '^ *+' conftest.er1 >conftest.err
19989 rm -f conftest.er1
19990 cat conftest.err >&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 ac_lo=$ac_mid; break
20006 else
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.$ac_ext >&5
20009
20010 ac_hi=`expr '(' $ac_mid ')' - 1`
20011 if test $ac_mid -le $ac_hi; then
20012 ac_lo= ac_hi=
20013 break
20014 fi
20015 ac_mid=`expr 2 '*' $ac_mid`
20016 fi
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20018 done
20019 else
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20022
20023 ac_lo= ac_hi=
20024 fi
20025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20026 fi
20027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20028 # Binary search between lo and hi bounds.
20029 while test "x$ac_lo" != "x$ac_hi"; do
20030 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20031 cat >conftest.$ac_ext <<_ACEOF
20032 /* confdefs.h. */
20033 _ACEOF
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 $ac_includes_default
20038 int
20039 main ()
20040 {
20041 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20042 test_array [0] = 0
20043
20044 ;
20045 return 0;
20046 }
20047 _ACEOF
20048 rm -f conftest.$ac_objext
20049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20050 (eval $ac_compile) 2>conftest.er1
20051 ac_status=$?
20052 grep -v '^ *+' conftest.er1 >conftest.err
20053 rm -f conftest.er1
20054 cat conftest.err >&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20060 ac_status=$?
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; } &&
20063 { ac_try='test -s conftest.$ac_objext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20066 ac_status=$?
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20069 ac_hi=$ac_mid
20070 else
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.$ac_ext >&5
20073
20074 ac_lo=`expr '(' $ac_mid ')' + 1`
20075 fi
20076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20077 done
20078 case $ac_lo in
20079 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20080 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20081 See \`config.log' for more details." >&5
20082 echo "$as_me: error: cannot compute sizeof (size_t), 77
20083 See \`config.log' for more details." >&2;}
20084 { (exit 1); exit 1; }; } ;;
20085 esac
20086 else
20087 if test "$cross_compiling" = yes; then
20088 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20089 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20090 { (exit 1); exit 1; }; }
20091 else
20092 cat >conftest.$ac_ext <<_ACEOF
20093 /* confdefs.h. */
20094 _ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 $ac_includes_default
20099 long longval () { return (long) (sizeof (size_t)); }
20100 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20101 #include <stdio.h>
20102 #include <stdlib.h>
20103 int
20104 main ()
20105 {
20106
20107 FILE *f = fopen ("conftest.val", "w");
20108 if (! f)
20109 exit (1);
20110 if (((long) (sizeof (size_t))) < 0)
20111 {
20112 long i = longval ();
20113 if (i != ((long) (sizeof (size_t))))
20114 exit (1);
20115 fprintf (f, "%ld\n", i);
20116 }
20117 else
20118 {
20119 unsigned long i = ulongval ();
20120 if (i != ((long) (sizeof (size_t))))
20121 exit (1);
20122 fprintf (f, "%lu\n", i);
20123 }
20124 exit (ferror (f) || fclose (f) != 0);
20125
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 rm -f conftest$ac_exeext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20132 (eval $ac_link) 2>&5
20133 ac_status=$?
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20138 ac_status=$?
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; }; then
20141 ac_cv_sizeof_size_t=`cat conftest.val`
20142 else
20143 echo "$as_me: program exited with status $ac_status" >&5
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20146
20147 ( exit $ac_status )
20148 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20149 See \`config.log' for more details." >&5
20150 echo "$as_me: error: cannot compute sizeof (size_t), 77
20151 See \`config.log' for more details." >&2;}
20152 { (exit 1); exit 1; }; }
20153 fi
20154 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20155 fi
20156 fi
20157 rm -f conftest.val
20158 else
20159 ac_cv_sizeof_size_t=0
20160 fi
20161 fi
20162 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20163 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20164 cat >>confdefs.h <<_ACEOF
20165 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20166 _ACEOF
20167
20168
20169
20170 case "${host}" in
20171 arm-*-linux* )
20172 echo "$as_me:$LINENO: checking for long long" >&5
20173 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20174 if test "${ac_cv_type_long_long+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 else
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 $ac_includes_default
20184 int
20185 main ()
20186 {
20187 if ((long long *) 0)
20188 return 0;
20189 if (sizeof (long long))
20190 return 0;
20191 ;
20192 return 0;
20193 }
20194 _ACEOF
20195 rm -f conftest.$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } &&
20204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try='test -s conftest.$ac_objext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20213 ac_status=$?
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 ac_cv_type_long_long=yes
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20220
20221 ac_cv_type_long_long=no
20222 fi
20223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20224 fi
20225 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20226 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20227
20228 echo "$as_me:$LINENO: checking size of long long" >&5
20229 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20230 if test "${ac_cv_sizeof_long_long+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 else
20233 if test "$ac_cv_type_long_long" = yes; then
20234 # The cast to unsigned long works around a bug in the HP C Compiler
20235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20237 # This bug is HP SR number 8606223364.
20238 if test "$cross_compiling" = yes; then
20239 # Depending upon the size, compute the lo and hi bounds.
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 int
20248 main ()
20249 {
20250 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20251 test_array [0] = 0
20252
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20259 (eval $ac_compile) 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try='test -s conftest.$ac_objext'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20275 ac_status=$?
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; }; then
20278 ac_lo=0 ac_mid=0
20279 while :; do
20280 cat >conftest.$ac_ext <<_ACEOF
20281 /* confdefs.h. */
20282 _ACEOF
20283 cat confdefs.h >>conftest.$ac_ext
20284 cat >>conftest.$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 $ac_includes_default
20287 int
20288 main ()
20289 {
20290 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20291 test_array [0] = 0
20292
20293 ;
20294 return 0;
20295 }
20296 _ACEOF
20297 rm -f conftest.$ac_objext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20299 (eval $ac_compile) 2>conftest.er1
20300 ac_status=$?
20301 grep -v '^ *+' conftest.er1 >conftest.err
20302 rm -f conftest.er1
20303 cat conftest.err >&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 ac_hi=$ac_mid; break
20319 else
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20322
20323 ac_lo=`expr $ac_mid + 1`
20324 if test $ac_lo -le $ac_mid; then
20325 ac_lo= ac_hi=
20326 break
20327 fi
20328 ac_mid=`expr 2 '*' $ac_mid + 1`
20329 fi
20330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20331 done
20332 else
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20335
20336 cat >conftest.$ac_ext <<_ACEOF
20337 /* confdefs.h. */
20338 _ACEOF
20339 cat confdefs.h >>conftest.$ac_ext
20340 cat >>conftest.$ac_ext <<_ACEOF
20341 /* end confdefs.h. */
20342 $ac_includes_default
20343 int
20344 main ()
20345 {
20346 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20347 test_array [0] = 0
20348
20349 ;
20350 return 0;
20351 }
20352 _ACEOF
20353 rm -f conftest.$ac_objext
20354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20356 ac_status=$?
20357 grep -v '^ *+' conftest.er1 >conftest.err
20358 rm -f conftest.er1
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
20362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 ac_hi=-1 ac_mid=-1
20375 while :; do
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20383 int
20384 main ()
20385 {
20386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20387 test_array [0] = 0
20388
20389 ;
20390 return 0;
20391 }
20392 _ACEOF
20393 rm -f conftest.$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20411 ac_status=$?
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_lo=$ac_mid; break
20415 else
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20418
20419 ac_hi=`expr '(' $ac_mid ')' - 1`
20420 if test $ac_mid -le $ac_hi; then
20421 ac_lo= ac_hi=
20422 break
20423 fi
20424 ac_mid=`expr 2 '*' $ac_mid`
20425 fi
20426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20427 done
20428 else
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.$ac_ext >&5
20431
20432 ac_lo= ac_hi=
20433 fi
20434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20435 fi
20436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20437 # Binary search between lo and hi bounds.
20438 while test "x$ac_lo" != "x$ac_hi"; do
20439 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20447 int
20448 main ()
20449 {
20450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20451 test_array [0] = 0
20452
20453 ;
20454 return 0;
20455 }
20456 _ACEOF
20457 rm -f conftest.$ac_objext
20458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20459 (eval $ac_compile) 2>conftest.er1
20460 ac_status=$?
20461 grep -v '^ *+' conftest.er1 >conftest.err
20462 rm -f conftest.er1
20463 cat conftest.err >&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); } &&
20466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20475 ac_status=$?
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 ac_hi=$ac_mid
20479 else
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20482
20483 ac_lo=`expr '(' $ac_mid ')' + 1`
20484 fi
20485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20486 done
20487 case $ac_lo in
20488 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20489 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20490 See \`config.log' for more details." >&5
20491 echo "$as_me: error: cannot compute sizeof (long long), 77
20492 See \`config.log' for more details." >&2;}
20493 { (exit 1); exit 1; }; } ;;
20494 esac
20495 else
20496 if test "$cross_compiling" = yes; then
20497 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20498 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20499 { (exit 1); exit 1; }; }
20500 else
20501 cat >conftest.$ac_ext <<_ACEOF
20502 /* confdefs.h. */
20503 _ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 long longval () { return (long) (sizeof (long long)); }
20509 unsigned long ulongval () { return (long) (sizeof (long long)); }
20510 #include <stdio.h>
20511 #include <stdlib.h>
20512 int
20513 main ()
20514 {
20515
20516 FILE *f = fopen ("conftest.val", "w");
20517 if (! f)
20518 exit (1);
20519 if (((long) (sizeof (long long))) < 0)
20520 {
20521 long i = longval ();
20522 if (i != ((long) (sizeof (long long))))
20523 exit (1);
20524 fprintf (f, "%ld\n", i);
20525 }
20526 else
20527 {
20528 unsigned long i = ulongval ();
20529 if (i != ((long) (sizeof (long long))))
20530 exit (1);
20531 fprintf (f, "%lu\n", i);
20532 }
20533 exit (ferror (f) || fclose (f) != 0);
20534
20535 ;
20536 return 0;
20537 }
20538 _ACEOF
20539 rm -f conftest$ac_exeext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20541 (eval $ac_link) 2>&5
20542 ac_status=$?
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20547 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_sizeof_long_long=`cat conftest.val`
20551 else
20552 echo "$as_me: program exited with status $ac_status" >&5
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.$ac_ext >&5
20555
20556 ( exit $ac_status )
20557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20558 See \`config.log' for more details." >&5
20559 echo "$as_me: error: cannot compute sizeof (long long), 77
20560 See \`config.log' for more details." >&2;}
20561 { (exit 1); exit 1; }; }
20562 fi
20563 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20564 fi
20565 fi
20566 rm -f conftest.val
20567 else
20568 ac_cv_sizeof_long_long=0
20569 fi
20570 fi
20571 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20572 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20573 cat >>confdefs.h <<_ACEOF
20574 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20575 _ACEOF
20576
20577
20578 ;;
20579 *-hp-hpux* )
20580 echo "$as_me:$LINENO: checking for long long" >&5
20581 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20582 if test "${ac_cv_type_long_long+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 else
20585 cat >conftest.$ac_ext <<_ACEOF
20586 /* confdefs.h. */
20587 _ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 $ac_includes_default
20592 int
20593 main ()
20594 {
20595 if ((long long *) 0)
20596 return 0;
20597 if (sizeof (long long))
20598 return 0;
20599 ;
20600 return 0;
20601 }
20602 _ACEOF
20603 rm -f conftest.$ac_objext
20604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20605 (eval $ac_compile) 2>conftest.er1
20606 ac_status=$?
20607 grep -v '^ *+' conftest.er1 >conftest.err
20608 rm -f conftest.er1
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } &&
20612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20615 ac_status=$?
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try='test -s conftest.$ac_objext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20621 ac_status=$?
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_type_long_long=yes
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20628
20629 ac_cv_type_long_long=no
20630 fi
20631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20632 fi
20633 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20634 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20635
20636 echo "$as_me:$LINENO: checking size of long long" >&5
20637 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20638 if test "${ac_cv_sizeof_long_long+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20640 else
20641 if test "$ac_cv_type_long_long" = yes; then
20642 # The cast to unsigned long works around a bug in the HP C Compiler
20643 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20644 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20645 # This bug is HP SR number 8606223364.
20646 if test "$cross_compiling" = yes; then
20647 # Depending upon the size, compute the lo and hi bounds.
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 int
20656 main ()
20657 {
20658 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20659 test_array [0] = 0
20660
20661 ;
20662 return 0;
20663 }
20664 _ACEOF
20665 rm -f conftest.$ac_objext
20666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20667 (eval $ac_compile) 2>conftest.er1
20668 ac_status=$?
20669 grep -v '^ *+' conftest.er1 >conftest.err
20670 rm -f conftest.er1
20671 cat conftest.err >&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } &&
20674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20677 ac_status=$?
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; } &&
20680 { ac_try='test -s conftest.$ac_objext'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20683 ac_status=$?
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; }; then
20686 ac_lo=0 ac_mid=0
20687 while :; do
20688 cat >conftest.$ac_ext <<_ACEOF
20689 /* confdefs.h. */
20690 _ACEOF
20691 cat confdefs.h >>conftest.$ac_ext
20692 cat >>conftest.$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 $ac_includes_default
20695 int
20696 main ()
20697 {
20698 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20699 test_array [0] = 0
20700
20701 ;
20702 return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest.$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>conftest.er1
20708 ac_status=$?
20709 grep -v '^ *+' conftest.er1 >conftest.err
20710 rm -f conftest.er1
20711 cat conftest.err >&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; } &&
20720 { ac_try='test -s conftest.$ac_objext'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; }; then
20726 ac_hi=$ac_mid; break
20727 else
20728 echo "$as_me: failed program was:" >&5
20729 sed 's/^/| /' conftest.$ac_ext >&5
20730
20731 ac_lo=`expr $ac_mid + 1`
20732 if test $ac_lo -le $ac_mid; then
20733 ac_lo= ac_hi=
20734 break
20735 fi
20736 ac_mid=`expr 2 '*' $ac_mid + 1`
20737 fi
20738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20739 done
20740 else
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20743
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 int
20752 main ()
20753 {
20754 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20755 test_array [0] = 0
20756
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 rm -f conftest.$ac_objext
20762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20763 (eval $ac_compile) 2>conftest.er1
20764 ac_status=$?
20765 grep -v '^ *+' conftest.er1 >conftest.err
20766 rm -f conftest.er1
20767 cat conftest.err >&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20779 ac_status=$?
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_hi=-1 ac_mid=-1
20783 while :; do
20784 cat >conftest.$ac_ext <<_ACEOF
20785 /* confdefs.h. */
20786 _ACEOF
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 $ac_includes_default
20791 int
20792 main ()
20793 {
20794 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20795 test_array [0] = 0
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 rm -f conftest.$ac_objext
20802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20803 (eval $ac_compile) 2>conftest.er1
20804 ac_status=$?
20805 grep -v '^ *+' conftest.er1 >conftest.err
20806 rm -f conftest.er1
20807 cat conftest.err >&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); } &&
20810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; } &&
20816 { ac_try='test -s conftest.$ac_objext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20819 ac_status=$?
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 ac_lo=$ac_mid; break
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827 ac_hi=`expr '(' $ac_mid ')' - 1`
20828 if test $ac_mid -le $ac_hi; then
20829 ac_lo= ac_hi=
20830 break
20831 fi
20832 ac_mid=`expr 2 '*' $ac_mid`
20833 fi
20834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20835 done
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 ac_lo= ac_hi=
20841 fi
20842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20843 fi
20844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20845 # Binary search between lo and hi bounds.
20846 while test "x$ac_lo" != "x$ac_hi"; do
20847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20848 cat >conftest.$ac_ext <<_ACEOF
20849 /* confdefs.h. */
20850 _ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20855 int
20856 main ()
20857 {
20858 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20859 test_array [0] = 0
20860
20861 ;
20862 return 0;
20863 }
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20867 (eval $ac_compile) 2>conftest.er1
20868 ac_status=$?
20869 grep -v '^ *+' conftest.er1 >conftest.err
20870 rm -f conftest.er1
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } &&
20874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; } &&
20880 { ac_try='test -s conftest.$ac_objext'
20881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20882 (eval $ac_try) 2>&5
20883 ac_status=$?
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; }; then
20886 ac_hi=$ac_mid
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 ac_lo=`expr '(' $ac_mid ')' + 1`
20892 fi
20893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20894 done
20895 case $ac_lo in
20896 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20897 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20898 See \`config.log' for more details." >&5
20899 echo "$as_me: error: cannot compute sizeof (long long), 77
20900 See \`config.log' for more details." >&2;}
20901 { (exit 1); exit 1; }; } ;;
20902 esac
20903 else
20904 if test "$cross_compiling" = yes; then
20905 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20906 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20907 { (exit 1); exit 1; }; }
20908 else
20909 cat >conftest.$ac_ext <<_ACEOF
20910 /* confdefs.h. */
20911 _ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 $ac_includes_default
20916 long longval () { return (long) (sizeof (long long)); }
20917 unsigned long ulongval () { return (long) (sizeof (long long)); }
20918 #include <stdio.h>
20919 #include <stdlib.h>
20920 int
20921 main ()
20922 {
20923
20924 FILE *f = fopen ("conftest.val", "w");
20925 if (! f)
20926 exit (1);
20927 if (((long) (sizeof (long long))) < 0)
20928 {
20929 long i = longval ();
20930 if (i != ((long) (sizeof (long long))))
20931 exit (1);
20932 fprintf (f, "%ld\n", i);
20933 }
20934 else
20935 {
20936 unsigned long i = ulongval ();
20937 if (i != ((long) (sizeof (long long))))
20938 exit (1);
20939 fprintf (f, "%lu\n", i);
20940 }
20941 exit (ferror (f) || fclose (f) != 0);
20942
20943 ;
20944 return 0;
20945 }
20946 _ACEOF
20947 rm -f conftest$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>&5
20950 ac_status=$?
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20955 ac_status=$?
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_cv_sizeof_long_long=`cat conftest.val`
20959 else
20960 echo "$as_me: program exited with status $ac_status" >&5
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20963
20964 ( exit $ac_status )
20965 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20966 See \`config.log' for more details." >&5
20967 echo "$as_me: error: cannot compute sizeof (long long), 77
20968 See \`config.log' for more details." >&2;}
20969 { (exit 1); exit 1; }; }
20970 fi
20971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20972 fi
20973 fi
20974 rm -f conftest.val
20975 else
20976 ac_cv_sizeof_long_long=0
20977 fi
20978 fi
20979 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20980 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20981 cat >>confdefs.h <<_ACEOF
20982 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20983 _ACEOF
20984
20985
20986 if test "$ac_cv_sizeof_long_long" != "0"; then
20987 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20988 fi
20989 ;;
20990 * )
20991 echo "$as_me:$LINENO: checking for long long" >&5
20992 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20993 if test "${ac_cv_type_long_long+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 else
20996 cat >conftest.$ac_ext <<_ACEOF
20997 /* confdefs.h. */
20998 _ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 $ac_includes_default
21003 int
21004 main ()
21005 {
21006 if ((long long *) 0)
21007 return 0;
21008 if (sizeof (long long))
21009 return 0;
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21016 (eval $ac_compile) 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try='test -s conftest.$ac_objext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21032 ac_status=$?
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_type_long_long=yes
21036 else
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ac_cv_type_long_long=no
21041 fi
21042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21043 fi
21044 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21045 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21046
21047 echo "$as_me:$LINENO: checking size of long long" >&5
21048 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21049 if test "${ac_cv_sizeof_long_long+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 if test "$ac_cv_type_long_long" = yes; then
21053 # The cast to unsigned long works around a bug in the HP C Compiler
21054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21056 # This bug is HP SR number 8606223364.
21057 if test "$cross_compiling" = yes; then
21058 # Depending upon the size, compute the lo and hi bounds.
21059 cat >conftest.$ac_ext <<_ACEOF
21060 /* confdefs.h. */
21061 _ACEOF
21062 cat confdefs.h >>conftest.$ac_ext
21063 cat >>conftest.$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065 $ac_includes_default
21066 int
21067 main ()
21068 {
21069 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21070 test_array [0] = 0
21071
21072 ;
21073 return 0;
21074 }
21075 _ACEOF
21076 rm -f conftest.$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>conftest.er1
21079 ac_status=$?
21080 grep -v '^ *+' conftest.er1 >conftest.err
21081 rm -f conftest.er1
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try='test -s conftest.$ac_objext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_lo=0 ac_mid=0
21098 while :; do
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21106 int
21107 main ()
21108 {
21109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21110 test_array [0] = 0
21111
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 rm -f conftest.$ac_objext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21118 (eval $ac_compile) 2>conftest.er1
21119 ac_status=$?
21120 grep -v '^ *+' conftest.er1 >conftest.err
21121 rm -f conftest.er1
21122 cat conftest.err >&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21128 ac_status=$?
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try='test -s conftest.$ac_objext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21134 ac_status=$?
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 ac_hi=$ac_mid; break
21138 else
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.$ac_ext >&5
21141
21142 ac_lo=`expr $ac_mid + 1`
21143 if test $ac_lo -le $ac_mid; then
21144 ac_lo= ac_hi=
21145 break
21146 fi
21147 ac_mid=`expr 2 '*' $ac_mid + 1`
21148 fi
21149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21150 done
21151 else
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.$ac_ext >&5
21154
21155 cat >conftest.$ac_ext <<_ACEOF
21156 /* confdefs.h. */
21157 _ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 int
21163 main ()
21164 {
21165 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21166 test_array [0] = 0
21167
21168 ;
21169 return 0;
21170 }
21171 _ACEOF
21172 rm -f conftest.$ac_objext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21174 (eval $ac_compile) 2>conftest.er1
21175 ac_status=$?
21176 grep -v '^ *+' conftest.er1 >conftest.err
21177 rm -f conftest.er1
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21184 ac_status=$?
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try='test -s conftest.$ac_objext'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21190 ac_status=$?
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21193 ac_hi=-1 ac_mid=-1
21194 while :; do
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 int
21203 main ()
21204 {
21205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21206 test_array [0] = 0
21207
21208 ;
21209 return 0;
21210 }
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21214 (eval $ac_compile) 2>conftest.er1
21215 ac_status=$?
21216 grep -v '^ *+' conftest.er1 >conftest.err
21217 rm -f conftest.er1
21218 cat conftest.err >&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21224 ac_status=$?
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; } &&
21227 { ac_try='test -s conftest.$ac_objext'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21230 ac_status=$?
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; }; then
21233 ac_lo=$ac_mid; break
21234 else
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21237
21238 ac_hi=`expr '(' $ac_mid ')' - 1`
21239 if test $ac_mid -le $ac_hi; then
21240 ac_lo= ac_hi=
21241 break
21242 fi
21243 ac_mid=`expr 2 '*' $ac_mid`
21244 fi
21245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21246 done
21247 else
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21250
21251 ac_lo= ac_hi=
21252 fi
21253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21254 fi
21255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 int
21267 main ()
21268 {
21269 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21270 test_array [0] = 0
21271
21272 ;
21273 return 0;
21274 }
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21278 (eval $ac_compile) 2>conftest.er1
21279 ac_status=$?
21280 grep -v '^ *+' conftest.er1 >conftest.err
21281 rm -f conftest.er1
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 ac_hi=$ac_mid
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 ac_lo=`expr '(' $ac_mid ')' + 1`
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 done
21306 case $ac_lo in
21307 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21308 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21309 See \`config.log' for more details." >&5
21310 echo "$as_me: error: cannot compute sizeof (long long), 77
21311 See \`config.log' for more details." >&2;}
21312 { (exit 1); exit 1; }; } ;;
21313 esac
21314 else
21315 if test "$cross_compiling" = yes; then
21316 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21317 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21318 { (exit 1); exit 1; }; }
21319 else
21320 cat >conftest.$ac_ext <<_ACEOF
21321 /* confdefs.h. */
21322 _ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 $ac_includes_default
21327 long longval () { return (long) (sizeof (long long)); }
21328 unsigned long ulongval () { return (long) (sizeof (long long)); }
21329 #include <stdio.h>
21330 #include <stdlib.h>
21331 int
21332 main ()
21333 {
21334
21335 FILE *f = fopen ("conftest.val", "w");
21336 if (! f)
21337 exit (1);
21338 if (((long) (sizeof (long long))) < 0)
21339 {
21340 long i = longval ();
21341 if (i != ((long) (sizeof (long long))))
21342 exit (1);
21343 fprintf (f, "%ld\n", i);
21344 }
21345 else
21346 {
21347 unsigned long i = ulongval ();
21348 if (i != ((long) (sizeof (long long))))
21349 exit (1);
21350 fprintf (f, "%lu\n", i);
21351 }
21352 exit (ferror (f) || fclose (f) != 0);
21353
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 rm -f conftest$ac_exeext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360 (eval $ac_link) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21366 ac_status=$?
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21369 ac_cv_sizeof_long_long=`cat conftest.val`
21370 else
21371 echo "$as_me: program exited with status $ac_status" >&5
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 ( exit $ac_status )
21376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21377 See \`config.log' for more details." >&5
21378 echo "$as_me: error: cannot compute sizeof (long long), 77
21379 See \`config.log' for more details." >&2;}
21380 { (exit 1); exit 1; }; }
21381 fi
21382 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21383 fi
21384 fi
21385 rm -f conftest.val
21386 else
21387 ac_cv_sizeof_long_long=0
21388 fi
21389 fi
21390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21391 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21392 cat >>confdefs.h <<_ACEOF
21393 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21394 _ACEOF
21395
21396
21397 esac
21398
21399 echo "$as_me:$LINENO: checking for wchar_t" >&5
21400 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21401 if test "${ac_cv_type_wchar_t+set}" = set; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 else
21404 cat >conftest.$ac_ext <<_ACEOF
21405 /* confdefs.h. */
21406 _ACEOF
21407 cat confdefs.h >>conftest.$ac_ext
21408 cat >>conftest.$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21410
21411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21413 # error "fake wchar_t"
21414 #endif
21415 #ifdef HAVE_WCHAR_H
21416 # ifdef __CYGWIN__
21417 # include <stddef.h>
21418 # endif
21419 # include <wchar.h>
21420 #endif
21421 #ifdef HAVE_STDLIB_H
21422 # include <stdlib.h>
21423 #endif
21424 #include <stdio.h>
21425
21426
21427
21428 int
21429 main ()
21430 {
21431 if ((wchar_t *) 0)
21432 return 0;
21433 if (sizeof (wchar_t))
21434 return 0;
21435 ;
21436 return 0;
21437 }
21438 _ACEOF
21439 rm -f conftest.$ac_objext
21440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21441 (eval $ac_compile) 2>conftest.er1
21442 ac_status=$?
21443 grep -v '^ *+' conftest.er1 >conftest.err
21444 rm -f conftest.er1
21445 cat conftest.err >&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; } &&
21454 { ac_try='test -s conftest.$ac_objext'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21457 ac_status=$?
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; }; then
21460 ac_cv_type_wchar_t=yes
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_cv_type_wchar_t=no
21466 fi
21467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21468 fi
21469 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21470 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21471
21472 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21473 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21474 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 else
21477 if test "$ac_cv_type_wchar_t" = yes; then
21478 # The cast to unsigned long works around a bug in the HP C Compiler
21479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21481 # This bug is HP SR number 8606223364.
21482 if test "$cross_compiling" = yes; then
21483 # Depending upon the size, compute the lo and hi bounds.
21484 cat >conftest.$ac_ext <<_ACEOF
21485 /* confdefs.h. */
21486 _ACEOF
21487 cat confdefs.h >>conftest.$ac_ext
21488 cat >>conftest.$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21490
21491 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21492 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21493 # error "fake wchar_t"
21494 #endif
21495 #ifdef HAVE_WCHAR_H
21496 # ifdef __CYGWIN__
21497 # include <stddef.h>
21498 # endif
21499 # include <wchar.h>
21500 #endif
21501 #ifdef HAVE_STDLIB_H
21502 # include <stdlib.h>
21503 #endif
21504 #include <stdio.h>
21505
21506
21507
21508 int
21509 main ()
21510 {
21511 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21512 test_array [0] = 0
21513
21514 ;
21515 return 0;
21516 }
21517 _ACEOF
21518 rm -f conftest.$ac_objext
21519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21520 (eval $ac_compile) 2>conftest.er1
21521 ac_status=$?
21522 grep -v '^ *+' conftest.er1 >conftest.err
21523 rm -f conftest.er1
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } &&
21527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try='test -s conftest.$ac_objext'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21536 ac_status=$?
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; }; then
21539 ac_lo=0 ac_mid=0
21540 while :; do
21541 cat >conftest.$ac_ext <<_ACEOF
21542 /* confdefs.h. */
21543 _ACEOF
21544 cat confdefs.h >>conftest.$ac_ext
21545 cat >>conftest.$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21547
21548 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21549 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21550 # error "fake wchar_t"
21551 #endif
21552 #ifdef HAVE_WCHAR_H
21553 # ifdef __CYGWIN__
21554 # include <stddef.h>
21555 # endif
21556 # include <wchar.h>
21557 #endif
21558 #ifdef HAVE_STDLIB_H
21559 # include <stdlib.h>
21560 #endif
21561 #include <stdio.h>
21562
21563
21564
21565 int
21566 main ()
21567 {
21568 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21569 test_array [0] = 0
21570
21571 ;
21572 return 0;
21573 }
21574 _ACEOF
21575 rm -f conftest.$ac_objext
21576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21577 (eval $ac_compile) 2>conftest.er1
21578 ac_status=$?
21579 grep -v '^ *+' conftest.er1 >conftest.err
21580 rm -f conftest.er1
21581 cat conftest.err >&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21587 ac_status=$?
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; } &&
21590 { ac_try='test -s conftest.$ac_objext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_hi=$ac_mid; break
21597 else
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.$ac_ext >&5
21600
21601 ac_lo=`expr $ac_mid + 1`
21602 if test $ac_lo -le $ac_mid; then
21603 ac_lo= ac_hi=
21604 break
21605 fi
21606 ac_mid=`expr 2 '*' $ac_mid + 1`
21607 fi
21608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21609 done
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620
21621 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21622 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21623 # error "fake wchar_t"
21624 #endif
21625 #ifdef HAVE_WCHAR_H
21626 # ifdef __CYGWIN__
21627 # include <stddef.h>
21628 # endif
21629 # include <wchar.h>
21630 #endif
21631 #ifdef HAVE_STDLIB_H
21632 # include <stdlib.h>
21633 #endif
21634 #include <stdio.h>
21635
21636
21637
21638 int
21639 main ()
21640 {
21641 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21642 test_array [0] = 0
21643
21644 ;
21645 return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest.$ac_objext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21650 (eval $ac_compile) 2>conftest.er1
21651 ac_status=$?
21652 grep -v '^ *+' conftest.er1 >conftest.err
21653 rm -f conftest.er1
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } &&
21657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21660 ac_status=$?
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; } &&
21663 { ac_try='test -s conftest.$ac_objext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21666 ac_status=$?
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 ac_hi=-1 ac_mid=-1
21670 while :; do
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677
21678 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21679 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21680 # error "fake wchar_t"
21681 #endif
21682 #ifdef HAVE_WCHAR_H
21683 # ifdef __CYGWIN__
21684 # include <stddef.h>
21685 # endif
21686 # include <wchar.h>
21687 #endif
21688 #ifdef HAVE_STDLIB_H
21689 # include <stdlib.h>
21690 #endif
21691 #include <stdio.h>
21692
21693
21694
21695 int
21696 main ()
21697 {
21698 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21699 test_array [0] = 0
21700
21701 ;
21702 return 0;
21703 }
21704 _ACEOF
21705 rm -f conftest.$ac_objext
21706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21707 (eval $ac_compile) 2>conftest.er1
21708 ac_status=$?
21709 grep -v '^ *+' conftest.er1 >conftest.err
21710 rm -f conftest.er1
21711 cat conftest.err >&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } &&
21714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21717 ac_status=$?
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; } &&
21720 { ac_try='test -s conftest.$ac_objext'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 ac_lo=$ac_mid; break
21727 else
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.$ac_ext >&5
21730
21731 ac_hi=`expr '(' $ac_mid ')' - 1`
21732 if test $ac_mid -le $ac_hi; then
21733 ac_lo= ac_hi=
21734 break
21735 fi
21736 ac_mid=`expr 2 '*' $ac_mid`
21737 fi
21738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21739 done
21740 else
21741 echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.$ac_ext >&5
21743
21744 ac_lo= ac_hi=
21745 fi
21746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21747 fi
21748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21749 # Binary search between lo and hi bounds.
21750 while test "x$ac_lo" != "x$ac_hi"; do
21751 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21752 cat >conftest.$ac_ext <<_ACEOF
21753 /* confdefs.h. */
21754 _ACEOF
21755 cat confdefs.h >>conftest.$ac_ext
21756 cat >>conftest.$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758
21759 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21760 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21761 # error "fake wchar_t"
21762 #endif
21763 #ifdef HAVE_WCHAR_H
21764 # ifdef __CYGWIN__
21765 # include <stddef.h>
21766 # endif
21767 # include <wchar.h>
21768 #endif
21769 #ifdef HAVE_STDLIB_H
21770 # include <stdlib.h>
21771 #endif
21772 #include <stdio.h>
21773
21774
21775
21776 int
21777 main ()
21778 {
21779 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21780 test_array [0] = 0
21781
21782 ;
21783 return 0;
21784 }
21785 _ACEOF
21786 rm -f conftest.$ac_objext
21787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21788 (eval $ac_compile) 2>conftest.er1
21789 ac_status=$?
21790 grep -v '^ *+' conftest.er1 >conftest.err
21791 rm -f conftest.er1
21792 cat conftest.err >&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } &&
21795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; } &&
21801 { ac_try='test -s conftest.$ac_objext'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; }; then
21807 ac_hi=$ac_mid
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21811
21812 ac_lo=`expr '(' $ac_mid ')' + 1`
21813 fi
21814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21815 done
21816 case $ac_lo in
21817 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21818 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21819 See \`config.log' for more details." >&5
21820 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21821 See \`config.log' for more details." >&2;}
21822 { (exit 1); exit 1; }; } ;;
21823 esac
21824 else
21825 if test "$cross_compiling" = yes; then
21826 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21827 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21828 { (exit 1); exit 1; }; }
21829 else
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836
21837 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21838 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21839 # error "fake wchar_t"
21840 #endif
21841 #ifdef HAVE_WCHAR_H
21842 # ifdef __CYGWIN__
21843 # include <stddef.h>
21844 # endif
21845 # include <wchar.h>
21846 #endif
21847 #ifdef HAVE_STDLIB_H
21848 # include <stdlib.h>
21849 #endif
21850 #include <stdio.h>
21851
21852
21853
21854 long longval () { return (long) (sizeof (wchar_t)); }
21855 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21856 #include <stdio.h>
21857 #include <stdlib.h>
21858 int
21859 main ()
21860 {
21861
21862 FILE *f = fopen ("conftest.val", "w");
21863 if (! f)
21864 exit (1);
21865 if (((long) (sizeof (wchar_t))) < 0)
21866 {
21867 long i = longval ();
21868 if (i != ((long) (sizeof (wchar_t))))
21869 exit (1);
21870 fprintf (f, "%ld\n", i);
21871 }
21872 else
21873 {
21874 unsigned long i = ulongval ();
21875 if (i != ((long) (sizeof (wchar_t))))
21876 exit (1);
21877 fprintf (f, "%lu\n", i);
21878 }
21879 exit (ferror (f) || fclose (f) != 0);
21880
21881 ;
21882 return 0;
21883 }
21884 _ACEOF
21885 rm -f conftest$ac_exeext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21887 (eval $ac_link) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21893 ac_status=$?
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; }; then
21896 ac_cv_sizeof_wchar_t=`cat conftest.val`
21897 else
21898 echo "$as_me: program exited with status $ac_status" >&5
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21901
21902 ( exit $ac_status )
21903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21904 See \`config.log' for more details." >&5
21905 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21906 See \`config.log' for more details." >&2;}
21907 { (exit 1); exit 1; }; }
21908 fi
21909 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21910 fi
21911 fi
21912 rm -f conftest.val
21913 else
21914 ac_cv_sizeof_wchar_t=0
21915 fi
21916 fi
21917 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21918 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21919 cat >>confdefs.h <<_ACEOF
21920 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21921 _ACEOF
21922
21923
21924 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21925 wxUSE_WCHAR_T=yes
21926 else
21927 wxUSE_WCHAR_T=no
21928 fi
21929
21930 echo "$as_me:$LINENO: checking for va_copy" >&5
21931 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21932 if test "${wx_cv_func_va_copy+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 else
21935
21936 cat >conftest.$ac_ext <<_ACEOF
21937
21938 #include <stdarg.h>
21939 void foo(char *f, ...)
21940 {
21941 va_list ap1, ap2;
21942 va_start(ap1, f);
21943 va_copy(ap2, ap1);
21944 va_end(ap2);
21945 va_end(ap1);
21946 }
21947 int main()
21948 {
21949 foo("hi", 17);
21950 return 0;
21951 }
21952 _ACEOF
21953 rm -f conftest.$ac_objext conftest$ac_exeext
21954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21955 (eval $ac_link) 2>conftest.er1
21956 ac_status=$?
21957 grep -v '^ *+' conftest.er1 >conftest.err
21958 rm -f conftest.er1
21959 cat conftest.err >&5
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); } &&
21962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21965 ac_status=$?
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; } &&
21968 { ac_try='test -s conftest$ac_exeext'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 wx_cv_func_va_copy=yes
21975 else
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.$ac_ext >&5
21978
21979 wx_cv_func_va_copy=no
21980
21981 fi
21982 rm -f conftest.err conftest.$ac_objext \
21983 conftest$ac_exeext conftest.$ac_ext
21984
21985
21986 fi
21987 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21988 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21989
21990 if test $wx_cv_func_va_copy = "yes"; then
21991 cat >>confdefs.h <<\_ACEOF
21992 #define HAVE_VA_COPY 1
21993 _ACEOF
21994
21995 else
21996 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21997 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21998 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22000 else
22001
22002 if test "$cross_compiling" = yes; then
22003 wx_cv_type_va_list_lvalue=yes
22004
22005 else
22006 cat >conftest.$ac_ext <<_ACEOF
22007
22008 #include <stdarg.h>
22009 int foo(char *f, ...)
22010 {
22011 va_list ap1, ap2;
22012 va_start(ap1, f);
22013 ap2 = ap1;
22014 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22015 return 1;
22016 va_end(ap2);
22017 va_end(ap1);
22018 return 0;
22019 }
22020 int main()
22021 {
22022 return foo("hi", 17);
22023 }
22024 _ACEOF
22025 rm -f conftest$ac_exeext
22026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22027 (eval $ac_link) 2>&5
22028 ac_status=$?
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22033 ac_status=$?
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22036 wx_cv_type_va_list_lvalue=yes
22037 else
22038 echo "$as_me: program exited with status $ac_status" >&5
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22041
22042 ( exit $ac_status )
22043 wx_cv_type_va_list_lvalue=no
22044 fi
22045 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22046 fi
22047
22048
22049 fi
22050 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22051 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22052
22053 if test $wx_cv_type_va_list_lvalue != "yes"; then
22054 cat >>confdefs.h <<\_ACEOF
22055 #define VA_LIST_IS_ARRAY 1
22056 _ACEOF
22057
22058 fi
22059 fi
22060
22061 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22062 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22063 if test "${wx_cv_have_variadic_macros+set}" = set; then
22064 echo $ECHO_N "(cached) $ECHO_C" >&6
22065 else
22066
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073
22074 #include <stdio.h>
22075 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22076
22077 int
22078 main ()
22079 {
22080
22081 test("%s %d %p", "test", 1, 0);
22082
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22091 ac_status=$?
22092 grep -v '^ *+' conftest.er1 >conftest.err
22093 rm -f conftest.er1
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try='test -s conftest.$ac_objext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 wx_cv_have_variadic_macros=yes
22110 else
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22113
22114 wx_cv_have_variadic_macros=no
22115
22116 fi
22117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22118
22119
22120 fi
22121 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22122 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22123
22124 if test $wx_cv_have_variadic_macros = "yes"; then
22125 cat >>confdefs.h <<\_ACEOF
22126 #define HAVE_VARIADIC_MACROS 1
22127 _ACEOF
22128
22129 fi
22130
22131 # Check whether --enable-largefile or --disable-largefile was given.
22132 if test "${enable_largefile+set}" = set; then
22133 enableval="$enable_largefile"
22134
22135 fi;
22136 if test "$enable_largefile" != no; then
22137 wx_largefile=no
22138
22139 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22140 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22141 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22142 echo $ECHO_N "(cached) $ECHO_C" >&6
22143 else
22144
22145 cat >conftest.$ac_ext <<_ACEOF
22146 /* confdefs.h. */
22147 _ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 #define _FILE_OFFSET_BITS 64
22152 #include <sys/types.h>
22153 int
22154 main ()
22155 {
22156 typedef struct {
22157 unsigned int field: sizeof(off_t) == 8;
22158 } wxlf;
22159
22160 ;
22161 return 0;
22162 }
22163 _ACEOF
22164 rm -f conftest.$ac_objext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22166 (eval $ac_compile) 2>conftest.er1
22167 ac_status=$?
22168 grep -v '^ *+' conftest.er1 >conftest.err
22169 rm -f conftest.er1
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } &&
22173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22175 (eval $ac_try) 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; } &&
22179 { ac_try='test -s conftest.$ac_objext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_sys_file_offset_bits=64
22186 else
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22189
22190 ac_cv_sys_file_offset_bits=no
22191 fi
22192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22193
22194
22195 fi
22196 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22197 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22198
22199 if test "$ac_cv_sys_file_offset_bits" != no; then
22200 wx_largefile=yes
22201 cat >>confdefs.h <<_ACEOF
22202 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22203 _ACEOF
22204
22205 fi
22206
22207 if test "x$wx_largefile" != "xyes"; then
22208
22209 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22210 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22211 if test "${ac_cv_sys_large_files+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 else
22214
22215 cat >conftest.$ac_ext <<_ACEOF
22216 /* confdefs.h. */
22217 _ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 #define _LARGE_FILES 1
22222 #include <sys/types.h>
22223 int
22224 main ()
22225 {
22226 typedef struct {
22227 unsigned int field: sizeof(off_t) == 8;
22228 } wxlf;
22229
22230 ;
22231 return 0;
22232 }
22233 _ACEOF
22234 rm -f conftest.$ac_objext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22236 (eval $ac_compile) 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try='test -s conftest.$ac_objext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22252 ac_status=$?
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_cv_sys_large_files=1
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 ac_cv_sys_large_files=no
22261 fi
22262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22263
22264
22265 fi
22266 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22267 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22268
22269 if test "$ac_cv_sys_large_files" != no; then
22270 wx_largefile=yes
22271 cat >>confdefs.h <<_ACEOF
22272 #define _LARGE_FILES $ac_cv_sys_large_files
22273 _ACEOF
22274
22275 fi
22276
22277 fi
22278
22279 echo "$as_me:$LINENO: checking if large file support is available" >&5
22280 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22281 if test "x$wx_largefile" = "xyes"; then
22282 cat >>confdefs.h <<\_ACEOF
22283 #define HAVE_LARGEFILE_SUPPORT 1
22284 _ACEOF
22285
22286 fi
22287 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22288 echo "${ECHO_T}$wx_largefile" >&6
22289 fi
22290
22291
22292 if test "x$wx_largefile" = "xyes"; then
22293 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22294 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22295
22296 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22297 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22298 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22299 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22300 echo $ECHO_N "(cached) $ECHO_C" >&6
22301 else
22302
22303 cat >conftest.$ac_ext <<_ACEOF
22304 /* confdefs.h. */
22305 _ACEOF
22306 cat confdefs.h >>conftest.$ac_ext
22307 cat >>conftest.$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309
22310 int
22311 main ()
22312 {
22313
22314 #ifndef __STDC_EXT__
22315 choke me
22316 #endif
22317
22318 ;
22319 return 0;
22320 }
22321 _ACEOF
22322 rm -f conftest.$ac_objext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22324 (eval $ac_compile) 2>conftest.er1
22325 ac_status=$?
22326 grep -v '^ *+' conftest.er1 >conftest.err
22327 rm -f conftest.er1
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } &&
22331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22334 ac_status=$?
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; } &&
22337 { ac_try='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 wx_cv_STDC_EXT_required=no
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 wx_cv_STDC_EXT_required=yes
22349
22350 fi
22351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22352
22353
22354 fi
22355 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22356 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22357 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22358 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22359 fi
22360 fi
22361 else
22362 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22363 fi
22364 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22365 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22366 if test "${ac_cv_sys_largefile_source+set}" = set; then
22367 echo $ECHO_N "(cached) $ECHO_C" >&6
22368 else
22369 while :; do
22370 ac_cv_sys_largefile_source=no
22371 cat >conftest.$ac_ext <<_ACEOF
22372 /* confdefs.h. */
22373 _ACEOF
22374 cat confdefs.h >>conftest.$ac_ext
22375 cat >>conftest.$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22377 #include <stdio.h>
22378 int
22379 main ()
22380 {
22381 return !fseeko;
22382 ;
22383 return 0;
22384 }
22385 _ACEOF
22386 rm -f conftest.$ac_objext
22387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22388 (eval $ac_compile) 2>conftest.er1
22389 ac_status=$?
22390 grep -v '^ *+' conftest.er1 >conftest.err
22391 rm -f conftest.er1
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } &&
22395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22398 ac_status=$?
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; } &&
22401 { ac_try='test -s conftest.$ac_objext'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22404 ac_status=$?
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; }; then
22407 break
22408 else
22409 echo "$as_me: failed program was:" >&5
22410 sed 's/^/| /' conftest.$ac_ext >&5
22411
22412 fi
22413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 #define _LARGEFILE_SOURCE 1
22421 #include <stdio.h>
22422 int
22423 main ()
22424 {
22425 return !fseeko;
22426 ;
22427 return 0;
22428 }
22429 _ACEOF
22430 rm -f conftest.$ac_objext
22431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22432 (eval $ac_compile) 2>conftest.er1
22433 ac_status=$?
22434 grep -v '^ *+' conftest.er1 >conftest.err
22435 rm -f conftest.er1
22436 cat conftest.err >&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } &&
22439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22442 ac_status=$?
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; } &&
22445 { ac_try='test -s conftest.$ac_objext'
22446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22447 (eval $ac_try) 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); }; }; then
22451 ac_cv_sys_largefile_source=1; break
22452 else
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22455
22456 fi
22457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22458 break
22459 done
22460 fi
22461 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22462 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22463 if test "$ac_cv_sys_largefile_source" != no; then
22464
22465 cat >>confdefs.h <<_ACEOF
22466 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22467 _ACEOF
22468
22469 fi
22470 rm -f conftest*
22471
22472 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22473 # in glibc 2.1.3, but that breaks too many other things.
22474 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22475 echo "$as_me:$LINENO: checking for fseeko" >&5
22476 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22477 if test "${ac_cv_func_fseeko+set}" = set; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 else
22480 cat >conftest.$ac_ext <<_ACEOF
22481 /* confdefs.h. */
22482 _ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22486 #include <stdio.h>
22487 int
22488 main ()
22489 {
22490 return fseeko && fseeko (stdin, 0, 0);
22491 ;
22492 return 0;
22493 }
22494 _ACEOF
22495 rm -f conftest.$ac_objext conftest$ac_exeext
22496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22497 (eval $ac_link) 2>conftest.er1
22498 ac_status=$?
22499 grep -v '^ *+' conftest.er1 >conftest.err
22500 rm -f conftest.er1
22501 cat conftest.err >&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } &&
22504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506 (eval $ac_try) 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; } &&
22510 { ac_try='test -s conftest$ac_exeext'
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516 ac_cv_func_fseeko=yes
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22520
22521 ac_cv_func_fseeko=no
22522 fi
22523 rm -f conftest.err conftest.$ac_objext \
22524 conftest$ac_exeext conftest.$ac_ext
22525 fi
22526 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22527 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22528 if test $ac_cv_func_fseeko = yes; then
22529
22530 cat >>confdefs.h <<\_ACEOF
22531 #define HAVE_FSEEKO 1
22532 _ACEOF
22533
22534 fi
22535
22536 if test "$ac_cv_sys_largefile_source" != no; then
22537 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22538 fi
22539 fi
22540
22541 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22542 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22543 if test "${ac_cv_c_bigendian+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 else
22546 ac_cv_c_bigendian=unknown
22547 # See if sys/param.h defines the BYTE_ORDER macro.
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h. */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <sys/types.h>
22555 #include <sys/param.h>
22556 int
22557 main ()
22558 {
22559
22560 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22561 bogus endian macros
22562 #endif
22563 ;
22564 return 0;
22565 }
22566 _ACEOF
22567 rm -f conftest.$ac_objext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22569 (eval $ac_compile) 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22579 ac_status=$?
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; } &&
22582 { ac_try='test -s conftest.$ac_objext'
22583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584 (eval $ac_try) 2>&5
22585 ac_status=$?
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); }; }; then
22588 # It does; now see whether it defined to BIG_ENDIAN or not.
22589 cat >conftest.$ac_ext <<_ACEOF
22590 /* confdefs.h. */
22591 _ACEOF
22592 cat confdefs.h >>conftest.$ac_ext
22593 cat >>conftest.$ac_ext <<_ACEOF
22594 /* end confdefs.h. */
22595 #include <sys/types.h>
22596 #include <sys/param.h>
22597 int
22598 main ()
22599 {
22600
22601 #if BYTE_ORDER != BIG_ENDIAN
22602 not big endian
22603 #endif
22604 ;
22605 return 0;
22606 }
22607 _ACEOF
22608 rm -f conftest.$ac_objext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22610 (eval $ac_compile) 2>conftest.er1
22611 ac_status=$?
22612 grep -v '^ *+' conftest.er1 >conftest.err
22613 rm -f conftest.er1
22614 cat conftest.err >&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } &&
22617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22620 ac_status=$?
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; } &&
22623 { ac_try='test -s conftest.$ac_objext'
22624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625 (eval $ac_try) 2>&5
22626 ac_status=$?
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; }; then
22629 ac_cv_c_bigendian=yes
22630 else
22631 echo "$as_me: failed program was:" >&5
22632 sed 's/^/| /' conftest.$ac_ext >&5
22633
22634 ac_cv_c_bigendian=no
22635 fi
22636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22637 else
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22640
22641 fi
22642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22643 if test $ac_cv_c_bigendian = unknown; then
22644 if test "$cross_compiling" = yes; then
22645 ac_cv_c_bigendian=unknown
22646 else
22647 cat >conftest.$ac_ext <<_ACEOF
22648 /* confdefs.h. */
22649 _ACEOF
22650 cat confdefs.h >>conftest.$ac_ext
22651 cat >>conftest.$ac_ext <<_ACEOF
22652 /* end confdefs.h. */
22653 main () {
22654 /* Are we little or big endian? From Harbison&Steele. */
22655 union
22656 {
22657 long l;
22658 char c[sizeof (long)];
22659 } u;
22660 u.l = 1;
22661 exit (u.c[sizeof (long) - 1] == 1);
22662 }
22663 _ACEOF
22664 rm -f conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_c_bigendian=no
22676 else
22677 echo "$as_me: program exited with status $ac_status" >&5
22678 echo "$as_me: failed program was:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22680
22681 ( exit $ac_status )
22682 ac_cv_c_bigendian=yes
22683 fi
22684 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22685 fi
22686 fi
22687 fi
22688 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22689 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22690 if test $ac_cv_c_bigendian = unknown; then
22691 { 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
22692 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;}
22693 fi
22694 if test $ac_cv_c_bigendian = yes; then
22695 cat >>confdefs.h <<\_ACEOF
22696 #define WORDS_BIGENDIAN 1
22697 _ACEOF
22698
22699 fi
22700
22701
22702
22703
22704
22705 ac_ext=cc
22706 ac_cpp='$CXXCPP $CPPFLAGS'
22707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22710
22711
22712
22713 for ac_header in iostream
22714 do
22715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22717 echo "$as_me:$LINENO: checking for $ac_header" >&5
22718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22721 fi
22722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22724 else
22725 # Is the header compilable?
22726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22728 cat >conftest.$ac_ext <<_ACEOF
22729 /* confdefs.h. */
22730 _ACEOF
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22734 $ac_includes_default
22735 #include <$ac_header>
22736 _ACEOF
22737 rm -f conftest.$ac_objext
22738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22739 (eval $ac_compile) 2>conftest.er1
22740 ac_status=$?
22741 grep -v '^ *+' conftest.er1 >conftest.err
22742 rm -f conftest.er1
22743 cat conftest.err >&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } &&
22746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22748 (eval $ac_try) 2>&5
22749 ac_status=$?
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; } &&
22752 { ac_try='test -s conftest.$ac_objext'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_header_compiler=yes
22759 else
22760 echo "$as_me: failed program was:" >&5
22761 sed 's/^/| /' conftest.$ac_ext >&5
22762
22763 ac_header_compiler=no
22764 fi
22765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22767 echo "${ECHO_T}$ac_header_compiler" >&6
22768
22769 # Is the header present?
22770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22772 cat >conftest.$ac_ext <<_ACEOF
22773 /* confdefs.h. */
22774 _ACEOF
22775 cat confdefs.h >>conftest.$ac_ext
22776 cat >>conftest.$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 #include <$ac_header>
22779 _ACEOF
22780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22782 ac_status=$?
22783 grep -v '^ *+' conftest.er1 >conftest.err
22784 rm -f conftest.er1
22785 cat conftest.err >&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } >/dev/null; then
22788 if test -s conftest.err; then
22789 ac_cpp_err=$ac_cxx_preproc_warn_flag
22790 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22791 else
22792 ac_cpp_err=
22793 fi
22794 else
22795 ac_cpp_err=yes
22796 fi
22797 if test -z "$ac_cpp_err"; then
22798 ac_header_preproc=yes
22799 else
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22802
22803 ac_header_preproc=no
22804 fi
22805 rm -f conftest.err conftest.$ac_ext
22806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22807 echo "${ECHO_T}$ac_header_preproc" >&6
22808
22809 # So? What about this header?
22810 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22811 yes:no: )
22812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22816 ac_header_preproc=yes
22817 ;;
22818 no:yes:* )
22819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22831 (
22832 cat <<\_ASBOX
22833 ## ----------------------------------------- ##
22834 ## Report this to wx-dev@lists.wxwidgets.org ##
22835 ## ----------------------------------------- ##
22836 _ASBOX
22837 ) |
22838 sed "s/^/$as_me: WARNING: /" >&2
22839 ;;
22840 esac
22841 echo "$as_me:$LINENO: checking for $ac_header" >&5
22842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22844 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 else
22846 eval "$as_ac_Header=\$ac_header_preproc"
22847 fi
22848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22850
22851 fi
22852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22853 cat >>confdefs.h <<_ACEOF
22854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22855 _ACEOF
22856
22857 fi
22858
22859 done
22860
22861
22862 if test "$ac_cv_header_iostream" = "yes" ; then
22863 :
22864 else
22865 cat >>confdefs.h <<\_ACEOF
22866 #define wxUSE_IOSTREAMH 1
22867 _ACEOF
22868
22869 fi
22870
22871 ac_ext=cc
22872 ac_cpp='$CXXCPP $CPPFLAGS'
22873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22876
22877
22878
22879
22880 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22881 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22882 if test "${wx_cv_cpp_bool+set}" = set; then
22883 echo $ECHO_N "(cached) $ECHO_C" >&6
22884 else
22885
22886
22887
22888 ac_ext=cc
22889 ac_cpp='$CXXCPP $CPPFLAGS'
22890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22893
22894
22895 cat >conftest.$ac_ext <<_ACEOF
22896 /* confdefs.h. */
22897 _ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22901
22902
22903 int
22904 main ()
22905 {
22906
22907 bool b = true;
22908
22909 return 0;
22910
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22917 (eval $ac_compile) 2>conftest.er1
22918 ac_status=$?
22919 grep -v '^ *+' conftest.er1 >conftest.err
22920 rm -f conftest.er1
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } &&
22924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22927 ac_status=$?
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; } &&
22930 { ac_try='test -s conftest.$ac_objext'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; }; then
22936
22937 wx_cv_cpp_bool=yes
22938
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22942
22943
22944 wx_cv_cpp_bool=no
22945
22946
22947 fi
22948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22949
22950 ac_ext=cc
22951 ac_cpp='$CXXCPP $CPPFLAGS'
22952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955
22956
22957 fi
22958 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22959 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22960
22961 if test "$wx_cv_cpp_bool" = "yes"; then
22962 cat >>confdefs.h <<\_ACEOF
22963 #define HAVE_BOOL 1
22964 _ACEOF
22965
22966 fi
22967
22968
22969
22970 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22971 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22972 if test "${wx_cv_explicit+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 else
22975
22976
22977
22978 ac_ext=cc
22979 ac_cpp='$CXXCPP $CPPFLAGS'
22980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22983
22984
22985 cat >conftest.$ac_ext <<_ACEOF
22986 /* confdefs.h. */
22987 _ACEOF
22988 cat confdefs.h >>conftest.$ac_ext
22989 cat >>conftest.$ac_ext <<_ACEOF
22990 /* end confdefs.h. */
22991
22992 class Foo { public: explicit Foo(int) {} };
22993
22994 int
22995 main ()
22996 {
22997
22998 return 0;
22999
23000 ;
23001 return 0;
23002 }
23003 _ACEOF
23004 rm -f conftest.$ac_objext
23005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23006 (eval $ac_compile) 2>conftest.er1
23007 ac_status=$?
23008 grep -v '^ *+' conftest.er1 >conftest.err
23009 rm -f conftest.er1
23010 cat conftest.err >&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } &&
23013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23016 ac_status=$?
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; } &&
23019 { ac_try='test -s conftest.$ac_objext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025
23026 cat >conftest.$ac_ext <<_ACEOF
23027 /* confdefs.h. */
23028 _ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23032
23033 class Foo { public: explicit Foo(int) {} };
23034 static void TakeFoo(const Foo& foo) { }
23035
23036 int
23037 main ()
23038 {
23039
23040 TakeFoo(17);
23041 return 0;
23042
23043 ;
23044 return 0;
23045 }
23046 _ACEOF
23047 rm -f conftest.$ac_objext
23048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23049 (eval $ac_compile) 2>conftest.er1
23050 ac_status=$?
23051 grep -v '^ *+' conftest.er1 >conftest.err
23052 rm -f conftest.er1
23053 cat conftest.err >&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); } &&
23056 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23059 ac_status=$?
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; } &&
23062 { ac_try='test -s conftest.$ac_objext'
23063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064 (eval $ac_try) 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; }; then
23068 wx_cv_explicit=no
23069 else
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23072
23073 wx_cv_explicit=yes
23074
23075 fi
23076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23077
23078 else
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23081
23082 wx_cv_explicit=no
23083
23084 fi
23085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23086
23087 ac_ext=cc
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092
23093
23094 fi
23095 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23096 echo "${ECHO_T}$wx_cv_explicit" >&6
23097
23098 if test "$wx_cv_explicit" = "yes"; then
23099 cat >>confdefs.h <<\_ACEOF
23100 #define HAVE_EXPLICIT 1
23101 _ACEOF
23102
23103 fi
23104
23105
23106 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23107 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23108 if test "${ac_cv_cxx_const_cast+set}" = set; then
23109 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 else
23111
23112
23113 ac_ext=cc
23114 ac_cpp='$CXXCPP $CPPFLAGS'
23115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23118
23119 cat >conftest.$ac_ext <<_ACEOF
23120 /* confdefs.h. */
23121 _ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125
23126 int
23127 main ()
23128 {
23129 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 rm -f conftest.$ac_objext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23136 (eval $ac_compile) 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23152 ac_status=$?
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_cv_cxx_const_cast=yes
23156 else
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23159
23160 ac_cv_cxx_const_cast=no
23161 fi
23162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23163 ac_ext=cc
23164 ac_cpp='$CXXCPP $CPPFLAGS'
23165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23168
23169
23170 fi
23171 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23172 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23173 if test "$ac_cv_cxx_const_cast" = yes; then
23174
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_CONST_CAST
23177 _ACEOF
23178
23179 fi
23180
23181 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23182 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23183 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23184 echo $ECHO_N "(cached) $ECHO_C" >&6
23185 else
23186
23187
23188 ac_ext=cc
23189 ac_cpp='$CXXCPP $CPPFLAGS'
23190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23193
23194 cat >conftest.$ac_ext <<_ACEOF
23195 /* confdefs.h. */
23196 _ACEOF
23197 cat confdefs.h >>conftest.$ac_ext
23198 cat >>conftest.$ac_ext <<_ACEOF
23199 /* end confdefs.h. */
23200 #include <typeinfo>
23201 class Base { public : Base () {} virtual void f () = 0;};
23202 class Derived : public Base { public : Derived () {} virtual void f () {} };
23203 class Unrelated { public : Unrelated () {} };
23204 int g (Unrelated&) { return 0; }
23205 int
23206 main ()
23207 {
23208
23209 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23216 (eval $ac_compile) 2>conftest.er1
23217 ac_status=$?
23218 grep -v '^ *+' conftest.er1 >conftest.err
23219 rm -f conftest.er1
23220 cat conftest.err >&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23225 (eval $ac_try) 2>&5
23226 ac_status=$?
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); }; } &&
23229 { ac_try='test -s conftest.$ac_objext'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23232 ac_status=$?
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; }; then
23235 ac_cv_cxx_reinterpret_cast=yes
23236 else
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23239
23240 ac_cv_cxx_reinterpret_cast=no
23241 fi
23242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23243 ac_ext=cc
23244 ac_cpp='$CXXCPP $CPPFLAGS'
23245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23248
23249
23250 fi
23251 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23252 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23253 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23254
23255 cat >>confdefs.h <<\_ACEOF
23256 #define HAVE_REINTERPRET_CAST
23257 _ACEOF
23258
23259 fi
23260
23261 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23262 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23263 if test "${ac_cv_cxx_static_cast+set}" = set; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 else
23266
23267
23268 ac_ext=cc
23269 ac_cpp='$CXXCPP $CPPFLAGS'
23270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 #include <typeinfo>
23281 class Base { public : Base () {} virtual void f () = 0; };
23282 class Derived : public Base { public : Derived () {} virtual void f () {} };
23283 int g (Derived&) { return 0; }
23284 int
23285 main ()
23286 {
23287
23288 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23289 ;
23290 return 0;
23291 }
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295 (eval $ac_compile) 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 ac_cv_cxx_static_cast=yes
23315 else
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23318
23319 ac_cv_cxx_static_cast=no
23320 fi
23321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23322 ac_ext=cc
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328
23329 fi
23330 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23331 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23332 if test "$ac_cv_cxx_static_cast" = yes; then
23333
23334 cat >>confdefs.h <<\_ACEOF
23335 #define HAVE_STATIC_CAST
23336 _ACEOF
23337
23338 fi
23339
23340
23341 if test "x$SUNCXX" = xyes; then
23342 CXXFLAGS="-features=tmplife $CXXFLAGS"
23343 fi
23344
23345 if test "x$SUNCC" = xyes; then
23346 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23347 fi
23348
23349 if test "x$SGICC" = "xyes"; then
23350 CFLAGS="-woff 3970 $CFLAGS"
23351 fi
23352 if test "x$SGICXX" = "xyes"; then
23353 CXXFLAGS="-woff 3970 $CXXFLAGS"
23354 fi
23355
23356 if test "x$HPCC" = "xyes"; then
23357 CFLAGS="+W 2011,2450 $CFLAGS"
23358 fi
23359 if test "x$HPCXX" = "xyes"; then
23360 CXXFLAGS="+W 2340 $CXXFLAGS"
23361 fi
23362
23363 if test "x$COMPAQCXX" = "xyes"; then
23364 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23365 fi
23366
23367 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23368 if test "$wxUSE_UNICODE" = "yes"; then
23369 std_string="std::wstring"
23370 char_type="wchar_t"
23371 else
23372 std_string="std::string"
23373 char_type="char"
23374 fi
23375
23376 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23377 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23378 cat >conftest.$ac_ext <<_ACEOF
23379 /* confdefs.h. */
23380 _ACEOF
23381 cat confdefs.h >>conftest.$ac_ext
23382 cat >>conftest.$ac_ext <<_ACEOF
23383 /* end confdefs.h. */
23384 #include <string>
23385 int
23386 main ()
23387 {
23388 $std_string foo;
23389 ;
23390 return 0;
23391 }
23392 _ACEOF
23393 rm -f conftest.$ac_objext
23394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23395 (eval $ac_compile) 2>conftest.er1
23396 ac_status=$?
23397 grep -v '^ *+' conftest.er1 >conftest.err
23398 rm -f conftest.er1
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } &&
23402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; } &&
23408 { ac_try='test -s conftest.$ac_objext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 echo "$as_me:$LINENO: result: yes" >&5
23415 echo "${ECHO_T}yes" >&6
23416 cat >>confdefs.h <<\_ACEOF
23417 #define HAVE_STD_WSTRING 1
23418 _ACEOF
23419
23420 else
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23423
23424 echo "$as_me:$LINENO: result: no" >&5
23425 echo "${ECHO_T}no" >&6
23426 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23427 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23428 cat >conftest.$ac_ext <<_ACEOF
23429 /* confdefs.h. */
23430 _ACEOF
23431 cat confdefs.h >>conftest.$ac_ext
23432 cat >>conftest.$ac_ext <<_ACEOF
23433 /* end confdefs.h. */
23434
23435 #ifdef HAVE_WCHAR_H
23436 # ifdef __CYGWIN__
23437 # include <stddef.h>
23438 # endif
23439 # include <wchar.h>
23440 #endif
23441 #ifdef HAVE_STDLIB_H
23442 # include <stdlib.h>
23443 #endif
23444 #include <stdio.h>
23445 #include <string>
23446
23447 int
23448 main ()
23449 {
23450 std::basic_string<$char_type> foo;
23451 const $char_type* dummy = foo.c_str();
23452 ;
23453 return 0;
23454 }
23455 _ACEOF
23456 rm -f conftest.$ac_objext
23457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23458 (eval $ac_compile) 2>conftest.er1
23459 ac_status=$?
23460 grep -v '^ *+' conftest.er1 >conftest.err
23461 rm -f conftest.er1
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } &&
23465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; } &&
23471 { ac_try='test -s conftest.$ac_objext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23474 ac_status=$?
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 echo "$as_me:$LINENO: result: yes" >&5
23478 echo "${ECHO_T}yes" >&6
23479 else
23480 echo "$as_me: failed program was:" >&5
23481 sed 's/^/| /' conftest.$ac_ext >&5
23482
23483 echo "$as_me:$LINENO: result: no" >&5
23484 echo "${ECHO_T}no" >&6
23485 if test "$wxUSE_STL" = "yes"; then
23486 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23487 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23488 { (exit 1); exit 1; }; }
23489 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23490 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23491 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23492 { (exit 1); exit 1; }; }
23493 else
23494 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23495 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23496 wxUSE_STD_STRING=no
23497 fi
23498
23499
23500 fi
23501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23502
23503 fi
23504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23505 fi
23506
23507 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23508 echo "$as_me:$LINENO: checking for std::istream" >&5
23509 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23510 if test "${ac_cv_type_std__istream+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 #include <iostream>
23520
23521 int
23522 main ()
23523 {
23524 if ((std::istream *) 0)
23525 return 0;
23526 if (sizeof (std::istream))
23527 return 0;
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23534 (eval $ac_compile) 2>conftest.er1
23535 ac_status=$?
23536 grep -v '^ *+' conftest.er1 >conftest.err
23537 rm -f conftest.er1
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543 (eval $ac_try) 2>&5
23544 ac_status=$?
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); }; } &&
23547 { ac_try='test -s conftest.$ac_objext'
23548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549 (eval $ac_try) 2>&5
23550 ac_status=$?
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); }; }; then
23553 ac_cv_type_std__istream=yes
23554 else
23555 echo "$as_me: failed program was:" >&5
23556 sed 's/^/| /' conftest.$ac_ext >&5
23557
23558 ac_cv_type_std__istream=no
23559 fi
23560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23561 fi
23562 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23563 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23564 if test $ac_cv_type_std__istream = yes; then
23565
23566 cat >>confdefs.h <<_ACEOF
23567 #define HAVE_STD__ISTREAM 1
23568 _ACEOF
23569
23570
23571 else
23572 wxUSE_STD_IOSTREAM=no
23573 fi
23574 echo "$as_me:$LINENO: checking for std::ostream" >&5
23575 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23576 if test "${ac_cv_type_std__ostream+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h. */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23585 #include <iostream>
23586
23587 int
23588 main ()
23589 {
23590 if ((std::ostream *) 0)
23591 return 0;
23592 if (sizeof (std::ostream))
23593 return 0;
23594 ;
23595 return 0;
23596 }
23597 _ACEOF
23598 rm -f conftest.$ac_objext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23600 (eval $ac_compile) 2>conftest.er1
23601 ac_status=$?
23602 grep -v '^ *+' conftest.er1 >conftest.err
23603 rm -f conftest.er1
23604 cat conftest.err >&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } &&
23607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23609 (eval $ac_try) 2>&5
23610 ac_status=$?
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; } &&
23613 { ac_try='test -s conftest.$ac_objext'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; }; then
23619 ac_cv_type_std__ostream=yes
23620 else
23621 echo "$as_me: failed program was:" >&5
23622 sed 's/^/| /' conftest.$ac_ext >&5
23623
23624 ac_cv_type_std__ostream=no
23625 fi
23626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23627 fi
23628 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23629 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23630 if test $ac_cv_type_std__ostream = yes; then
23631
23632 cat >>confdefs.h <<_ACEOF
23633 #define HAVE_STD__OSTREAM 1
23634 _ACEOF
23635
23636
23637 else
23638 wxUSE_STD_IOSTREAM=no
23639 fi
23640
23641
23642 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23643 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23644 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23645 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23646 { (exit 1); exit 1; }; }
23647 else
23648 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23649 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23650 fi
23651 fi
23652 fi
23653
23654 if test "$wxUSE_STL" = "yes"; then
23655 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23656 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23657 cat >conftest.$ac_ext <<_ACEOF
23658 /* confdefs.h. */
23659 _ACEOF
23660 cat confdefs.h >>conftest.$ac_ext
23661 cat >>conftest.$ac_ext <<_ACEOF
23662 /* end confdefs.h. */
23663 #include <string>
23664 #include <functional>
23665 #include <algorithm>
23666 #include <vector>
23667 #include <list>
23668 int
23669 main ()
23670 {
23671 std::vector<int> moo;
23672 std::list<int> foo;
23673 std::vector<int>::iterator it =
23674 std::find_if(moo.begin(), moo.end(),
23675 std::bind2nd(std::less<int>(), 3));
23676 ;
23677 return 0;
23678 }
23679 _ACEOF
23680 rm -f conftest.$ac_objext
23681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23682 (eval $ac_compile) 2>conftest.er1
23683 ac_status=$?
23684 grep -v '^ *+' conftest.er1 >conftest.err
23685 rm -f conftest.er1
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } &&
23689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23691 (eval $ac_try) 2>&5
23692 ac_status=$?
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); }; } &&
23695 { ac_try='test -s conftest.$ac_objext'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; }; then
23701 echo "$as_me:$LINENO: result: yes" >&5
23702 echo "${ECHO_T}yes" >&6
23703 else
23704 echo "$as_me: failed program was:" >&5
23705 sed 's/^/| /' conftest.$ac_ext >&5
23706
23707 echo "$as_me:$LINENO: result: no" >&5
23708 echo "${ECHO_T}no" >&6
23709 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23710 echo "$as_me: error: Basic STL functionality missing" >&2;}
23711 { (exit 1); exit 1; }; }
23712 fi
23713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23714
23715 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23716 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23717 cat >conftest.$ac_ext <<_ACEOF
23718 /* confdefs.h. */
23719 _ACEOF
23720 cat confdefs.h >>conftest.$ac_ext
23721 cat >>conftest.$ac_ext <<_ACEOF
23722 /* end confdefs.h. */
23723 #include <string>
23724 int
23725 main ()
23726 {
23727 std::string foo, bar;
23728 foo.compare(bar);
23729 foo.compare(1, 1, bar);
23730 foo.compare(1, 1, bar, 1, 1);
23731 foo.compare("");
23732 foo.compare(1, 1, "");
23733 foo.compare(1, 1, "", 2);
23734 ;
23735 return 0;
23736 }
23737 _ACEOF
23738 rm -f conftest.$ac_objext
23739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23740 (eval $ac_compile) 2>conftest.er1
23741 ac_status=$?
23742 grep -v '^ *+' conftest.er1 >conftest.err
23743 rm -f conftest.er1
23744 cat conftest.err >&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); } &&
23747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23749 (eval $ac_try) 2>&5
23750 ac_status=$?
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); }; } &&
23753 { ac_try='test -s conftest.$ac_objext'
23754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23755 (eval $ac_try) 2>&5
23756 ac_status=$?
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; }; then
23759 echo "$as_me:$LINENO: result: yes" >&5
23760 echo "${ECHO_T}yes" >&6
23761 cat >>confdefs.h <<\_ACEOF
23762 #define HAVE_STD_STRING_COMPARE 1
23763 _ACEOF
23764
23765 else
23766 echo "$as_me: failed program was:" >&5
23767 sed 's/^/| /' conftest.$ac_ext >&5
23768
23769 echo "$as_me:$LINENO: result: no" >&5
23770 echo "${ECHO_T}no" >&6
23771 fi
23772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23773
23774 if test "${ac_cv_header_hash_map+set}" = set; then
23775 echo "$as_me:$LINENO: checking for hash_map" >&5
23776 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23777 if test "${ac_cv_header_hash_map+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 fi
23780 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23781 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23782 else
23783 # Is the header compilable?
23784 echo "$as_me:$LINENO: checking hash_map usability" >&5
23785 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23786 cat >conftest.$ac_ext <<_ACEOF
23787 /* confdefs.h. */
23788 _ACEOF
23789 cat confdefs.h >>conftest.$ac_ext
23790 cat >>conftest.$ac_ext <<_ACEOF
23791 /* end confdefs.h. */
23792 $ac_includes_default
23793 #include <hash_map>
23794 _ACEOF
23795 rm -f conftest.$ac_objext
23796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23797 (eval $ac_compile) 2>conftest.er1
23798 ac_status=$?
23799 grep -v '^ *+' conftest.er1 >conftest.err
23800 rm -f conftest.er1
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } &&
23804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23807 ac_status=$?
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; } &&
23810 { ac_try='test -s conftest.$ac_objext'
23811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23812 (eval $ac_try) 2>&5
23813 ac_status=$?
23814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815 (exit $ac_status); }; }; then
23816 ac_header_compiler=yes
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23820
23821 ac_header_compiler=no
23822 fi
23823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23825 echo "${ECHO_T}$ac_header_compiler" >&6
23826
23827 # Is the header present?
23828 echo "$as_me:$LINENO: checking hash_map presence" >&5
23829 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23830 cat >conftest.$ac_ext <<_ACEOF
23831 /* confdefs.h. */
23832 _ACEOF
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23836 #include <hash_map>
23837 _ACEOF
23838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23840 ac_status=$?
23841 grep -v '^ *+' conftest.er1 >conftest.err
23842 rm -f conftest.er1
23843 cat conftest.err >&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } >/dev/null; then
23846 if test -s conftest.err; then
23847 ac_cpp_err=$ac_cxx_preproc_warn_flag
23848 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23849 else
23850 ac_cpp_err=
23851 fi
23852 else
23853 ac_cpp_err=yes
23854 fi
23855 if test -z "$ac_cpp_err"; then
23856 ac_header_preproc=yes
23857 else
23858 echo "$as_me: failed program was:" >&5
23859 sed 's/^/| /' conftest.$ac_ext >&5
23860
23861 ac_header_preproc=no
23862 fi
23863 rm -f conftest.err conftest.$ac_ext
23864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23865 echo "${ECHO_T}$ac_header_preproc" >&6
23866
23867 # So? What about this header?
23868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23869 yes:no: )
23870 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23871 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23872 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23873 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23874 ac_header_preproc=yes
23875 ;;
23876 no:yes:* )
23877 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23878 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23879 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23880 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23881 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23882 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23883 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23884 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23885 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23886 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23887 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23888 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23889 (
23890 cat <<\_ASBOX
23891 ## ----------------------------------------- ##
23892 ## Report this to wx-dev@lists.wxwidgets.org ##
23893 ## ----------------------------------------- ##
23894 _ASBOX
23895 ) |
23896 sed "s/^/$as_me: WARNING: /" >&2
23897 ;;
23898 esac
23899 echo "$as_me:$LINENO: checking for hash_map" >&5
23900 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23901 if test "${ac_cv_header_hash_map+set}" = set; then
23902 echo $ECHO_N "(cached) $ECHO_C" >&6
23903 else
23904 ac_cv_header_hash_map=$ac_header_preproc
23905 fi
23906 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23907 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23908
23909 fi
23910 if test $ac_cv_header_hash_map = yes; then
23911 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23912 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23913 cat >conftest.$ac_ext <<_ACEOF
23914 /* confdefs.h. */
23915 _ACEOF
23916 cat confdefs.h >>conftest.$ac_ext
23917 cat >>conftest.$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23919 #include <hash_map>
23920 #include <hash_set>
23921 int
23922 main ()
23923 {
23924 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23925 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
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" || test ! -s conftest.err'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23942 ac_status=$?
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; } &&
23945 { ac_try='test -s conftest.$ac_objext'
23946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947 (eval $ac_try) 2>&5
23948 ac_status=$?
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); }; }; then
23951 echo "$as_me:$LINENO: result: yes" >&5
23952 echo "${ECHO_T}yes" >&6
23953 cat >>confdefs.h <<\_ACEOF
23954 #define HAVE_HASH_MAP 1
23955 _ACEOF
23956
23957 cat >>confdefs.h <<\_ACEOF
23958 #define HAVE_STD_HASH_MAP 1
23959 _ACEOF
23960
23961 else
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23964
23965 echo "$as_me:$LINENO: result: no" >&5
23966 echo "${ECHO_T}no" >&6
23967 fi
23968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23969
23970 fi
23971
23972
23973
23974 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23975 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23976 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23977 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6
23979 fi
23980 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23981 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23982 else
23983 # Is the header compilable?
23984 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23985 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23986 cat >conftest.$ac_ext <<_ACEOF
23987 /* confdefs.h. */
23988 _ACEOF
23989 cat confdefs.h >>conftest.$ac_ext
23990 cat >>conftest.$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23992 $ac_includes_default
23993 #include <ext/hash_map>
23994 _ACEOF
23995 rm -f conftest.$ac_objext
23996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23997 (eval $ac_compile) 2>conftest.er1
23998 ac_status=$?
23999 grep -v '^ *+' conftest.er1 >conftest.err
24000 rm -f conftest.er1
24001 cat conftest.err >&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } &&
24004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24007 ac_status=$?
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; } &&
24010 { ac_try='test -s conftest.$ac_objext'
24011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012 (eval $ac_try) 2>&5
24013 ac_status=$?
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; }; then
24016 ac_header_compiler=yes
24017 else
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24020
24021 ac_header_compiler=no
24022 fi
24023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24025 echo "${ECHO_T}$ac_header_compiler" >&6
24026
24027 # Is the header present?
24028 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24029 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24030 cat >conftest.$ac_ext <<_ACEOF
24031 /* confdefs.h. */
24032 _ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h. */
24036 #include <ext/hash_map>
24037 _ACEOF
24038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24040 ac_status=$?
24041 grep -v '^ *+' conftest.er1 >conftest.err
24042 rm -f conftest.er1
24043 cat conftest.err >&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } >/dev/null; then
24046 if test -s conftest.err; then
24047 ac_cpp_err=$ac_cxx_preproc_warn_flag
24048 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24049 else
24050 ac_cpp_err=
24051 fi
24052 else
24053 ac_cpp_err=yes
24054 fi
24055 if test -z "$ac_cpp_err"; then
24056 ac_header_preproc=yes
24057 else
24058 echo "$as_me: failed program was:" >&5
24059 sed 's/^/| /' conftest.$ac_ext >&5
24060
24061 ac_header_preproc=no
24062 fi
24063 rm -f conftest.err conftest.$ac_ext
24064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24065 echo "${ECHO_T}$ac_header_preproc" >&6
24066
24067 # So? What about this header?
24068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24069 yes:no: )
24070 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24071 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24072 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24073 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24074 ac_header_preproc=yes
24075 ;;
24076 no:yes:* )
24077 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24078 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24080 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24081 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24082 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24083 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24084 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24085 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24086 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24087 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24088 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24089 (
24090 cat <<\_ASBOX
24091 ## ----------------------------------------- ##
24092 ## Report this to wx-dev@lists.wxwidgets.org ##
24093 ## ----------------------------------------- ##
24094 _ASBOX
24095 ) |
24096 sed "s/^/$as_me: WARNING: /" >&2
24097 ;;
24098 esac
24099 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24100 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24101 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24102 echo $ECHO_N "(cached) $ECHO_C" >&6
24103 else
24104 ac_cv_header_ext_hash_map=$ac_header_preproc
24105 fi
24106 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24107 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24108
24109 fi
24110 if test $ac_cv_header_ext_hash_map = yes; then
24111 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24112 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24113 cat >conftest.$ac_ext <<_ACEOF
24114 /* confdefs.h. */
24115 _ACEOF
24116 cat confdefs.h >>conftest.$ac_ext
24117 cat >>conftest.$ac_ext <<_ACEOF
24118 /* end confdefs.h. */
24119 #include <ext/hash_map>
24120 #include <ext/hash_set>
24121 int
24122 main ()
24123 {
24124 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24125 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24126 ;
24127 return 0;
24128 }
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" || test ! -s conftest.err'
24140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24141 (eval $ac_try) 2>&5
24142 ac_status=$?
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); }; } &&
24145 { ac_try='test -s conftest.$ac_objext'
24146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24147 (eval $ac_try) 2>&5
24148 ac_status=$?
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; }; then
24151 echo "$as_me:$LINENO: result: yes" >&5
24152 echo "${ECHO_T}yes" >&6
24153 cat >>confdefs.h <<\_ACEOF
24154 #define HAVE_EXT_HASH_MAP 1
24155 _ACEOF
24156
24157 cat >>confdefs.h <<\_ACEOF
24158 #define HAVE_GNU_CXX_HASH_MAP 1
24159 _ACEOF
24160
24161 else
24162 echo "$as_me: failed program was:" >&5
24163 sed 's/^/| /' conftest.$ac_ext >&5
24164
24165 echo "$as_me:$LINENO: result: no" >&5
24166 echo "${ECHO_T}no" >&6
24167 fi
24168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24169
24170 fi
24171
24172
24173 fi
24174
24175
24176 SEARCH_INCLUDE="\
24177 /usr/local/include \
24178 \
24179 /usr/Motif-2.1/include \
24180 /usr/Motif-1.2/include \
24181 /usr/include/Motif1.2 \
24182 \
24183 /usr/dt/include \
24184 /usr/openwin/include \
24185 \
24186 /usr/include/Xm \
24187 \
24188 /usr/X11R6/include \
24189 /usr/X11R6.4/include \
24190 /usr/X11R5/include \
24191 /usr/X11R4/include \
24192 \
24193 /usr/include/X11R6 \
24194 /usr/include/X11R5 \
24195 /usr/include/X11R4 \
24196 \
24197 /usr/local/X11R6/include \
24198 /usr/local/X11R5/include \
24199 /usr/local/X11R4/include \
24200 \
24201 /usr/local/include/X11R6 \
24202 /usr/local/include/X11R5 \
24203 /usr/local/include/X11R4 \
24204 \
24205 /usr/X11/include \
24206 /usr/include/X11 \
24207 /usr/local/X11/include \
24208 /usr/local/include/X11 \
24209 \
24210 /usr/XFree86/include/X11 \
24211 /usr/pkg/include \
24212 \
24213 /usr/openwin/share/include"
24214
24215 echo "$as_me:$LINENO: checking for libraries directory" >&5
24216 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24217
24218 case "${host}" in
24219 *-*-irix6* )
24220 if test "${wx_cv_std_libpath+set}" = set; then
24221 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 else
24223
24224 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24225 for e in a so sl dylib dll.a; do
24226 libc="$d/libc.$e"
24227 if test -f $libc; then
24228 save_LIBS="$LIBS"
24229 LIBS="$libc"
24230 cat >conftest.$ac_ext <<_ACEOF
24231 int main() { return 0; }
24232 _ACEOF
24233 rm -f conftest.$ac_objext conftest$ac_exeext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24235 (eval $ac_link) 2>conftest.er1
24236 ac_status=$?
24237 grep -v '^ *+' conftest.er1 >conftest.err
24238 rm -f conftest.er1
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } &&
24242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24244 (eval $ac_try) 2>&5
24245 ac_status=$?
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); }; } &&
24248 { ac_try='test -s conftest$ac_exeext'
24249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24250 (eval $ac_try) 2>&5
24251 ac_status=$?
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); }; }; then
24254 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24255 else
24256 echo "$as_me: failed program was:" >&5
24257 sed 's/^/| /' conftest.$ac_ext >&5
24258
24259 fi
24260 rm -f conftest.err conftest.$ac_objext \
24261 conftest$ac_exeext conftest.$ac_ext
24262 LIBS="$save_LIBS"
24263 if test "x$wx_cv_std_libpath" != "x"; then
24264 break 2
24265 fi
24266 fi
24267 done
24268 done
24269 if test "x$wx_cv_std_libpath" = "x"; then
24270 wx_cv_std_libpath="lib"
24271 fi
24272
24273
24274 fi
24275
24276 ;;
24277
24278 *-*-solaris2* )
24279 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24280 wx_cv_std_libpath="lib/64"
24281 else
24282 wx_cv_std_libpath="lib"
24283 fi
24284 ;;
24285
24286 *-*-linux* )
24287 if test "$ac_cv_sizeof_void_p" = 8 -a \
24288 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24289 wx_cv_std_libpath="lib64"
24290 else
24291 wx_cv_std_libpath="lib"
24292 fi
24293 ;;
24294
24295 *)
24296 wx_cv_std_libpath="lib";
24297 ;;
24298 esac
24299
24300 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24301 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24302
24303 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24304
24305 if test "$build" != "$host" -a "$GCC" = yes; then
24306 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24307 cross_root=`dirname $cross_root`
24308 cross_root=`dirname $cross_root`
24309
24310 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24311 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24312 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24313
24314 if test -z "$PKG_CONFIG_PATH"; then
24315 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24316 export PKG_CONFIG_PATH
24317 fi
24318
24319 if test -z "$x_includes" -o "$x_includes" = NONE; then
24320
24321 ac_find_includes=
24322 for ac_dir in $SEARCH_INCLUDE /usr/include;
24323 do
24324 if test -f "$ac_dir/X11/Intrinsic.h"; then
24325 ac_find_includes=$ac_dir
24326 break
24327 fi
24328 done
24329
24330 x_includes=$ac_find_includes
24331 fi
24332 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24333
24334 ac_find_libraries=
24335 for ac_dir in $SEARCH_LIB;
24336 do
24337 for ac_extension in a so sl dylib dll.a; do
24338 if test -f "$ac_dir/libXt.$ac_extension"; then
24339 ac_find_libraries=$ac_dir
24340 break 2
24341 fi
24342 done
24343 done
24344
24345 x_libraries=$ac_find_libraries
24346 fi
24347 fi
24348 fi
24349
24350
24351 cat >confcache <<\_ACEOF
24352 # This file is a shell script that caches the results of configure
24353 # tests run on this system so they can be shared between configure
24354 # scripts and configure runs, see configure's option --config-cache.
24355 # It is not useful on other systems. If it contains results you don't
24356 # want to keep, you may remove or edit it.
24357 #
24358 # config.status only pays attention to the cache file if you give it
24359 # the --recheck option to rerun configure.
24360 #
24361 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24362 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24363 # following values.
24364
24365 _ACEOF
24366
24367 # The following way of writing the cache mishandles newlines in values,
24368 # but we know of no workaround that is simple, portable, and efficient.
24369 # So, don't put newlines in cache variables' values.
24370 # Ultrix sh set writes to stderr and can't be redirected directly,
24371 # and sets the high bit in the cache file unless we assign to the vars.
24372 {
24373 (set) 2>&1 |
24374 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24375 *ac_space=\ *)
24376 # `set' does not quote correctly, so add quotes (double-quote
24377 # substitution turns \\\\ into \\, and sed turns \\ into \).
24378 sed -n \
24379 "s/'/'\\\\''/g;
24380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24381 ;;
24382 *)
24383 # `set' quotes correctly as required by POSIX, so do not add quotes.
24384 sed -n \
24385 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24386 ;;
24387 esac;
24388 } |
24389 sed '
24390 t clear
24391 : clear
24392 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24393 t end
24394 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24395 : end' >>confcache
24396 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24397 if test -w $cache_file; then
24398 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24399 cat confcache >$cache_file
24400 else
24401 echo "not updating unwritable cache $cache_file"
24402 fi
24403 fi
24404 rm -f confcache
24405
24406 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24407 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24408 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24409 if test "${wx_cv_lib_glibc21+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 else
24412
24413 cat >conftest.$ac_ext <<_ACEOF
24414 /* confdefs.h. */
24415 _ACEOF
24416 cat confdefs.h >>conftest.$ac_ext
24417 cat >>conftest.$ac_ext <<_ACEOF
24418 /* end confdefs.h. */
24419 #include <features.h>
24420 int
24421 main ()
24422 {
24423
24424 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24425 not glibc 2.1
24426 #endif
24427
24428 ;
24429 return 0;
24430 }
24431 _ACEOF
24432 rm -f conftest.$ac_objext
24433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24434 (eval $ac_compile) 2>conftest.er1
24435 ac_status=$?
24436 grep -v '^ *+' conftest.er1 >conftest.err
24437 rm -f conftest.er1
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24444 ac_status=$?
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try='test -s conftest.$ac_objext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24450 ac_status=$?
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453
24454 wx_cv_lib_glibc21=yes
24455
24456 else
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.$ac_ext >&5
24459
24460
24461 wx_cv_lib_glibc21=no
24462
24463
24464 fi
24465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24466
24467 fi
24468 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24469 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24470 if test "$wx_cv_lib_glibc21" = "yes"; then
24471 cat >>confdefs.h <<\_ACEOF
24472 #define wxHAVE_GLIBC2 1
24473 _ACEOF
24474
24475 fi
24476 fi
24477
24478 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24479 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24480 cat >>confdefs.h <<\_ACEOF
24481 #define _GNU_SOURCE 1
24482 _ACEOF
24483
24484 fi
24485 fi
24486
24487 have_cos=0
24488 have_floor=0
24489
24490 for ac_func in cos
24491 do
24492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24493 echo "$as_me:$LINENO: checking for $ac_func" >&5
24494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24495 if eval "test \"\${$as_ac_var+set}\" = set"; then
24496 echo $ECHO_N "(cached) $ECHO_C" >&6
24497 else
24498 cat >conftest.$ac_ext <<_ACEOF
24499 /* confdefs.h. */
24500 _ACEOF
24501 cat confdefs.h >>conftest.$ac_ext
24502 cat >>conftest.$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24506 #define $ac_func innocuous_$ac_func
24507
24508 /* System header to define __stub macros and hopefully few prototypes,
24509 which can conflict with char $ac_func (); below.
24510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24511 <limits.h> exists even on freestanding compilers. */
24512
24513 #ifdef __STDC__
24514 # include <limits.h>
24515 #else
24516 # include <assert.h>
24517 #endif
24518
24519 #undef $ac_func
24520
24521 /* Override any gcc2 internal prototype to avoid an error. */
24522 #ifdef __cplusplus
24523 extern "C"
24524 {
24525 #endif
24526 /* We use char because int might match the return type of a gcc2
24527 builtin and then its argument prototype would still apply. */
24528 char $ac_func ();
24529 /* The GNU C library defines this for functions which it implements
24530 to always fail with ENOSYS. Some functions are actually named
24531 something starting with __ and the normal name is an alias. */
24532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24533 choke me
24534 #else
24535 char (*f) () = $ac_func;
24536 #endif
24537 #ifdef __cplusplus
24538 }
24539 #endif
24540
24541 int
24542 main ()
24543 {
24544 return f != $ac_func;
24545 ;
24546 return 0;
24547 }
24548 _ACEOF
24549 rm -f conftest.$ac_objext conftest$ac_exeext
24550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24551 (eval $ac_link) 2>conftest.er1
24552 ac_status=$?
24553 grep -v '^ *+' conftest.er1 >conftest.err
24554 rm -f conftest.er1
24555 cat conftest.err >&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } &&
24558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24561 ac_status=$?
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; } &&
24564 { ac_try='test -s conftest$ac_exeext'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; }; then
24570 eval "$as_ac_var=yes"
24571 else
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24574
24575 eval "$as_ac_var=no"
24576 fi
24577 rm -f conftest.err conftest.$ac_objext \
24578 conftest$ac_exeext conftest.$ac_ext
24579 fi
24580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24582 if test `eval echo '${'$as_ac_var'}'` = yes; then
24583 cat >>confdefs.h <<_ACEOF
24584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24585 _ACEOF
24586 have_cos=1
24587 fi
24588 done
24589
24590
24591 for ac_func in floor
24592 do
24593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24594 echo "$as_me:$LINENO: checking for $ac_func" >&5
24595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24596 if eval "test \"\${$as_ac_var+set}\" = set"; then
24597 echo $ECHO_N "(cached) $ECHO_C" >&6
24598 else
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24607 #define $ac_func innocuous_$ac_func
24608
24609 /* System header to define __stub macros and hopefully few prototypes,
24610 which can conflict with char $ac_func (); below.
24611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24612 <limits.h> exists even on freestanding compilers. */
24613
24614 #ifdef __STDC__
24615 # include <limits.h>
24616 #else
24617 # include <assert.h>
24618 #endif
24619
24620 #undef $ac_func
24621
24622 /* Override any gcc2 internal prototype to avoid an error. */
24623 #ifdef __cplusplus
24624 extern "C"
24625 {
24626 #endif
24627 /* We use char because int might match the return type of a gcc2
24628 builtin and then its argument prototype would still apply. */
24629 char $ac_func ();
24630 /* The GNU C library defines this for functions which it implements
24631 to always fail with ENOSYS. Some functions are actually named
24632 something starting with __ and the normal name is an alias. */
24633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24634 choke me
24635 #else
24636 char (*f) () = $ac_func;
24637 #endif
24638 #ifdef __cplusplus
24639 }
24640 #endif
24641
24642 int
24643 main ()
24644 {
24645 return f != $ac_func;
24646 ;
24647 return 0;
24648 }
24649 _ACEOF
24650 rm -f conftest.$ac_objext conftest$ac_exeext
24651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24652 (eval $ac_link) 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } &&
24659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24662 ac_status=$?
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; } &&
24665 { ac_try='test -s conftest$ac_exeext'
24666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24667 (eval $ac_try) 2>&5
24668 ac_status=$?
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); }; }; then
24671 eval "$as_ac_var=yes"
24672 else
24673 echo "$as_me: failed program was:" >&5
24674 sed 's/^/| /' conftest.$ac_ext >&5
24675
24676 eval "$as_ac_var=no"
24677 fi
24678 rm -f conftest.err conftest.$ac_objext \
24679 conftest$ac_exeext conftest.$ac_ext
24680 fi
24681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24683 if test `eval echo '${'$as_ac_var'}'` = yes; then
24684 cat >>confdefs.h <<_ACEOF
24685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24686 _ACEOF
24687 have_floor=1
24688 fi
24689 done
24690
24691 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24692 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24693 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24694 echo "$as_me:$LINENO: result: yes" >&5
24695 echo "${ECHO_T}yes" >&6
24696 else
24697 echo "$as_me:$LINENO: result: no" >&5
24698 echo "${ECHO_T}no" >&6
24699 LIBS="$LIBS -lm"
24700 # use different functions to avoid configure caching
24701 have_sin=0
24702 have_ceil=0
24703
24704 for ac_func in sin
24705 do
24706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24707 echo "$as_me:$LINENO: checking for $ac_func" >&5
24708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24709 if eval "test \"\${$as_ac_var+set}\" = set"; then
24710 echo $ECHO_N "(cached) $ECHO_C" >&6
24711 else
24712 cat >conftest.$ac_ext <<_ACEOF
24713 /* confdefs.h. */
24714 _ACEOF
24715 cat confdefs.h >>conftest.$ac_ext
24716 cat >>conftest.$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24720 #define $ac_func innocuous_$ac_func
24721
24722 /* System header to define __stub macros and hopefully few prototypes,
24723 which can conflict with char $ac_func (); below.
24724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24725 <limits.h> exists even on freestanding compilers. */
24726
24727 #ifdef __STDC__
24728 # include <limits.h>
24729 #else
24730 # include <assert.h>
24731 #endif
24732
24733 #undef $ac_func
24734
24735 /* Override any gcc2 internal prototype to avoid an error. */
24736 #ifdef __cplusplus
24737 extern "C"
24738 {
24739 #endif
24740 /* We use char because int might match the return type of a gcc2
24741 builtin and then its argument prototype would still apply. */
24742 char $ac_func ();
24743 /* The GNU C library defines this for functions which it implements
24744 to always fail with ENOSYS. Some functions are actually named
24745 something starting with __ and the normal name is an alias. */
24746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24747 choke me
24748 #else
24749 char (*f) () = $ac_func;
24750 #endif
24751 #ifdef __cplusplus
24752 }
24753 #endif
24754
24755 int
24756 main ()
24757 {
24758 return f != $ac_func;
24759 ;
24760 return 0;
24761 }
24762 _ACEOF
24763 rm -f conftest.$ac_objext conftest$ac_exeext
24764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24765 (eval $ac_link) 2>conftest.er1
24766 ac_status=$?
24767 grep -v '^ *+' conftest.er1 >conftest.err
24768 rm -f conftest.er1
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } &&
24772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; } &&
24778 { ac_try='test -s conftest$ac_exeext'
24779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780 (eval $ac_try) 2>&5
24781 ac_status=$?
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; }; then
24784 eval "$as_ac_var=yes"
24785 else
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
24788
24789 eval "$as_ac_var=no"
24790 fi
24791 rm -f conftest.err conftest.$ac_objext \
24792 conftest$ac_exeext conftest.$ac_ext
24793 fi
24794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24796 if test `eval echo '${'$as_ac_var'}'` = yes; then
24797 cat >>confdefs.h <<_ACEOF
24798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24799 _ACEOF
24800 have_sin=1
24801 fi
24802 done
24803
24804
24805 for ac_func in ceil
24806 do
24807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24808 echo "$as_me:$LINENO: checking for $ac_func" >&5
24809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24810 if eval "test \"\${$as_ac_var+set}\" = set"; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 else
24813 cat >conftest.$ac_ext <<_ACEOF
24814 /* confdefs.h. */
24815 _ACEOF
24816 cat confdefs.h >>conftest.$ac_ext
24817 cat >>conftest.$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24821 #define $ac_func innocuous_$ac_func
24822
24823 /* System header to define __stub macros and hopefully few prototypes,
24824 which can conflict with char $ac_func (); below.
24825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24826 <limits.h> exists even on freestanding compilers. */
24827
24828 #ifdef __STDC__
24829 # include <limits.h>
24830 #else
24831 # include <assert.h>
24832 #endif
24833
24834 #undef $ac_func
24835
24836 /* Override any gcc2 internal prototype to avoid an error. */
24837 #ifdef __cplusplus
24838 extern "C"
24839 {
24840 #endif
24841 /* We use char because int might match the return type of a gcc2
24842 builtin and then its argument prototype would still apply. */
24843 char $ac_func ();
24844 /* The GNU C library defines this for functions which it implements
24845 to always fail with ENOSYS. Some functions are actually named
24846 something starting with __ and the normal name is an alias. */
24847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24848 choke me
24849 #else
24850 char (*f) () = $ac_func;
24851 #endif
24852 #ifdef __cplusplus
24853 }
24854 #endif
24855
24856 int
24857 main ()
24858 {
24859 return f != $ac_func;
24860 ;
24861 return 0;
24862 }
24863 _ACEOF
24864 rm -f conftest.$ac_objext conftest$ac_exeext
24865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24866 (eval $ac_link) 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } &&
24873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24875 (eval $ac_try) 2>&5
24876 ac_status=$?
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); }; } &&
24879 { ac_try='test -s conftest$ac_exeext'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24882 ac_status=$?
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; }; then
24885 eval "$as_ac_var=yes"
24886 else
24887 echo "$as_me: failed program was:" >&5
24888 sed 's/^/| /' conftest.$ac_ext >&5
24889
24890 eval "$as_ac_var=no"
24891 fi
24892 rm -f conftest.err conftest.$ac_objext \
24893 conftest$ac_exeext conftest.$ac_ext
24894 fi
24895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24897 if test `eval echo '${'$as_ac_var'}'` = yes; then
24898 cat >>confdefs.h <<_ACEOF
24899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24900 _ACEOF
24901 have_ceil=1
24902 fi
24903 done
24904
24905 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24906 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24907 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24908 echo "$as_me:$LINENO: result: yes" >&5
24909 echo "${ECHO_T}yes" >&6
24910 else
24911 echo "$as_me:$LINENO: result: no" >&5
24912 echo "${ECHO_T}no" >&6
24913 # not sure we should warn the user, crash, etc.
24914 fi
24915 fi
24916
24917
24918
24919 if test "$wxUSE_REGEX" != "no"; then
24920 cat >>confdefs.h <<\_ACEOF
24921 #define wxUSE_REGEX 1
24922 _ACEOF
24923
24924
24925 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24926 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24927 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24928 wxUSE_REGEX=builtin
24929 fi
24930
24931 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24932 if test "${ac_cv_header_regex_h+set}" = set; then
24933 echo "$as_me:$LINENO: checking for regex.h" >&5
24934 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24935 if test "${ac_cv_header_regex_h+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 fi
24938 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24939 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24940 else
24941 # Is the header compilable?
24942 echo "$as_me:$LINENO: checking regex.h usability" >&5
24943 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24944 cat >conftest.$ac_ext <<_ACEOF
24945 /* confdefs.h. */
24946 _ACEOF
24947 cat confdefs.h >>conftest.$ac_ext
24948 cat >>conftest.$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 $ac_includes_default
24951 #include <regex.h>
24952 _ACEOF
24953 rm -f conftest.$ac_objext
24954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24955 (eval $ac_compile) 2>conftest.er1
24956 ac_status=$?
24957 grep -v '^ *+' conftest.er1 >conftest.err
24958 rm -f conftest.er1
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } &&
24962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24964 (eval $ac_try) 2>&5
24965 ac_status=$?
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); }; } &&
24968 { ac_try='test -s conftest.$ac_objext'
24969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24970 (eval $ac_try) 2>&5
24971 ac_status=$?
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); }; }; then
24974 ac_header_compiler=yes
24975 else
24976 echo "$as_me: failed program was:" >&5
24977 sed 's/^/| /' conftest.$ac_ext >&5
24978
24979 ac_header_compiler=no
24980 fi
24981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24983 echo "${ECHO_T}$ac_header_compiler" >&6
24984
24985 # Is the header present?
24986 echo "$as_me:$LINENO: checking regex.h presence" >&5
24987 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24988 cat >conftest.$ac_ext <<_ACEOF
24989 /* confdefs.h. */
24990 _ACEOF
24991 cat confdefs.h >>conftest.$ac_ext
24992 cat >>conftest.$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 #include <regex.h>
24995 _ACEOF
24996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24998 ac_status=$?
24999 grep -v '^ *+' conftest.er1 >conftest.err
25000 rm -f conftest.er1
25001 cat conftest.err >&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } >/dev/null; then
25004 if test -s conftest.err; then
25005 ac_cpp_err=$ac_cxx_preproc_warn_flag
25006 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25007 else
25008 ac_cpp_err=
25009 fi
25010 else
25011 ac_cpp_err=yes
25012 fi
25013 if test -z "$ac_cpp_err"; then
25014 ac_header_preproc=yes
25015 else
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25018
25019 ac_header_preproc=no
25020 fi
25021 rm -f conftest.err conftest.$ac_ext
25022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25023 echo "${ECHO_T}$ac_header_preproc" >&6
25024
25025 # So? What about this header?
25026 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25027 yes:no: )
25028 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25029 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25030 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25031 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25032 ac_header_preproc=yes
25033 ;;
25034 no:yes:* )
25035 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25036 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25037 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25038 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25039 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25040 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25041 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25042 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25043 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25044 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25045 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25046 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25047 (
25048 cat <<\_ASBOX
25049 ## ----------------------------------------- ##
25050 ## Report this to wx-dev@lists.wxwidgets.org ##
25051 ## ----------------------------------------- ##
25052 _ASBOX
25053 ) |
25054 sed "s/^/$as_me: WARNING: /" >&2
25055 ;;
25056 esac
25057 echo "$as_me:$LINENO: checking for regex.h" >&5
25058 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25059 if test "${ac_cv_header_regex_h+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062 ac_cv_header_regex_h=$ac_header_preproc
25063 fi
25064 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25065 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25066
25067 fi
25068 if test $ac_cv_header_regex_h = yes; then
25069
25070
25071 for ac_func in regcomp re_search
25072 do
25073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25074 echo "$as_me:$LINENO: checking for $ac_func" >&5
25075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25076 if eval "test \"\${$as_ac_var+set}\" = set"; then
25077 echo $ECHO_N "(cached) $ECHO_C" >&6
25078 else
25079 cat >conftest.$ac_ext <<_ACEOF
25080 /* confdefs.h. */
25081 _ACEOF
25082 cat confdefs.h >>conftest.$ac_ext
25083 cat >>conftest.$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25087 #define $ac_func innocuous_$ac_func
25088
25089 /* System header to define __stub macros and hopefully few prototypes,
25090 which can conflict with char $ac_func (); below.
25091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25092 <limits.h> exists even on freestanding compilers. */
25093
25094 #ifdef __STDC__
25095 # include <limits.h>
25096 #else
25097 # include <assert.h>
25098 #endif
25099
25100 #undef $ac_func
25101
25102 /* Override any gcc2 internal prototype to avoid an error. */
25103 #ifdef __cplusplus
25104 extern "C"
25105 {
25106 #endif
25107 /* We use char because int might match the return type of a gcc2
25108 builtin and then its argument prototype would still apply. */
25109 char $ac_func ();
25110 /* The GNU C library defines this for functions which it implements
25111 to always fail with ENOSYS. Some functions are actually named
25112 something starting with __ and the normal name is an alias. */
25113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25114 choke me
25115 #else
25116 char (*f) () = $ac_func;
25117 #endif
25118 #ifdef __cplusplus
25119 }
25120 #endif
25121
25122 int
25123 main ()
25124 {
25125 return f != $ac_func;
25126 ;
25127 return 0;
25128 }
25129 _ACEOF
25130 rm -f conftest.$ac_objext conftest$ac_exeext
25131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25132 (eval $ac_link) 2>conftest.er1
25133 ac_status=$?
25134 grep -v '^ *+' conftest.er1 >conftest.err
25135 rm -f conftest.er1
25136 cat conftest.err >&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } &&
25139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; } &&
25145 { ac_try='test -s conftest$ac_exeext'
25146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25147 (eval $ac_try) 2>&5
25148 ac_status=$?
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); }; }; then
25151 eval "$as_ac_var=yes"
25152 else
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.$ac_ext >&5
25155
25156 eval "$as_ac_var=no"
25157 fi
25158 rm -f conftest.err conftest.$ac_objext \
25159 conftest$ac_exeext conftest.$ac_ext
25160 fi
25161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25163 if test `eval echo '${'$as_ac_var'}'` = yes; then
25164 cat >>confdefs.h <<_ACEOF
25165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25166 _ACEOF
25167
25168 fi
25169 done
25170
25171 fi
25172
25173
25174
25175 if test "x$ac_cv_func_regcomp" != "xyes"; then
25176 if test "$wxUSE_REGEX" = "sys" ; then
25177 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25178 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25179 { (exit 1); exit 1; }; }
25180 else
25181 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25182 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25183 wxUSE_REGEX=builtin
25184 fi
25185 else
25186 wxUSE_REGEX=sys
25187 cat >>confdefs.h <<\_ACEOF
25188 #define WX_NO_REGEX_ADVANCED 1
25189 _ACEOF
25190
25191 fi
25192 fi
25193 fi
25194
25195
25196 ZLIB_LINK=
25197 if test "$wxUSE_ZLIB" != "no" ; then
25198 cat >>confdefs.h <<\_ACEOF
25199 #define wxUSE_ZLIB 1
25200 _ACEOF
25201
25202
25203 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25204 if test "$USE_DARWIN" = 1; then
25205 system_zlib_h_ok="yes"
25206 else
25207 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25208 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25209 if test "${ac_cv_header_zlib_h+set}" = set; then
25210 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 else
25212 if test "$cross_compiling" = yes; then
25213 unset ac_cv_header_zlib_h
25214
25215 else
25216 cat >conftest.$ac_ext <<_ACEOF
25217 /* confdefs.h. */
25218 _ACEOF
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222
25223 #include <zlib.h>
25224 #include <stdio.h>
25225
25226 int main()
25227 {
25228 FILE *f=fopen("conftestval", "w");
25229 if (!f) exit(1);
25230 fprintf(f, "%s",
25231 ZLIB_VERSION[0] == '1' &&
25232 (ZLIB_VERSION[2] > '1' ||
25233 (ZLIB_VERSION[2] == '1' &&
25234 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25235 exit(0);
25236 }
25237
25238 _ACEOF
25239 rm -f conftest$ac_exeext
25240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25241 (eval $ac_link) 2>&5
25242 ac_status=$?
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25246 (eval $ac_try) 2>&5
25247 ac_status=$?
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); }; }; then
25250 ac_cv_header_zlib_h=`cat conftestval`
25251 else
25252 echo "$as_me: program exited with status $ac_status" >&5
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.$ac_ext >&5
25255
25256 ( exit $ac_status )
25257 ac_cv_header_zlib_h=no
25258 fi
25259 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25260 fi
25261
25262 fi
25263 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25264 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25265 if test "${ac_cv_header_zlib_h+set}" = set; then
25266 echo "$as_me:$LINENO: checking for zlib.h" >&5
25267 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25268 if test "${ac_cv_header_zlib_h+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 fi
25271 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25272 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25273 else
25274 # Is the header compilable?
25275 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25276 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25277 cat >conftest.$ac_ext <<_ACEOF
25278 /* confdefs.h. */
25279 _ACEOF
25280 cat confdefs.h >>conftest.$ac_ext
25281 cat >>conftest.$ac_ext <<_ACEOF
25282 /* end confdefs.h. */
25283 $ac_includes_default
25284 #include <zlib.h>
25285 _ACEOF
25286 rm -f conftest.$ac_objext
25287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25288 (eval $ac_compile) 2>conftest.er1
25289 ac_status=$?
25290 grep -v '^ *+' conftest.er1 >conftest.err
25291 rm -f conftest.er1
25292 cat conftest.err >&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; } &&
25301 { ac_try='test -s conftest.$ac_objext'
25302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25303 (eval $ac_try) 2>&5
25304 ac_status=$?
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); }; }; then
25307 ac_header_compiler=yes
25308 else
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25311
25312 ac_header_compiler=no
25313 fi
25314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25316 echo "${ECHO_T}$ac_header_compiler" >&6
25317
25318 # Is the header present?
25319 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25320 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25321 cat >conftest.$ac_ext <<_ACEOF
25322 /* confdefs.h. */
25323 _ACEOF
25324 cat confdefs.h >>conftest.$ac_ext
25325 cat >>conftest.$ac_ext <<_ACEOF
25326 /* end confdefs.h. */
25327 #include <zlib.h>
25328 _ACEOF
25329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25331 ac_status=$?
25332 grep -v '^ *+' conftest.er1 >conftest.err
25333 rm -f conftest.er1
25334 cat conftest.err >&5
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); } >/dev/null; then
25337 if test -s conftest.err; then
25338 ac_cpp_err=$ac_cxx_preproc_warn_flag
25339 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25340 else
25341 ac_cpp_err=
25342 fi
25343 else
25344 ac_cpp_err=yes
25345 fi
25346 if test -z "$ac_cpp_err"; then
25347 ac_header_preproc=yes
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352 ac_header_preproc=no
25353 fi
25354 rm -f conftest.err conftest.$ac_ext
25355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25356 echo "${ECHO_T}$ac_header_preproc" >&6
25357
25358 # So? What about this header?
25359 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25360 yes:no: )
25361 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25362 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25363 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25364 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25365 ac_header_preproc=yes
25366 ;;
25367 no:yes:* )
25368 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25369 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25370 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25371 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25372 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25373 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25374 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25375 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25376 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25377 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25378 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25379 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25380 (
25381 cat <<\_ASBOX
25382 ## ----------------------------------------- ##
25383 ## Report this to wx-dev@lists.wxwidgets.org ##
25384 ## ----------------------------------------- ##
25385 _ASBOX
25386 ) |
25387 sed "s/^/$as_me: WARNING: /" >&2
25388 ;;
25389 esac
25390 echo "$as_me:$LINENO: checking for zlib.h" >&5
25391 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25392 if test "${ac_cv_header_zlib_h+set}" = set; then
25393 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 else
25395 ac_cv_header_zlib_h=$ac_header_preproc
25396 fi
25397 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25398 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25399
25400 fi
25401
25402
25403
25404 system_zlib_h_ok=$ac_cv_header_zlib_h
25405 fi
25406
25407 if test "$system_zlib_h_ok" = "yes"; then
25408 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25409 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25410 if test "${ac_cv_lib_z_deflate+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413 ac_check_lib_save_LIBS=$LIBS
25414 LIBS="-lz $LIBS"
25415 cat >conftest.$ac_ext <<_ACEOF
25416 /* confdefs.h. */
25417 _ACEOF
25418 cat confdefs.h >>conftest.$ac_ext
25419 cat >>conftest.$ac_ext <<_ACEOF
25420 /* end confdefs.h. */
25421
25422 /* Override any gcc2 internal prototype to avoid an error. */
25423 #ifdef __cplusplus
25424 extern "C"
25425 #endif
25426 /* We use char because int might match the return type of a gcc2
25427 builtin and then its argument prototype would still apply. */
25428 char deflate ();
25429 int
25430 main ()
25431 {
25432 deflate ();
25433 ;
25434 return 0;
25435 }
25436 _ACEOF
25437 rm -f conftest.$ac_objext conftest$ac_exeext
25438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25439 (eval $ac_link) 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } &&
25446 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25448 (eval $ac_try) 2>&5
25449 ac_status=$?
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); }; } &&
25452 { ac_try='test -s conftest$ac_exeext'
25453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454 (eval $ac_try) 2>&5
25455 ac_status=$?
25456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457 (exit $ac_status); }; }; then
25458 ac_cv_lib_z_deflate=yes
25459 else
25460 echo "$as_me: failed program was:" >&5
25461 sed 's/^/| /' conftest.$ac_ext >&5
25462
25463 ac_cv_lib_z_deflate=no
25464 fi
25465 rm -f conftest.err conftest.$ac_objext \
25466 conftest$ac_exeext conftest.$ac_ext
25467 LIBS=$ac_check_lib_save_LIBS
25468 fi
25469 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25470 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25471 if test $ac_cv_lib_z_deflate = yes; then
25472 ZLIB_LINK=" -lz"
25473 fi
25474
25475 fi
25476
25477 if test "x$ZLIB_LINK" = "x" ; then
25478 if test "$wxUSE_ZLIB" = "sys" ; then
25479 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25480 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25481 { (exit 1); exit 1; }; }
25482 else
25483 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25484 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25485 wxUSE_ZLIB=builtin
25486 fi
25487 else
25488 wxUSE_ZLIB=sys
25489 fi
25490 fi
25491 fi
25492
25493
25494 PNG_LINK=
25495 if test "$wxUSE_LIBPNG" != "no" ; then
25496 cat >>confdefs.h <<\_ACEOF
25497 #define wxUSE_LIBPNG 1
25498 _ACEOF
25499
25500
25501 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25502 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25503 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25504 wxUSE_LIBPNG=sys
25505 fi
25506
25507 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25508 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25509 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25510 wxUSE_LIBPNG=builtin
25511 fi
25512
25513 if test "$wxUSE_MGL" != 1 ; then
25514 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25515 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25516 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25517 if test "${ac_cv_header_png_h+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 else
25520 if test "$cross_compiling" = yes; then
25521 unset ac_cv_header_png_h
25522
25523 else
25524 cat >conftest.$ac_ext <<_ACEOF
25525 /* confdefs.h. */
25526 _ACEOF
25527 cat confdefs.h >>conftest.$ac_ext
25528 cat >>conftest.$ac_ext <<_ACEOF
25529 /* end confdefs.h. */
25530
25531 #include <png.h>
25532 #include <stdio.h>
25533
25534 int main()
25535 {
25536 FILE *f=fopen("conftestval", "w");
25537 if (!f) exit(1);
25538 fprintf(f, "%s",
25539 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25540 exit(0);
25541 }
25542
25543 _ACEOF
25544 rm -f conftest$ac_exeext
25545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25546 (eval $ac_link) 2>&5
25547 ac_status=$?
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551 (eval $ac_try) 2>&5
25552 ac_status=$?
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); }; }; then
25555 ac_cv_header_png_h=`cat conftestval`
25556 else
25557 echo "$as_me: program exited with status $ac_status" >&5
25558 echo "$as_me: failed program was:" >&5
25559 sed 's/^/| /' conftest.$ac_ext >&5
25560
25561 ( exit $ac_status )
25562 ac_cv_header_png_h=no
25563 fi
25564 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25565 fi
25566
25567 fi
25568 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25569 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25570 if test "${ac_cv_header_png_h+set}" = set; then
25571 echo "$as_me:$LINENO: checking for png.h" >&5
25572 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25573 if test "${ac_cv_header_png_h+set}" = set; then
25574 echo $ECHO_N "(cached) $ECHO_C" >&6
25575 fi
25576 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25577 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25578 else
25579 # Is the header compilable?
25580 echo "$as_me:$LINENO: checking png.h usability" >&5
25581 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25582 cat >conftest.$ac_ext <<_ACEOF
25583 /* confdefs.h. */
25584 _ACEOF
25585 cat confdefs.h >>conftest.$ac_ext
25586 cat >>conftest.$ac_ext <<_ACEOF
25587 /* end confdefs.h. */
25588 $ac_includes_default
25589 #include <png.h>
25590 _ACEOF
25591 rm -f conftest.$ac_objext
25592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25593 (eval $ac_compile) 2>conftest.er1
25594 ac_status=$?
25595 grep -v '^ *+' conftest.er1 >conftest.err
25596 rm -f conftest.er1
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } &&
25600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25603 ac_status=$?
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; } &&
25606 { ac_try='test -s conftest.$ac_objext'
25607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25608 (eval $ac_try) 2>&5
25609 ac_status=$?
25610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25611 (exit $ac_status); }; }; then
25612 ac_header_compiler=yes
25613 else
25614 echo "$as_me: failed program was:" >&5
25615 sed 's/^/| /' conftest.$ac_ext >&5
25616
25617 ac_header_compiler=no
25618 fi
25619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25621 echo "${ECHO_T}$ac_header_compiler" >&6
25622
25623 # Is the header present?
25624 echo "$as_me:$LINENO: checking png.h presence" >&5
25625 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25626 cat >conftest.$ac_ext <<_ACEOF
25627 /* confdefs.h. */
25628 _ACEOF
25629 cat confdefs.h >>conftest.$ac_ext
25630 cat >>conftest.$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632 #include <png.h>
25633 _ACEOF
25634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25635 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
25642 if test -s conftest.err; then
25643 ac_cpp_err=$ac_cxx_preproc_warn_flag
25644 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25645 else
25646 ac_cpp_err=
25647 fi
25648 else
25649 ac_cpp_err=yes
25650 fi
25651 if test -z "$ac_cpp_err"; then
25652 ac_header_preproc=yes
25653 else
25654 echo "$as_me: failed program was:" >&5
25655 sed 's/^/| /' conftest.$ac_ext >&5
25656
25657 ac_header_preproc=no
25658 fi
25659 rm -f conftest.err conftest.$ac_ext
25660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25661 echo "${ECHO_T}$ac_header_preproc" >&6
25662
25663 # So? What about this header?
25664 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25665 yes:no: )
25666 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25667 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25668 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25669 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25670 ac_header_preproc=yes
25671 ;;
25672 no:yes:* )
25673 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25674 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25675 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25676 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25677 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25678 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25679 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25680 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25681 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25682 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25683 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25684 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25685 (
25686 cat <<\_ASBOX
25687 ## ----------------------------------------- ##
25688 ## Report this to wx-dev@lists.wxwidgets.org ##
25689 ## ----------------------------------------- ##
25690 _ASBOX
25691 ) |
25692 sed "s/^/$as_me: WARNING: /" >&2
25693 ;;
25694 esac
25695 echo "$as_me:$LINENO: checking for png.h" >&5
25696 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25697 if test "${ac_cv_header_png_h+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25699 else
25700 ac_cv_header_png_h=$ac_header_preproc
25701 fi
25702 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25703 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25704
25705 fi
25706
25707
25708
25709 if test "$ac_cv_header_png_h" = "yes"; then
25710 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25711 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25712 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25713 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 else
25715 ac_check_lib_save_LIBS=$LIBS
25716 LIBS="-lpng -lz -lm $LIBS"
25717 cat >conftest.$ac_ext <<_ACEOF
25718 /* confdefs.h. */
25719 _ACEOF
25720 cat confdefs.h >>conftest.$ac_ext
25721 cat >>conftest.$ac_ext <<_ACEOF
25722 /* end confdefs.h. */
25723
25724 /* Override any gcc2 internal prototype to avoid an error. */
25725 #ifdef __cplusplus
25726 extern "C"
25727 #endif
25728 /* We use char because int might match the return type of a gcc2
25729 builtin and then its argument prototype would still apply. */
25730 char png_check_sig ();
25731 int
25732 main ()
25733 {
25734 png_check_sig ();
25735 ;
25736 return 0;
25737 }
25738 _ACEOF
25739 rm -f conftest.$ac_objext conftest$ac_exeext
25740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25741 (eval $ac_link) 2>conftest.er1
25742 ac_status=$?
25743 grep -v '^ *+' conftest.er1 >conftest.err
25744 rm -f conftest.er1
25745 cat conftest.err >&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); } &&
25748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750 (eval $ac_try) 2>&5
25751 ac_status=$?
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); }; } &&
25754 { ac_try='test -s conftest$ac_exeext'
25755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25756 (eval $ac_try) 2>&5
25757 ac_status=$?
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); }; }; then
25760 ac_cv_lib_png_png_check_sig=yes
25761 else
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.$ac_ext >&5
25764
25765 ac_cv_lib_png_png_check_sig=no
25766 fi
25767 rm -f conftest.err conftest.$ac_objext \
25768 conftest$ac_exeext conftest.$ac_ext
25769 LIBS=$ac_check_lib_save_LIBS
25770 fi
25771 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25772 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25773 if test $ac_cv_lib_png_png_check_sig = yes; then
25774 PNG_LINK=" -lpng -lz"
25775 fi
25776
25777 fi
25778
25779 if test "x$PNG_LINK" = "x" ; then
25780 if test "$wxUSE_LIBPNG" = "sys" ; then
25781 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25782 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25783 { (exit 1); exit 1; }; }
25784 else
25785 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25786 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25787 wxUSE_LIBPNG=builtin
25788 fi
25789 else
25790 wxUSE_LIBPNG=sys
25791 fi
25792 fi
25793 fi
25794
25795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25796 fi
25797
25798
25799 JPEG_LINK=
25800 if test "$wxUSE_LIBJPEG" != "no" ; then
25801 cat >>confdefs.h <<\_ACEOF
25802 #define wxUSE_LIBJPEG 1
25803 _ACEOF
25804
25805
25806 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25807 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25808 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25809 wxUSE_LIBJPEG=sys
25810 fi
25811
25812 if test "$wxUSE_MGL" != 1 ; then
25813 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25814 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25815 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25816 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25818 else
25819 cat >conftest.$ac_ext <<_ACEOF
25820 /* confdefs.h. */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825
25826 #undef HAVE_STDLIB_H
25827 #include <stdio.h>
25828 #include <jpeglib.h>
25829
25830 int
25831 main ()
25832 {
25833
25834
25835 ;
25836 return 0;
25837 }
25838 _ACEOF
25839 rm -f conftest.$ac_objext
25840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25841 (eval $ac_compile) 2>conftest.er1
25842 ac_status=$?
25843 grep -v '^ *+' conftest.er1 >conftest.err
25844 rm -f conftest.er1
25845 cat conftest.err >&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); } &&
25848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25850 (eval $ac_try) 2>&5
25851 ac_status=$?
25852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25853 (exit $ac_status); }; } &&
25854 { ac_try='test -s conftest.$ac_objext'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25857 ac_status=$?
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; }; then
25860 ac_cv_header_jpeglib_h=yes
25861 else
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865 ac_cv_header_jpeglib_h=no
25866
25867 fi
25868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25869
25870 fi
25871
25872 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25873 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25874
25875 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25876 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25877 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25878 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25879 echo $ECHO_N "(cached) $ECHO_C" >&6
25880 else
25881 ac_check_lib_save_LIBS=$LIBS
25882 LIBS="-ljpeg $LIBS"
25883 cat >conftest.$ac_ext <<_ACEOF
25884 /* confdefs.h. */
25885 _ACEOF
25886 cat confdefs.h >>conftest.$ac_ext
25887 cat >>conftest.$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25889
25890 /* Override any gcc2 internal prototype to avoid an error. */
25891 #ifdef __cplusplus
25892 extern "C"
25893 #endif
25894 /* We use char because int might match the return type of a gcc2
25895 builtin and then its argument prototype would still apply. */
25896 char jpeg_read_header ();
25897 int
25898 main ()
25899 {
25900 jpeg_read_header ();
25901 ;
25902 return 0;
25903 }
25904 _ACEOF
25905 rm -f conftest.$ac_objext conftest$ac_exeext
25906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25907 (eval $ac_link) 2>conftest.er1
25908 ac_status=$?
25909 grep -v '^ *+' conftest.er1 >conftest.err
25910 rm -f conftest.er1
25911 cat conftest.err >&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } &&
25914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25916 (eval $ac_try) 2>&5
25917 ac_status=$?
25918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919 (exit $ac_status); }; } &&
25920 { ac_try='test -s conftest$ac_exeext'
25921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922 (eval $ac_try) 2>&5
25923 ac_status=$?
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); }; }; then
25926 ac_cv_lib_jpeg_jpeg_read_header=yes
25927 else
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.$ac_ext >&5
25930
25931 ac_cv_lib_jpeg_jpeg_read_header=no
25932 fi
25933 rm -f conftest.err conftest.$ac_objext \
25934 conftest$ac_exeext conftest.$ac_ext
25935 LIBS=$ac_check_lib_save_LIBS
25936 fi
25937 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25938 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25939 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25940 JPEG_LINK=" -ljpeg"
25941 fi
25942
25943 fi
25944
25945 if test "x$JPEG_LINK" = "x" ; then
25946 if test "$wxUSE_LIBJPEG" = "sys" ; then
25947 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25948 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25949 { (exit 1); exit 1; }; }
25950 else
25951 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25952 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25953 wxUSE_LIBJPEG=builtin
25954 fi
25955 else
25956 wxUSE_LIBJPEG=sys
25957 fi
25958 fi
25959 fi
25960 fi
25961
25962
25963 TIFF_LINK=
25964 TIFF_PREREQ_LINKS=-lm
25965 if test "$wxUSE_LIBTIFF" != "no" ; then
25966 cat >>confdefs.h <<\_ACEOF
25967 #define wxUSE_LIBTIFF 1
25968 _ACEOF
25969
25970
25971 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25972 if test "$wxUSE_LIBJPEG" = "sys"; then
25973 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25974 fi
25975 if test "$wxUSE_ZLIB" = "sys"; then
25976 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25977 fi
25978 if test "${ac_cv_header_tiffio_h+set}" = set; then
25979 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25980 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25981 if test "${ac_cv_header_tiffio_h+set}" = set; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 fi
25984 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25985 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25986 else
25987 # Is the header compilable?
25988 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25989 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25990 cat >conftest.$ac_ext <<_ACEOF
25991 /* confdefs.h. */
25992 _ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25996 $ac_includes_default
25997 #include <tiffio.h>
25998 _ACEOF
25999 rm -f conftest.$ac_objext
26000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26001 (eval $ac_compile) 2>conftest.er1
26002 ac_status=$?
26003 grep -v '^ *+' conftest.er1 >conftest.err
26004 rm -f conftest.er1
26005 cat conftest.err >&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } &&
26008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010 (eval $ac_try) 2>&5
26011 ac_status=$?
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); }; } &&
26014 { ac_try='test -s conftest.$ac_objext'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26017 ac_status=$?
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; }; then
26020 ac_header_compiler=yes
26021 else
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.$ac_ext >&5
26024
26025 ac_header_compiler=no
26026 fi
26027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26029 echo "${ECHO_T}$ac_header_compiler" >&6
26030
26031 # Is the header present?
26032 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26033 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26034 cat >conftest.$ac_ext <<_ACEOF
26035 /* confdefs.h. */
26036 _ACEOF
26037 cat confdefs.h >>conftest.$ac_ext
26038 cat >>conftest.$ac_ext <<_ACEOF
26039 /* end confdefs.h. */
26040 #include <tiffio.h>
26041 _ACEOF
26042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26044 ac_status=$?
26045 grep -v '^ *+' conftest.er1 >conftest.err
26046 rm -f conftest.er1
26047 cat conftest.err >&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } >/dev/null; then
26050 if test -s conftest.err; then
26051 ac_cpp_err=$ac_cxx_preproc_warn_flag
26052 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26053 else
26054 ac_cpp_err=
26055 fi
26056 else
26057 ac_cpp_err=yes
26058 fi
26059 if test -z "$ac_cpp_err"; then
26060 ac_header_preproc=yes
26061 else
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 ac_header_preproc=no
26066 fi
26067 rm -f conftest.err conftest.$ac_ext
26068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26069 echo "${ECHO_T}$ac_header_preproc" >&6
26070
26071 # So? What about this header?
26072 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26073 yes:no: )
26074 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26075 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26076 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26077 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26078 ac_header_preproc=yes
26079 ;;
26080 no:yes:* )
26081 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26082 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26083 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26084 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26085 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26086 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26087 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26088 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26089 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26090 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26091 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26092 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26093 (
26094 cat <<\_ASBOX
26095 ## ----------------------------------------- ##
26096 ## Report this to wx-dev@lists.wxwidgets.org ##
26097 ## ----------------------------------------- ##
26098 _ASBOX
26099 ) |
26100 sed "s/^/$as_me: WARNING: /" >&2
26101 ;;
26102 esac
26103 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26104 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26105 if test "${ac_cv_header_tiffio_h+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 else
26108 ac_cv_header_tiffio_h=$ac_header_preproc
26109 fi
26110 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26111 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26112
26113 fi
26114 if test $ac_cv_header_tiffio_h = yes; then
26115
26116 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26117 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26118 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26119 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 else
26121 ac_check_lib_save_LIBS=$LIBS
26122 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26123 cat >conftest.$ac_ext <<_ACEOF
26124 /* confdefs.h. */
26125 _ACEOF
26126 cat confdefs.h >>conftest.$ac_ext
26127 cat >>conftest.$ac_ext <<_ACEOF
26128 /* end confdefs.h. */
26129
26130 /* Override any gcc2 internal prototype to avoid an error. */
26131 #ifdef __cplusplus
26132 extern "C"
26133 #endif
26134 /* We use char because int might match the return type of a gcc2
26135 builtin and then its argument prototype would still apply. */
26136 char TIFFError ();
26137 int
26138 main ()
26139 {
26140 TIFFError ();
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 rm -f conftest.$ac_objext conftest$ac_exeext
26146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26147 (eval $ac_link) 2>conftest.er1
26148 ac_status=$?
26149 grep -v '^ *+' conftest.er1 >conftest.err
26150 rm -f conftest.er1
26151 cat conftest.err >&5
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); } &&
26154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26156 (eval $ac_try) 2>&5
26157 ac_status=$?
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); }; } &&
26160 { ac_try='test -s conftest$ac_exeext'
26161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26162 (eval $ac_try) 2>&5
26163 ac_status=$?
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); }; }; then
26166 ac_cv_lib_tiff_TIFFError=yes
26167 else
26168 echo "$as_me: failed program was:" >&5
26169 sed 's/^/| /' conftest.$ac_ext >&5
26170
26171 ac_cv_lib_tiff_TIFFError=no
26172 fi
26173 rm -f conftest.err conftest.$ac_objext \
26174 conftest$ac_exeext conftest.$ac_ext
26175 LIBS=$ac_check_lib_save_LIBS
26176 fi
26177 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26178 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26179 if test $ac_cv_lib_tiff_TIFFError = yes; then
26180 TIFF_LINK=" -ltiff"
26181 fi
26182
26183
26184
26185 fi
26186
26187
26188
26189 if test "x$TIFF_LINK" = "x" ; then
26190 if test "$wxUSE_LIBTIFF" = "sys" ; then
26191 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26192 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26193 { (exit 1); exit 1; }; }
26194 else
26195 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26196 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26197 wxUSE_LIBTIFF=builtin
26198 fi
26199 else
26200 wxUSE_LIBTIFF=sys
26201 fi
26202 fi
26203 fi
26204
26205
26206 if test "$wxUSE_WCHAR_T" != "yes"; then
26207 if test "$wxUSE_EXPAT" != "no"; then
26208 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26209 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26210 wxUSE_EXPAT=no
26211 fi
26212 if test "$wxUSE_XML" != "no"; then
26213 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26214 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26215 wxUSE_XML=no
26216 fi
26217 fi
26218
26219 if test "$wxUSE_EXPAT" != "no"; then
26220 wxUSE_XML=yes
26221 cat >>confdefs.h <<\_ACEOF
26222 #define wxUSE_EXPAT 1
26223 _ACEOF
26224
26225 cat >>confdefs.h <<\_ACEOF
26226 #define wxUSE_XML 1
26227 _ACEOF
26228
26229
26230 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26231 if test "${ac_cv_header_expat_h+set}" = set; then
26232 echo "$as_me:$LINENO: checking for expat.h" >&5
26233 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26234 if test "${ac_cv_header_expat_h+set}" = set; then
26235 echo $ECHO_N "(cached) $ECHO_C" >&6
26236 fi
26237 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26238 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26239 else
26240 # Is the header compilable?
26241 echo "$as_me:$LINENO: checking expat.h usability" >&5
26242 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26243 cat >conftest.$ac_ext <<_ACEOF
26244 /* confdefs.h. */
26245 _ACEOF
26246 cat confdefs.h >>conftest.$ac_ext
26247 cat >>conftest.$ac_ext <<_ACEOF
26248 /* end confdefs.h. */
26249 $ac_includes_default
26250 #include <expat.h>
26251 _ACEOF
26252 rm -f conftest.$ac_objext
26253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26254 (eval $ac_compile) 2>conftest.er1
26255 ac_status=$?
26256 grep -v '^ *+' conftest.er1 >conftest.err
26257 rm -f conftest.er1
26258 cat conftest.err >&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); } &&
26261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; } &&
26267 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26273 ac_header_compiler=yes
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 ac_header_compiler=no
26279 fi
26280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26282 echo "${ECHO_T}$ac_header_compiler" >&6
26283
26284 # Is the header present?
26285 echo "$as_me:$LINENO: checking expat.h presence" >&5
26286 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26287 cat >conftest.$ac_ext <<_ACEOF
26288 /* confdefs.h. */
26289 _ACEOF
26290 cat confdefs.h >>conftest.$ac_ext
26291 cat >>conftest.$ac_ext <<_ACEOF
26292 /* end confdefs.h. */
26293 #include <expat.h>
26294 _ACEOF
26295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26297 ac_status=$?
26298 grep -v '^ *+' conftest.er1 >conftest.err
26299 rm -f conftest.er1
26300 cat conftest.err >&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } >/dev/null; then
26303 if test -s conftest.err; then
26304 ac_cpp_err=$ac_cxx_preproc_warn_flag
26305 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26306 else
26307 ac_cpp_err=
26308 fi
26309 else
26310 ac_cpp_err=yes
26311 fi
26312 if test -z "$ac_cpp_err"; then
26313 ac_header_preproc=yes
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318 ac_header_preproc=no
26319 fi
26320 rm -f conftest.err conftest.$ac_ext
26321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26322 echo "${ECHO_T}$ac_header_preproc" >&6
26323
26324 # So? What about this header?
26325 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26326 yes:no: )
26327 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26328 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26329 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26330 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26331 ac_header_preproc=yes
26332 ;;
26333 no:yes:* )
26334 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26335 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26336 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26337 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26338 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26339 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26340 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26341 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26342 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26343 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26344 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26345 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26346 (
26347 cat <<\_ASBOX
26348 ## ----------------------------------------- ##
26349 ## Report this to wx-dev@lists.wxwidgets.org ##
26350 ## ----------------------------------------- ##
26351 _ASBOX
26352 ) |
26353 sed "s/^/$as_me: WARNING: /" >&2
26354 ;;
26355 esac
26356 echo "$as_me:$LINENO: checking for expat.h" >&5
26357 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26358 if test "${ac_cv_header_expat_h+set}" = set; then
26359 echo $ECHO_N "(cached) $ECHO_C" >&6
26360 else
26361 ac_cv_header_expat_h=$ac_header_preproc
26362 fi
26363 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26364 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26365
26366 fi
26367 if test $ac_cv_header_expat_h = yes; then
26368 found_expat_h=1
26369 fi
26370
26371
26372 if test "x$found_expat_h" = "x1"; then
26373 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26374 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26375 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 else
26378
26379 cat >conftest.$ac_ext <<_ACEOF
26380 /* confdefs.h. */
26381 _ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385 #include <expat.h>
26386 int
26387 main ()
26388 {
26389
26390 ;
26391 return 0;
26392 }
26393 _ACEOF
26394 rm -f conftest.$ac_objext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26396 (eval $ac_compile) 2>conftest.er1
26397 ac_status=$?
26398 grep -v '^ *+' conftest.er1 >conftest.err
26399 rm -f conftest.er1
26400 cat conftest.err >&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); } &&
26403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26406 ac_status=$?
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; } &&
26409 { ac_try='test -s conftest.$ac_objext'
26410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26411 (eval $ac_try) 2>&5
26412 ac_status=$?
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); }; }; then
26415 wx_cv_expat_is_not_broken=yes
26416 else
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.$ac_ext >&5
26419
26420 wx_cv_expat_is_not_broken=no
26421
26422 fi
26423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26424
26425
26426 fi
26427 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26428 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26429 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26430 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26431 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26432 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26433 echo $ECHO_N "(cached) $ECHO_C" >&6
26434 else
26435 ac_check_lib_save_LIBS=$LIBS
26436 LIBS="-lexpat $LIBS"
26437 cat >conftest.$ac_ext <<_ACEOF
26438 /* confdefs.h. */
26439 _ACEOF
26440 cat confdefs.h >>conftest.$ac_ext
26441 cat >>conftest.$ac_ext <<_ACEOF
26442 /* end confdefs.h. */
26443
26444 /* Override any gcc2 internal prototype to avoid an error. */
26445 #ifdef __cplusplus
26446 extern "C"
26447 #endif
26448 /* We use char because int might match the return type of a gcc2
26449 builtin and then its argument prototype would still apply. */
26450 char XML_ParserCreate ();
26451 int
26452 main ()
26453 {
26454 XML_ParserCreate ();
26455 ;
26456 return 0;
26457 }
26458 _ACEOF
26459 rm -f conftest.$ac_objext conftest$ac_exeext
26460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26461 (eval $ac_link) 2>conftest.er1
26462 ac_status=$?
26463 grep -v '^ *+' conftest.er1 >conftest.err
26464 rm -f conftest.er1
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } &&
26468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26470 (eval $ac_try) 2>&5
26471 ac_status=$?
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); }; } &&
26474 { ac_try='test -s conftest$ac_exeext'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26477 ac_status=$?
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; }; then
26480 ac_cv_lib_expat_XML_ParserCreate=yes
26481 else
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 ac_cv_lib_expat_XML_ParserCreate=no
26486 fi
26487 rm -f conftest.err conftest.$ac_objext \
26488 conftest$ac_exeext conftest.$ac_ext
26489 LIBS=$ac_check_lib_save_LIBS
26490 fi
26491 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26492 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26493 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26494 EXPAT_LINK=" -lexpat"
26495 fi
26496
26497 fi
26498 fi
26499 if test "x$EXPAT_LINK" = "x" ; then
26500 if test "$wxUSE_EXPAT" = "sys" ; then
26501 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26502 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26503 { (exit 1); exit 1; }; }
26504 else
26505 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26506 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26507 wxUSE_EXPAT=builtin
26508 fi
26509 else
26510 wxUSE_EXPAT=sys
26511 fi
26512 fi
26513 if test "$wxUSE_EXPAT" = "builtin" ; then
26514
26515
26516 subdirs="$subdirs src/expat"
26517
26518 fi
26519 fi
26520
26521
26522
26523 if test "$wxUSE_LIBMSPACK" != "no"; then
26524 if test "${ac_cv_header_mspack_h+set}" = set; then
26525 echo "$as_me:$LINENO: checking for mspack.h" >&5
26526 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26527 if test "${ac_cv_header_mspack_h+set}" = set; then
26528 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 fi
26530 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26532 else
26533 # Is the header compilable?
26534 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26535 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26536 cat >conftest.$ac_ext <<_ACEOF
26537 /* confdefs.h. */
26538 _ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26542 $ac_includes_default
26543 #include <mspack.h>
26544 _ACEOF
26545 rm -f conftest.$ac_objext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26547 (eval $ac_compile) 2>conftest.er1
26548 ac_status=$?
26549 grep -v '^ *+' conftest.er1 >conftest.err
26550 rm -f conftest.er1
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; } &&
26560 { ac_try='test -s conftest.$ac_objext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26563 ac_status=$?
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 ac_header_compiler=yes
26567 else
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.$ac_ext >&5
26570
26571 ac_header_compiler=no
26572 fi
26573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26575 echo "${ECHO_T}$ac_header_compiler" >&6
26576
26577 # Is the header present?
26578 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26579 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26580 cat >conftest.$ac_ext <<_ACEOF
26581 /* confdefs.h. */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586 #include <mspack.h>
26587 _ACEOF
26588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } >/dev/null; then
26596 if test -s conftest.err; then
26597 ac_cpp_err=$ac_cxx_preproc_warn_flag
26598 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26599 else
26600 ac_cpp_err=
26601 fi
26602 else
26603 ac_cpp_err=yes
26604 fi
26605 if test -z "$ac_cpp_err"; then
26606 ac_header_preproc=yes
26607 else
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26610
26611 ac_header_preproc=no
26612 fi
26613 rm -f conftest.err conftest.$ac_ext
26614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26615 echo "${ECHO_T}$ac_header_preproc" >&6
26616
26617 # So? What about this header?
26618 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26619 yes:no: )
26620 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26621 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26622 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26623 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26624 ac_header_preproc=yes
26625 ;;
26626 no:yes:* )
26627 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26628 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26629 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26630 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26631 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26632 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26633 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26634 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26635 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26636 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26637 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26638 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26639 (
26640 cat <<\_ASBOX
26641 ## ----------------------------------------- ##
26642 ## Report this to wx-dev@lists.wxwidgets.org ##
26643 ## ----------------------------------------- ##
26644 _ASBOX
26645 ) |
26646 sed "s/^/$as_me: WARNING: /" >&2
26647 ;;
26648 esac
26649 echo "$as_me:$LINENO: checking for mspack.h" >&5
26650 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26651 if test "${ac_cv_header_mspack_h+set}" = set; then
26652 echo $ECHO_N "(cached) $ECHO_C" >&6
26653 else
26654 ac_cv_header_mspack_h=$ac_header_preproc
26655 fi
26656 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26657 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26658
26659 fi
26660 if test $ac_cv_header_mspack_h = yes; then
26661 found_mspack_h=1
26662 fi
26663
26664
26665 if test "x$found_mspack_h" = "x1"; then
26666 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26667 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26668 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26669 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 else
26671 ac_check_lib_save_LIBS=$LIBS
26672 LIBS="-lmspack $LIBS"
26673 cat >conftest.$ac_ext <<_ACEOF
26674 /* confdefs.h. */
26675 _ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26679
26680 /* Override any gcc2 internal prototype to avoid an error. */
26681 #ifdef __cplusplus
26682 extern "C"
26683 #endif
26684 /* We use char because int might match the return type of a gcc2
26685 builtin and then its argument prototype would still apply. */
26686 char mspack_create_chm_decompressor ();
26687 int
26688 main ()
26689 {
26690 mspack_create_chm_decompressor ();
26691 ;
26692 return 0;
26693 }
26694 _ACEOF
26695 rm -f conftest.$ac_objext conftest$ac_exeext
26696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26697 (eval $ac_link) 2>conftest.er1
26698 ac_status=$?
26699 grep -v '^ *+' conftest.er1 >conftest.err
26700 rm -f conftest.er1
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } &&
26704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; } &&
26710 { ac_try='test -s conftest$ac_exeext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26717 else
26718 echo "$as_me: failed program was:" >&5
26719 sed 's/^/| /' conftest.$ac_ext >&5
26720
26721 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26722 fi
26723 rm -f conftest.err conftest.$ac_objext \
26724 conftest$ac_exeext conftest.$ac_ext
26725 LIBS=$ac_check_lib_save_LIBS
26726 fi
26727 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26728 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26729 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26730 MSPACK_LINK=" -lmspack"
26731 fi
26732
26733 fi
26734 if test "x$MSPACK_LINK" = "x" ; then
26735 wxUSE_LIBMSPACK=no
26736 fi
26737 fi
26738
26739 if test "$wxUSE_LIBMSPACK" != "no"; then
26740 cat >>confdefs.h <<\_ACEOF
26741 #define wxUSE_LIBMSPACK 1
26742 _ACEOF
26743
26744 fi
26745
26746
26747
26748 AFMINSTALL=
26749 WIN32INSTALL=
26750
26751 TOOLKIT=
26752 TOOLKIT_INCLUDE=
26753 WIDGET_SET=
26754
26755 if test "$USE_WIN32" = 1 ; then
26756
26757 for ac_header in w32api.h
26758 do
26759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26761 echo "$as_me:$LINENO: checking for $ac_header" >&5
26762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 fi
26766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26768 else
26769 # Is the header compilable?
26770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26772 cat >conftest.$ac_ext <<_ACEOF
26773 /* confdefs.h. */
26774 _ACEOF
26775 cat confdefs.h >>conftest.$ac_ext
26776 cat >>conftest.$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778 $ac_includes_default
26779 #include <$ac_header>
26780 _ACEOF
26781 rm -f conftest.$ac_objext
26782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26783 (eval $ac_compile) 2>conftest.er1
26784 ac_status=$?
26785 grep -v '^ *+' conftest.er1 >conftest.err
26786 rm -f conftest.er1
26787 cat conftest.err >&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } &&
26790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; } &&
26796 { ac_try='test -s conftest.$ac_objext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26802 ac_header_compiler=yes
26803 else
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26806
26807 ac_header_compiler=no
26808 fi
26809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26811 echo "${ECHO_T}$ac_header_compiler" >&6
26812
26813 # Is the header present?
26814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26816 cat >conftest.$ac_ext <<_ACEOF
26817 /* confdefs.h. */
26818 _ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <$ac_header>
26823 _ACEOF
26824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26826 ac_status=$?
26827 grep -v '^ *+' conftest.er1 >conftest.err
26828 rm -f conftest.er1
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } >/dev/null; then
26832 if test -s conftest.err; then
26833 ac_cpp_err=$ac_cxx_preproc_warn_flag
26834 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26835 else
26836 ac_cpp_err=
26837 fi
26838 else
26839 ac_cpp_err=yes
26840 fi
26841 if test -z "$ac_cpp_err"; then
26842 ac_header_preproc=yes
26843 else
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26846
26847 ac_header_preproc=no
26848 fi
26849 rm -f conftest.err conftest.$ac_ext
26850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26851 echo "${ECHO_T}$ac_header_preproc" >&6
26852
26853 # So? What about this header?
26854 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26855 yes:no: )
26856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26860 ac_header_preproc=yes
26861 ;;
26862 no:yes:* )
26863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26875 (
26876 cat <<\_ASBOX
26877 ## ----------------------------------------- ##
26878 ## Report this to wx-dev@lists.wxwidgets.org ##
26879 ## ----------------------------------------- ##
26880 _ASBOX
26881 ) |
26882 sed "s/^/$as_me: WARNING: /" >&2
26883 ;;
26884 esac
26885 echo "$as_me:$LINENO: checking for $ac_header" >&5
26886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 else
26890 eval "$as_ac_Header=\$ac_header_preproc"
26891 fi
26892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26894
26895 fi
26896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26897 cat >>confdefs.h <<_ACEOF
26898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26899 _ACEOF
26900
26901 fi
26902
26903 done
26904
26905 if test "${ac_cv_header_windows_h+set}" = set; then
26906 echo "$as_me:$LINENO: checking for windows.h" >&5
26907 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26908 if test "${ac_cv_header_windows_h+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 fi
26911 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26912 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26913 else
26914 # Is the header compilable?
26915 echo "$as_me:$LINENO: checking windows.h usability" >&5
26916 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26917 cat >conftest.$ac_ext <<_ACEOF
26918 /* confdefs.h. */
26919 _ACEOF
26920 cat confdefs.h >>conftest.$ac_ext
26921 cat >>conftest.$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923 $ac_includes_default
26924 #include <windows.h>
26925 _ACEOF
26926 rm -f conftest.$ac_objext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26928 (eval $ac_compile) 2>conftest.er1
26929 ac_status=$?
26930 grep -v '^ *+' conftest.er1 >conftest.err
26931 rm -f conftest.er1
26932 cat conftest.err >&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26938 ac_status=$?
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; } &&
26941 { ac_try='test -s conftest.$ac_objext'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26944 ac_status=$?
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; }; then
26947 ac_header_compiler=yes
26948 else
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.$ac_ext >&5
26951
26952 ac_header_compiler=no
26953 fi
26954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26956 echo "${ECHO_T}$ac_header_compiler" >&6
26957
26958 # Is the header present?
26959 echo "$as_me:$LINENO: checking windows.h presence" >&5
26960 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26961 cat >conftest.$ac_ext <<_ACEOF
26962 /* confdefs.h. */
26963 _ACEOF
26964 cat confdefs.h >>conftest.$ac_ext
26965 cat >>conftest.$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26967 #include <windows.h>
26968 _ACEOF
26969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26971 ac_status=$?
26972 grep -v '^ *+' conftest.er1 >conftest.err
26973 rm -f conftest.er1
26974 cat conftest.err >&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } >/dev/null; then
26977 if test -s conftest.err; then
26978 ac_cpp_err=$ac_cxx_preproc_warn_flag
26979 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26980 else
26981 ac_cpp_err=
26982 fi
26983 else
26984 ac_cpp_err=yes
26985 fi
26986 if test -z "$ac_cpp_err"; then
26987 ac_header_preproc=yes
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 ac_header_preproc=no
26993 fi
26994 rm -f conftest.err conftest.$ac_ext
26995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26996 echo "${ECHO_T}$ac_header_preproc" >&6
26997
26998 # So? What about this header?
26999 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27000 yes:no: )
27001 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27002 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27004 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27005 ac_header_preproc=yes
27006 ;;
27007 no:yes:* )
27008 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27009 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27010 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27011 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27012 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27013 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27014 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27015 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27016 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27017 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27018 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27019 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27020 (
27021 cat <<\_ASBOX
27022 ## ----------------------------------------- ##
27023 ## Report this to wx-dev@lists.wxwidgets.org ##
27024 ## ----------------------------------------- ##
27025 _ASBOX
27026 ) |
27027 sed "s/^/$as_me: WARNING: /" >&2
27028 ;;
27029 esac
27030 echo "$as_me:$LINENO: checking for windows.h" >&5
27031 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27032 if test "${ac_cv_header_windows_h+set}" = set; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 else
27035 ac_cv_header_windows_h=$ac_header_preproc
27036 fi
27037 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27038 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27039
27040 fi
27041 if test $ac_cv_header_windows_h = yes; then
27042 :
27043 else
27044
27045 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27046 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27047 { (exit 1); exit 1; }; }
27048
27049 fi
27050
27051
27052
27053 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27054
27055 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27056 LIBS="$LIBS -loleacc"
27057 fi
27058
27059 case "${host}" in
27060 *-*-cygwin* )
27061 LIBS="$LIBS -lkernel32 -luser32"
27062 esac
27063
27064 if test "$wxUSE_ODBC" = "sys" ; then
27065 wxUSE_ODBC = "yes"
27066 fi
27067 if test "$wxUSE_ODBC" = "yes" ; then
27068 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27069 cat >>confdefs.h <<\_ACEOF
27070 #define wxUSE_ODBC 1
27071 _ACEOF
27072
27073 fi
27074
27075 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27076 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27077
27078 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27079
27080 WIN32INSTALL=win32install
27081
27082 echo "$as_me:$LINENO: checking for boolean" >&5
27083 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27084 if test "${ac_cv_type_boolean+set}" = set; then
27085 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 else
27087 cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h. */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <windows.h>
27094
27095 int
27096 main ()
27097 {
27098 if ((boolean *) 0)
27099 return 0;
27100 if (sizeof (boolean))
27101 return 0;
27102 ;
27103 return 0;
27104 }
27105 _ACEOF
27106 rm -f conftest.$ac_objext
27107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27108 (eval $ac_compile) 2>conftest.er1
27109 ac_status=$?
27110 grep -v '^ *+' conftest.er1 >conftest.err
27111 rm -f conftest.er1
27112 cat conftest.err >&5
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); } &&
27115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27118 ac_status=$?
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; } &&
27121 { ac_try='test -s conftest.$ac_objext'
27122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27123 (eval $ac_try) 2>&5
27124 ac_status=$?
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); }; }; then
27127 ac_cv_type_boolean=yes
27128 else
27129 echo "$as_me: failed program was:" >&5
27130 sed 's/^/| /' conftest.$ac_ext >&5
27131
27132 ac_cv_type_boolean=no
27133 fi
27134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27135 fi
27136 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27137 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27138 if test $ac_cv_type_boolean = yes; then
27139
27140 cat >>confdefs.h <<_ACEOF
27141 #define HAVE_BOOLEAN 1
27142 _ACEOF
27143
27144
27145 fi
27146
27147
27148
27149 for ac_header in pbt.h
27150 do
27151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27153 echo "$as_me:$LINENO: checking for $ac_header" >&5
27154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 fi
27158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27160 else
27161 # Is the header compilable?
27162 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27163 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27164 cat >conftest.$ac_ext <<_ACEOF
27165 /* confdefs.h. */
27166 _ACEOF
27167 cat confdefs.h >>conftest.$ac_ext
27168 cat >>conftest.$ac_ext <<_ACEOF
27169 /* end confdefs.h. */
27170 $ac_includes_default
27171 #include <$ac_header>
27172 _ACEOF
27173 rm -f conftest.$ac_objext
27174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27175 (eval $ac_compile) 2>conftest.er1
27176 ac_status=$?
27177 grep -v '^ *+' conftest.er1 >conftest.err
27178 rm -f conftest.er1
27179 cat conftest.err >&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } &&
27182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27184 (eval $ac_try) 2>&5
27185 ac_status=$?
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); }; } &&
27188 { ac_try='test -s conftest.$ac_objext'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27191 ac_status=$?
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; }; then
27194 ac_header_compiler=yes
27195 else
27196 echo "$as_me: failed program was:" >&5
27197 sed 's/^/| /' conftest.$ac_ext >&5
27198
27199 ac_header_compiler=no
27200 fi
27201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27203 echo "${ECHO_T}$ac_header_compiler" >&6
27204
27205 # Is the header present?
27206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27208 cat >conftest.$ac_ext <<_ACEOF
27209 /* confdefs.h. */
27210 _ACEOF
27211 cat confdefs.h >>conftest.$ac_ext
27212 cat >>conftest.$ac_ext <<_ACEOF
27213 /* end confdefs.h. */
27214 #include <$ac_header>
27215 _ACEOF
27216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27218 ac_status=$?
27219 grep -v '^ *+' conftest.er1 >conftest.err
27220 rm -f conftest.er1
27221 cat conftest.err >&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); } >/dev/null; then
27224 if test -s conftest.err; then
27225 ac_cpp_err=$ac_cxx_preproc_warn_flag
27226 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27227 else
27228 ac_cpp_err=
27229 fi
27230 else
27231 ac_cpp_err=yes
27232 fi
27233 if test -z "$ac_cpp_err"; then
27234 ac_header_preproc=yes
27235 else
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27238
27239 ac_header_preproc=no
27240 fi
27241 rm -f conftest.err conftest.$ac_ext
27242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27243 echo "${ECHO_T}$ac_header_preproc" >&6
27244
27245 # So? What about this header?
27246 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27247 yes:no: )
27248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27252 ac_header_preproc=yes
27253 ;;
27254 no:yes:* )
27255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27267 (
27268 cat <<\_ASBOX
27269 ## ----------------------------------------- ##
27270 ## Report this to wx-dev@lists.wxwidgets.org ##
27271 ## ----------------------------------------- ##
27272 _ASBOX
27273 ) |
27274 sed "s/^/$as_me: WARNING: /" >&2
27275 ;;
27276 esac
27277 echo "$as_me:$LINENO: checking for $ac_header" >&5
27278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 else
27282 eval "$as_ac_Header=\$ac_header_preproc"
27283 fi
27284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27286
27287 fi
27288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27289 cat >>confdefs.h <<_ACEOF
27290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27291 _ACEOF
27292
27293 else
27294 cat >>confdefs.h <<\_ACEOF
27295 #define NEED_PBT_H 1
27296 _ACEOF
27297
27298 fi
27299
27300 done
27301
27302 fi
27303
27304 if test "$wxUSE_GUI" = "yes"; then
27305 USE_GUI=1
27306
27307 GUI_TK_LIBRARY=
27308
27309 WXGTK12=
27310 WXGTK127=
27311 WXGTK20=
27312 WXGPE=
27313
27314 if test "$wxUSE_COCOA" = 1 ; then
27315 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27316 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27317 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27318 wxUSE_PRINTING_ARCHITECTURE=no
27319 fi
27320 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27321 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27322 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27323 wxUSE_DRAG_AND_DROP=no
27324 fi
27325 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27326 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27327 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27328 wxUSE_DRAGIMAGE=no
27329 fi
27330 fi
27331
27332 if test "$wxUSE_MSW" = 1 ; then
27333 TOOLKIT=MSW
27334 GUIDIST=MSW_DIST
27335
27336 case "${host}" in
27337 *-*-mingw32* )
27338 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27339 esac
27340 fi
27341
27342 if test "$wxUSE_GTK" = 1; then
27343 ac_ext=c
27344 ac_cpp='$CPP $CPPFLAGS'
27345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27348
27349
27350 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27351 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27352
27353 gtk_version_cached=1
27354 if test "${wx_cv_lib_gtk+set}" = set; then
27355 echo $ECHO_N "(cached) $ECHO_C" >&6
27356 else
27357
27358 gtk_version_cached=0
27359 echo "$as_me:$LINENO: result: " >&5
27360 echo "${ECHO_T}" >&6
27361
27362 GTK_MODULES=
27363 if test "$wxUSE_THREADS" = "yes"; then
27364 GTK_MODULES=gthread
27365 fi
27366
27367 wx_cv_lib_gtk=
27368 if test "x$wxGTK_VERSION" != "x1"
27369 then
27370 case "${host}" in
27371 *-*-solaris2* )
27372 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27373 enable_gtktest=no
27374 fi
27375 esac
27376
27377 # Check whether --enable-gtktest or --disable-gtktest was given.
27378 if test "${enable_gtktest+set}" = set; then
27379 enableval="$enable_gtktest"
27380
27381 else
27382 enable_gtktest=yes
27383 fi;
27384
27385 pkg_config_args=gtk+-2.0
27386 for module in . $GTK_MODULES
27387 do
27388 case "$module" in
27389 gthread)
27390 pkg_config_args="$pkg_config_args gthread-2.0"
27391 ;;
27392 esac
27393 done
27394
27395 no_gtk=""
27396
27397 # Extract the first word of "pkg-config", so it can be a program name with args.
27398 set dummy pkg-config; ac_word=$2
27399 echo "$as_me:$LINENO: checking for $ac_word" >&5
27400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27401 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27402 echo $ECHO_N "(cached) $ECHO_C" >&6
27403 else
27404 case $PKG_CONFIG in
27405 [\\/]* | ?:[\\/]*)
27406 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27407 ;;
27408 *)
27409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27410 for as_dir in $PATH
27411 do
27412 IFS=$as_save_IFS
27413 test -z "$as_dir" && as_dir=.
27414 for ac_exec_ext in '' $ac_executable_extensions; do
27415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27416 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27418 break 2
27419 fi
27420 done
27421 done
27422
27423 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27424 ;;
27425 esac
27426 fi
27427 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27428
27429 if test -n "$PKG_CONFIG"; then
27430 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27431 echo "${ECHO_T}$PKG_CONFIG" >&6
27432 else
27433 echo "$as_me:$LINENO: result: no" >&5
27434 echo "${ECHO_T}no" >&6
27435 fi
27436
27437
27438 if test x$PKG_CONFIG != xno ; then
27439 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27440 :
27441 else
27442 echo "*** pkg-config too old; version 0.7 or better required."
27443 no_gtk=yes
27444 PKG_CONFIG=no
27445 fi
27446 else
27447 no_gtk=yes
27448 fi
27449
27450 min_gtk_version=2.0.0
27451 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27452 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27453
27454 if test x$PKG_CONFIG != xno ; then
27455 ## don't try to run the test against uninstalled libtool libs
27456 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27457 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27458 enable_gtktest=no
27459 fi
27460
27461 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27462 :
27463 else
27464 no_gtk=yes
27465 fi
27466 fi
27467
27468 if test x"$no_gtk" = x ; then
27469 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27470 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27471 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27472 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27473 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27475 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27477 if test "x$enable_gtktest" = "xyes" ; then
27478 ac_save_CFLAGS="$CFLAGS"
27479 ac_save_LIBS="$LIBS"
27480 CFLAGS="$CFLAGS $GTK_CFLAGS"
27481 LIBS="$GTK_LIBS $LIBS"
27482 rm -f conf.gtktest
27483 if test "$cross_compiling" = yes; then
27484 echo $ac_n "cross compiling; assumed OK... $ac_c"
27485 else
27486 cat >conftest.$ac_ext <<_ACEOF
27487 /* confdefs.h. */
27488 _ACEOF
27489 cat confdefs.h >>conftest.$ac_ext
27490 cat >>conftest.$ac_ext <<_ACEOF
27491 /* end confdefs.h. */
27492
27493 #include <gtk/gtk.h>
27494 #include <stdio.h>
27495 #include <stdlib.h>
27496
27497 int
27498 main ()
27499 {
27500 int major, minor, micro;
27501 char *tmp_version;
27502
27503 system ("touch conf.gtktest");
27504
27505 /* HP/UX 9 (%@#!) writes to sscanf strings */
27506 tmp_version = g_strdup("$min_gtk_version");
27507 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27508 printf("%s, bad version string\n", "$min_gtk_version");
27509 exit(1);
27510 }
27511
27512 if ((gtk_major_version != $gtk_config_major_version) ||
27513 (gtk_minor_version != $gtk_config_minor_version) ||
27514 (gtk_micro_version != $gtk_config_micro_version))
27515 {
27516 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27517 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27518 gtk_major_version, gtk_minor_version, gtk_micro_version);
27519 printf ("*** was found! If pkg-config was correct, then it is best\n");
27520 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27521 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27522 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27523 printf("*** required on your system.\n");
27524 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27525 printf("*** to point to the correct configuration files\n");
27526 }
27527 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27528 (gtk_minor_version != GTK_MINOR_VERSION) ||
27529 (gtk_micro_version != GTK_MICRO_VERSION))
27530 {
27531 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27532 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27533 printf("*** library (version %d.%d.%d)\n",
27534 gtk_major_version, gtk_minor_version, gtk_micro_version);
27535 }
27536 else
27537 {
27538 if ((gtk_major_version > major) ||
27539 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27540 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27541 {
27542 return 0;
27543 }
27544 else
27545 {
27546 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27547 gtk_major_version, gtk_minor_version, gtk_micro_version);
27548 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27549 major, minor, micro);
27550 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27551 printf("***\n");
27552 printf("*** If you have already installed a sufficiently new version, this error\n");
27553 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27554 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27555 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27556 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27557 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27558 printf("*** so that the correct libraries are found at run-time))\n");
27559 }
27560 }
27561 return 1;
27562 }
27563
27564 _ACEOF
27565 rm -f conftest$ac_exeext
27566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27567 (eval $ac_link) 2>&5
27568 ac_status=$?
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572 (eval $ac_try) 2>&5
27573 ac_status=$?
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); }; }; then
27576 :
27577 else
27578 echo "$as_me: program exited with status $ac_status" >&5
27579 echo "$as_me: failed program was:" >&5
27580 sed 's/^/| /' conftest.$ac_ext >&5
27581
27582 ( exit $ac_status )
27583 no_gtk=yes
27584 fi
27585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27586 fi
27587 CFLAGS="$ac_save_CFLAGS"
27588 LIBS="$ac_save_LIBS"
27589 fi
27590 fi
27591 if test "x$no_gtk" = x ; then
27592 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27593 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27594 wx_cv_lib_gtk=2.0
27595 else
27596 echo "$as_me:$LINENO: result: no" >&5
27597 echo "${ECHO_T}no" >&6
27598 if test "$PKG_CONFIG" = "no" ; then
27599 echo "*** A new enough version of pkg-config was not found."
27600 echo "*** See http://pkgconfig.sourceforge.net"
27601 else
27602 if test -f conf.gtktest ; then
27603 :
27604 else
27605 echo "*** Could not run GTK+ test program, checking why..."
27606 ac_save_CFLAGS="$CFLAGS"
27607 ac_save_LIBS="$LIBS"
27608 CFLAGS="$CFLAGS $GTK_CFLAGS"
27609 LIBS="$LIBS $GTK_LIBS"
27610 cat >conftest.$ac_ext <<_ACEOF
27611 /* confdefs.h. */
27612 _ACEOF
27613 cat confdefs.h >>conftest.$ac_ext
27614 cat >>conftest.$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616
27617 #include <gtk/gtk.h>
27618 #include <stdio.h>
27619
27620 int
27621 main ()
27622 {
27623 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27624 ;
27625 return 0;
27626 }
27627 _ACEOF
27628 rm -f conftest.$ac_objext conftest$ac_exeext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27630 (eval $ac_link) 2>conftest.er1
27631 ac_status=$?
27632 grep -v '^ *+' conftest.er1 >conftest.err
27633 rm -f conftest.er1
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } &&
27637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 echo "*** The test program compiled, but did not run. This usually means"
27650 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27651 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27652 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27653 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27654 echo "*** is required on your system"
27655 echo "***"
27656 echo "*** If you have an old version installed, it is best to remove it, although"
27657 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27658 else
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.$ac_ext >&5
27661
27662 echo "*** The test program failed to compile or link. See the file config.log for the"
27663 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27664 fi
27665 rm -f conftest.err conftest.$ac_objext \
27666 conftest$ac_exeext conftest.$ac_ext
27667 CFLAGS="$ac_save_CFLAGS"
27668 LIBS="$ac_save_LIBS"
27669 fi
27670 fi
27671 GTK_CFLAGS=""
27672 GTK_LIBS=""
27673 :
27674 fi
27675
27676
27677 rm -f conf.gtktest
27678
27679
27680 case "${host}" in
27681 *-*-solaris2* )
27682 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27683 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27684 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27685 fi
27686 if test "$wxUSE_SHARED" != "yes"; then
27687 GTK_LIBS="$GTK_LIBS -lX11"
27688 fi
27689 esac
27690 fi
27691
27692 if test -z "$wx_cv_lib_gtk"; then
27693 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27694
27695 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27696 if test "${with_gtk_prefix+set}" = set; then
27697 withval="$with_gtk_prefix"
27698 gtk_config_prefix="$withval"
27699 else
27700 gtk_config_prefix=""
27701 fi;
27702
27703 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27704 if test "${with_gtk_exec_prefix+set}" = set; then
27705 withval="$with_gtk_exec_prefix"
27706 gtk_config_exec_prefix="$withval"
27707 else
27708 gtk_config_exec_prefix=""
27709 fi;
27710 # Check whether --enable-gtktest or --disable-gtktest was given.
27711 if test "${enable_gtktest+set}" = set; then
27712 enableval="$enable_gtktest"
27713
27714 else
27715 enable_gtktest=yes
27716 fi;
27717
27718 for module in . $GTK_MODULES
27719 do
27720 case "$module" in
27721 gthread)
27722 gtk_config_args="$gtk_config_args gthread"
27723 ;;
27724 esac
27725 done
27726
27727 if test x$gtk_config_exec_prefix != x ; then
27728 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27729 if test x${GTK_CONFIG+set} != xset ; then
27730 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27731 fi
27732 fi
27733 if test x$gtk_config_prefix != x ; then
27734 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27735 if test x${GTK_CONFIG+set} != xset ; then
27736 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27737 fi
27738 fi
27739
27740 # Extract the first word of "gtk-config", so it can be a program name with args.
27741 set dummy gtk-config; ac_word=$2
27742 echo "$as_me:$LINENO: checking for $ac_word" >&5
27743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27744 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27746 else
27747 case $GTK_CONFIG in
27748 [\\/]* | ?:[\\/]*)
27749 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27750 ;;
27751 *)
27752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27753 for as_dir in $PATH
27754 do
27755 IFS=$as_save_IFS
27756 test -z "$as_dir" && as_dir=.
27757 for ac_exec_ext in '' $ac_executable_extensions; do
27758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27759 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27761 break 2
27762 fi
27763 done
27764 done
27765
27766 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27767 ;;
27768 esac
27769 fi
27770 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27771
27772 if test -n "$GTK_CONFIG"; then
27773 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27774 echo "${ECHO_T}$GTK_CONFIG" >&6
27775 else
27776 echo "$as_me:$LINENO: result: no" >&5
27777 echo "${ECHO_T}no" >&6
27778 fi
27779
27780 min_gtk_version=1.2.7
27781 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27782 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27783 no_gtk=""
27784 if test "$GTK_CONFIG" = "no" ; then
27785 no_gtk=yes
27786 else
27787 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27788 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27789 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27791 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27793 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27794 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27795 if test "x$enable_gtktest" = "xyes" ; then
27796 ac_save_CFLAGS="$CFLAGS"
27797 ac_save_LIBS="$LIBS"
27798 CFLAGS="$CFLAGS $GTK_CFLAGS"
27799 LIBS="$GTK_LIBS $LIBS"
27800 rm -f conf.gtktest
27801 if test "$cross_compiling" = yes; then
27802 echo $ac_n "cross compiling; assumed OK... $ac_c"
27803 else
27804 cat >conftest.$ac_ext <<_ACEOF
27805 /* confdefs.h. */
27806 _ACEOF
27807 cat confdefs.h >>conftest.$ac_ext
27808 cat >>conftest.$ac_ext <<_ACEOF
27809 /* end confdefs.h. */
27810
27811 #include <gtk/gtk.h>
27812 #include <stdio.h>
27813 #include <stdlib.h>
27814
27815 int
27816 main ()
27817 {
27818 int major, minor, micro;
27819 char *tmp_version;
27820
27821 system ("touch conf.gtktest");
27822
27823 /* HP/UX 9 (%@#!) writes to sscanf strings */
27824 tmp_version = g_strdup("$min_gtk_version");
27825 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27826 printf("%s, bad version string\n", "$min_gtk_version");
27827 exit(1);
27828 }
27829
27830 if ((gtk_major_version != $gtk_config_major_version) ||
27831 (gtk_minor_version != $gtk_config_minor_version) ||
27832 (gtk_micro_version != $gtk_config_micro_version))
27833 {
27834 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27835 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27836 gtk_major_version, gtk_minor_version, gtk_micro_version);
27837 printf ("*** was found! If gtk-config was correct, then it is best\n");
27838 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27839 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27840 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27841 printf("*** required on your system.\n");
27842 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27843 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27844 printf("*** before re-running configure\n");
27845 }
27846 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27847 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27848 (gtk_minor_version != GTK_MINOR_VERSION) ||
27849 (gtk_micro_version != GTK_MICRO_VERSION))
27850 {
27851 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27852 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27853 printf("*** library (version %d.%d.%d)\n",
27854 gtk_major_version, gtk_minor_version, gtk_micro_version);
27855 }
27856 #endif /* defined (GTK_MAJOR_VERSION) ... */
27857 else
27858 {
27859 if ((gtk_major_version > major) ||
27860 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27861 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27862 {
27863 return 0;
27864 }
27865 else
27866 {
27867 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27868 gtk_major_version, gtk_minor_version, gtk_micro_version);
27869 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27870 major, minor, micro);
27871 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27872 printf("***\n");
27873 printf("*** If you have already installed a sufficiently new version, this error\n");
27874 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27875 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27876 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27877 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27878 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27879 printf("*** so that the correct libraries are found at run-time))\n");
27880 }
27881 }
27882 return 1;
27883 }
27884
27885 _ACEOF
27886 rm -f conftest$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888 (eval $ac_link) 2>&5
27889 ac_status=$?
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27893 (eval $ac_try) 2>&5
27894 ac_status=$?
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); }; }; then
27897 :
27898 else
27899 echo "$as_me: program exited with status $ac_status" >&5
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.$ac_ext >&5
27902
27903 ( exit $ac_status )
27904 no_gtk=yes
27905 fi
27906 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27907 fi
27908 CFLAGS="$ac_save_CFLAGS"
27909 LIBS="$ac_save_LIBS"
27910 fi
27911 fi
27912 if test "x$no_gtk" = x ; then
27913 echo "$as_me:$LINENO: result: yes" >&5
27914 echo "${ECHO_T}yes" >&6
27915 wx_cv_lib_gtk=1.2.7
27916 else
27917 echo "$as_me:$LINENO: result: no" >&5
27918 echo "${ECHO_T}no" >&6
27919 if test "$GTK_CONFIG" = "no" ; then
27920 echo "*** The gtk-config script installed by GTK could not be found"
27921 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27922 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27923 echo "*** full path to gtk-config."
27924 else
27925 if test -f conf.gtktest ; then
27926 :
27927 else
27928 echo "*** Could not run GTK test program, checking why..."
27929 CFLAGS="$CFLAGS $GTK_CFLAGS"
27930 LIBS="$LIBS $GTK_LIBS"
27931 cat >conftest.$ac_ext <<_ACEOF
27932 /* confdefs.h. */
27933 _ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937
27938 #include <gtk/gtk.h>
27939 #include <stdio.h>
27940
27941 int
27942 main ()
27943 {
27944 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27945 ;
27946 return 0;
27947 }
27948 _ACEOF
27949 rm -f conftest.$ac_objext conftest$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>conftest.er1
27952 ac_status=$?
27953 grep -v '^ *+' conftest.er1 >conftest.err
27954 rm -f conftest.er1
27955 cat conftest.err >&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 echo "*** The test program compiled, but did not run. This usually means"
27971 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27972 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27973 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27974 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27975 echo "*** is required on your system"
27976 echo "***"
27977 echo "*** If you have an old version installed, it is best to remove it, although"
27978 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27979 echo "***"
27980 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27981 echo "*** came with the system with the command"
27982 echo "***"
27983 echo "*** rpm --erase --nodeps gtk gtk-devel"
27984 else
27985 echo "$as_me: failed program was:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27987
27988 echo "*** The test program failed to compile or link. See the file config.log for the"
27989 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27990 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27991 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27992 fi
27993 rm -f conftest.err conftest.$ac_objext \
27994 conftest$ac_exeext conftest.$ac_ext
27995 CFLAGS="$ac_save_CFLAGS"
27996 LIBS="$ac_save_LIBS"
27997 fi
27998 fi
27999 GTK_CFLAGS=""
28000 GTK_LIBS=""
28001 :
28002 fi
28003
28004
28005 rm -f conf.gtktest
28006
28007
28008 if test -z "$wx_cv_lib_gtk"; then
28009
28010 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28011 if test "${with_gtk_prefix+set}" = set; then
28012 withval="$with_gtk_prefix"
28013 gtk_config_prefix="$withval"
28014 else
28015 gtk_config_prefix=""
28016 fi;
28017
28018 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28019 if test "${with_gtk_exec_prefix+set}" = set; then
28020 withval="$with_gtk_exec_prefix"
28021 gtk_config_exec_prefix="$withval"
28022 else
28023 gtk_config_exec_prefix=""
28024 fi;
28025 # Check whether --enable-gtktest or --disable-gtktest was given.
28026 if test "${enable_gtktest+set}" = set; then
28027 enableval="$enable_gtktest"
28028
28029 else
28030 enable_gtktest=yes
28031 fi;
28032
28033 for module in . $GTK_MODULES
28034 do
28035 case "$module" in
28036 gthread)
28037 gtk_config_args="$gtk_config_args gthread"
28038 ;;
28039 esac
28040 done
28041
28042 if test x$gtk_config_exec_prefix != x ; then
28043 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28044 if test x${GTK_CONFIG+set} != xset ; then
28045 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28046 fi
28047 fi
28048 if test x$gtk_config_prefix != x ; then
28049 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28050 if test x${GTK_CONFIG+set} != xset ; then
28051 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28052 fi
28053 fi
28054
28055 # Extract the first word of "gtk-config", so it can be a program name with args.
28056 set dummy gtk-config; ac_word=$2
28057 echo "$as_me:$LINENO: checking for $ac_word" >&5
28058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28059 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28060 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 else
28062 case $GTK_CONFIG in
28063 [\\/]* | ?:[\\/]*)
28064 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28065 ;;
28066 *)
28067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28068 for as_dir in $PATH
28069 do
28070 IFS=$as_save_IFS
28071 test -z "$as_dir" && as_dir=.
28072 for ac_exec_ext in '' $ac_executable_extensions; do
28073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28074 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28076 break 2
28077 fi
28078 done
28079 done
28080
28081 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28082 ;;
28083 esac
28084 fi
28085 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28086
28087 if test -n "$GTK_CONFIG"; then
28088 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28089 echo "${ECHO_T}$GTK_CONFIG" >&6
28090 else
28091 echo "$as_me:$LINENO: result: no" >&5
28092 echo "${ECHO_T}no" >&6
28093 fi
28094
28095 min_gtk_version=1.2.3
28096 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28097 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28098 no_gtk=""
28099 if test "$GTK_CONFIG" = "no" ; then
28100 no_gtk=yes
28101 else
28102 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28103 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28104 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28105 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28106 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28107 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28108 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28110 if test "x$enable_gtktest" = "xyes" ; then
28111 ac_save_CFLAGS="$CFLAGS"
28112 ac_save_LIBS="$LIBS"
28113 CFLAGS="$CFLAGS $GTK_CFLAGS"
28114 LIBS="$GTK_LIBS $LIBS"
28115 rm -f conf.gtktest
28116 if test "$cross_compiling" = yes; then
28117 echo $ac_n "cross compiling; assumed OK... $ac_c"
28118 else
28119 cat >conftest.$ac_ext <<_ACEOF
28120 /* confdefs.h. */
28121 _ACEOF
28122 cat confdefs.h >>conftest.$ac_ext
28123 cat >>conftest.$ac_ext <<_ACEOF
28124 /* end confdefs.h. */
28125
28126 #include <gtk/gtk.h>
28127 #include <stdio.h>
28128 #include <stdlib.h>
28129
28130 int
28131 main ()
28132 {
28133 int major, minor, micro;
28134 char *tmp_version;
28135
28136 system ("touch conf.gtktest");
28137
28138 /* HP/UX 9 (%@#!) writes to sscanf strings */
28139 tmp_version = g_strdup("$min_gtk_version");
28140 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28141 printf("%s, bad version string\n", "$min_gtk_version");
28142 exit(1);
28143 }
28144
28145 if ((gtk_major_version != $gtk_config_major_version) ||
28146 (gtk_minor_version != $gtk_config_minor_version) ||
28147 (gtk_micro_version != $gtk_config_micro_version))
28148 {
28149 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28150 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28151 gtk_major_version, gtk_minor_version, gtk_micro_version);
28152 printf ("*** was found! If gtk-config was correct, then it is best\n");
28153 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28154 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28155 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28156 printf("*** required on your system.\n");
28157 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28158 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28159 printf("*** before re-running configure\n");
28160 }
28161 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28162 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28163 (gtk_minor_version != GTK_MINOR_VERSION) ||
28164 (gtk_micro_version != GTK_MICRO_VERSION))
28165 {
28166 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28167 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28168 printf("*** library (version %d.%d.%d)\n",
28169 gtk_major_version, gtk_minor_version, gtk_micro_version);
28170 }
28171 #endif /* defined (GTK_MAJOR_VERSION) ... */
28172 else
28173 {
28174 if ((gtk_major_version > major) ||
28175 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28176 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28177 {
28178 return 0;
28179 }
28180 else
28181 {
28182 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28183 gtk_major_version, gtk_minor_version, gtk_micro_version);
28184 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28185 major, minor, micro);
28186 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28187 printf("***\n");
28188 printf("*** If you have already installed a sufficiently new version, this error\n");
28189 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28190 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28191 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28192 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28193 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28194 printf("*** so that the correct libraries are found at run-time))\n");
28195 }
28196 }
28197 return 1;
28198 }
28199
28200 _ACEOF
28201 rm -f conftest$ac_exeext
28202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28203 (eval $ac_link) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208 (eval $ac_try) 2>&5
28209 ac_status=$?
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; }; then
28212 :
28213 else
28214 echo "$as_me: program exited with status $ac_status" >&5
28215 echo "$as_me: failed program was:" >&5
28216 sed 's/^/| /' conftest.$ac_ext >&5
28217
28218 ( exit $ac_status )
28219 no_gtk=yes
28220 fi
28221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28222 fi
28223 CFLAGS="$ac_save_CFLAGS"
28224 LIBS="$ac_save_LIBS"
28225 fi
28226 fi
28227 if test "x$no_gtk" = x ; then
28228 echo "$as_me:$LINENO: result: yes" >&5
28229 echo "${ECHO_T}yes" >&6
28230 wx_cv_lib_gtk=1.2.3
28231 else
28232 echo "$as_me:$LINENO: result: no" >&5
28233 echo "${ECHO_T}no" >&6
28234 if test "$GTK_CONFIG" = "no" ; then
28235 echo "*** The gtk-config script installed by GTK could not be found"
28236 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28237 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28238 echo "*** full path to gtk-config."
28239 else
28240 if test -f conf.gtktest ; then
28241 :
28242 else
28243 echo "*** Could not run GTK test program, checking why..."
28244 CFLAGS="$CFLAGS $GTK_CFLAGS"
28245 LIBS="$LIBS $GTK_LIBS"
28246 cat >conftest.$ac_ext <<_ACEOF
28247 /* confdefs.h. */
28248 _ACEOF
28249 cat confdefs.h >>conftest.$ac_ext
28250 cat >>conftest.$ac_ext <<_ACEOF
28251 /* end confdefs.h. */
28252
28253 #include <gtk/gtk.h>
28254 #include <stdio.h>
28255
28256 int
28257 main ()
28258 {
28259 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28260 ;
28261 return 0;
28262 }
28263 _ACEOF
28264 rm -f conftest.$ac_objext conftest$ac_exeext
28265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28266 (eval $ac_link) 2>conftest.er1
28267 ac_status=$?
28268 grep -v '^ *+' conftest.er1 >conftest.err
28269 rm -f conftest.er1
28270 cat conftest.err >&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28276 ac_status=$?
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; } &&
28279 { ac_try='test -s conftest$ac_exeext'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28282 ac_status=$?
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; }; then
28285 echo "*** The test program compiled, but did not run. This usually means"
28286 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28287 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28288 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28289 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28290 echo "*** is required on your system"
28291 echo "***"
28292 echo "*** If you have an old version installed, it is best to remove it, although"
28293 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28294 echo "***"
28295 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28296 echo "*** came with the system with the command"
28297 echo "***"
28298 echo "*** rpm --erase --nodeps gtk gtk-devel"
28299 else
28300 echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.$ac_ext >&5
28302
28303 echo "*** The test program failed to compile or link. See the file config.log for the"
28304 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28305 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28306 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28307 fi
28308 rm -f conftest.err conftest.$ac_objext \
28309 conftest$ac_exeext conftest.$ac_ext
28310 CFLAGS="$ac_save_CFLAGS"
28311 LIBS="$ac_save_LIBS"
28312 fi
28313 fi
28314 GTK_CFLAGS=""
28315 GTK_LIBS=""
28316 :
28317 fi
28318
28319
28320 rm -f conf.gtktest
28321
28322 fi
28323 fi
28324 fi
28325
28326 if test -z "$wx_cv_lib_gtk"; then
28327 wx_cv_lib_gtk=none
28328 else
28329 wx_cv_cflags_gtk=$GTK_CFLAGS
28330 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28331 fi
28332
28333
28334 fi
28335
28336
28337 if test "$gtk_version_cached" = 1; then
28338 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28339 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28340 fi
28341
28342 case "$wx_cv_lib_gtk" in
28343 2.0) WXGTK20=1
28344 TOOLKIT_VERSION=2
28345 ;;
28346 1.2.7) WXGTK127=1
28347 WXGTK12=1
28348 ;;
28349 1.2.3) WXGTK12=1
28350 ;;
28351 *) { { echo "$as_me:$LINENO: error:
28352 The development files for GTK+ were not found. For GTK+ 2, please
28353 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28354 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28355 and that the version is 1.2.3 or above. Also check that the
28356 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28357 --libs' are in the LD_LIBRARY_PATH or equivalent.
28358 " >&5
28359 echo "$as_me: error:
28360 The development files for GTK+ were not found. For GTK+ 2, please
28361 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28362 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28363 and that the version is 1.2.3 or above. Also check that the
28364 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28365 --libs' are in the LD_LIBRARY_PATH or equivalent.
28366 " >&2;}
28367 { (exit 1); exit 1; }; }
28368 ;;
28369 esac
28370
28371 if test "$WXGTK20" = 1; then
28372 save_CFLAGS="$CFLAGS"
28373 save_LIBS="$LIBS"
28374 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28375 LIBS="$LIBS $wx_cv_libs_gtk"
28376
28377 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28378 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28379 cat >conftest.$ac_ext <<_ACEOF
28380 /* confdefs.h. */
28381 _ACEOF
28382 cat confdefs.h >>conftest.$ac_ext
28383 cat >>conftest.$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28385
28386 #include <gtk/gtk.h>
28387
28388 int
28389 main ()
28390 {
28391
28392 void *f = gtk_icon_size_lookup;
28393
28394 ;
28395 return 0;
28396 }
28397 _ACEOF
28398 rm -f conftest.$ac_objext
28399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28400 (eval $ac_compile) 2>conftest.er1
28401 ac_status=$?
28402 grep -v '^ *+' conftest.er1 >conftest.err
28403 rm -f conftest.er1
28404 cat conftest.err >&5
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } &&
28407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28409 (eval $ac_try) 2>&5
28410 ac_status=$?
28411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28412 (exit $ac_status); }; } &&
28413 { ac_try='test -s conftest.$ac_objext'
28414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28415 (eval $ac_try) 2>&5
28416 ac_status=$?
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); }; }; then
28419
28420 echo "$as_me:$LINENO: result: no" >&5
28421 echo "${ECHO_T}no" >&6
28422
28423 else
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28426
28427
28428 cat >>confdefs.h <<\_ACEOF
28429 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28430 _ACEOF
28431
28432 echo "$as_me:$LINENO: result: yes" >&5
28433 echo "${ECHO_T}yes" >&6
28434
28435 fi
28436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28437
28438 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28439 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447 #include <gtk/gtk.h>
28448
28449 int
28450 main ()
28451 {
28452
28453 #if !GTK_CHECK_VERSION(2,6,0)
28454 Not GTK+ 2.6
28455 #endif
28456
28457 ;
28458 return 0;
28459 }
28460 _ACEOF
28461 rm -f conftest.$ac_objext
28462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28463 (eval $ac_compile) 2>conftest.er1
28464 ac_status=$?
28465 grep -v '^ *+' conftest.er1 >conftest.err
28466 rm -f conftest.er1
28467 cat conftest.err >&5
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); } &&
28470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28472 (eval $ac_try) 2>&5
28473 ac_status=$?
28474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475 (exit $ac_status); }; } &&
28476 { ac_try='test -s conftest.$ac_objext'
28477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478 (eval $ac_try) 2>&5
28479 ac_status=$?
28480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 (exit $ac_status); }; }; then
28482
28483 cat >>confdefs.h <<\_ACEOF
28484 #define __WXGTK26__ 1
28485 _ACEOF
28486
28487 cat >>confdefs.h <<\_ACEOF
28488 #define __WXGTK24__ 1
28489 _ACEOF
28490
28491 echo "$as_me:$LINENO: result: yes" >&5
28492 echo "${ECHO_T}yes" >&6
28493 ac_wxgtk26=1
28494
28495 else
28496 echo "$as_me: failed program was:" >&5
28497 sed 's/^/| /' conftest.$ac_ext >&5
28498
28499
28500 echo "$as_me:$LINENO: result: no" >&5
28501 echo "${ECHO_T}no" >&6
28502 ac_wxgtk26=0
28503
28504 fi
28505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28506
28507 if test "$ac_wxgtk26" = 0; then
28508 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28509 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28510 cat >conftest.$ac_ext <<_ACEOF
28511 /* confdefs.h. */
28512 _ACEOF
28513 cat confdefs.h >>conftest.$ac_ext
28514 cat >>conftest.$ac_ext <<_ACEOF
28515 /* end confdefs.h. */
28516
28517 #include <gtk/gtk.h>
28518
28519 int
28520 main ()
28521 {
28522
28523 #if !GTK_CHECK_VERSION(2,4,0)
28524 Not GTK+ 2.4
28525 #endif
28526
28527 ;
28528 return 0;
28529 }
28530 _ACEOF
28531 rm -f conftest.$ac_objext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28533 (eval $ac_compile) 2>conftest.er1
28534 ac_status=$?
28535 grep -v '^ *+' conftest.er1 >conftest.err
28536 rm -f conftest.er1
28537 cat conftest.err >&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28543 ac_status=$?
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; } &&
28546 { ac_try='test -s conftest.$ac_objext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552
28553 cat >>confdefs.h <<\_ACEOF
28554 #define __WXGTK24__ 1
28555 _ACEOF
28556
28557 echo "$as_me:$LINENO: result: yes" >&5
28558 echo "${ECHO_T}yes" >&6
28559
28560 else
28561 echo "$as_me: failed program was:" >&5
28562 sed 's/^/| /' conftest.$ac_ext >&5
28563
28564
28565 echo "$as_me:$LINENO: result: no" >&5
28566 echo "${ECHO_T}no" >&6
28567
28568 fi
28569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28570 fi
28571
28572 CFLAGS="$save_CFLAGS"
28573 LIBS="$save_LIBS"
28574 else
28575 if test "$wxUSE_UNICODE" = "yes"; then
28576 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28577 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28578 wxUSE_UNICODE=no
28579 fi
28580 fi
28581
28582 ac_ext=cc
28583 ac_cpp='$CXXCPP $CPPFLAGS'
28584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28587
28588
28589 if test "$USE_DARWIN" != 1; then
28590
28591 for ac_func in poll
28592 do
28593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28594 echo "$as_me:$LINENO: checking for $ac_func" >&5
28595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28596 if eval "test \"\${$as_ac_var+set}\" = set"; then
28597 echo $ECHO_N "(cached) $ECHO_C" >&6
28598 else
28599 cat >conftest.$ac_ext <<_ACEOF
28600 /* confdefs.h. */
28601 _ACEOF
28602 cat confdefs.h >>conftest.$ac_ext
28603 cat >>conftest.$ac_ext <<_ACEOF
28604 /* end confdefs.h. */
28605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28607 #define $ac_func innocuous_$ac_func
28608
28609 /* System header to define __stub macros and hopefully few prototypes,
28610 which can conflict with char $ac_func (); below.
28611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28612 <limits.h> exists even on freestanding compilers. */
28613
28614 #ifdef __STDC__
28615 # include <limits.h>
28616 #else
28617 # include <assert.h>
28618 #endif
28619
28620 #undef $ac_func
28621
28622 /* Override any gcc2 internal prototype to avoid an error. */
28623 #ifdef __cplusplus
28624 extern "C"
28625 {
28626 #endif
28627 /* We use char because int might match the return type of a gcc2
28628 builtin and then its argument prototype would still apply. */
28629 char $ac_func ();
28630 /* The GNU C library defines this for functions which it implements
28631 to always fail with ENOSYS. Some functions are actually named
28632 something starting with __ and the normal name is an alias. */
28633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28634 choke me
28635 #else
28636 char (*f) () = $ac_func;
28637 #endif
28638 #ifdef __cplusplus
28639 }
28640 #endif
28641
28642 int
28643 main ()
28644 {
28645 return f != $ac_func;
28646 ;
28647 return 0;
28648 }
28649 _ACEOF
28650 rm -f conftest.$ac_objext conftest$ac_exeext
28651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28652 (eval $ac_link) 2>conftest.er1
28653 ac_status=$?
28654 grep -v '^ *+' conftest.er1 >conftest.err
28655 rm -f conftest.er1
28656 cat conftest.err >&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } &&
28659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; } &&
28665 { ac_try='test -s conftest$ac_exeext'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; }; then
28671 eval "$as_ac_var=yes"
28672 else
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.$ac_ext >&5
28675
28676 eval "$as_ac_var=no"
28677 fi
28678 rm -f conftest.err conftest.$ac_objext \
28679 conftest$ac_exeext conftest.$ac_ext
28680 fi
28681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28683 if test `eval echo '${'$as_ac_var'}'` = yes; then
28684 cat >>confdefs.h <<_ACEOF
28685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28686 _ACEOF
28687
28688 fi
28689 done
28690
28691 fi
28692
28693 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28694 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28695
28696 AFMINSTALL=afminstall
28697 TOOLKIT=GTK
28698 GUIDIST=GTK_DIST
28699
28700 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28701 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28702 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 ac_check_lib_save_LIBS=$LIBS
28706 LIBS="-lgdk $LIBS"
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h. */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713
28714 /* Override any gcc2 internal prototype to avoid an error. */
28715 #ifdef __cplusplus
28716 extern "C"
28717 #endif
28718 /* We use char because int might match the return type of a gcc2
28719 builtin and then its argument prototype would still apply. */
28720 char gdk_im_open ();
28721 int
28722 main ()
28723 {
28724 gdk_im_open ();
28725 ;
28726 return 0;
28727 }
28728 _ACEOF
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28731 (eval $ac_link) 2>conftest.er1
28732 ac_status=$?
28733 grep -v '^ *+' conftest.er1 >conftest.err
28734 rm -f conftest.er1
28735 cat conftest.err >&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); } &&
28738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28740 (eval $ac_try) 2>&5
28741 ac_status=$?
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); }; } &&
28744 { ac_try='test -s conftest$ac_exeext'
28745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28746 (eval $ac_try) 2>&5
28747 ac_status=$?
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); }; }; then
28750 ac_cv_lib_gdk_gdk_im_open=yes
28751 else
28752 echo "$as_me: failed program was:" >&5
28753 sed 's/^/| /' conftest.$ac_ext >&5
28754
28755 ac_cv_lib_gdk_gdk_im_open=no
28756 fi
28757 rm -f conftest.err conftest.$ac_objext \
28758 conftest$ac_exeext conftest.$ac_ext
28759 LIBS=$ac_check_lib_save_LIBS
28760 fi
28761 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28762 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28763 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28764 cat >>confdefs.h <<\_ACEOF
28765 #define HAVE_XIM 1
28766 _ACEOF
28767
28768 fi
28769
28770
28771
28772 if test "$wxUSE_GPE" = "yes"; then
28773 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28774 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28775
28776 ac_find_libraries=
28777 for ac_dir in $SEARCH_LIB;
28778 do
28779 for ac_extension in a so sl dylib dll.a; do
28780 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28781 ac_find_libraries=$ac_dir
28782 break 2
28783 fi
28784 done
28785 done
28786
28787 if test "$ac_find_libraries" != "" ; then
28788
28789 if test "$ac_find_libraries" = "default location"; then
28790 ac_path_to_link=""
28791 else
28792 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28793 result=$?
28794 if test $result = 0; then
28795 ac_path_to_link=""
28796 else
28797 ac_path_to_link=" -L$ac_find_libraries"
28798 fi
28799 fi
28800
28801 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28802 WXGPE=1
28803 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28804 echo "${ECHO_T}found in $ac_find_libraries" >&6
28805 else
28806 echo "$as_me:$LINENO: result: not found" >&5
28807 echo "${ECHO_T}not found" >&6
28808 fi
28809
28810 fi
28811 fi
28812
28813 if test "$wxUSE_MGL" = 1; then
28814 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28815 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28816 if test "x$MGL_ROOT" = x ; then
28817 echo "$as_me:$LINENO: result: not found" >&5
28818 echo "${ECHO_T}not found" >&6
28819 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28820 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28821 { (exit 1); exit 1; }; }
28822 else
28823 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28824 echo "${ECHO_T}$MGL_ROOT" >&6
28825 fi
28826
28827 echo "$as_me:$LINENO: checking for libmgl location" >&5
28828 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28829 case "${host}" in
28830 *-*-linux* )
28831 if test "x$wxUSE_SHARED" = xyes ; then
28832 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28833 else
28834 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28835 fi
28836 ;;
28837 *-pc-msdosdjgpp )
28838 mgl_os_candidates="dos32/dj2"
28839 ;;
28840 *)
28841 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28842 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28843 { (exit 1); exit 1; }; }
28844 esac
28845
28846 mgl_lib_type=""
28847 mgl_os=""
28848
28849 for mgl_os_i in $mgl_os_candidates ; do
28850 if test "x$mgl_os" = x ; then
28851 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28852 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28853 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28854 mgl_lib_type=debug
28855 mgl_os=$mgl_os_i
28856 fi
28857 fi
28858 if test "x$mgl_lib_type" = x ; then
28859 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28860 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28861 mgl_lib_type=release
28862 mgl_os=$mgl_os_i
28863 fi
28864 fi
28865 fi
28866 done
28867
28868 if test "x$mgl_os" = x ; then
28869 echo "$as_me:$LINENO: result: not found" >&5
28870 echo "${ECHO_T}not found" >&6
28871 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28872 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28873 { (exit 1); exit 1; }; }
28874 fi
28875 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28876 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28877
28878 wxUSE_UNIVERSAL="yes"
28879
28880 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28881 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28882
28883 AFMINSTALL=afminstall
28884 TOOLKIT=MGL
28885 GUIDIST=MGL_DIST
28886 fi
28887
28888 if test "$wxUSE_DFB" = 1; then
28889
28890
28891 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28892 if test -n "$ac_tool_prefix"; then
28893 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28894 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28895 echo "$as_me:$LINENO: checking for $ac_word" >&5
28896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28897 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28898 echo $ECHO_N "(cached) $ECHO_C" >&6
28899 else
28900 case $PKG_CONFIG in
28901 [\\/]* | ?:[\\/]*)
28902 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28903 ;;
28904 *)
28905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28906 for as_dir in $PATH
28907 do
28908 IFS=$as_save_IFS
28909 test -z "$as_dir" && as_dir=.
28910 for ac_exec_ext in '' $ac_executable_extensions; do
28911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28912 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28914 break 2
28915 fi
28916 done
28917 done
28918
28919 ;;
28920 esac
28921 fi
28922 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28923
28924 if test -n "$PKG_CONFIG"; then
28925 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28926 echo "${ECHO_T}$PKG_CONFIG" >&6
28927 else
28928 echo "$as_me:$LINENO: result: no" >&5
28929 echo "${ECHO_T}no" >&6
28930 fi
28931
28932 fi
28933 if test -z "$ac_cv_path_PKG_CONFIG"; then
28934 ac_pt_PKG_CONFIG=$PKG_CONFIG
28935 # Extract the first word of "pkg-config", so it can be a program name with args.
28936 set dummy pkg-config; ac_word=$2
28937 echo "$as_me:$LINENO: checking for $ac_word" >&5
28938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28939 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28941 else
28942 case $ac_pt_PKG_CONFIG in
28943 [\\/]* | ?:[\\/]*)
28944 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28945 ;;
28946 *)
28947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28948 for as_dir in $PATH
28949 do
28950 IFS=$as_save_IFS
28951 test -z "$as_dir" && as_dir=.
28952 for ac_exec_ext in '' $ac_executable_extensions; do
28953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28954 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28956 break 2
28957 fi
28958 done
28959 done
28960
28961 ;;
28962 esac
28963 fi
28964 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28965
28966 if test -n "$ac_pt_PKG_CONFIG"; then
28967 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28968 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
28969 else
28970 echo "$as_me:$LINENO: result: no" >&5
28971 echo "${ECHO_T}no" >&6
28972 fi
28973
28974 PKG_CONFIG=$ac_pt_PKG_CONFIG
28975 else
28976 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28977 fi
28978
28979 fi
28980 if test -n "$PKG_CONFIG"; then
28981 _pkg_min_version=0.9.0
28982 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28983 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
28984 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28985 echo "$as_me:$LINENO: result: yes" >&5
28986 echo "${ECHO_T}yes" >&6
28987 else
28988 echo "$as_me:$LINENO: result: no" >&5
28989 echo "${ECHO_T}no" >&6
28990 PKG_CONFIG=""
28991 fi
28992
28993 fi
28994
28995 pkg_failed=no
28996 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28997 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
28998
28999 if test -n "$PKG_CONFIG"; then
29000 if test -n "$DIRECTFB_CFLAGS"; then
29001 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29002 else
29003 if test -n "$PKG_CONFIG" && \
29004 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29005 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29006 ac_status=$?
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); }; then
29009 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29010 else
29011 pkg_failed=yes
29012 fi
29013 fi
29014 else
29015 pkg_failed=untried
29016 fi
29017 if test -n "$PKG_CONFIG"; then
29018 if test -n "$DIRECTFB_LIBS"; then
29019 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29020 else
29021 if test -n "$PKG_CONFIG" && \
29022 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29023 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29024 ac_status=$?
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; then
29027 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29028 else
29029 pkg_failed=yes
29030 fi
29031 fi
29032 else
29033 pkg_failed=untried
29034 fi
29035
29036
29037
29038 if test $pkg_failed = yes; then
29039
29040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29041 _pkg_short_errors_supported=yes
29042 else
29043 _pkg_short_errors_supported=no
29044 fi
29045 if test $_pkg_short_errors_supported = yes; then
29046 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29047 else
29048 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29049 fi
29050 # Put the nasty error message in config.log where it belongs
29051 echo "$DIRECTFB_PKG_ERRORS" >&5
29052
29053
29054 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29055 echo "$as_me: error: DirectFB not found." >&2;}
29056 { (exit 1); exit 1; }; }
29057
29058
29059 elif test $pkg_failed = untried; then
29060
29061 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29062 echo "$as_me: error: DirectFB not found." >&2;}
29063 { (exit 1); exit 1; }; }
29064
29065
29066 else
29067 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29068 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29069 echo "$as_me:$LINENO: result: yes" >&5
29070 echo "${ECHO_T}yes" >&6
29071
29072 wxUSE_UNIVERSAL="yes"
29073 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29074 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29075 TOOLKIT=DFB
29076 GUIDIST=DFB_DIST
29077
29078 fi
29079 fi
29080
29081 if test "$wxUSE_MICROWIN" = 1; then
29082 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29083 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29084 if test "x$MICROWINDOWS" = x ; then
29085 echo "$as_me:$LINENO: result: not found" >&5
29086 echo "${ECHO_T}not found" >&6
29087 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29088 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29089 { (exit 1); exit 1; }; }
29090 else
29091 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29092 echo "${ECHO_T}$MICROWINDOWS" >&6
29093 fi
29094
29095 if test -f $MICROWINDOWS/lib/libmwin.a; then
29096 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29097 echo "${ECHO_T}MicroWindows' libraries found." >&6
29098 else
29099 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29100 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29101 { (exit 1); exit 1; }; }
29102 fi
29103
29104 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29105 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29106
29107 wxUSE_UNIVERSAL="yes"
29108
29109 AFMINSTALL=afminstall
29110 TOOLKIT=MICROWIN
29111 GUIDIST=MICROWIN_DIST
29112
29113 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29114 fi
29115
29116 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29117
29118 if test "x$ac_path_x_has_been_run" != xyes; then
29119 echo "$as_me:$LINENO: checking for X" >&5
29120 echo $ECHO_N "checking for X... $ECHO_C" >&6
29121
29122 ac_path_x_has_been_run=yes
29123
29124 # Check whether --with-x or --without-x was given.
29125 if test "${with_x+set}" = set; then
29126 withval="$with_x"
29127
29128 fi;
29129 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29130 if test "x$with_x" = xno; then
29131 # The user explicitly disabled X.
29132 have_x=disabled
29133 else
29134 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29135 # Both variables are already set.
29136 have_x=yes
29137 else
29138 if test "${ac_cv_have_x+set}" = set; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29140 else
29141 # One or both of the vars are not set, and there is no cached value.
29142 ac_x_includes=no ac_x_libraries=no
29143 rm -fr conftest.dir
29144 if mkdir conftest.dir; then
29145 cd conftest.dir
29146 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29147 cat >Imakefile <<'_ACEOF'
29148 acfindx:
29149 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29150 _ACEOF
29151 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29152 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29153 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29154 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29155 for ac_extension in a so sl; do
29156 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29157 test -f $ac_im_libdir/libX11.$ac_extension; then
29158 ac_im_usrlibdir=$ac_im_libdir; break
29159 fi
29160 done
29161 # Screen out bogus values from the imake configuration. They are
29162 # bogus both because they are the default anyway, and because
29163 # using them would break gcc on systems where it needs fixed includes.
29164 case $ac_im_incroot in
29165 /usr/include) ;;
29166 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29167 esac
29168 case $ac_im_usrlibdir in
29169 /usr/lib | /lib) ;;
29170 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29171 esac
29172 fi
29173 cd ..
29174 rm -fr conftest.dir
29175 fi
29176
29177 # Standard set of common directories for X headers.
29178 # Check X11 before X11Rn because it is often a symlink to the current release.
29179 ac_x_header_dirs='
29180 /usr/X11/include
29181 /usr/X11R6/include
29182 /usr/X11R5/include
29183 /usr/X11R4/include
29184
29185 /usr/include/X11
29186 /usr/include/X11R6
29187 /usr/include/X11R5
29188 /usr/include/X11R4
29189
29190 /usr/local/X11/include
29191 /usr/local/X11R6/include
29192 /usr/local/X11R5/include
29193 /usr/local/X11R4/include
29194
29195 /usr/local/include/X11
29196 /usr/local/include/X11R6
29197 /usr/local/include/X11R5
29198 /usr/local/include/X11R4
29199
29200 /usr/X386/include
29201 /usr/x386/include
29202 /usr/XFree86/include/X11
29203
29204 /usr/include
29205 /usr/local/include
29206 /usr/unsupported/include
29207 /usr/athena/include
29208 /usr/local/x11r5/include
29209 /usr/lpp/Xamples/include
29210
29211 /usr/openwin/include
29212 /usr/openwin/share/include'
29213
29214 if test "$ac_x_includes" = no; then
29215 # Guess where to find include files, by looking for a specified header file.
29216 # First, try using that file with no special directory specified.
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h. */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223 #include <X11/Xlib.h>
29224 _ACEOF
29225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29227 ac_status=$?
29228 grep -v '^ *+' conftest.er1 >conftest.err
29229 rm -f conftest.er1
29230 cat conftest.err >&5
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); } >/dev/null; then
29233 if test -s conftest.err; then
29234 ac_cpp_err=$ac_cxx_preproc_warn_flag
29235 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29236 else
29237 ac_cpp_err=
29238 fi
29239 else
29240 ac_cpp_err=yes
29241 fi
29242 if test -z "$ac_cpp_err"; then
29243 # We can compile using X headers with no special include directory.
29244 ac_x_includes=
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 for ac_dir in $ac_x_header_dirs; do
29250 if test -r "$ac_dir/X11/Xlib.h"; then
29251 ac_x_includes=$ac_dir
29252 break
29253 fi
29254 done
29255 fi
29256 rm -f conftest.err conftest.$ac_ext
29257 fi # $ac_x_includes = no
29258
29259 if test "$ac_x_libraries" = no; then
29260 # Check for the libraries.
29261 # See if we find them without any special options.
29262 # Don't add to $LIBS permanently.
29263 ac_save_LIBS=$LIBS
29264 LIBS="-lX11 $LIBS"
29265 cat >conftest.$ac_ext <<_ACEOF
29266 /* confdefs.h. */
29267 _ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271 #include <X11/Xlib.h>
29272 int
29273 main ()
29274 {
29275 XrmInitialize ()
29276 ;
29277 return 0;
29278 }
29279 _ACEOF
29280 rm -f conftest.$ac_objext conftest$ac_exeext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29282 (eval $ac_link) 2>conftest.er1
29283 ac_status=$?
29284 grep -v '^ *+' conftest.er1 >conftest.err
29285 rm -f conftest.er1
29286 cat conftest.err >&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } &&
29289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try='test -s conftest$ac_exeext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29298 ac_status=$?
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29301 LIBS=$ac_save_LIBS
29302 # We can link X programs with no special library path.
29303 ac_x_libraries=
29304 else
29305 echo "$as_me: failed program was:" >&5
29306 sed 's/^/| /' conftest.$ac_ext >&5
29307
29308 LIBS=$ac_save_LIBS
29309 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29310 do
29311 # Don't even attempt the hair of trying to link an X program!
29312 for ac_extension in a so sl; do
29313 if test -r $ac_dir/libX11.$ac_extension; then
29314 ac_x_libraries=$ac_dir
29315 break 2
29316 fi
29317 done
29318 done
29319 fi
29320 rm -f conftest.err conftest.$ac_objext \
29321 conftest$ac_exeext conftest.$ac_ext
29322 fi # $ac_x_libraries = no
29323
29324 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29325 # Didn't find X anywhere. Cache the known absence of X.
29326 ac_cv_have_x="have_x=no"
29327 else
29328 # Record where we found X for the cache.
29329 ac_cv_have_x="have_x=yes \
29330 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29331 fi
29332 fi
29333
29334 fi
29335 eval "$ac_cv_have_x"
29336 fi # $with_x != no
29337
29338 if test "$have_x" != yes; then
29339 echo "$as_me:$LINENO: result: $have_x" >&5
29340 echo "${ECHO_T}$have_x" >&6
29341 no_x=yes
29342 else
29343 # If each of the values was on the command line, it overrides each guess.
29344 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29345 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29346 # Update the cache value to reflect the command line values.
29347 ac_cv_have_x="have_x=yes \
29348 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29349 # It might be that x_includes is empty (headers are found in the
29350 # standard search path. Then output the corresponding message
29351 ac_out_x_includes=$x_includes
29352 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29353 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29354 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29355 fi
29356
29357 fi
29358 if test "$no_x" = yes; then
29359 # Not all programs may use this symbol, but it does not hurt to define it.
29360
29361 cat >>confdefs.h <<\_ACEOF
29362 #define X_DISPLAY_MISSING 1
29363 _ACEOF
29364
29365 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29366 else
29367 if test -n "$x_includes"; then
29368 X_CFLAGS="$X_CFLAGS -I$x_includes"
29369 fi
29370
29371 # It would also be nice to do this for all -L options, not just this one.
29372 if test -n "$x_libraries"; then
29373 X_LIBS="$X_LIBS -L$x_libraries"
29374 # For Solaris; some versions of Sun CC require a space after -R and
29375 # others require no space. Words are not sufficient . . . .
29376 case `(uname -sr) 2>/dev/null` in
29377 "SunOS 5"*)
29378 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29379 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29380 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29381 cat >conftest.$ac_ext <<_ACEOF
29382 /* confdefs.h. */
29383 _ACEOF
29384 cat confdefs.h >>conftest.$ac_ext
29385 cat >>conftest.$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387
29388 int
29389 main ()
29390 {
29391
29392 ;
29393 return 0;
29394 }
29395 _ACEOF
29396 rm -f conftest.$ac_objext conftest$ac_exeext
29397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29398 (eval $ac_link) 2>conftest.er1
29399 ac_status=$?
29400 grep -v '^ *+' conftest.er1 >conftest.err
29401 rm -f conftest.er1
29402 cat conftest.err >&5
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); } &&
29405 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29407 (eval $ac_try) 2>&5
29408 ac_status=$?
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); }; } &&
29411 { ac_try='test -s conftest$ac_exeext'
29412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29413 (eval $ac_try) 2>&5
29414 ac_status=$?
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); }; }; then
29417 ac_R_nospace=yes
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29421
29422 ac_R_nospace=no
29423 fi
29424 rm -f conftest.err conftest.$ac_objext \
29425 conftest$ac_exeext conftest.$ac_ext
29426 if test $ac_R_nospace = yes; then
29427 echo "$as_me:$LINENO: result: no" >&5
29428 echo "${ECHO_T}no" >&6
29429 X_LIBS="$X_LIBS -R$x_libraries"
29430 else
29431 LIBS="$ac_xsave_LIBS -R $x_libraries"
29432 cat >conftest.$ac_ext <<_ACEOF
29433 /* confdefs.h. */
29434 _ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29438
29439 int
29440 main ()
29441 {
29442
29443 ;
29444 return 0;
29445 }
29446 _ACEOF
29447 rm -f conftest.$ac_objext conftest$ac_exeext
29448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29449 (eval $ac_link) 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } &&
29456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29459 ac_status=$?
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; } &&
29462 { ac_try='test -s conftest$ac_exeext'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29465 ac_status=$?
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; }; then
29468 ac_R_space=yes
29469 else
29470 echo "$as_me: failed program was:" >&5
29471 sed 's/^/| /' conftest.$ac_ext >&5
29472
29473 ac_R_space=no
29474 fi
29475 rm -f conftest.err conftest.$ac_objext \
29476 conftest$ac_exeext conftest.$ac_ext
29477 if test $ac_R_space = yes; then
29478 echo "$as_me:$LINENO: result: yes" >&5
29479 echo "${ECHO_T}yes" >&6
29480 X_LIBS="$X_LIBS -R $x_libraries"
29481 else
29482 echo "$as_me:$LINENO: result: neither works" >&5
29483 echo "${ECHO_T}neither works" >&6
29484 fi
29485 fi
29486 LIBS=$ac_xsave_LIBS
29487 esac
29488 fi
29489
29490 # Check for system-dependent libraries X programs must link with.
29491 # Do this before checking for the system-independent R6 libraries
29492 # (-lICE), since we may need -lsocket or whatever for X linking.
29493
29494 if test "$ISC" = yes; then
29495 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29496 else
29497 # Martyn Johnson says this is needed for Ultrix, if the X
29498 # libraries were built with DECnet support. And Karl Berry says
29499 # the Alpha needs dnet_stub (dnet does not exist).
29500 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29501 cat >conftest.$ac_ext <<_ACEOF
29502 /* confdefs.h. */
29503 _ACEOF
29504 cat confdefs.h >>conftest.$ac_ext
29505 cat >>conftest.$ac_ext <<_ACEOF
29506 /* end confdefs.h. */
29507
29508 /* Override any gcc2 internal prototype to avoid an error. */
29509 #ifdef __cplusplus
29510 extern "C"
29511 #endif
29512 /* We use char because int might match the return type of a gcc2
29513 builtin and then its argument prototype would still apply. */
29514 char XOpenDisplay ();
29515 int
29516 main ()
29517 {
29518 XOpenDisplay ();
29519 ;
29520 return 0;
29521 }
29522 _ACEOF
29523 rm -f conftest.$ac_objext conftest$ac_exeext
29524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29525 (eval $ac_link) 2>conftest.er1
29526 ac_status=$?
29527 grep -v '^ *+' conftest.er1 >conftest.err
29528 rm -f conftest.er1
29529 cat conftest.err >&5
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); } &&
29532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534 (eval $ac_try) 2>&5
29535 ac_status=$?
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; } &&
29538 { ac_try='test -s conftest$ac_exeext'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29541 ac_status=$?
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; }; then
29544 :
29545 else
29546 echo "$as_me: failed program was:" >&5
29547 sed 's/^/| /' conftest.$ac_ext >&5
29548
29549 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29550 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29551 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29552 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 else
29554 ac_check_lib_save_LIBS=$LIBS
29555 LIBS="-ldnet $LIBS"
29556 cat >conftest.$ac_ext <<_ACEOF
29557 /* confdefs.h. */
29558 _ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29562
29563 /* Override any gcc2 internal prototype to avoid an error. */
29564 #ifdef __cplusplus
29565 extern "C"
29566 #endif
29567 /* We use char because int might match the return type of a gcc2
29568 builtin and then its argument prototype would still apply. */
29569 char dnet_ntoa ();
29570 int
29571 main ()
29572 {
29573 dnet_ntoa ();
29574 ;
29575 return 0;
29576 }
29577 _ACEOF
29578 rm -f conftest.$ac_objext conftest$ac_exeext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29580 (eval $ac_link) 2>conftest.er1
29581 ac_status=$?
29582 grep -v '^ *+' conftest.er1 >conftest.err
29583 rm -f conftest.er1
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } &&
29587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29589 (eval $ac_try) 2>&5
29590 ac_status=$?
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); }; } &&
29593 { ac_try='test -s conftest$ac_exeext'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29596 ac_status=$?
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; }; then
29599 ac_cv_lib_dnet_dnet_ntoa=yes
29600 else
29601 echo "$as_me: failed program was:" >&5
29602 sed 's/^/| /' conftest.$ac_ext >&5
29603
29604 ac_cv_lib_dnet_dnet_ntoa=no
29605 fi
29606 rm -f conftest.err conftest.$ac_objext \
29607 conftest$ac_exeext conftest.$ac_ext
29608 LIBS=$ac_check_lib_save_LIBS
29609 fi
29610 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29611 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29612 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29613 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29614 fi
29615
29616 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29617 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29618 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29619 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29620 echo $ECHO_N "(cached) $ECHO_C" >&6
29621 else
29622 ac_check_lib_save_LIBS=$LIBS
29623 LIBS="-ldnet_stub $LIBS"
29624 cat >conftest.$ac_ext <<_ACEOF
29625 /* confdefs.h. */
29626 _ACEOF
29627 cat confdefs.h >>conftest.$ac_ext
29628 cat >>conftest.$ac_ext <<_ACEOF
29629 /* end confdefs.h. */
29630
29631 /* Override any gcc2 internal prototype to avoid an error. */
29632 #ifdef __cplusplus
29633 extern "C"
29634 #endif
29635 /* We use char because int might match the return type of a gcc2
29636 builtin and then its argument prototype would still apply. */
29637 char dnet_ntoa ();
29638 int
29639 main ()
29640 {
29641 dnet_ntoa ();
29642 ;
29643 return 0;
29644 }
29645 _ACEOF
29646 rm -f conftest.$ac_objext conftest$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>conftest.er1
29649 ac_status=$?
29650 grep -v '^ *+' conftest.er1 >conftest.err
29651 rm -f conftest.er1
29652 cat conftest.err >&5
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); } &&
29655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29657 (eval $ac_try) 2>&5
29658 ac_status=$?
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); }; } &&
29661 { ac_try='test -s conftest$ac_exeext'
29662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663 (eval $ac_try) 2>&5
29664 ac_status=$?
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; }; then
29667 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29668 else
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.$ac_ext >&5
29671
29672 ac_cv_lib_dnet_stub_dnet_ntoa=no
29673 fi
29674 rm -f conftest.err conftest.$ac_objext \
29675 conftest$ac_exeext conftest.$ac_ext
29676 LIBS=$ac_check_lib_save_LIBS
29677 fi
29678 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29679 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29680 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29681 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29682 fi
29683
29684 fi
29685 fi
29686 rm -f conftest.err conftest.$ac_objext \
29687 conftest$ac_exeext conftest.$ac_ext
29688 LIBS="$ac_xsave_LIBS"
29689
29690 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29691 # to get the SysV transport functions.
29692 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29693 # needs -lnsl.
29694 # The nsl library prevents programs from opening the X display
29695 # on Irix 5.2, according to T.E. Dickey.
29696 # The functions gethostbyname, getservbyname, and inet_addr are
29697 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29698 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29699 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29700 if test "${ac_cv_func_gethostbyname+set}" = set; then
29701 echo $ECHO_N "(cached) $ECHO_C" >&6
29702 else
29703 cat >conftest.$ac_ext <<_ACEOF
29704 /* confdefs.h. */
29705 _ACEOF
29706 cat confdefs.h >>conftest.$ac_ext
29707 cat >>conftest.$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29709 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29711 #define gethostbyname innocuous_gethostbyname
29712
29713 /* System header to define __stub macros and hopefully few prototypes,
29714 which can conflict with char gethostbyname (); below.
29715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29716 <limits.h> exists even on freestanding compilers. */
29717
29718 #ifdef __STDC__
29719 # include <limits.h>
29720 #else
29721 # include <assert.h>
29722 #endif
29723
29724 #undef gethostbyname
29725
29726 /* Override any gcc2 internal prototype to avoid an error. */
29727 #ifdef __cplusplus
29728 extern "C"
29729 {
29730 #endif
29731 /* We use char because int might match the return type of a gcc2
29732 builtin and then its argument prototype would still apply. */
29733 char gethostbyname ();
29734 /* The GNU C library defines this for functions which it implements
29735 to always fail with ENOSYS. Some functions are actually named
29736 something starting with __ and the normal name is an alias. */
29737 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29738 choke me
29739 #else
29740 char (*f) () = gethostbyname;
29741 #endif
29742 #ifdef __cplusplus
29743 }
29744 #endif
29745
29746 int
29747 main ()
29748 {
29749 return f != gethostbyname;
29750 ;
29751 return 0;
29752 }
29753 _ACEOF
29754 rm -f conftest.$ac_objext conftest$ac_exeext
29755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29756 (eval $ac_link) 2>conftest.er1
29757 ac_status=$?
29758 grep -v '^ *+' conftest.er1 >conftest.err
29759 rm -f conftest.er1
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } &&
29763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29765 (eval $ac_try) 2>&5
29766 ac_status=$?
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); }; } &&
29769 { ac_try='test -s conftest$ac_exeext'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29772 ac_status=$?
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; }; then
29775 ac_cv_func_gethostbyname=yes
29776 else
29777 echo "$as_me: failed program was:" >&5
29778 sed 's/^/| /' conftest.$ac_ext >&5
29779
29780 ac_cv_func_gethostbyname=no
29781 fi
29782 rm -f conftest.err conftest.$ac_objext \
29783 conftest$ac_exeext conftest.$ac_ext
29784 fi
29785 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29786 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29787
29788 if test $ac_cv_func_gethostbyname = no; then
29789 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29790 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29791 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29793 else
29794 ac_check_lib_save_LIBS=$LIBS
29795 LIBS="-lnsl $LIBS"
29796 cat >conftest.$ac_ext <<_ACEOF
29797 /* confdefs.h. */
29798 _ACEOF
29799 cat confdefs.h >>conftest.$ac_ext
29800 cat >>conftest.$ac_ext <<_ACEOF
29801 /* end confdefs.h. */
29802
29803 /* Override any gcc2 internal prototype to avoid an error. */
29804 #ifdef __cplusplus
29805 extern "C"
29806 #endif
29807 /* We use char because int might match the return type of a gcc2
29808 builtin and then its argument prototype would still apply. */
29809 char gethostbyname ();
29810 int
29811 main ()
29812 {
29813 gethostbyname ();
29814 ;
29815 return 0;
29816 }
29817 _ACEOF
29818 rm -f conftest.$ac_objext conftest$ac_exeext
29819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29820 (eval $ac_link) 2>conftest.er1
29821 ac_status=$?
29822 grep -v '^ *+' conftest.er1 >conftest.err
29823 rm -f conftest.er1
29824 cat conftest.err >&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); } &&
29827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29829 (eval $ac_try) 2>&5
29830 ac_status=$?
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); }; } &&
29833 { ac_try='test -s conftest$ac_exeext'
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29836 ac_status=$?
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; }; then
29839 ac_cv_lib_nsl_gethostbyname=yes
29840 else
29841 echo "$as_me: failed program was:" >&5
29842 sed 's/^/| /' conftest.$ac_ext >&5
29843
29844 ac_cv_lib_nsl_gethostbyname=no
29845 fi
29846 rm -f conftest.err conftest.$ac_objext \
29847 conftest$ac_exeext conftest.$ac_ext
29848 LIBS=$ac_check_lib_save_LIBS
29849 fi
29850 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29851 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29852 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29853 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29854 fi
29855
29856 if test $ac_cv_lib_nsl_gethostbyname = no; then
29857 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29858 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29859 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29860 echo $ECHO_N "(cached) $ECHO_C" >&6
29861 else
29862 ac_check_lib_save_LIBS=$LIBS
29863 LIBS="-lbsd $LIBS"
29864 cat >conftest.$ac_ext <<_ACEOF
29865 /* confdefs.h. */
29866 _ACEOF
29867 cat confdefs.h >>conftest.$ac_ext
29868 cat >>conftest.$ac_ext <<_ACEOF
29869 /* end confdefs.h. */
29870
29871 /* Override any gcc2 internal prototype to avoid an error. */
29872 #ifdef __cplusplus
29873 extern "C"
29874 #endif
29875 /* We use char because int might match the return type of a gcc2
29876 builtin and then its argument prototype would still apply. */
29877 char gethostbyname ();
29878 int
29879 main ()
29880 {
29881 gethostbyname ();
29882 ;
29883 return 0;
29884 }
29885 _ACEOF
29886 rm -f conftest.$ac_objext conftest$ac_exeext
29887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29888 (eval $ac_link) 2>conftest.er1
29889 ac_status=$?
29890 grep -v '^ *+' conftest.er1 >conftest.err
29891 rm -f conftest.er1
29892 cat conftest.err >&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); } &&
29895 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29897 (eval $ac_try) 2>&5
29898 ac_status=$?
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); }; } &&
29901 { ac_try='test -s conftest$ac_exeext'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29904 ac_status=$?
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; }; then
29907 ac_cv_lib_bsd_gethostbyname=yes
29908 else
29909 echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29911
29912 ac_cv_lib_bsd_gethostbyname=no
29913 fi
29914 rm -f conftest.err conftest.$ac_objext \
29915 conftest$ac_exeext conftest.$ac_ext
29916 LIBS=$ac_check_lib_save_LIBS
29917 fi
29918 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29919 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29920 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29921 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29922 fi
29923
29924 fi
29925 fi
29926
29927 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29928 # socket/setsockopt and other routines are undefined under SCO ODT
29929 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29930 # on later versions), says Simon Leinen: it contains gethostby*
29931 # variants that don't use the name server (or something). -lsocket
29932 # must be given before -lnsl if both are needed. We assume that
29933 # if connect needs -lnsl, so does gethostbyname.
29934 echo "$as_me:$LINENO: checking for connect" >&5
29935 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29936 if test "${ac_cv_func_connect+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
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 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29947 #define connect innocuous_connect
29948
29949 /* System header to define __stub macros and hopefully few prototypes,
29950 which can conflict with char connect (); below.
29951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29952 <limits.h> exists even on freestanding compilers. */
29953
29954 #ifdef __STDC__
29955 # include <limits.h>
29956 #else
29957 # include <assert.h>
29958 #endif
29959
29960 #undef connect
29961
29962 /* Override any gcc2 internal prototype to avoid an error. */
29963 #ifdef __cplusplus
29964 extern "C"
29965 {
29966 #endif
29967 /* We use char because int might match the return type of a gcc2
29968 builtin and then its argument prototype would still apply. */
29969 char connect ();
29970 /* The GNU C library defines this for functions which it implements
29971 to always fail with ENOSYS. Some functions are actually named
29972 something starting with __ and the normal name is an alias. */
29973 #if defined (__stub_connect) || defined (__stub___connect)
29974 choke me
29975 #else
29976 char (*f) () = connect;
29977 #endif
29978 #ifdef __cplusplus
29979 }
29980 #endif
29981
29982 int
29983 main ()
29984 {
29985 return f != connect;
29986 ;
29987 return 0;
29988 }
29989 _ACEOF
29990 rm -f conftest.$ac_objext conftest$ac_exeext
29991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29992 (eval $ac_link) 2>conftest.er1
29993 ac_status=$?
29994 grep -v '^ *+' conftest.er1 >conftest.err
29995 rm -f conftest.er1
29996 cat conftest.err >&5
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); } &&
29999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30001 (eval $ac_try) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); }; } &&
30005 { ac_try='test -s conftest$ac_exeext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011 ac_cv_func_connect=yes
30012 else
30013 echo "$as_me: failed program was:" >&5
30014 sed 's/^/| /' conftest.$ac_ext >&5
30015
30016 ac_cv_func_connect=no
30017 fi
30018 rm -f conftest.err conftest.$ac_objext \
30019 conftest$ac_exeext conftest.$ac_ext
30020 fi
30021 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30022 echo "${ECHO_T}$ac_cv_func_connect" >&6
30023
30024 if test $ac_cv_func_connect = no; then
30025 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30026 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30027 if test "${ac_cv_lib_socket_connect+set}" = set; then
30028 echo $ECHO_N "(cached) $ECHO_C" >&6
30029 else
30030 ac_check_lib_save_LIBS=$LIBS
30031 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30032 cat >conftest.$ac_ext <<_ACEOF
30033 /* confdefs.h. */
30034 _ACEOF
30035 cat confdefs.h >>conftest.$ac_ext
30036 cat >>conftest.$ac_ext <<_ACEOF
30037 /* end confdefs.h. */
30038
30039 /* Override any gcc2 internal prototype to avoid an error. */
30040 #ifdef __cplusplus
30041 extern "C"
30042 #endif
30043 /* We use char because int might match the return type of a gcc2
30044 builtin and then its argument prototype would still apply. */
30045 char connect ();
30046 int
30047 main ()
30048 {
30049 connect ();
30050 ;
30051 return 0;
30052 }
30053 _ACEOF
30054 rm -f conftest.$ac_objext conftest$ac_exeext
30055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30056 (eval $ac_link) 2>conftest.er1
30057 ac_status=$?
30058 grep -v '^ *+' conftest.er1 >conftest.err
30059 rm -f conftest.er1
30060 cat conftest.err >&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); } &&
30063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30065 (eval $ac_try) 2>&5
30066 ac_status=$?
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); }; } &&
30069 { ac_try='test -s conftest$ac_exeext'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30072 ac_status=$?
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; }; then
30075 ac_cv_lib_socket_connect=yes
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 ac_cv_lib_socket_connect=no
30081 fi
30082 rm -f conftest.err conftest.$ac_objext \
30083 conftest$ac_exeext conftest.$ac_ext
30084 LIBS=$ac_check_lib_save_LIBS
30085 fi
30086 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30087 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30088 if test $ac_cv_lib_socket_connect = yes; then
30089 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30090 fi
30091
30092 fi
30093
30094 # Guillermo Gomez says -lposix is necessary on A/UX.
30095 echo "$as_me:$LINENO: checking for remove" >&5
30096 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30097 if test "${ac_cv_func_remove+set}" = set; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30099 else
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30108 #define remove innocuous_remove
30109
30110 /* System header to define __stub macros and hopefully few prototypes,
30111 which can conflict with char remove (); below.
30112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30113 <limits.h> exists even on freestanding compilers. */
30114
30115 #ifdef __STDC__
30116 # include <limits.h>
30117 #else
30118 # include <assert.h>
30119 #endif
30120
30121 #undef remove
30122
30123 /* Override any gcc2 internal prototype to avoid an error. */
30124 #ifdef __cplusplus
30125 extern "C"
30126 {
30127 #endif
30128 /* We use char because int might match the return type of a gcc2
30129 builtin and then its argument prototype would still apply. */
30130 char remove ();
30131 /* The GNU C library defines this for functions which it implements
30132 to always fail with ENOSYS. Some functions are actually named
30133 something starting with __ and the normal name is an alias. */
30134 #if defined (__stub_remove) || defined (__stub___remove)
30135 choke me
30136 #else
30137 char (*f) () = remove;
30138 #endif
30139 #ifdef __cplusplus
30140 }
30141 #endif
30142
30143 int
30144 main ()
30145 {
30146 return f != remove;
30147 ;
30148 return 0;
30149 }
30150 _ACEOF
30151 rm -f conftest.$ac_objext conftest$ac_exeext
30152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30153 (eval $ac_link) 2>conftest.er1
30154 ac_status=$?
30155 grep -v '^ *+' conftest.er1 >conftest.err
30156 rm -f conftest.er1
30157 cat conftest.err >&5
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); } &&
30160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162 (eval $ac_try) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; } &&
30166 { ac_try='test -s conftest$ac_exeext'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; }; then
30172 ac_cv_func_remove=yes
30173 else
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.$ac_ext >&5
30176
30177 ac_cv_func_remove=no
30178 fi
30179 rm -f conftest.err conftest.$ac_objext \
30180 conftest$ac_exeext conftest.$ac_ext
30181 fi
30182 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30183 echo "${ECHO_T}$ac_cv_func_remove" >&6
30184
30185 if test $ac_cv_func_remove = no; then
30186 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30187 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30188 if test "${ac_cv_lib_posix_remove+set}" = set; then
30189 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 else
30191 ac_check_lib_save_LIBS=$LIBS
30192 LIBS="-lposix $LIBS"
30193 cat >conftest.$ac_ext <<_ACEOF
30194 /* confdefs.h. */
30195 _ACEOF
30196 cat confdefs.h >>conftest.$ac_ext
30197 cat >>conftest.$ac_ext <<_ACEOF
30198 /* end confdefs.h. */
30199
30200 /* Override any gcc2 internal prototype to avoid an error. */
30201 #ifdef __cplusplus
30202 extern "C"
30203 #endif
30204 /* We use char because int might match the return type of a gcc2
30205 builtin and then its argument prototype would still apply. */
30206 char remove ();
30207 int
30208 main ()
30209 {
30210 remove ();
30211 ;
30212 return 0;
30213 }
30214 _ACEOF
30215 rm -f conftest.$ac_objext conftest$ac_exeext
30216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30217 (eval $ac_link) 2>conftest.er1
30218 ac_status=$?
30219 grep -v '^ *+' conftest.er1 >conftest.err
30220 rm -f conftest.er1
30221 cat conftest.err >&5
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); } &&
30224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30226 (eval $ac_try) 2>&5
30227 ac_status=$?
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); }; } &&
30230 { ac_try='test -s conftest$ac_exeext'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30233 ac_status=$?
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; }; then
30236 ac_cv_lib_posix_remove=yes
30237 else
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.$ac_ext >&5
30240
30241 ac_cv_lib_posix_remove=no
30242 fi
30243 rm -f conftest.err conftest.$ac_objext \
30244 conftest$ac_exeext conftest.$ac_ext
30245 LIBS=$ac_check_lib_save_LIBS
30246 fi
30247 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30248 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30249 if test $ac_cv_lib_posix_remove = yes; then
30250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30251 fi
30252
30253 fi
30254
30255 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30256 echo "$as_me:$LINENO: checking for shmat" >&5
30257 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30258 if test "${ac_cv_func_shmat+set}" = set; then
30259 echo $ECHO_N "(cached) $ECHO_C" >&6
30260 else
30261 cat >conftest.$ac_ext <<_ACEOF
30262 /* confdefs.h. */
30263 _ACEOF
30264 cat confdefs.h >>conftest.$ac_ext
30265 cat >>conftest.$ac_ext <<_ACEOF
30266 /* end confdefs.h. */
30267 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30269 #define shmat innocuous_shmat
30270
30271 /* System header to define __stub macros and hopefully few prototypes,
30272 which can conflict with char shmat (); below.
30273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30274 <limits.h> exists even on freestanding compilers. */
30275
30276 #ifdef __STDC__
30277 # include <limits.h>
30278 #else
30279 # include <assert.h>
30280 #endif
30281
30282 #undef shmat
30283
30284 /* Override any gcc2 internal prototype to avoid an error. */
30285 #ifdef __cplusplus
30286 extern "C"
30287 {
30288 #endif
30289 /* We use char because int might match the return type of a gcc2
30290 builtin and then its argument prototype would still apply. */
30291 char shmat ();
30292 /* The GNU C library defines this for functions which it implements
30293 to always fail with ENOSYS. Some functions are actually named
30294 something starting with __ and the normal name is an alias. */
30295 #if defined (__stub_shmat) || defined (__stub___shmat)
30296 choke me
30297 #else
30298 char (*f) () = shmat;
30299 #endif
30300 #ifdef __cplusplus
30301 }
30302 #endif
30303
30304 int
30305 main ()
30306 {
30307 return f != shmat;
30308 ;
30309 return 0;
30310 }
30311 _ACEOF
30312 rm -f conftest.$ac_objext conftest$ac_exeext
30313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30314 (eval $ac_link) 2>conftest.er1
30315 ac_status=$?
30316 grep -v '^ *+' conftest.er1 >conftest.err
30317 rm -f conftest.er1
30318 cat conftest.err >&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); } &&
30321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30323 (eval $ac_try) 2>&5
30324 ac_status=$?
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); }; } &&
30327 { ac_try='test -s conftest$ac_exeext'
30328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30329 (eval $ac_try) 2>&5
30330 ac_status=$?
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); }; }; then
30333 ac_cv_func_shmat=yes
30334 else
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.$ac_ext >&5
30337
30338 ac_cv_func_shmat=no
30339 fi
30340 rm -f conftest.err conftest.$ac_objext \
30341 conftest$ac_exeext conftest.$ac_ext
30342 fi
30343 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30344 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30345
30346 if test $ac_cv_func_shmat = no; then
30347 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30348 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30349 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30351 else
30352 ac_check_lib_save_LIBS=$LIBS
30353 LIBS="-lipc $LIBS"
30354 cat >conftest.$ac_ext <<_ACEOF
30355 /* confdefs.h. */
30356 _ACEOF
30357 cat confdefs.h >>conftest.$ac_ext
30358 cat >>conftest.$ac_ext <<_ACEOF
30359 /* end confdefs.h. */
30360
30361 /* Override any gcc2 internal prototype to avoid an error. */
30362 #ifdef __cplusplus
30363 extern "C"
30364 #endif
30365 /* We use char because int might match the return type of a gcc2
30366 builtin and then its argument prototype would still apply. */
30367 char shmat ();
30368 int
30369 main ()
30370 {
30371 shmat ();
30372 ;
30373 return 0;
30374 }
30375 _ACEOF
30376 rm -f conftest.$ac_objext conftest$ac_exeext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30378 (eval $ac_link) 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30388 ac_status=$?
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; } &&
30391 { ac_try='test -s conftest$ac_exeext'
30392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393 (eval $ac_try) 2>&5
30394 ac_status=$?
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); }; }; then
30397 ac_cv_lib_ipc_shmat=yes
30398 else
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30401
30402 ac_cv_lib_ipc_shmat=no
30403 fi
30404 rm -f conftest.err conftest.$ac_objext \
30405 conftest$ac_exeext conftest.$ac_ext
30406 LIBS=$ac_check_lib_save_LIBS
30407 fi
30408 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30409 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30410 if test $ac_cv_lib_ipc_shmat = yes; then
30411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30412 fi
30413
30414 fi
30415 fi
30416
30417 # Check for libraries that X11R6 Xt/Xaw programs need.
30418 ac_save_LDFLAGS=$LDFLAGS
30419 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30420 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30421 # check for ICE first), but we must link in the order -lSM -lICE or
30422 # we get undefined symbols. So assume we have SM if we have ICE.
30423 # These have to be linked with before -lX11, unlike the other
30424 # libraries we check for below, so use a different variable.
30425 # John Interrante, Karl Berry
30426 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30427 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30428 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30429 echo $ECHO_N "(cached) $ECHO_C" >&6
30430 else
30431 ac_check_lib_save_LIBS=$LIBS
30432 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30433 cat >conftest.$ac_ext <<_ACEOF
30434 /* confdefs.h. */
30435 _ACEOF
30436 cat confdefs.h >>conftest.$ac_ext
30437 cat >>conftest.$ac_ext <<_ACEOF
30438 /* end confdefs.h. */
30439
30440 /* Override any gcc2 internal prototype to avoid an error. */
30441 #ifdef __cplusplus
30442 extern "C"
30443 #endif
30444 /* We use char because int might match the return type of a gcc2
30445 builtin and then its argument prototype would still apply. */
30446 char IceConnectionNumber ();
30447 int
30448 main ()
30449 {
30450 IceConnectionNumber ();
30451 ;
30452 return 0;
30453 }
30454 _ACEOF
30455 rm -f conftest.$ac_objext conftest$ac_exeext
30456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30457 (eval $ac_link) 2>conftest.er1
30458 ac_status=$?
30459 grep -v '^ *+' conftest.er1 >conftest.err
30460 rm -f conftest.er1
30461 cat conftest.err >&5
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); } &&
30464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30466 (eval $ac_try) 2>&5
30467 ac_status=$?
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); }; } &&
30470 { ac_try='test -s conftest$ac_exeext'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30473 ac_status=$?
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; }; then
30476 ac_cv_lib_ICE_IceConnectionNumber=yes
30477 else
30478 echo "$as_me: failed program was:" >&5
30479 sed 's/^/| /' conftest.$ac_ext >&5
30480
30481 ac_cv_lib_ICE_IceConnectionNumber=no
30482 fi
30483 rm -f conftest.err conftest.$ac_objext \
30484 conftest$ac_exeext conftest.$ac_ext
30485 LIBS=$ac_check_lib_save_LIBS
30486 fi
30487 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30488 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30489 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30490 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30491 fi
30492
30493 LDFLAGS=$ac_save_LDFLAGS
30494
30495 fi
30496
30497
30498 if test "$no_x" = "yes"; then
30499 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30500 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30501 { (exit 1); exit 1; }; }
30502 fi
30503
30504 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30505 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30506 AFMINSTALL=afminstall
30507 COMPILED_X_PROGRAM=0
30508
30509 fi
30510
30511 if test "$wxUSE_X11" = 1; then
30512 if test "$wxUSE_NANOX" = "yes"; then
30513 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30514 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30515 if test "x$MICROWIN" = x ; then
30516 echo "$as_me:$LINENO: result: not found" >&5
30517 echo "${ECHO_T}not found" >&6
30518 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30519 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30520 { (exit 1); exit 1; }; }
30521 else
30522 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30523 echo "${ECHO_T}$MICROWIN" >&6
30524 cat >>confdefs.h <<\_ACEOF
30525 #define wxUSE_NANOX 1
30526 _ACEOF
30527
30528 fi
30529 fi
30530
30531 if test "$wxUSE_UNICODE" = "yes"; then
30532
30533 pkg_failed=no
30534 echo "$as_me:$LINENO: checking for PANGOX" >&5
30535 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30536
30537 if test -n "$PKG_CONFIG"; then
30538 if test -n "$PANGOX_CFLAGS"; then
30539 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30540 else
30541 if test -n "$PKG_CONFIG" && \
30542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30543 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30544 ac_status=$?
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; then
30547 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30548 else
30549 pkg_failed=yes
30550 fi
30551 fi
30552 else
30553 pkg_failed=untried
30554 fi
30555 if test -n "$PKG_CONFIG"; then
30556 if test -n "$PANGOX_LIBS"; then
30557 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30558 else
30559 if test -n "$PKG_CONFIG" && \
30560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30561 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; then
30565 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30566 else
30567 pkg_failed=yes
30568 fi
30569 fi
30570 else
30571 pkg_failed=untried
30572 fi
30573
30574
30575
30576 if test $pkg_failed = yes; then
30577
30578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30579 _pkg_short_errors_supported=yes
30580 else
30581 _pkg_short_errors_supported=no
30582 fi
30583 if test $_pkg_short_errors_supported = yes; then
30584 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30585 else
30586 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30587 fi
30588 # Put the nasty error message in config.log where it belongs
30589 echo "$PANGOX_PKG_ERRORS" >&5
30590
30591
30592 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30593 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30594 { (exit 1); exit 1; }; }
30595
30596
30597 elif test $pkg_failed = untried; then
30598
30599 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30600 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30601 { (exit 1); exit 1; }; }
30602
30603
30604 else
30605 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30606 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30607 echo "$as_me:$LINENO: result: yes" >&5
30608 echo "${ECHO_T}yes" >&6
30609
30610 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30611 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30612
30613 fi
30614
30615 pkg_failed=no
30616 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30617 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30618
30619 if test -n "$PKG_CONFIG"; then
30620 if test -n "$PANGOFT2_CFLAGS"; then
30621 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30622 else
30623 if test -n "$PKG_CONFIG" && \
30624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30625 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30626 ac_status=$?
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); }; then
30629 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30630 else
30631 pkg_failed=yes
30632 fi
30633 fi
30634 else
30635 pkg_failed=untried
30636 fi
30637 if test -n "$PKG_CONFIG"; then
30638 if test -n "$PANGOFT2_LIBS"; then
30639 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30640 else
30641 if test -n "$PKG_CONFIG" && \
30642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30643 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30644 ac_status=$?
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); }; then
30647 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30648 else
30649 pkg_failed=yes
30650 fi
30651 fi
30652 else
30653 pkg_failed=untried
30654 fi
30655
30656
30657
30658 if test $pkg_failed = yes; then
30659
30660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30661 _pkg_short_errors_supported=yes
30662 else
30663 _pkg_short_errors_supported=no
30664 fi
30665 if test $_pkg_short_errors_supported = yes; then
30666 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30667 else
30668 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30669 fi
30670 # Put the nasty error message in config.log where it belongs
30671 echo "$PANGOFT2_PKG_ERRORS" >&5
30672
30673
30674 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30675 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30676 wxUSE_PRINTING_ARCHITECTURE="no"
30677
30678
30679 elif test $pkg_failed = untried; then
30680
30681 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30682 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30683 wxUSE_PRINTING_ARCHITECTURE="no"
30684
30685
30686 else
30687 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30688 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30689 echo "$as_me:$LINENO: result: yes" >&5
30690 echo "${ECHO_T}yes" >&6
30691
30692 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30693 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30694
30695 fi
30696
30697 pkg_failed=no
30698 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30699 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30700
30701 if test -n "$PKG_CONFIG"; then
30702 if test -n "$PANGOXFT_CFLAGS"; then
30703 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30704 else
30705 if test -n "$PKG_CONFIG" && \
30706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30707 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30708 ac_status=$?
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; then
30711 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30712 else
30713 pkg_failed=yes
30714 fi
30715 fi
30716 else
30717 pkg_failed=untried
30718 fi
30719 if test -n "$PKG_CONFIG"; then
30720 if test -n "$PANGOXFT_LIBS"; then
30721 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30722 else
30723 if test -n "$PKG_CONFIG" && \
30724 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30725 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30726 ac_status=$?
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; then
30729 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30730 else
30731 pkg_failed=yes
30732 fi
30733 fi
30734 else
30735 pkg_failed=untried
30736 fi
30737
30738
30739
30740 if test $pkg_failed = yes; then
30741
30742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30743 _pkg_short_errors_supported=yes
30744 else
30745 _pkg_short_errors_supported=no
30746 fi
30747 if test $_pkg_short_errors_supported = yes; then
30748 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30749 else
30750 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30751 fi
30752 # Put the nasty error message in config.log where it belongs
30753 echo "$PANGOXFT_PKG_ERRORS" >&5
30754
30755
30756 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30757 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30758
30759
30760 elif test $pkg_failed = untried; then
30761
30762 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30763 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30764
30765
30766 else
30767 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30768 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30769 echo "$as_me:$LINENO: result: yes" >&5
30770 echo "${ECHO_T}yes" >&6
30771
30772 cat >>confdefs.h <<\_ACEOF
30773 #define HAVE_PANGO_XFT 1
30774 _ACEOF
30775
30776 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30777 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30778
30779 fi
30780 save_CXXFLAGS="$CXXFLAGS"
30781 save_LIBS="$LIBS"
30782 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30783 LIBS="$LIBS $PANGOX_LIBS"
30784
30785 for ac_func in pango_font_family_is_monospace
30786 do
30787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30788 echo "$as_me:$LINENO: checking for $ac_func" >&5
30789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30790 if eval "test \"\${$as_ac_var+set}\" = set"; then
30791 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 else
30793 cat >conftest.$ac_ext <<_ACEOF
30794 /* confdefs.h. */
30795 _ACEOF
30796 cat confdefs.h >>conftest.$ac_ext
30797 cat >>conftest.$ac_ext <<_ACEOF
30798 /* end confdefs.h. */
30799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30801 #define $ac_func innocuous_$ac_func
30802
30803 /* System header to define __stub macros and hopefully few prototypes,
30804 which can conflict with char $ac_func (); below.
30805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30806 <limits.h> exists even on freestanding compilers. */
30807
30808 #ifdef __STDC__
30809 # include <limits.h>
30810 #else
30811 # include <assert.h>
30812 #endif
30813
30814 #undef $ac_func
30815
30816 /* Override any gcc2 internal prototype to avoid an error. */
30817 #ifdef __cplusplus
30818 extern "C"
30819 {
30820 #endif
30821 /* We use char because int might match the return type of a gcc2
30822 builtin and then its argument prototype would still apply. */
30823 char $ac_func ();
30824 /* The GNU C library defines this for functions which it implements
30825 to always fail with ENOSYS. Some functions are actually named
30826 something starting with __ and the normal name is an alias. */
30827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30828 choke me
30829 #else
30830 char (*f) () = $ac_func;
30831 #endif
30832 #ifdef __cplusplus
30833 }
30834 #endif
30835
30836 int
30837 main ()
30838 {
30839 return f != $ac_func;
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30846 (eval $ac_link) 2>conftest.er1
30847 ac_status=$?
30848 grep -v '^ *+' conftest.er1 >conftest.err
30849 rm -f conftest.er1
30850 cat conftest.err >&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); } &&
30853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30855 (eval $ac_try) 2>&5
30856 ac_status=$?
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); }; } &&
30859 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
30865 eval "$as_ac_var=yes"
30866 else
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.$ac_ext >&5
30869
30870 eval "$as_ac_var=no"
30871 fi
30872 rm -f conftest.err conftest.$ac_objext \
30873 conftest$ac_exeext conftest.$ac_ext
30874 fi
30875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30877 if test `eval echo '${'$as_ac_var'}'` = yes; then
30878 cat >>confdefs.h <<_ACEOF
30879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30880 _ACEOF
30881
30882 fi
30883 done
30884
30885 CXXFLAGS="$save_CXXFLAGS"
30886 LIBS="$save_LIBS"
30887 fi
30888
30889 wxUSE_UNIVERSAL="yes"
30890
30891 if test "$wxUSE_NANOX" = "yes"; then
30892 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30893 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"
30894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30895 else
30896 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30897 fi
30898
30899 TOOLKIT=X11
30900 GUIDIST=X11_DIST
30901 fi
30902
30903 if test "$wxUSE_MOTIF" = 1; then
30904 if test "$wxUSE_UNICODE" = "yes"; then
30905 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30906 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30907 { (exit 1); exit 1; }; }
30908 fi
30909
30910 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30911 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30912
30913 ac_find_includes=
30914 for ac_dir in $SEARCH_INCLUDE /usr/include;
30915 do
30916 if test -f "$ac_dir/Xm/Xm.h"; then
30917 ac_find_includes=$ac_dir
30918 break
30919 fi
30920 done
30921
30922 if test "$ac_find_includes" != "" ; then
30923 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30924 echo "${ECHO_T}found in $ac_find_includes" >&6
30925
30926 if test "x$ac_find_includes" = "x/usr/include"; then
30927 ac_path_to_include=""
30928 else
30929 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30930 result=$?
30931 if test $result = 0; then
30932 ac_path_to_include=""
30933 else
30934 ac_path_to_include=" -I$ac_find_includes"
30935 fi
30936 fi
30937
30938 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30939 else
30940 save_CXXFLAGS=$CXXFLAGS
30941 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30942
30943 cat >conftest.$ac_ext <<_ACEOF
30944 /* confdefs.h. */
30945 _ACEOF
30946 cat confdefs.h >>conftest.$ac_ext
30947 cat >>conftest.$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30949
30950 #include <Xm/Xm.h>
30951
30952 int
30953 main ()
30954 {
30955
30956 int version;
30957 version = xmUseVersion;
30958
30959 ;
30960 return 0;
30961 }
30962 _ACEOF
30963 rm -f conftest.$ac_objext
30964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30965 (eval $ac_compile) 2>conftest.er1
30966 ac_status=$?
30967 grep -v '^ *+' conftest.er1 >conftest.err
30968 rm -f conftest.er1
30969 cat conftest.err >&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); } &&
30972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30974 (eval $ac_try) 2>&5
30975 ac_status=$?
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); }; } &&
30978 { ac_try='test -s conftest.$ac_objext'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30981 ac_status=$?
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; }; then
30984
30985 echo "$as_me:$LINENO: result: found in default search path" >&5
30986 echo "${ECHO_T}found in default search path" >&6
30987 COMPILED_X_PROGRAM=1
30988
30989 else
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30992
30993
30994 echo "$as_me:$LINENO: result: no" >&5
30995 echo "${ECHO_T}no" >&6
30996 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30997 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30998 { (exit 1); exit 1; }; }
30999
31000
31001 fi
31002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31003
31004 CXXFLAGS=$save_CXXFLAGS
31005 fi
31006
31007
31008 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31009 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31010
31011 ac_find_libraries=
31012 for ac_dir in $SEARCH_LIB;
31013 do
31014 for ac_extension in a so sl dylib dll.a; do
31015 if test -f "$ac_dir/libXm.$ac_extension"; then
31016 ac_find_libraries=$ac_dir
31017 break 2
31018 fi
31019 done
31020 done
31021
31022
31023 if test "x$ac_find_libraries" != "x" ; then
31024 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31025 echo "${ECHO_T}found in $ac_find_libraries" >&6
31026
31027
31028 if test "$ac_find_libraries" = "default location"; then
31029 ac_path_to_link=""
31030 else
31031 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31032 result=$?
31033 if test $result = 0; then
31034 ac_path_to_link=""
31035 else
31036 ac_path_to_link=" -L$ac_find_libraries"
31037 fi
31038 fi
31039
31040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31041 else
31042 save_CXXFLAGS=$CXXFLAGS
31043 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31044 save_LIBS="$LIBS"
31045 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31046
31047 cat >conftest.$ac_ext <<_ACEOF
31048 /* confdefs.h. */
31049 _ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31053
31054 #include <Xm/Xm.h>
31055
31056 int
31057 main ()
31058 {
31059
31060 int version;
31061 version = xmUseVersion;
31062
31063 ;
31064 return 0;
31065 }
31066 _ACEOF
31067 rm -f conftest.$ac_objext conftest$ac_exeext
31068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31069 (eval $ac_link) 2>conftest.er1
31070 ac_status=$?
31071 grep -v '^ *+' conftest.er1 >conftest.err
31072 rm -f conftest.er1
31073 cat conftest.err >&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); } &&
31076 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; } &&
31082 { ac_try='test -s conftest$ac_exeext'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; }; then
31088
31089 echo "$as_me:$LINENO: result: found in default search path" >&5
31090 echo "${ECHO_T}found in default search path" >&6
31091 COMPILED_X_PROGRAM=1
31092
31093 else
31094 echo "$as_me: failed program was:" >&5
31095 sed 's/^/| /' conftest.$ac_ext >&5
31096
31097
31098 echo "$as_me:$LINENO: result: no" >&5
31099 echo "${ECHO_T}no" >&6
31100 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31101 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31102 { (exit 1); exit 1; }; }
31103
31104
31105 fi
31106 rm -f conftest.err conftest.$ac_objext \
31107 conftest$ac_exeext conftest.$ac_ext
31108
31109 CXXFLAGS=$save_CXXFLAGS
31110 LIBS="$save_LIBS"
31111 fi
31112
31113 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31114 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31115 libp_link=""
31116 libsm_ice_link=""
31117 libs_found=0
31118 for libp in "" " -lXp"; do
31119 if test "$libs_found" = "0"; then
31120 for libsm_ice in "" " -lSM -lICE"; do
31121 if test "$libs_found" = "0"; then
31122 save_LIBS="$LIBS"
31123 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31124 save_CXXFLAGS=$CXXFLAGS
31125 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31126
31127 cat >conftest.$ac_ext <<_ACEOF
31128 /* confdefs.h. */
31129 _ACEOF
31130 cat confdefs.h >>conftest.$ac_ext
31131 cat >>conftest.$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31133
31134 #include <Xm/Xm.h>
31135 #include <Xm/List.h>
31136
31137 int
31138 main ()
31139 {
31140
31141 XmString string = NULL;
31142 Widget w = NULL;
31143 int position = 0;
31144 XmListAddItem(w, string, position);
31145
31146 ;
31147 return 0;
31148 }
31149 _ACEOF
31150 rm -f conftest.$ac_objext conftest$ac_exeext
31151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31152 (eval $ac_link) 2>conftest.er1
31153 ac_status=$?
31154 grep -v '^ *+' conftest.er1 >conftest.err
31155 rm -f conftest.er1
31156 cat conftest.err >&5
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); } &&
31159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31162 ac_status=$?
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; } &&
31165 { ac_try='test -s conftest$ac_exeext'
31166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31167 (eval $ac_try) 2>&5
31168 ac_status=$?
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; }; then
31171
31172 libp_link="$libp"
31173 libsm_ice_link="$libsm_ice"
31174 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31175 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31176 libs_found=1
31177
31178 else
31179 echo "$as_me: failed program was:" >&5
31180 sed 's/^/| /' conftest.$ac_ext >&5
31181
31182
31183
31184 fi
31185 rm -f conftest.err conftest.$ac_objext \
31186 conftest$ac_exeext conftest.$ac_ext
31187
31188 LIBS="$save_LIBS"
31189 CXXFLAGS=$save_CXXFLAGS
31190 fi
31191 done
31192 fi
31193 done
31194
31195 if test "$libs_found" = "0"; then
31196 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31197 echo "${ECHO_T}can't find the right libraries" >&6
31198 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31199 echo "$as_me: error: can't link a simple motif program" >&2;}
31200 { (exit 1); exit 1; }; }
31201 fi
31202
31203 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31204 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31205 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 else
31208 ac_check_lib_save_LIBS=$LIBS
31209 LIBS="-lSgm $LIBS"
31210 cat >conftest.$ac_ext <<_ACEOF
31211 /* confdefs.h. */
31212 _ACEOF
31213 cat confdefs.h >>conftest.$ac_ext
31214 cat >>conftest.$ac_ext <<_ACEOF
31215 /* end confdefs.h. */
31216
31217 /* Override any gcc2 internal prototype to avoid an error. */
31218 #ifdef __cplusplus
31219 extern "C"
31220 #endif
31221 /* We use char because int might match the return type of a gcc2
31222 builtin and then its argument prototype would still apply. */
31223 char SgCreateList ();
31224 int
31225 main ()
31226 {
31227 SgCreateList ();
31228 ;
31229 return 0;
31230 }
31231 _ACEOF
31232 rm -f conftest.$ac_objext conftest$ac_exeext
31233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31234 (eval $ac_link) 2>conftest.er1
31235 ac_status=$?
31236 grep -v '^ *+' conftest.er1 >conftest.err
31237 rm -f conftest.er1
31238 cat conftest.err >&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } &&
31241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; } &&
31247 { ac_try='test -s conftest$ac_exeext'
31248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31249 (eval $ac_try) 2>&5
31250 ac_status=$?
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); }; }; then
31253 ac_cv_lib_Sgm_SgCreateList=yes
31254 else
31255 echo "$as_me: failed program was:" >&5
31256 sed 's/^/| /' conftest.$ac_ext >&5
31257
31258 ac_cv_lib_Sgm_SgCreateList=no
31259 fi
31260 rm -f conftest.err conftest.$ac_objext \
31261 conftest$ac_exeext conftest.$ac_ext
31262 LIBS=$ac_check_lib_save_LIBS
31263 fi
31264 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31265 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31266 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31267 libsgm_link=" -lSgm"
31268 fi
31269
31270
31271 save_CXXFLAGS=$CXXFLAGS
31272 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31273
31274 echo "$as_me:$LINENO: checking for Motif 2" >&5
31275 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31276 if test "${wx_cv_lib_motif2+set}" = set; then
31277 echo $ECHO_N "(cached) $ECHO_C" >&6
31278 else
31279 cat >conftest.$ac_ext <<_ACEOF
31280 /* confdefs.h. */
31281 _ACEOF
31282 cat confdefs.h >>conftest.$ac_ext
31283 cat >>conftest.$ac_ext <<_ACEOF
31284 /* end confdefs.h. */
31285
31286 #include <Xm/Xm.h>
31287
31288 int
31289 main ()
31290 {
31291
31292 #if XmVersion < 2000
31293 Not Motif 2
31294 #endif
31295
31296 ;
31297 return 0;
31298 }
31299 _ACEOF
31300 rm -f conftest.$ac_objext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31302 (eval $ac_compile) 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 wx_cv_lib_motif2="yes"
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 wx_cv_lib_motif2="no"
31327 fi
31328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31329 fi
31330 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31331 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31332 if test "$wx_cv_lib_motif2" = "yes"; then
31333 cat >>confdefs.h <<\_ACEOF
31334 #define __WXMOTIF20__ 1
31335 _ACEOF
31336
31337 else
31338 cat >>confdefs.h <<\_ACEOF
31339 #define __WXMOTIF20__ 0
31340 _ACEOF
31341
31342 fi
31343
31344 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31345 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31346 if test "${wx_cv_lib_lesstif+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 else
31349 cat >conftest.$ac_ext <<_ACEOF
31350 /* confdefs.h. */
31351 _ACEOF
31352 cat confdefs.h >>conftest.$ac_ext
31353 cat >>conftest.$ac_ext <<_ACEOF
31354 /* end confdefs.h. */
31355
31356 #include <Xm/Xm.h>
31357
31358 int
31359 main ()
31360 {
31361
31362 #if !defined(LesstifVersion) || LesstifVersion <= 0
31363 Not Lesstif
31364 #endif
31365
31366 ;
31367 return 0;
31368 }
31369 _ACEOF
31370 rm -f conftest.$ac_objext
31371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31372 (eval $ac_compile) 2>conftest.er1
31373 ac_status=$?
31374 grep -v '^ *+' conftest.er1 >conftest.err
31375 rm -f conftest.er1
31376 cat conftest.err >&5
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); } &&
31379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31381 (eval $ac_try) 2>&5
31382 ac_status=$?
31383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31384 (exit $ac_status); }; } &&
31385 { ac_try='test -s conftest.$ac_objext'
31386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31387 (eval $ac_try) 2>&5
31388 ac_status=$?
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); }; }; then
31391 wx_cv_lib_lesstif="yes"
31392 else
31393 echo "$as_me: failed program was:" >&5
31394 sed 's/^/| /' conftest.$ac_ext >&5
31395
31396 wx_cv_lib_lesstif="no"
31397 fi
31398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31399
31400 fi
31401 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31402 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31403 if test "$wx_cv_lib_lesstif" = "yes"; then
31404 cat >>confdefs.h <<\_ACEOF
31405 #define __WXLESSTIF__ 1
31406 _ACEOF
31407
31408 else
31409 cat >>confdefs.h <<\_ACEOF
31410 #define __WXLESSTIF__ 0
31411 _ACEOF
31412
31413 fi
31414
31415 CXXFLAGS=$save_CXXFLAGS
31416
31417 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31418 TOOLKIT=MOTIF
31419 GUIDIST=MOTIF_DIST
31420 fi
31421
31422 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31423 if test "$wxUSE_LIBXPM" = "sys"; then
31424 echo "$as_me:$LINENO: checking for Xpm library" >&5
31425 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31426
31427 ac_find_libraries=
31428 for ac_dir in $SEARCH_LIB;
31429 do
31430 for ac_extension in a so sl dylib dll.a; do
31431 if test -f "$ac_dir/libXpm.$ac_extension"; then
31432 ac_find_libraries=$ac_dir
31433 break 2
31434 fi
31435 done
31436 done
31437
31438 if test "$ac_find_libraries" != "" ; then
31439
31440 if test "$ac_find_libraries" = "default location"; then
31441 ac_path_to_link=""
31442 else
31443 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31444 result=$?
31445 if test $result = 0; then
31446 ac_path_to_link=""
31447 else
31448 ac_path_to_link=" -L$ac_find_libraries"
31449 fi
31450 fi
31451
31452 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31453 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31454 echo "${ECHO_T}found in $ac_find_libraries" >&6
31455
31456 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31457 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31458 if test "${wx_cv_x11_xpm_h+set}" = set; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 else
31461
31462 save_CXXFLAGS=$CXXFLAGS
31463 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31464
31465 cat >conftest.$ac_ext <<_ACEOF
31466 /* confdefs.h. */
31467 _ACEOF
31468 cat confdefs.h >>conftest.$ac_ext
31469 cat >>conftest.$ac_ext <<_ACEOF
31470 /* end confdefs.h. */
31471
31472 #include <X11/xpm.h>
31473
31474 int
31475 main ()
31476 {
31477
31478 int version;
31479 version = XpmLibraryVersion();
31480
31481 ;
31482 return 0;
31483 }
31484 _ACEOF
31485 rm -f conftest.$ac_objext
31486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31487 (eval $ac_compile) 2>conftest.er1
31488 ac_status=$?
31489 grep -v '^ *+' conftest.er1 >conftest.err
31490 rm -f conftest.er1
31491 cat conftest.err >&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } &&
31494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31496 (eval $ac_try) 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; } &&
31500 { ac_try='test -s conftest.$ac_objext'
31501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31502 (eval $ac_try) 2>&5
31503 ac_status=$?
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); }; }; then
31506 wx_cv_x11_xpm_h=yes
31507 else
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.$ac_ext >&5
31510
31511 wx_cv_x11_xpm_h=no
31512
31513 fi
31514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31515
31516 CXXFLAGS=$save_CXXFLAGS
31517
31518
31519 fi
31520 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31521 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31522
31523 if test $wx_cv_x11_xpm_h = "yes"; then
31524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31525 cat >>confdefs.h <<\_ACEOF
31526 #define wxHAVE_LIB_XPM 1
31527 _ACEOF
31528
31529 else
31530 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31531 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31532 fi
31533 fi
31534
31535 fi
31536
31537 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31538 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31539 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31540 echo $ECHO_N "(cached) $ECHO_C" >&6
31541 else
31542 ac_check_lib_save_LIBS=$LIBS
31543 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31544 cat >conftest.$ac_ext <<_ACEOF
31545 /* confdefs.h. */
31546 _ACEOF
31547 cat confdefs.h >>conftest.$ac_ext
31548 cat >>conftest.$ac_ext <<_ACEOF
31549 /* end confdefs.h. */
31550
31551 /* Override any gcc2 internal prototype to avoid an error. */
31552 #ifdef __cplusplus
31553 extern "C"
31554 #endif
31555 /* We use char because int might match the return type of a gcc2
31556 builtin and then its argument prototype would still apply. */
31557 char XShapeQueryExtension ();
31558 int
31559 main ()
31560 {
31561 XShapeQueryExtension ();
31562 ;
31563 return 0;
31564 }
31565 _ACEOF
31566 rm -f conftest.$ac_objext conftest$ac_exeext
31567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31568 (eval $ac_link) 2>conftest.er1
31569 ac_status=$?
31570 grep -v '^ *+' conftest.er1 >conftest.err
31571 rm -f conftest.er1
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } &&
31575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577 (eval $ac_try) 2>&5
31578 ac_status=$?
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); }; } &&
31581 { ac_try='test -s conftest$ac_exeext'
31582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31583 (eval $ac_try) 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; }; then
31587 ac_cv_lib_Xext_XShapeQueryExtension=yes
31588 else
31589 echo "$as_me: failed program was:" >&5
31590 sed 's/^/| /' conftest.$ac_ext >&5
31591
31592 ac_cv_lib_Xext_XShapeQueryExtension=no
31593 fi
31594 rm -f conftest.err conftest.$ac_objext \
31595 conftest$ac_exeext conftest.$ac_ext
31596 LIBS=$ac_check_lib_save_LIBS
31597 fi
31598 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31599 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31600 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31601
31602 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31603 wxHAVE_XEXT_LIB=1
31604
31605 fi
31606
31607
31608 if test "$wxHAVE_XEXT_LIB" = 1; then
31609 save_CXXFLAGS="$CXXFLAGS"
31610 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31611
31612 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31613 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31614 cat >conftest.$ac_ext <<_ACEOF
31615 /* confdefs.h. */
31616 _ACEOF
31617 cat confdefs.h >>conftest.$ac_ext
31618 cat >>conftest.$ac_ext <<_ACEOF
31619 /* end confdefs.h. */
31620
31621 #include <X11/Xlib.h>
31622 #include <X11/extensions/shape.h>
31623
31624 int
31625 main ()
31626 {
31627
31628 int dummy1, dummy2;
31629 XShapeQueryExtension((Display*)NULL,
31630 (int*)NULL, (int*)NULL);
31631
31632 ;
31633 return 0;
31634 }
31635 _ACEOF
31636 rm -f conftest.$ac_objext
31637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31638 (eval $ac_compile) 2>conftest.er1
31639 ac_status=$?
31640 grep -v '^ *+' conftest.er1 >conftest.err
31641 rm -f conftest.er1
31642 cat conftest.err >&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); } &&
31645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31648 ac_status=$?
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; } &&
31651 { ac_try='test -s conftest.$ac_objext'
31652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31653 (eval $ac_try) 2>&5
31654 ac_status=$?
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); }; }; then
31657
31658 cat >>confdefs.h <<\_ACEOF
31659 #define HAVE_XSHAPE 1
31660 _ACEOF
31661
31662 echo "$as_me:$LINENO: result: found" >&5
31663 echo "${ECHO_T}found" >&6
31664
31665 else
31666 echo "$as_me: failed program was:" >&5
31667 sed 's/^/| /' conftest.$ac_ext >&5
31668
31669
31670 echo "$as_me:$LINENO: result: not found" >&5
31671 echo "${ECHO_T}not found" >&6
31672
31673 fi
31674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31675 CXXFLAGS="$save_CXXFLAGS"
31676
31677 fi
31678 fi
31679
31680 if test "$wxUSE_MAC" = 1; then
31681 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31682 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31683 if test "$GCC" = yes; then
31684 echo "$as_me:$LINENO: result: gcc" >&5
31685 echo "${ECHO_T}gcc" >&6
31686 CPPFLAGS_PASCAL="-fpascal-strings"
31687 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31688 echo "$as_me:$LINENO: result: xlc" >&5
31689 echo "${ECHO_T}xlc" >&6
31690 CPPFLAGS_PASCAL="-qmacpstr"
31691 else
31692 echo "$as_me:$LINENO: result: none" >&5
31693 echo "${ECHO_T}none" >&6
31694 fi
31695
31696 if test "x$wxUSE_UNIX" = "xyes"; then
31697 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31698 else
31699 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31700 fi
31701
31702 TOOLKIT=MAC
31703 GUIDIST=MACX_DIST
31704 WXBASEPORT="_carbon"
31705 fi
31706
31707 if test "$wxUSE_COCOA" = 1; then
31708 TOOLKIT=COCOA
31709 GUIDIST=COCOA_DIST
31710 fi
31711
31712 if test "$wxUSE_PM" = 1; then
31713 TOOLKIT=PM
31714 GUIDIST=PM_DIST
31715 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31716 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31717 if test "${wx_cv_spbcdata+set}" = set; then
31718 echo $ECHO_N "(cached) $ECHO_C" >&6
31719 else
31720
31721 cat >conftest.$ac_ext <<_ACEOF
31722 /* confdefs.h. */
31723 _ACEOF
31724 cat confdefs.h >>conftest.$ac_ext
31725 cat >>conftest.$ac_ext <<_ACEOF
31726 /* end confdefs.h. */
31727
31728 #define INCL_PM
31729 #include <os2.h>
31730
31731 int
31732 main ()
31733 {
31734
31735 SPBCDATA test;
31736
31737 ;
31738 return 0;
31739 }
31740 _ACEOF
31741 rm -f conftest.$ac_objext
31742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31743 (eval $ac_compile) 2>conftest.er1
31744 ac_status=$?
31745 grep -v '^ *+' conftest.er1 >conftest.err
31746 rm -f conftest.er1
31747 cat conftest.err >&5
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); } &&
31750 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31752 (eval $ac_try) 2>&5
31753 ac_status=$?
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); }; } &&
31756 { ac_try='test -s conftest.$ac_objext'
31757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31758 (eval $ac_try) 2>&5
31759 ac_status=$?
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); }; }; then
31762 wx_cv_spbcdata=yes
31763 else
31764 echo "$as_me: failed program was:" >&5
31765 sed 's/^/| /' conftest.$ac_ext >&5
31766
31767 wx_cv_spbcdata=no
31768
31769 fi
31770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31771
31772
31773 fi
31774 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31775 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31776
31777 if test $wx_cv_spbcdata = "yes"; then
31778 cat >>confdefs.h <<\_ACEOF
31779 #define HAVE_SPBCDATA 1
31780 _ACEOF
31781
31782 fi
31783 fi
31784
31785 if test "$TOOLKIT" = "PM" ; then
31786 TOOLKIT_DIR="os2"
31787 else
31788 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31789 fi
31790
31791 if test "$wxUSE_UNIVERSAL" = "yes"; then
31792 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31793 WIDGET_SET=univ
31794 fi
31795
31796 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31797 DISTDIR="wx\$(TOOLKIT)"
31798 else
31799 USE_GUI=0
31800
31801 TOOLKIT_DIR="base"
31802
31803 if test "$USE_WIN32" = 1 ; then
31804 TOOLKIT="MSW"
31805 fi
31806
31807 GUIDIST="BASE_DIST"
31808 DISTDIR="wxBase"
31809 fi
31810
31811
31812 if test "$wxUSE_GUI" = "yes"; then
31813 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31814
31815 for ac_header in X11/Xlib.h
31816 do
31817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31819 echo "$as_me:$LINENO: checking for $ac_header" >&5
31820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31822 echo $ECHO_N "(cached) $ECHO_C" >&6
31823 fi
31824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31826 else
31827 # Is the header compilable?
31828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31830 cat >conftest.$ac_ext <<_ACEOF
31831 /* confdefs.h. */
31832 _ACEOF
31833 cat confdefs.h >>conftest.$ac_ext
31834 cat >>conftest.$ac_ext <<_ACEOF
31835 /* end confdefs.h. */
31836 $ac_includes_default
31837 #include <$ac_header>
31838 _ACEOF
31839 rm -f conftest.$ac_objext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31841 (eval $ac_compile) 2>conftest.er1
31842 ac_status=$?
31843 grep -v '^ *+' conftest.er1 >conftest.err
31844 rm -f conftest.er1
31845 cat conftest.err >&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); } &&
31848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31850 (eval $ac_try) 2>&5
31851 ac_status=$?
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); }; } &&
31854 { ac_try='test -s conftest.$ac_objext'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31857 ac_status=$?
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; }; then
31860 ac_header_compiler=yes
31861 else
31862 echo "$as_me: failed program was:" >&5
31863 sed 's/^/| /' conftest.$ac_ext >&5
31864
31865 ac_header_compiler=no
31866 fi
31867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31869 echo "${ECHO_T}$ac_header_compiler" >&6
31870
31871 # Is the header present?
31872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880 #include <$ac_header>
31881 _ACEOF
31882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31884 ac_status=$?
31885 grep -v '^ *+' conftest.er1 >conftest.err
31886 rm -f conftest.er1
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } >/dev/null; then
31890 if test -s conftest.err; then
31891 ac_cpp_err=$ac_cxx_preproc_warn_flag
31892 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31893 else
31894 ac_cpp_err=
31895 fi
31896 else
31897 ac_cpp_err=yes
31898 fi
31899 if test -z "$ac_cpp_err"; then
31900 ac_header_preproc=yes
31901 else
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31904
31905 ac_header_preproc=no
31906 fi
31907 rm -f conftest.err conftest.$ac_ext
31908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31909 echo "${ECHO_T}$ac_header_preproc" >&6
31910
31911 # So? What about this header?
31912 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31913 yes:no: )
31914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31918 ac_header_preproc=yes
31919 ;;
31920 no:yes:* )
31921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31933 (
31934 cat <<\_ASBOX
31935 ## ----------------------------------------- ##
31936 ## Report this to wx-dev@lists.wxwidgets.org ##
31937 ## ----------------------------------------- ##
31938 _ASBOX
31939 ) |
31940 sed "s/^/$as_me: WARNING: /" >&2
31941 ;;
31942 esac
31943 echo "$as_me:$LINENO: checking for $ac_header" >&5
31944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31947 else
31948 eval "$as_ac_Header=\$ac_header_preproc"
31949 fi
31950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31952
31953 fi
31954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31955 cat >>confdefs.h <<_ACEOF
31956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31957 _ACEOF
31958
31959 fi
31960
31961 done
31962
31963
31964 for ac_header in X11/XKBlib.h
31965 do
31966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31967 echo "$as_me:$LINENO: checking for $ac_header" >&5
31968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 else
31972 cat >conftest.$ac_ext <<_ACEOF
31973 /* confdefs.h. */
31974 _ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978
31979 #if HAVE_X11_XLIB_H
31980 #include <X11/Xlib.h>
31981 #endif
31982
31983
31984 #include <$ac_header>
31985 _ACEOF
31986 rm -f conftest.$ac_objext
31987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31988 (eval $ac_compile) 2>conftest.er1
31989 ac_status=$?
31990 grep -v '^ *+' conftest.er1 >conftest.err
31991 rm -f conftest.er1
31992 cat conftest.err >&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } &&
31995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31997 (eval $ac_try) 2>&5
31998 ac_status=$?
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); }; } &&
32001 { ac_try='test -s conftest.$ac_objext'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32004 ac_status=$?
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; }; then
32007 eval "$as_ac_Header=yes"
32008 else
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.$ac_ext >&5
32011
32012 eval "$as_ac_Header=no"
32013 fi
32014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32015 fi
32016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32019 cat >>confdefs.h <<_ACEOF
32020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32021 _ACEOF
32022
32023 fi
32024
32025 done
32026
32027 fi
32028 fi
32029
32030
32031
32032 IODBC_C_SRC=""
32033
32034
32035 if test "$TOOLKIT" != "MSW" ; then
32036
32037 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32038
32039 if test "${ac_cv_header_sql_h+set}" = set; then
32040 echo "$as_me:$LINENO: checking for sql.h" >&5
32041 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32042 if test "${ac_cv_header_sql_h+set}" = set; then
32043 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 fi
32045 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32046 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32047 else
32048 # Is the header compilable?
32049 echo "$as_me:$LINENO: checking sql.h usability" >&5
32050 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32051 cat >conftest.$ac_ext <<_ACEOF
32052 /* confdefs.h. */
32053 _ACEOF
32054 cat confdefs.h >>conftest.$ac_ext
32055 cat >>conftest.$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 $ac_includes_default
32058 #include <sql.h>
32059 _ACEOF
32060 rm -f conftest.$ac_objext
32061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32062 (eval $ac_compile) 2>conftest.er1
32063 ac_status=$?
32064 grep -v '^ *+' conftest.er1 >conftest.err
32065 rm -f conftest.er1
32066 cat conftest.err >&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } &&
32069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32072 ac_status=$?
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; } &&
32075 { ac_try='test -s conftest.$ac_objext'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32078 ac_status=$?
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; }; then
32081 ac_header_compiler=yes
32082 else
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32085
32086 ac_header_compiler=no
32087 fi
32088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32090 echo "${ECHO_T}$ac_header_compiler" >&6
32091
32092 # Is the header present?
32093 echo "$as_me:$LINENO: checking sql.h presence" >&5
32094 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32095 cat >conftest.$ac_ext <<_ACEOF
32096 /* confdefs.h. */
32097 _ACEOF
32098 cat confdefs.h >>conftest.$ac_ext
32099 cat >>conftest.$ac_ext <<_ACEOF
32100 /* end confdefs.h. */
32101 #include <sql.h>
32102 _ACEOF
32103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32105 ac_status=$?
32106 grep -v '^ *+' conftest.er1 >conftest.err
32107 rm -f conftest.er1
32108 cat conftest.err >&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } >/dev/null; then
32111 if test -s conftest.err; then
32112 ac_cpp_err=$ac_cxx_preproc_warn_flag
32113 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32114 else
32115 ac_cpp_err=
32116 fi
32117 else
32118 ac_cpp_err=yes
32119 fi
32120 if test -z "$ac_cpp_err"; then
32121 ac_header_preproc=yes
32122 else
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.$ac_ext >&5
32125
32126 ac_header_preproc=no
32127 fi
32128 rm -f conftest.err conftest.$ac_ext
32129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32130 echo "${ECHO_T}$ac_header_preproc" >&6
32131
32132 # So? What about this header?
32133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32134 yes:no: )
32135 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32136 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32137 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32138 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32139 ac_header_preproc=yes
32140 ;;
32141 no:yes:* )
32142 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32143 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32144 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32145 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32146 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32147 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32148 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32149 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32150 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32151 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32152 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32153 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32154 (
32155 cat <<\_ASBOX
32156 ## ----------------------------------------- ##
32157 ## Report this to wx-dev@lists.wxwidgets.org ##
32158 ## ----------------------------------------- ##
32159 _ASBOX
32160 ) |
32161 sed "s/^/$as_me: WARNING: /" >&2
32162 ;;
32163 esac
32164 echo "$as_me:$LINENO: checking for sql.h" >&5
32165 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32166 if test "${ac_cv_header_sql_h+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32168 else
32169 ac_cv_header_sql_h=$ac_header_preproc
32170 fi
32171 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32172 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32173
32174 fi
32175 if test $ac_cv_header_sql_h = yes; then
32176 found_sql_h=1
32177 fi
32178
32179
32180 if test "x$found_sql_h" = "x1" ; then
32181 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32182 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32183 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32185 else
32186 ac_check_lib_save_LIBS=$LIBS
32187 LIBS="-liodbc $LIBS"
32188 cat >conftest.$ac_ext <<_ACEOF
32189 /* confdefs.h. */
32190 _ACEOF
32191 cat confdefs.h >>conftest.$ac_ext
32192 cat >>conftest.$ac_ext <<_ACEOF
32193 /* end confdefs.h. */
32194
32195 /* Override any gcc2 internal prototype to avoid an error. */
32196 #ifdef __cplusplus
32197 extern "C"
32198 #endif
32199 /* We use char because int might match the return type of a gcc2
32200 builtin and then its argument prototype would still apply. */
32201 char SQLAllocEnv ();
32202 int
32203 main ()
32204 {
32205 SQLAllocEnv ();
32206 ;
32207 return 0;
32208 }
32209 _ACEOF
32210 rm -f conftest.$ac_objext conftest$ac_exeext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32212 (eval $ac_link) 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try='test -s conftest$ac_exeext'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32228 ac_status=$?
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 ac_cv_lib_iodbc_SQLAllocEnv=yes
32232 else
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.$ac_ext >&5
32235
32236 ac_cv_lib_iodbc_SQLAllocEnv=no
32237 fi
32238 rm -f conftest.err conftest.$ac_objext \
32239 conftest$ac_exeext conftest.$ac_ext
32240 LIBS=$ac_check_lib_save_LIBS
32241 fi
32242 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32243 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32244 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32245 ODBC_LINK=" -liodbc"
32246 else
32247
32248 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32249 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32250 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32253 ac_check_lib_save_LIBS=$LIBS
32254 LIBS="-lunixodbc $LIBS"
32255 cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h. */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261
32262 /* Override any gcc2 internal prototype to avoid an error. */
32263 #ifdef __cplusplus
32264 extern "C"
32265 #endif
32266 /* We use char because int might match the return type of a gcc2
32267 builtin and then its argument prototype would still apply. */
32268 char SQLAllocEnv ();
32269 int
32270 main ()
32271 {
32272 SQLAllocEnv ();
32273 ;
32274 return 0;
32275 }
32276 _ACEOF
32277 rm -f conftest.$ac_objext conftest$ac_exeext
32278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32279 (eval $ac_link) 2>conftest.er1
32280 ac_status=$?
32281 grep -v '^ *+' conftest.er1 >conftest.err
32282 rm -f conftest.er1
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } &&
32286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32288 (eval $ac_try) 2>&5
32289 ac_status=$?
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); }; } &&
32292 { ac_try='test -s conftest$ac_exeext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32295 ac_status=$?
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32299 else
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32302
32303 ac_cv_lib_unixodbc_SQLAllocEnv=no
32304 fi
32305 rm -f conftest.err conftest.$ac_objext \
32306 conftest$ac_exeext conftest.$ac_ext
32307 LIBS=$ac_check_lib_save_LIBS
32308 fi
32309 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32310 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32311 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32312 ODBC_LINK=" -lunixodbc"
32313 else
32314
32315 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32316 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32317 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 else
32320 ac_check_lib_save_LIBS=$LIBS
32321 LIBS="-lodbc $LIBS"
32322 cat >conftest.$ac_ext <<_ACEOF
32323 /* confdefs.h. */
32324 _ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32328
32329 /* Override any gcc2 internal prototype to avoid an error. */
32330 #ifdef __cplusplus
32331 extern "C"
32332 #endif
32333 /* We use char because int might match the return type of a gcc2
32334 builtin and then its argument prototype would still apply. */
32335 char SQLAllocEnv ();
32336 int
32337 main ()
32338 {
32339 SQLAllocEnv ();
32340 ;
32341 return 0;
32342 }
32343 _ACEOF
32344 rm -f conftest.$ac_objext conftest$ac_exeext
32345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32346 (eval $ac_link) 2>conftest.er1
32347 ac_status=$?
32348 grep -v '^ *+' conftest.er1 >conftest.err
32349 rm -f conftest.er1
32350 cat conftest.err >&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); } &&
32353 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32355 (eval $ac_try) 2>&5
32356 ac_status=$?
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); }; } &&
32359 { ac_try='test -s conftest$ac_exeext'
32360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32361 (eval $ac_try) 2>&5
32362 ac_status=$?
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); }; }; then
32365 ac_cv_lib_odbc_SQLAllocEnv=yes
32366 else
32367 echo "$as_me: failed program was:" >&5
32368 sed 's/^/| /' conftest.$ac_ext >&5
32369
32370 ac_cv_lib_odbc_SQLAllocEnv=no
32371 fi
32372 rm -f conftest.err conftest.$ac_objext \
32373 conftest$ac_exeext conftest.$ac_ext
32374 LIBS=$ac_check_lib_save_LIBS
32375 fi
32376 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32377 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32378 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32379 ODBC_LINK=" -lodbc"
32380 fi
32381
32382
32383 fi
32384
32385
32386 fi
32387
32388 fi
32389 if test "x$ODBC_LINK" = "x" ; then
32390 if test "$wxUSE_ODBC" = "sys" ; then
32391 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32392 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32393 { (exit 1); exit 1; }; }
32394 else
32395 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32396 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32397 wxUSE_ODBC=builtin
32398 fi
32399 else
32400 wxUSE_ODBC=sys
32401 fi
32402 fi
32403
32404 if test "$wxUSE_ODBC" = "builtin" ; then
32405 cat >>confdefs.h <<\_ACEOF
32406 #define wxUSE_BUILTIN_IODBC 1
32407 _ACEOF
32408
32409 fi
32410 fi
32411
32412 if test "$wxUSE_ODBC" != "no" ; then
32413 cat >>confdefs.h <<\_ACEOF
32414 #define wxUSE_ODBC 1
32415 _ACEOF
32416
32417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32418
32419 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32420 fi
32421
32422
32423 if test "$wxUSE_DISPLAY" = "yes"; then
32424 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32425 echo "$as_me:$LINENO: checking for Xinerama" >&5
32426 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32427
32428 ac_find_libraries=
32429 for ac_dir in $SEARCH_LIB;
32430 do
32431 for ac_extension in a so sl dylib dll.a; do
32432 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32433 ac_find_libraries=$ac_dir
32434 break 2
32435 fi
32436 done
32437 done
32438
32439 if test "$ac_find_libraries" != "" ; then
32440
32441 if test "$ac_find_libraries" = "default location"; then
32442 ac_path_to_link=""
32443 else
32444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32445 result=$?
32446 if test $result = 0; then
32447 ac_path_to_link=""
32448 else
32449 ac_path_to_link=" -L$ac_find_libraries"
32450 fi
32451 fi
32452
32453 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32454 LDFLAGS="$LDFLAGS $ac_path_to_link"
32455 fi
32456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32457 echo "$as_me:$LINENO: result: yes" >&5
32458 echo "${ECHO_T}yes" >&6
32459
32460 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32461 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32462
32463 ac_find_libraries=
32464 for ac_dir in $SEARCH_LIB;
32465 do
32466 for ac_extension in a so sl dylib dll.a; do
32467 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32468 ac_find_libraries=$ac_dir
32469 break 2
32470 fi
32471 done
32472 done
32473
32474 if test "$ac_find_libraries" != "" ; then
32475 echo "$as_me:$LINENO: result: yes" >&5
32476 echo "${ECHO_T}yes" >&6
32477
32478 for ac_header in X11/extensions/xf86vmode.h
32479 do
32480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32481 echo "$as_me:$LINENO: checking for $ac_header" >&5
32482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32484 echo $ECHO_N "(cached) $ECHO_C" >&6
32485 else
32486 cat >conftest.$ac_ext <<_ACEOF
32487 /* confdefs.h. */
32488 _ACEOF
32489 cat confdefs.h >>conftest.$ac_ext
32490 cat >>conftest.$ac_ext <<_ACEOF
32491 /* end confdefs.h. */
32492
32493 #if HAVE_X11_XLIB_H
32494 #include <X11/Xlib.h>
32495 #endif
32496
32497
32498 #include <$ac_header>
32499 _ACEOF
32500 rm -f conftest.$ac_objext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32502 (eval $ac_compile) 2>conftest.er1
32503 ac_status=$?
32504 grep -v '^ *+' conftest.er1 >conftest.err
32505 rm -f conftest.er1
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32512 ac_status=$?
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; } &&
32515 { ac_try='test -s conftest.$ac_objext'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32518 ac_status=$?
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; }; then
32521 eval "$as_ac_Header=yes"
32522 else
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.$ac_ext >&5
32525
32526 eval "$as_ac_Header=no"
32527 fi
32528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32529 fi
32530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32533 cat >>confdefs.h <<_ACEOF
32534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32535 _ACEOF
32536
32537 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32538
32539 fi
32540
32541 done
32542
32543 else
32544 echo "$as_me:$LINENO: result: no" >&5
32545 echo "${ECHO_T}no" >&6
32546 fi
32547
32548 else
32549 echo "$as_me:$LINENO: result: no" >&5
32550 echo "${ECHO_T}no" >&6
32551 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32552 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32553 wxUSE_DISPLAY="no"
32554 fi
32555 elif test "$wxUSE_MSW" = 1; then
32556
32557 for ac_header in ddraw.h
32558 do
32559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32560 echo "$as_me:$LINENO: checking for $ac_header" >&5
32561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32563 echo $ECHO_N "(cached) $ECHO_C" >&6
32564 else
32565 cat >conftest.$ac_ext <<_ACEOF
32566 /* confdefs.h. */
32567 _ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32571 #include <windows.h>
32572
32573 #include <$ac_header>
32574 _ACEOF
32575 rm -f conftest.$ac_objext
32576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32577 (eval $ac_compile) 2>conftest.er1
32578 ac_status=$?
32579 grep -v '^ *+' conftest.er1 >conftest.err
32580 rm -f conftest.er1
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } &&
32584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32586 (eval $ac_try) 2>&5
32587 ac_status=$?
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); }; } &&
32590 { ac_try='test -s conftest.$ac_objext'
32591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 (eval $ac_try) 2>&5
32593 ac_status=$?
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; }; then
32596 eval "$as_ac_Header=yes"
32597 else
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.$ac_ext >&5
32600
32601 eval "$as_ac_Header=no"
32602 fi
32603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32604 fi
32605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32608 cat >>confdefs.h <<_ACEOF
32609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32610 _ACEOF
32611
32612 fi
32613
32614 done
32615
32616 fi
32617 fi
32618
32619
32620 USE_OPENGL=0
32621 if test "$wxUSE_OPENGL" = "yes"; then
32622 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32623 OPENGL_LIBS="-framework OpenGL -framework AGL"
32624 elif test "$wxUSE_MSW" = 1; then
32625 OPENGL_LIBS="-lopengl32 -lglu32"
32626 else
32627
32628
32629 ac_find_includes=
32630 for ac_dir in $SEARCH_INCLUDE /usr/include;
32631 do
32632 if test -f "$ac_dir/GL/gl.h"; then
32633 ac_find_includes=$ac_dir
32634 break
32635 fi
32636 done
32637
32638 if test "$ac_find_includes" != "" ; then
32639 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32640 echo "${ECHO_T}found in $ac_find_includes" >&6
32641
32642 if test "x$ac_find_includes" = "x/usr/include"; then
32643 ac_path_to_include=""
32644 else
32645 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32646 result=$?
32647 if test $result = 0; then
32648 ac_path_to_include=""
32649 else
32650 ac_path_to_include=" -I$ac_find_includes"
32651 fi
32652 fi
32653
32654 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32655 fi
32656
32657 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32658 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32659 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32660 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 fi
32663 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32664 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32665 else
32666 # Is the header compilable?
32667 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32668 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32669 cat >conftest.$ac_ext <<_ACEOF
32670 /* confdefs.h. */
32671 _ACEOF
32672 cat confdefs.h >>conftest.$ac_ext
32673 cat >>conftest.$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32675 $ac_includes_default
32676 #include <GL/gl.h>
32677 _ACEOF
32678 rm -f conftest.$ac_objext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32680 (eval $ac_compile) 2>conftest.er1
32681 ac_status=$?
32682 grep -v '^ *+' conftest.er1 >conftest.err
32683 rm -f conftest.er1
32684 cat conftest.err >&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32689 (eval $ac_try) 2>&5
32690 ac_status=$?
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; } &&
32693 { ac_try='test -s conftest.$ac_objext'
32694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32695 (eval $ac_try) 2>&5
32696 ac_status=$?
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); }; }; then
32699 ac_header_compiler=yes
32700 else
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.$ac_ext >&5
32703
32704 ac_header_compiler=no
32705 fi
32706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32708 echo "${ECHO_T}$ac_header_compiler" >&6
32709
32710 # Is the header present?
32711 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32712 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32713 cat >conftest.$ac_ext <<_ACEOF
32714 /* confdefs.h. */
32715 _ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32719 #include <GL/gl.h>
32720 _ACEOF
32721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32723 ac_status=$?
32724 grep -v '^ *+' conftest.er1 >conftest.err
32725 rm -f conftest.er1
32726 cat conftest.err >&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } >/dev/null; then
32729 if test -s conftest.err; then
32730 ac_cpp_err=$ac_cxx_preproc_warn_flag
32731 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32732 else
32733 ac_cpp_err=
32734 fi
32735 else
32736 ac_cpp_err=yes
32737 fi
32738 if test -z "$ac_cpp_err"; then
32739 ac_header_preproc=yes
32740 else
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.$ac_ext >&5
32743
32744 ac_header_preproc=no
32745 fi
32746 rm -f conftest.err conftest.$ac_ext
32747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32748 echo "${ECHO_T}$ac_header_preproc" >&6
32749
32750 # So? What about this header?
32751 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32752 yes:no: )
32753 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32754 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32755 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32756 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32757 ac_header_preproc=yes
32758 ;;
32759 no:yes:* )
32760 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32761 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32762 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32763 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32764 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32765 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32766 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32767 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32768 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32769 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32770 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32771 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32772 (
32773 cat <<\_ASBOX
32774 ## ----------------------------------------- ##
32775 ## Report this to wx-dev@lists.wxwidgets.org ##
32776 ## ----------------------------------------- ##
32777 _ASBOX
32778 ) |
32779 sed "s/^/$as_me: WARNING: /" >&2
32780 ;;
32781 esac
32782 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32783 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32784 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32785 echo $ECHO_N "(cached) $ECHO_C" >&6
32786 else
32787 ac_cv_header_GL_gl_h=$ac_header_preproc
32788 fi
32789 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32790 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32791
32792 fi
32793 if test $ac_cv_header_GL_gl_h = yes; then
32794
32795 found_gl=0
32796
32797 echo "$as_me:$LINENO: checking for -lGL" >&5
32798 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32799
32800 ac_find_libraries=
32801 for ac_dir in $SEARCH_LIB;
32802 do
32803 for ac_extension in a so sl dylib dll.a; do
32804 if test -f "$ac_dir/libGL.$ac_extension"; then
32805 ac_find_libraries=$ac_dir
32806 break 2
32807 fi
32808 done
32809 done
32810
32811 if test "$ac_find_libraries" != "" ; then
32812 echo "$as_me:$LINENO: result: yes" >&5
32813 echo "${ECHO_T}yes" >&6
32814
32815
32816 if test "$ac_find_libraries" = "default location"; then
32817 ac_path_to_link=""
32818 else
32819 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32820 result=$?
32821 if test $result = 0; then
32822 ac_path_to_link=""
32823 else
32824 ac_path_to_link=" -L$ac_find_libraries"
32825 fi
32826 fi
32827
32828 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32829 LDFLAGS_GL="$ac_path_to_link"
32830 fi
32831
32832 echo "$as_me:$LINENO: checking for -lGLU" >&5
32833 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32834
32835 ac_find_libraries=
32836 for ac_dir in $SEARCH_LIB;
32837 do
32838 for ac_extension in a so sl dylib dll.a; do
32839 if test -f "$ac_dir/libGLU.$ac_extension"; then
32840 ac_find_libraries=$ac_dir
32841 break 2
32842 fi
32843 done
32844 done
32845
32846 if test "$ac_find_libraries" != "" ; then
32847
32848 if test "$ac_find_libraries" = "default location"; then
32849 ac_path_to_link=""
32850 else
32851 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32852 result=$?
32853 if test $result = 0; then
32854 ac_path_to_link=""
32855 else
32856 ac_path_to_link=" -L$ac_find_libraries"
32857 fi
32858 fi
32859
32860 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32861 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32862 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32863 fi
32864
32865 found_gl=1
32866 OPENGL_LIBS="-lGL -lGLU"
32867 echo "$as_me:$LINENO: result: yes" >&5
32868 echo "${ECHO_T}yes" >&6
32869 else
32870 echo "$as_me:$LINENO: result: no" >&5
32871 echo "${ECHO_T}no" >&6
32872 fi
32873 else
32874 echo "$as_me:$LINENO: result: no" >&5
32875 echo "${ECHO_T}no" >&6
32876 fi
32877
32878 if test "$found_gl" != 1; then
32879 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32880 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32881
32882 ac_find_libraries=
32883 for ac_dir in $SEARCH_LIB;
32884 do
32885 for ac_extension in a so sl dylib dll.a; do
32886 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32887 ac_find_libraries=$ac_dir
32888 break 2
32889 fi
32890 done
32891 done
32892
32893 if test "$ac_find_libraries" != "" ; then
32894
32895 if test "$ac_find_libraries" = "default location"; then
32896 ac_path_to_link=""
32897 else
32898 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32899 result=$?
32900 if test $result = 0; then
32901 ac_path_to_link=""
32902 else
32903 ac_path_to_link=" -L$ac_find_libraries"
32904 fi
32905 fi
32906
32907 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32908 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32909 echo "$as_me:$LINENO: result: yes" >&5
32910 echo "${ECHO_T}yes" >&6
32911 else
32912 echo "$as_me:$LINENO: result: no" >&5
32913 echo "${ECHO_T}no" >&6
32914 fi
32915 fi
32916
32917 fi
32918
32919
32920
32921 if test "x$OPENGL_LIBS" = "x"; then
32922 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32923 echo "$as_me: error: OpenGL libraries not available" >&2;}
32924 { (exit 1); exit 1; }; }
32925 fi
32926 fi
32927
32928 if test "$wxUSE_OPENGL" = "yes"; then
32929 USE_OPENGL=1
32930 cat >>confdefs.h <<\_ACEOF
32931 #define wxUSE_OPENGL 1
32932 _ACEOF
32933
32934 cat >>confdefs.h <<\_ACEOF
32935 #define wxUSE_GLCANVAS 1
32936 _ACEOF
32937
32938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32939 fi
32940 fi
32941
32942
32943 if test -n "$TOOLKIT" ; then
32944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32945 fi
32946
32947
32948
32949 if test "$wxUSE_SHARED" = "yes"; then
32950 case "${host}" in
32951 *-pc-msdosdjgpp )
32952 wxUSE_SHARED=no
32953 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32954 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32955 ;;
32956 esac
32957 fi
32958
32959 if test "$wxUSE_SHARED" = "yes"; then
32960
32961
32962 found_versioning=no
32963
32964
32965 if test $found_versioning = no ; then
32966 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32967 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32968 if test "${wx_cv_version_script+set}" = set; then
32969 echo $ECHO_N "(cached) $ECHO_C" >&6
32970 else
32971
32972 echo "VER_1 { *; };" >conftest.sym
32973 echo "int main() { return 0; }" >conftest.cpp
32974
32975 if { ac_try='
32976 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32977 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32980 ac_status=$?
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; } ; then
32983 if test -s conftest.stderr ; then
32984 wx_cv_version_script=no
32985 else
32986 wx_cv_version_script=yes
32987 fi
32988 else
32989 wx_cv_version_script=no
32990 fi
32991
32992 if test $wx_cv_version_script = yes
32993 then
32994 echo "struct B { virtual ~B() { } }; \
32995 struct D : public B { }; \
32996 void F() { D d; }" > conftest.cpp
32997
32998 if { ac_try='
32999 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33000 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33003 ac_status=$?
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; } &&
33006 { ac_try='
33007 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33008 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33011 ac_status=$?
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; }
33014 then
33015 if { ac_try='
33016 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33017 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33020 ac_status=$?
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; }
33023 then
33024 wx_cv_version_script=yes
33025 else
33026 wx_cv_version_script=no
33027 fi
33028 fi
33029 fi
33030
33031 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33032 rm -f conftest1.output conftest2.output conftest3.output
33033
33034 fi
33035 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33036 echo "${ECHO_T}$wx_cv_version_script" >&6
33037 if test $wx_cv_version_script = yes ; then
33038 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33039 fi
33040 fi
33041
33042
33043 case "${host}" in
33044 *-*-linux* | *-*-gnu* )
33045 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33046 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33047 ;;
33048
33049 *-*-solaris2* )
33050 if test "$GCC" = yes ; then
33051 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33052
33053 saveLdflags="$LDFLAGS"
33054 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33055 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33056 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33057 cat >conftest.$ac_ext <<_ACEOF
33058 /* confdefs.h. */
33059 _ACEOF
33060 cat confdefs.h >>conftest.$ac_ext
33061 cat >>conftest.$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063
33064 int
33065 main ()
33066 {
33067
33068 ;
33069 return 0;
33070 }
33071 _ACEOF
33072 rm -f conftest.$ac_objext conftest$ac_exeext
33073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33074 (eval $ac_link) 2>conftest.er1
33075 ac_status=$?
33076 grep -v '^ *+' conftest.er1 >conftest.err
33077 rm -f conftest.er1
33078 cat conftest.err >&5
33079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080 (exit $ac_status); } &&
33081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33083 (eval $ac_try) 2>&5
33084 ac_status=$?
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); }; } &&
33087 { ac_try='test -s conftest$ac_exeext'
33088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33090 ac_status=$?
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; }; then
33093
33094 echo "$as_me:$LINENO: result: yes" >&5
33095 echo "${ECHO_T}yes" >&6
33096 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33097 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33098
33099 else
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.$ac_ext >&5
33102
33103
33104 echo "$as_me:$LINENO: result: no" >&5
33105 echo "${ECHO_T}no" >&6
33106 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33107 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33108 LDFLAGS="$saveLdflags -Wl,-R,/"
33109 cat >conftest.$ac_ext <<_ACEOF
33110 /* confdefs.h. */
33111 _ACEOF
33112 cat confdefs.h >>conftest.$ac_ext
33113 cat >>conftest.$ac_ext <<_ACEOF
33114 /* end confdefs.h. */
33115
33116 int
33117 main ()
33118 {
33119
33120 ;
33121 return 0;
33122 }
33123 _ACEOF
33124 rm -f conftest.$ac_objext conftest$ac_exeext
33125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33126 (eval $ac_link) 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } &&
33133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33135 (eval $ac_try) 2>&5
33136 ac_status=$?
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); }; } &&
33139 { ac_try='test -s conftest$ac_exeext'
33140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33141 (eval $ac_try) 2>&5
33142 ac_status=$?
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; }; then
33145
33146 echo "$as_me:$LINENO: result: yes" >&5
33147 echo "${ECHO_T}yes" >&6
33148 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33149 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33150
33151 else
33152 echo "$as_me: failed program was:" >&5
33153 sed 's/^/| /' conftest.$ac_ext >&5
33154
33155
33156 echo "$as_me:$LINENO: result: no" >&5
33157 echo "${ECHO_T}no" >&6
33158
33159 fi
33160 rm -f conftest.err conftest.$ac_objext \
33161 conftest$ac_exeext conftest.$ac_ext
33162
33163 fi
33164 rm -f conftest.err conftest.$ac_objext \
33165 conftest$ac_exeext conftest.$ac_ext
33166 LDFLAGS="$saveLdflags"
33167 else
33168 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33169 WXCONFIG_RPATH="-R\$libdir"
33170 fi
33171 ;;
33172
33173 *-*-darwin* )
33174 install_name_tool=`which install_name_tool`
33175 if test "$install_name_tool" -a -x "$install_name_tool"; then
33176 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33177 cat <<EOF >change-install-names
33178 #!/bin/sh
33179 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33180 inst_cmd="install_name_tool "
33181 for i in \${libnames} ; do
33182 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33183 done
33184 \${inst_cmd} \${3}
33185 EOF
33186 chmod +x change-install-names
33187 fi
33188 ;;
33189
33190 *-*-cygwin* | *-*-mingw32* )
33191 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33192 ;;
33193
33194 *-*-hpux* )
33195 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33196 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33197 ;;
33198
33199 esac
33200
33201 if test $wxUSE_RPATH = "no"; then
33202 SAMPLES_RPATH_FLAG=''
33203 SAMPLES_RPATH_POSTLINK=''
33204 WXCONFIG_RPATH=''
33205 fi
33206
33207 SHARED=1
33208
33209 else
33210
33211 config_linkage_component="-static"
33212 SHARED=0
33213
33214 fi
33215
33216
33217 UNICODE=0
33218 lib_unicode_suffix=
33219 WX_CHARTYPE="ansi"
33220 if test "$wxUSE_UNICODE" = "yes"; then
33221 lib_unicode_suffix=u
33222 WX_CHARTYPE="unicode"
33223 UNICODE=1
33224 fi
33225
33226 lib_debug_suffix=
33227 WX_DEBUGTYPE="release"
33228 DEBUG_FLAG=0
33229 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33230 lib_debug_suffix=d
33231 WX_DEBUGTYPE="debug"
33232 DEBUG_FLAG=1
33233 fi
33234
33235 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33236 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33237
33238 DEBUG_INFO=0
33239 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33240 DEBUG_INFO=1
33241 fi
33242
33243 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33244
33245 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33246
33247 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33248
33249 if test "$cross_compiling" = "yes"; then
33250 HOST_SUFFIX="-$host_alias"
33251 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33252 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33253 fi
33254
33255 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33256 if test "${TOOLKIT_DIR}" = "os2"; then
33257 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33258 else
33259 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33260 fi
33261
33262
33263
33264 if test "$wxUSE_COCOA" = 1; then
33265
33266
33267 ac_ext=c
33268 ac_cpp='$CPP $CPPFLAGS'
33269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33272
33273 ac_ext=m
33274
33275 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33276 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283 #include <AppKit/NSEvent.h>
33284 #include <CoreFoundation/CoreFoundation.h>
33285
33286 int
33287 main ()
33288 {
33289
33290 ;
33291 return 0;
33292 }
33293 _ACEOF
33294 rm -f conftest.$ac_objext
33295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33296 (eval $ac_compile) 2>conftest.er1
33297 ac_status=$?
33298 grep -v '^ *+' conftest.er1 >conftest.err
33299 rm -f conftest.er1
33300 cat conftest.err >&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); } &&
33303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305 (eval $ac_try) 2>&5
33306 ac_status=$?
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); }; } &&
33309 { ac_try='test -s conftest.$ac_objext'
33310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311 (eval $ac_try) 2>&5
33312 ac_status=$?
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; }; then
33315 echo "$as_me:$LINENO: result: no" >&5
33316 echo "${ECHO_T}no" >&6
33317 else
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33320
33321 echo "$as_me:$LINENO: result: yes" >&5
33322 echo "${ECHO_T}yes" >&6
33323 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33324 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33325 cat >conftest.$ac_ext <<_ACEOF
33326 /* confdefs.h. */
33327 _ACEOF
33328 cat confdefs.h >>conftest.$ac_ext
33329 cat >>conftest.$ac_ext <<_ACEOF
33330 /* end confdefs.h. */
33331 #define __Point__ 1
33332 #include <AppKit/NSEvent.h>
33333 #include <CoreFoundation/CoreFoundation.h>
33334
33335 int
33336 main ()
33337 {
33338
33339 ;
33340 return 0;
33341 }
33342 _ACEOF
33343 rm -f conftest.$ac_objext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33345 (eval $ac_compile) 2>conftest.er1
33346 ac_status=$?
33347 grep -v '^ *+' conftest.er1 >conftest.err
33348 rm -f conftest.er1
33349 cat conftest.err >&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } &&
33352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33354 (eval $ac_try) 2>&5
33355 ac_status=$?
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; } &&
33358 { ac_try='test -s conftest.$ac_objext'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33361 ac_status=$?
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; }; then
33364 echo "$as_me:$LINENO: result: yes" >&5
33365 echo "${ECHO_T}yes" >&6
33366 cat >>confdefs.h <<\_ACEOF
33367 #define __Point__ 1
33368 _ACEOF
33369
33370
33371 else
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.$ac_ext >&5
33374
33375 { { echo "$as_me:$LINENO: error: no
33376 See \`config.log' for more details." >&5
33377 echo "$as_me: error: no
33378 See \`config.log' for more details." >&2;}
33379 { (exit 1); exit 1; }; }
33380
33381 fi
33382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33383
33384 fi
33385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33386 ac_ext=cc
33387 ac_cpp='$CXXCPP $CPPFLAGS'
33388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33391
33392 fi
33393
33394 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33395 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33396 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33397
33398 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33399
33400 # Extract the first word of "Rez", so it can be a program name with args.
33401 set dummy Rez; ac_word=$2
33402 echo "$as_me:$LINENO: checking for $ac_word" >&5
33403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33404 if test "${ac_cv_prog_REZ+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 else
33407 if test -n "$REZ"; then
33408 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33409 else
33410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33411 for as_dir in $PATH
33412 do
33413 IFS=$as_save_IFS
33414 test -z "$as_dir" && as_dir=.
33415 for ac_exec_ext in '' $ac_executable_extensions; do
33416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33417 ac_cv_prog_REZ="Rez"
33418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33419 break 2
33420 fi
33421 done
33422 done
33423
33424 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33425 fi
33426 fi
33427 REZ=$ac_cv_prog_REZ
33428 if test -n "$REZ"; then
33429 echo "$as_me:$LINENO: result: $REZ" >&5
33430 echo "${ECHO_T}$REZ" >&6
33431 else
33432 echo "$as_me:$LINENO: result: no" >&5
33433 echo "${ECHO_T}no" >&6
33434 fi
33435
33436 # Extract the first word of "DeRez", so it can be a program name with args.
33437 set dummy DeRez; ac_word=$2
33438 echo "$as_me:$LINENO: checking for $ac_word" >&5
33439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33440 if test "${ac_cv_prog_DEREZ+set}" = set; then
33441 echo $ECHO_N "(cached) $ECHO_C" >&6
33442 else
33443 if test -n "$DEREZ"; then
33444 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33445 else
33446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33447 for as_dir in $PATH
33448 do
33449 IFS=$as_save_IFS
33450 test -z "$as_dir" && as_dir=.
33451 for ac_exec_ext in '' $ac_executable_extensions; do
33452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33453 ac_cv_prog_DEREZ="DeRez"
33454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33455 break 2
33456 fi
33457 done
33458 done
33459
33460 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33461 fi
33462 fi
33463 DEREZ=$ac_cv_prog_DEREZ
33464 if test -n "$DEREZ"; then
33465 echo "$as_me:$LINENO: result: $DEREZ" >&5
33466 echo "${ECHO_T}$DEREZ" >&6
33467 else
33468 echo "$as_me:$LINENO: result: no" >&5
33469 echo "${ECHO_T}no" >&6
33470 fi
33471
33472 # Extract the first word of "SetFile", so it can be a program name with args.
33473 set dummy SetFile; ac_word=$2
33474 echo "$as_me:$LINENO: checking for $ac_word" >&5
33475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33476 if test "${ac_cv_prog_SETFILE+set}" = set; then
33477 echo $ECHO_N "(cached) $ECHO_C" >&6
33478 else
33479 if test -n "$SETFILE"; then
33480 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33481 else
33482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33483 for as_dir in $PATH
33484 do
33485 IFS=$as_save_IFS
33486 test -z "$as_dir" && as_dir=.
33487 for ac_exec_ext in '' $ac_executable_extensions; do
33488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33489 ac_cv_prog_SETFILE="SetFile"
33490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33491 break 2
33492 fi
33493 done
33494 done
33495
33496 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33497 fi
33498 fi
33499 SETFILE=$ac_cv_prog_SETFILE
33500 if test -n "$SETFILE"; then
33501 echo "$as_me:$LINENO: result: $SETFILE" >&5
33502 echo "${ECHO_T}$SETFILE" >&6
33503 else
33504 echo "$as_me:$LINENO: result: no" >&5
33505 echo "${ECHO_T}no" >&6
33506 fi
33507
33508
33509 MACSETFILE="\$(SETFILE)"
33510
33511 if test "$wxUSE_MAC" = 1; then
33512 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33513 RESCOMP="$REZ"
33514 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33515 else
33516 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33517 RESCOMP="echo -n \| $REZ"
33518 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33519 fi
33520
33521 else
33522 MACSETFILE="@true"
33523
33524 if test "$wxUSE_PM" = 1; then
33525 RESCOMP="emxbind"
33526 WXCONFIG_RESFLAGS="-ep"
33527
33528 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33529 else
33530 POSTLINK_COMMAND="@true"
33531 fi
33532
33533 fi
33534
33535
33536
33537 echo "$as_me:$LINENO: checking for mode_t" >&5
33538 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33539 if test "${ac_cv_type_mode_t+set}" = set; then
33540 echo $ECHO_N "(cached) $ECHO_C" >&6
33541 else
33542 cat >conftest.$ac_ext <<_ACEOF
33543 /* confdefs.h. */
33544 _ACEOF
33545 cat confdefs.h >>conftest.$ac_ext
33546 cat >>conftest.$ac_ext <<_ACEOF
33547 /* end confdefs.h. */
33548 $ac_includes_default
33549 int
33550 main ()
33551 {
33552 if ((mode_t *) 0)
33553 return 0;
33554 if (sizeof (mode_t))
33555 return 0;
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33562 (eval $ac_compile) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33571 (eval $ac_try) 2>&5
33572 ac_status=$?
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; } &&
33575 { ac_try='test -s conftest.$ac_objext'
33576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577 (eval $ac_try) 2>&5
33578 ac_status=$?
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; }; then
33581 ac_cv_type_mode_t=yes
33582 else
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.$ac_ext >&5
33585
33586 ac_cv_type_mode_t=no
33587 fi
33588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33589 fi
33590 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33591 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33592 if test $ac_cv_type_mode_t = yes; then
33593 :
33594 else
33595
33596 cat >>confdefs.h <<_ACEOF
33597 #define mode_t int
33598 _ACEOF
33599
33600 fi
33601
33602 echo "$as_me:$LINENO: checking for off_t" >&5
33603 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33604 if test "${ac_cv_type_off_t+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33606 else
33607 cat >conftest.$ac_ext <<_ACEOF
33608 /* confdefs.h. */
33609 _ACEOF
33610 cat confdefs.h >>conftest.$ac_ext
33611 cat >>conftest.$ac_ext <<_ACEOF
33612 /* end confdefs.h. */
33613 $ac_includes_default
33614 int
33615 main ()
33616 {
33617 if ((off_t *) 0)
33618 return 0;
33619 if (sizeof (off_t))
33620 return 0;
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext
33626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33627 (eval $ac_compile) 2>conftest.er1
33628 ac_status=$?
33629 grep -v '^ *+' conftest.er1 >conftest.err
33630 rm -f conftest.er1
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } &&
33634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33636 (eval $ac_try) 2>&5
33637 ac_status=$?
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); }; } &&
33640 { ac_try='test -s conftest.$ac_objext'
33641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33642 (eval $ac_try) 2>&5
33643 ac_status=$?
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; }; then
33646 ac_cv_type_off_t=yes
33647 else
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33650
33651 ac_cv_type_off_t=no
33652 fi
33653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33654 fi
33655 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33656 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33657 if test $ac_cv_type_off_t = yes; then
33658 :
33659 else
33660
33661 cat >>confdefs.h <<_ACEOF
33662 #define off_t long
33663 _ACEOF
33664
33665 fi
33666
33667 echo "$as_me:$LINENO: checking for pid_t" >&5
33668 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33669 if test "${ac_cv_type_pid_t+set}" = set; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 else
33672 cat >conftest.$ac_ext <<_ACEOF
33673 /* confdefs.h. */
33674 _ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 $ac_includes_default
33679 int
33680 main ()
33681 {
33682 if ((pid_t *) 0)
33683 return 0;
33684 if (sizeof (pid_t))
33685 return 0;
33686 ;
33687 return 0;
33688 }
33689 _ACEOF
33690 rm -f conftest.$ac_objext
33691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33692 (eval $ac_compile) 2>conftest.er1
33693 ac_status=$?
33694 grep -v '^ *+' conftest.er1 >conftest.err
33695 rm -f conftest.er1
33696 cat conftest.err >&5
33697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33698 (exit $ac_status); } &&
33699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33701 (eval $ac_try) 2>&5
33702 ac_status=$?
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); }; } &&
33705 { ac_try='test -s conftest.$ac_objext'
33706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33707 (eval $ac_try) 2>&5
33708 ac_status=$?
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); }; }; then
33711 ac_cv_type_pid_t=yes
33712 else
33713 echo "$as_me: failed program was:" >&5
33714 sed 's/^/| /' conftest.$ac_ext >&5
33715
33716 ac_cv_type_pid_t=no
33717 fi
33718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33719 fi
33720 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33721 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33722 if test $ac_cv_type_pid_t = yes; then
33723 :
33724 else
33725
33726 cat >>confdefs.h <<_ACEOF
33727 #define pid_t int
33728 _ACEOF
33729
33730 fi
33731
33732 echo "$as_me:$LINENO: checking for size_t" >&5
33733 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33734 if test "${ac_cv_type_size_t+set}" = set; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 else
33737 cat >conftest.$ac_ext <<_ACEOF
33738 /* confdefs.h. */
33739 _ACEOF
33740 cat confdefs.h >>conftest.$ac_ext
33741 cat >>conftest.$ac_ext <<_ACEOF
33742 /* end confdefs.h. */
33743 $ac_includes_default
33744 int
33745 main ()
33746 {
33747 if ((size_t *) 0)
33748 return 0;
33749 if (sizeof (size_t))
33750 return 0;
33751 ;
33752 return 0;
33753 }
33754 _ACEOF
33755 rm -f conftest.$ac_objext
33756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33757 (eval $ac_compile) 2>conftest.er1
33758 ac_status=$?
33759 grep -v '^ *+' conftest.er1 >conftest.err
33760 rm -f conftest.er1
33761 cat conftest.err >&5
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); } &&
33764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33766 (eval $ac_try) 2>&5
33767 ac_status=$?
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); }; } &&
33770 { ac_try='test -s conftest.$ac_objext'
33771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33772 (eval $ac_try) 2>&5
33773 ac_status=$?
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); }; }; then
33776 ac_cv_type_size_t=yes
33777 else
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.$ac_ext >&5
33780
33781 ac_cv_type_size_t=no
33782 fi
33783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33784 fi
33785 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33786 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33787 if test $ac_cv_type_size_t = yes; then
33788 :
33789 else
33790
33791 cat >>confdefs.h <<_ACEOF
33792 #define size_t unsigned
33793 _ACEOF
33794
33795 fi
33796
33797 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33798 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33799 if test "${ac_cv_type_uid_t+set}" = set; then
33800 echo $ECHO_N "(cached) $ECHO_C" >&6
33801 else
33802 cat >conftest.$ac_ext <<_ACEOF
33803 /* confdefs.h. */
33804 _ACEOF
33805 cat confdefs.h >>conftest.$ac_ext
33806 cat >>conftest.$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808 #include <sys/types.h>
33809
33810 _ACEOF
33811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33812 $EGREP "uid_t" >/dev/null 2>&1; then
33813 ac_cv_type_uid_t=yes
33814 else
33815 ac_cv_type_uid_t=no
33816 fi
33817 rm -f conftest*
33818
33819 fi
33820 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33821 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33822 if test $ac_cv_type_uid_t = no; then
33823
33824 cat >>confdefs.h <<\_ACEOF
33825 #define uid_t int
33826 _ACEOF
33827
33828
33829 cat >>confdefs.h <<\_ACEOF
33830 #define gid_t int
33831 _ACEOF
33832
33833 fi
33834
33835
33836 echo "$as_me:$LINENO: checking for ssize_t" >&5
33837 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33838 if test "${ac_cv_type_ssize_t+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33840 else
33841 cat >conftest.$ac_ext <<_ACEOF
33842 /* confdefs.h. */
33843 _ACEOF
33844 cat confdefs.h >>conftest.$ac_ext
33845 cat >>conftest.$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33847 $ac_includes_default
33848 int
33849 main ()
33850 {
33851 if ((ssize_t *) 0)
33852 return 0;
33853 if (sizeof (ssize_t))
33854 return 0;
33855 ;
33856 return 0;
33857 }
33858 _ACEOF
33859 rm -f conftest.$ac_objext
33860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33861 (eval $ac_compile) 2>conftest.er1
33862 ac_status=$?
33863 grep -v '^ *+' conftest.er1 >conftest.err
33864 rm -f conftest.er1
33865 cat conftest.err >&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); } &&
33868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33871 ac_status=$?
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; } &&
33874 { ac_try='test -s conftest.$ac_objext'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; }; then
33880 ac_cv_type_ssize_t=yes
33881 else
33882 echo "$as_me: failed program was:" >&5
33883 sed 's/^/| /' conftest.$ac_ext >&5
33884
33885 ac_cv_type_ssize_t=no
33886 fi
33887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33888 fi
33889 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33890 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33891 if test $ac_cv_type_ssize_t = yes; then
33892
33893 cat >>confdefs.h <<_ACEOF
33894 #define HAVE_SSIZE_T 1
33895 _ACEOF
33896
33897
33898 fi
33899
33900
33901 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33902 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33903 if test "${wx_cv_size_t_is_uint+set}" = set; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 else
33906
33907 cat >conftest.$ac_ext <<_ACEOF
33908 /* confdefs.h. */
33909 _ACEOF
33910 cat confdefs.h >>conftest.$ac_ext
33911 cat >>conftest.$ac_ext <<_ACEOF
33912 /* end confdefs.h. */
33913 #include <stddef.h>
33914 int
33915 main ()
33916 {
33917
33918 return 0; }
33919
33920 struct Foo { void foo(size_t); void foo(unsigned int); };
33921
33922 int bar() {
33923
33924 ;
33925 return 0;
33926 }
33927 _ACEOF
33928 rm -f conftest.$ac_objext
33929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33930 (eval $ac_compile) 2>conftest.er1
33931 ac_status=$?
33932 grep -v '^ *+' conftest.er1 >conftest.err
33933 rm -f conftest.er1
33934 cat conftest.err >&5
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); } &&
33937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; } &&
33943 { ac_try='test -s conftest.$ac_objext'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; }; then
33949 wx_cv_size_t_is_uint=no
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954 wx_cv_size_t_is_uint=yes
33955
33956 fi
33957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33958
33959
33960 fi
33961 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33962 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33963
33964 if test "$wx_cv_size_t_is_uint" = "yes"; then
33965 cat >>confdefs.h <<\_ACEOF
33966 #define wxSIZE_T_IS_UINT 1
33967 _ACEOF
33968
33969 else
33970 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33971 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33972 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33973 echo $ECHO_N "(cached) $ECHO_C" >&6
33974 else
33975 cat >conftest.$ac_ext <<_ACEOF
33976 /* confdefs.h. */
33977 _ACEOF
33978 cat confdefs.h >>conftest.$ac_ext
33979 cat >>conftest.$ac_ext <<_ACEOF
33980 /* end confdefs.h. */
33981 #include <stddef.h>
33982 int
33983 main ()
33984 {
33985
33986 return 0; }
33987
33988 struct Foo { void foo(size_t); void foo(unsigned long); };
33989
33990 int bar() {
33991
33992 ;
33993 return 0;
33994 }
33995 _ACEOF
33996 rm -f conftest.$ac_objext
33997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33998 (eval $ac_compile) 2>conftest.er1
33999 ac_status=$?
34000 grep -v '^ *+' conftest.er1 >conftest.err
34001 rm -f conftest.er1
34002 cat conftest.err >&5
34003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34004 (exit $ac_status); } &&
34005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34007 (eval $ac_try) 2>&5
34008 ac_status=$?
34009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010 (exit $ac_status); }; } &&
34011 { ac_try='test -s conftest.$ac_objext'
34012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013 (eval $ac_try) 2>&5
34014 ac_status=$?
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); }; }; then
34017 wx_cv_size_t_is_ulong=no
34018 else
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34021
34022 wx_cv_size_t_is_ulong=yes
34023
34024 fi
34025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34026
34027 fi
34028 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34029 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34030
34031 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34032 cat >>confdefs.h <<\_ACEOF
34033 #define wxSIZE_T_IS_ULONG 1
34034 _ACEOF
34035
34036 fi
34037 fi
34038
34039
34040 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34041 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34042 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34043 echo $ECHO_N "(cached) $ECHO_C" >&6
34044 else
34045
34046 cat >conftest.$ac_ext <<_ACEOF
34047 /* confdefs.h. */
34048 _ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 #include <pwd.h>
34053 int
34054 main ()
34055 {
34056
34057 char *p;
34058 struct passwd *pw;
34059 p = pw->pw_gecos;
34060
34061 ;
34062 return 0;
34063 }
34064 _ACEOF
34065 rm -f conftest.$ac_objext
34066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34067 (eval $ac_compile) 2>conftest.er1
34068 ac_status=$?
34069 grep -v '^ *+' conftest.er1 >conftest.err
34070 rm -f conftest.er1
34071 cat conftest.err >&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); } &&
34074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34076 (eval $ac_try) 2>&5
34077 ac_status=$?
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); }; } &&
34080 { ac_try='test -s conftest.$ac_objext'
34081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34082 (eval $ac_try) 2>&5
34083 ac_status=$?
34084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34085 (exit $ac_status); }; }; then
34086
34087 wx_cv_struct_pw_gecos=yes
34088
34089 else
34090 echo "$as_me: failed program was:" >&5
34091 sed 's/^/| /' conftest.$ac_ext >&5
34092
34093
34094 wx_cv_struct_pw_gecos=no
34095
34096
34097 fi
34098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34099
34100
34101 fi
34102 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34103 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34104
34105 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34106 cat >>confdefs.h <<\_ACEOF
34107 #define HAVE_PW_GECOS 1
34108 _ACEOF
34109
34110 fi
34111
34112
34113 if test "$wxUSE_WCHAR_T" = "yes"; then
34114 cat >>confdefs.h <<\_ACEOF
34115 #define wxUSE_WCHAR_T 1
34116 _ACEOF
34117
34118
34119 WCSLEN_FOUND=0
34120 WCHAR_LINK=
34121
34122 for ac_func in wcslen
34123 do
34124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34125 echo "$as_me:$LINENO: checking for $ac_func" >&5
34126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34127 if eval "test \"\${$as_ac_var+set}\" = set"; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 else
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34138 #define $ac_func innocuous_$ac_func
34139
34140 /* System header to define __stub macros and hopefully few prototypes,
34141 which can conflict with char $ac_func (); below.
34142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34143 <limits.h> exists even on freestanding compilers. */
34144
34145 #ifdef __STDC__
34146 # include <limits.h>
34147 #else
34148 # include <assert.h>
34149 #endif
34150
34151 #undef $ac_func
34152
34153 /* Override any gcc2 internal prototype to avoid an error. */
34154 #ifdef __cplusplus
34155 extern "C"
34156 {
34157 #endif
34158 /* We use char because int might match the return type of a gcc2
34159 builtin and then its argument prototype would still apply. */
34160 char $ac_func ();
34161 /* The GNU C library defines this for functions which it implements
34162 to always fail with ENOSYS. Some functions are actually named
34163 something starting with __ and the normal name is an alias. */
34164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34165 choke me
34166 #else
34167 char (*f) () = $ac_func;
34168 #endif
34169 #ifdef __cplusplus
34170 }
34171 #endif
34172
34173 int
34174 main ()
34175 {
34176 return f != $ac_func;
34177 ;
34178 return 0;
34179 }
34180 _ACEOF
34181 rm -f conftest.$ac_objext conftest$ac_exeext
34182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34183 (eval $ac_link) 2>conftest.er1
34184 ac_status=$?
34185 grep -v '^ *+' conftest.er1 >conftest.err
34186 rm -f conftest.er1
34187 cat conftest.err >&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); } &&
34190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34192 (eval $ac_try) 2>&5
34193 ac_status=$?
34194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34195 (exit $ac_status); }; } &&
34196 { ac_try='test -s conftest$ac_exeext'
34197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34198 (eval $ac_try) 2>&5
34199 ac_status=$?
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); }; }; then
34202 eval "$as_ac_var=yes"
34203 else
34204 echo "$as_me: failed program was:" >&5
34205 sed 's/^/| /' conftest.$ac_ext >&5
34206
34207 eval "$as_ac_var=no"
34208 fi
34209 rm -f conftest.err conftest.$ac_objext \
34210 conftest$ac_exeext conftest.$ac_ext
34211 fi
34212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34214 if test `eval echo '${'$as_ac_var'}'` = yes; then
34215 cat >>confdefs.h <<_ACEOF
34216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34217 _ACEOF
34218 WCSLEN_FOUND=1
34219 fi
34220 done
34221
34222
34223 if test "$WCSLEN_FOUND" = 0; then
34224 if test "$TOOLKIT" = "MSW"; then
34225 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34226 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34227 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34228 echo $ECHO_N "(cached) $ECHO_C" >&6
34229 else
34230 ac_check_lib_save_LIBS=$LIBS
34231 LIBS="-lmsvcrt $LIBS"
34232 cat >conftest.$ac_ext <<_ACEOF
34233 /* confdefs.h. */
34234 _ACEOF
34235 cat confdefs.h >>conftest.$ac_ext
34236 cat >>conftest.$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238
34239 /* Override any gcc2 internal prototype to avoid an error. */
34240 #ifdef __cplusplus
34241 extern "C"
34242 #endif
34243 /* We use char because int might match the return type of a gcc2
34244 builtin and then its argument prototype would still apply. */
34245 char wcslen ();
34246 int
34247 main ()
34248 {
34249 wcslen ();
34250 ;
34251 return 0;
34252 }
34253 _ACEOF
34254 rm -f conftest.$ac_objext conftest$ac_exeext
34255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34256 (eval $ac_link) 2>conftest.er1
34257 ac_status=$?
34258 grep -v '^ *+' conftest.er1 >conftest.err
34259 rm -f conftest.er1
34260 cat conftest.err >&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); } &&
34263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34265 (eval $ac_try) 2>&5
34266 ac_status=$?
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); }; } &&
34269 { ac_try='test -s conftest$ac_exeext'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34272 ac_status=$?
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; }; then
34275 ac_cv_lib_msvcrt_wcslen=yes
34276 else
34277 echo "$as_me: failed program was:" >&5
34278 sed 's/^/| /' conftest.$ac_ext >&5
34279
34280 ac_cv_lib_msvcrt_wcslen=no
34281 fi
34282 rm -f conftest.err conftest.$ac_objext \
34283 conftest$ac_exeext conftest.$ac_ext
34284 LIBS=$ac_check_lib_save_LIBS
34285 fi
34286 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34287 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34288 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34289 WCHAR_OK=1
34290 fi
34291
34292 else
34293 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34294 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34295 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298 ac_check_lib_save_LIBS=$LIBS
34299 LIBS="-lw $LIBS"
34300 cat >conftest.$ac_ext <<_ACEOF
34301 /* confdefs.h. */
34302 _ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34306
34307 /* Override any gcc2 internal prototype to avoid an error. */
34308 #ifdef __cplusplus
34309 extern "C"
34310 #endif
34311 /* We use char because int might match the return type of a gcc2
34312 builtin and then its argument prototype would still apply. */
34313 char wcslen ();
34314 int
34315 main ()
34316 {
34317 wcslen ();
34318 ;
34319 return 0;
34320 }
34321 _ACEOF
34322 rm -f conftest.$ac_objext conftest$ac_exeext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34324 (eval $ac_link) 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } &&
34331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34334 ac_status=$?
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; } &&
34337 { ac_try='test -s conftest$ac_exeext'
34338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34339 (eval $ac_try) 2>&5
34340 ac_status=$?
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); }; }; then
34343 ac_cv_lib_w_wcslen=yes
34344 else
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.$ac_ext >&5
34347
34348 ac_cv_lib_w_wcslen=no
34349 fi
34350 rm -f conftest.err conftest.$ac_objext \
34351 conftest$ac_exeext conftest.$ac_ext
34352 LIBS=$ac_check_lib_save_LIBS
34353 fi
34354 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34355 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34356 if test $ac_cv_lib_w_wcslen = yes; then
34357
34358 WCHAR_LINK=" -lw"
34359 WCSLEN_FOUND=1
34360
34361 fi
34362
34363 fi
34364 fi
34365
34366 if test "$WCSLEN_FOUND" = 1; then
34367 cat >>confdefs.h <<\_ACEOF
34368 #define HAVE_WCSLEN 1
34369 _ACEOF
34370
34371 fi
34372
34373 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34374 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34375 fi
34376
34377 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34378 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34379 if test "${ac_cv_type_mbstate_t+set}" = set; then
34380 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 else
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 #include <wchar.h>
34389
34390 int
34391 main ()
34392 {
34393 if ((mbstate_t *) 0)
34394 return 0;
34395 if (sizeof (mbstate_t))
34396 return 0;
34397 ;
34398 return 0;
34399 }
34400 _ACEOF
34401 rm -f conftest.$ac_objext
34402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34403 (eval $ac_compile) 2>conftest.er1
34404 ac_status=$?
34405 grep -v '^ *+' conftest.er1 >conftest.err
34406 rm -f conftest.er1
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } &&
34410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34412 (eval $ac_try) 2>&5
34413 ac_status=$?
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); }; } &&
34416 { ac_try='test -s conftest.$ac_objext'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34419 ac_status=$?
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; }; then
34422 ac_cv_type_mbstate_t=yes
34423 else
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.$ac_ext >&5
34426
34427 ac_cv_type_mbstate_t=no
34428 fi
34429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34430 fi
34431 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34432 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34433 if test $ac_cv_type_mbstate_t = yes; then
34434
34435 cat >>confdefs.h <<_ACEOF
34436 #define HAVE_MBSTATE_T 1
34437 _ACEOF
34438
34439
34440 for ac_func in wcsrtombs
34441 do
34442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34443 echo "$as_me:$LINENO: checking for $ac_func" >&5
34444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34445 if eval "test \"\${$as_ac_var+set}\" = set"; then
34446 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 else
34448 cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h. */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34456 #define $ac_func innocuous_$ac_func
34457
34458 /* System header to define __stub macros and hopefully few prototypes,
34459 which can conflict with char $ac_func (); below.
34460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34461 <limits.h> exists even on freestanding compilers. */
34462
34463 #ifdef __STDC__
34464 # include <limits.h>
34465 #else
34466 # include <assert.h>
34467 #endif
34468
34469 #undef $ac_func
34470
34471 /* Override any gcc2 internal prototype to avoid an error. */
34472 #ifdef __cplusplus
34473 extern "C"
34474 {
34475 #endif
34476 /* We use char because int might match the return type of a gcc2
34477 builtin and then its argument prototype would still apply. */
34478 char $ac_func ();
34479 /* The GNU C library defines this for functions which it implements
34480 to always fail with ENOSYS. Some functions are actually named
34481 something starting with __ and the normal name is an alias. */
34482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34483 choke me
34484 #else
34485 char (*f) () = $ac_func;
34486 #endif
34487 #ifdef __cplusplus
34488 }
34489 #endif
34490
34491 int
34492 main ()
34493 {
34494 return f != $ac_func;
34495 ;
34496 return 0;
34497 }
34498 _ACEOF
34499 rm -f conftest.$ac_objext conftest$ac_exeext
34500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34501 (eval $ac_link) 2>conftest.er1
34502 ac_status=$?
34503 grep -v '^ *+' conftest.er1 >conftest.err
34504 rm -f conftest.er1
34505 cat conftest.err >&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } &&
34508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510 (eval $ac_try) 2>&5
34511 ac_status=$?
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); }; } &&
34514 { ac_try='test -s conftest$ac_exeext'
34515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34516 (eval $ac_try) 2>&5
34517 ac_status=$?
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); }; }; then
34520 eval "$as_ac_var=yes"
34521 else
34522 echo "$as_me: failed program was:" >&5
34523 sed 's/^/| /' conftest.$ac_ext >&5
34524
34525 eval "$as_ac_var=no"
34526 fi
34527 rm -f conftest.err conftest.$ac_objext \
34528 conftest$ac_exeext conftest.$ac_ext
34529 fi
34530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34532 if test `eval echo '${'$as_ac_var'}'` = yes; then
34533 cat >>confdefs.h <<_ACEOF
34534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34535 _ACEOF
34536
34537 fi
34538 done
34539
34540 fi
34541
34542 else
34543 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34544 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34545 fi
34546
34547
34548
34549 for ac_func in snprintf vsnprintf
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" || test ! -s conftest.err'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34620 ac_status=$?
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; } &&
34623 { ac_try='test -s conftest$ac_exeext'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34626 ac_status=$?
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; }; then
34629 eval "$as_ac_var=yes"
34630 else
34631 echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.$ac_ext >&5
34633
34634 eval "$as_ac_var=no"
34635 fi
34636 rm -f conftest.err conftest.$ac_objext \
34637 conftest$ac_exeext conftest.$ac_ext
34638 fi
34639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34641 if test `eval echo '${'$as_ac_var'}'` = yes; then
34642 cat >>confdefs.h <<_ACEOF
34643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34644 _ACEOF
34645
34646 fi
34647 done
34648
34649
34650 if test "$ac_cv_func_vsnprintf" = "yes"; then
34651 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34652 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34653 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34654 echo $ECHO_N "(cached) $ECHO_C" >&6
34655 else
34656
34657 cat >conftest.$ac_ext <<_ACEOF
34658 /* confdefs.h. */
34659 _ACEOF
34660 cat confdefs.h >>conftest.$ac_ext
34661 cat >>conftest.$ac_ext <<_ACEOF
34662 /* end confdefs.h. */
34663
34664 #include <stdio.h>
34665 #include <stdarg.h>
34666 #ifdef __MSL__
34667 #if __MSL__ >= 0x6000
34668 namespace std {}
34669 using namespace std;
34670 #endif
34671 #endif
34672
34673 int
34674 main ()
34675 {
34676
34677 char *buf;
34678 va_list ap;
34679 vsnprintf(buf, 10u, "%s", ap);
34680
34681 ;
34682 return 0;
34683 }
34684 _ACEOF
34685 rm -f conftest.$ac_objext
34686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34687 (eval $ac_compile) 2>conftest.er1
34688 ac_status=$?
34689 grep -v '^ *+' conftest.er1 >conftest.err
34690 rm -f conftest.er1
34691 cat conftest.err >&5
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); } &&
34694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34697 ac_status=$?
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; } &&
34700 { ac_try='test -s conftest.$ac_objext'
34701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702 (eval $ac_try) 2>&5
34703 ac_status=$?
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); }; }; then
34706 wx_cv_func_vsnprintf_decl=yes
34707 else
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.$ac_ext >&5
34710
34711 wx_cv_func_vsnprintf_decl=no
34712
34713 fi
34714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34715
34716
34717 fi
34718 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34719 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34720
34721 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34722 cat >>confdefs.h <<\_ACEOF
34723 #define HAVE_VSNPRINTF_DECL 1
34724 _ACEOF
34725
34726
34727 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34728 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34729 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 else
34732
34733 cat >conftest.$ac_ext <<_ACEOF
34734 /* confdefs.h. */
34735 _ACEOF
34736 cat confdefs.h >>conftest.$ac_ext
34737 cat >>conftest.$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34739
34740 #include <stdio.h>
34741 #include <stdarg.h>
34742 #ifdef __MSL__
34743 #if __MSL__ >= 0x6000
34744 namespace std {}
34745 using namespace std;
34746 #endif
34747 #endif
34748
34749 int
34750 main ()
34751 {
34752
34753 char *buf;
34754 va_list ap;
34755 const char *fmt = "%s";
34756 vsnprintf(buf, 10u, fmt, ap);
34757
34758 ;
34759 return 0;
34760 }
34761 _ACEOF
34762 rm -f conftest.$ac_objext
34763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34764 (eval $ac_compile) 2>conftest.er1
34765 ac_status=$?
34766 grep -v '^ *+' conftest.er1 >conftest.err
34767 rm -f conftest.er1
34768 cat conftest.err >&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); } &&
34771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34774 ac_status=$?
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; } &&
34777 { ac_try='test -s conftest.$ac_objext'
34778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34779 (eval $ac_try) 2>&5
34780 ac_status=$?
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); }; }; then
34783 wx_cv_func_broken_vsnprintf_decl=no
34784 else
34785 echo "$as_me: failed program was:" >&5
34786 sed 's/^/| /' conftest.$ac_ext >&5
34787
34788 wx_cv_func_broken_vsnprintf_decl=yes
34789
34790 fi
34791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34792
34793
34794 fi
34795 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34796 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34797
34798 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34799 cat >>confdefs.h <<\_ACEOF
34800 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34801 _ACEOF
34802
34803 fi
34804 fi
34805 fi
34806
34807 if test "$ac_cv_func_snprintf" = "yes"; then
34808 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34809 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34810 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813
34814 cat >conftest.$ac_ext <<_ACEOF
34815 /* confdefs.h. */
34816 _ACEOF
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820
34821 #include <stdio.h>
34822 #include <stdarg.h>
34823 #ifdef __MSL__
34824 #if __MSL__ >= 0x6000
34825 namespace std {}
34826 using namespace std;
34827 #endif
34828 #endif
34829
34830 int
34831 main ()
34832 {
34833
34834 char *buf;
34835 snprintf(buf, 10u, "%s", "wx");
34836
34837 ;
34838 return 0;
34839 }
34840 _ACEOF
34841 rm -f conftest.$ac_objext
34842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34843 (eval $ac_compile) 2>conftest.er1
34844 ac_status=$?
34845 grep -v '^ *+' conftest.er1 >conftest.err
34846 rm -f conftest.er1
34847 cat conftest.err >&5
34848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34849 (exit $ac_status); } &&
34850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34852 (eval $ac_try) 2>&5
34853 ac_status=$?
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; } &&
34856 { ac_try='test -s conftest.$ac_objext'
34857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34858 (eval $ac_try) 2>&5
34859 ac_status=$?
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); }; }; then
34862 wx_cv_func_snprintf_decl=yes
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 wx_cv_func_snprintf_decl=no
34868
34869 fi
34870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34871
34872
34873 fi
34874 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34875 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34876
34877 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34878 cat >>confdefs.h <<\_ACEOF
34879 #define HAVE_SNPRINTF_DECL 1
34880 _ACEOF
34881
34882
34883 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34884 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34885 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 else
34888
34889 cat >conftest.$ac_ext <<_ACEOF
34890 /* confdefs.h. */
34891 _ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895
34896 #include <stdio.h>
34897 #include <stdarg.h>
34898 #ifdef __MSL__
34899 #if __MSL__ >= 0x6000
34900 namespace std {}
34901 using namespace std;
34902 #endif
34903 #endif
34904
34905 int
34906 main ()
34907 {
34908
34909 char *buf;
34910 const char *fmt = "%s";
34911 snprintf(buf, 10u, fmt, "wx");
34912
34913 ;
34914 return 0;
34915 }
34916 _ACEOF
34917 rm -f conftest.$ac_objext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34919 (eval $ac_compile) 2>conftest.er1
34920 ac_status=$?
34921 grep -v '^ *+' conftest.er1 >conftest.err
34922 rm -f conftest.er1
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34929 ac_status=$?
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; } &&
34932 { ac_try='test -s conftest.$ac_objext'
34933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34934 (eval $ac_try) 2>&5
34935 ac_status=$?
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); }; }; then
34938 wx_cv_func_broken_snprintf_decl=no
34939 else
34940 echo "$as_me: failed program was:" >&5
34941 sed 's/^/| /' conftest.$ac_ext >&5
34942
34943 wx_cv_func_broken_snprintf_decl=yes
34944
34945 fi
34946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34947
34948
34949 fi
34950 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34951 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34952
34953 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34954 cat >>confdefs.h <<\_ACEOF
34955 #define HAVE_BROKEN_SNPRINTF_DECL 1
34956 _ACEOF
34957
34958 fi
34959 fi
34960
34961 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34962
34963 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34964 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34965 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968
34969 if test "$cross_compiling" = yes; then
34970 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34971 See \`config.log' for more details." >&5
34972 echo "$as_me: error: cannot run test program while cross compiling
34973 See \`config.log' for more details." >&2;}
34974 { (exit 1); exit 1; }; }
34975 else
34976 cat >conftest.$ac_ext <<_ACEOF
34977 /* confdefs.h. */
34978 _ACEOF
34979 cat confdefs.h >>conftest.$ac_ext
34980 cat >>conftest.$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34982
34983 #include <stdio.h>
34984
34985 int main (void)
34986 {
34987 char buffer[128];
34988 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34989 if (strcmp ("2 3 1", buffer) == 0)
34990 exit (0);
34991 exit (1);
34992 }
34993
34994 _ACEOF
34995 rm -f conftest$ac_exeext
34996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34997 (eval $ac_link) 2>&5
34998 ac_status=$?
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35003 ac_status=$?
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; }; then
35006 wx_cv_func_snprintf_pos_params=no
35007 else
35008 echo "$as_me: program exited with status $ac_status" >&5
35009 echo "$as_me: failed program was:" >&5
35010 sed 's/^/| /' conftest.$ac_ext >&5
35011
35012 ( exit $ac_status )
35013 wx_cv_func_snprintf_pos_params=yes
35014
35015 fi
35016 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35017 fi
35018
35019
35020 fi
35021 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35022 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35023
35024 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35025 cat >>confdefs.h <<\_ACEOF
35026 #define HAVE_UNIX98_PRINTF 1
35027 _ACEOF
35028
35029 fi
35030 fi
35031 fi
35032
35033
35034 if test "$wxUSE_UNICODE" = yes; then
35035
35036
35037
35038
35039
35040
35041 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35042 do
35043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35044 echo "$as_me:$LINENO: checking for $ac_func" >&5
35045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35046 if eval "test \"\${$as_ac_var+set}\" = set"; then
35047 echo $ECHO_N "(cached) $ECHO_C" >&6
35048 else
35049 cat >conftest.$ac_ext <<_ACEOF
35050 /* confdefs.h. */
35051 _ACEOF
35052 cat confdefs.h >>conftest.$ac_ext
35053 cat >>conftest.$ac_ext <<_ACEOF
35054 /* end confdefs.h. */
35055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35057 #define $ac_func innocuous_$ac_func
35058
35059 /* System header to define __stub macros and hopefully few prototypes,
35060 which can conflict with char $ac_func (); below.
35061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35062 <limits.h> exists even on freestanding compilers. */
35063
35064 #ifdef __STDC__
35065 # include <limits.h>
35066 #else
35067 # include <assert.h>
35068 #endif
35069
35070 #undef $ac_func
35071
35072 /* Override any gcc2 internal prototype to avoid an error. */
35073 #ifdef __cplusplus
35074 extern "C"
35075 {
35076 #endif
35077 /* We use char because int might match the return type of a gcc2
35078 builtin and then its argument prototype would still apply. */
35079 char $ac_func ();
35080 /* The GNU C library defines this for functions which it implements
35081 to always fail with ENOSYS. Some functions are actually named
35082 something starting with __ and the normal name is an alias. */
35083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35084 choke me
35085 #else
35086 char (*f) () = $ac_func;
35087 #endif
35088 #ifdef __cplusplus
35089 }
35090 #endif
35091
35092 int
35093 main ()
35094 {
35095 return f != $ac_func;
35096 ;
35097 return 0;
35098 }
35099 _ACEOF
35100 rm -f conftest.$ac_objext conftest$ac_exeext
35101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35102 (eval $ac_link) 2>conftest.er1
35103 ac_status=$?
35104 grep -v '^ *+' conftest.er1 >conftest.err
35105 rm -f conftest.er1
35106 cat conftest.err >&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); } &&
35109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35111 (eval $ac_try) 2>&5
35112 ac_status=$?
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); }; } &&
35115 { ac_try='test -s conftest$ac_exeext'
35116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35117 (eval $ac_try) 2>&5
35118 ac_status=$?
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); }; }; then
35121 eval "$as_ac_var=yes"
35122 else
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.$ac_ext >&5
35125
35126 eval "$as_ac_var=no"
35127 fi
35128 rm -f conftest.err conftest.$ac_objext \
35129 conftest$ac_exeext conftest.$ac_ext
35130 fi
35131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35133 if test `eval echo '${'$as_ac_var'}'` = yes; then
35134 cat >>confdefs.h <<_ACEOF
35135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35136 _ACEOF
35137
35138 fi
35139 done
35140
35141
35142 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35143 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35144 cat >conftest.$ac_ext <<_ACEOF
35145 /* confdefs.h. */
35146 _ACEOF
35147 cat confdefs.h >>conftest.$ac_ext
35148 cat >>conftest.$ac_ext <<_ACEOF
35149 /* end confdefs.h. */
35150 #include <wchar.h>
35151 int
35152 main ()
35153 {
35154 &_vsnwprintf;
35155 ;
35156 return 0;
35157 }
35158 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35161 (eval $ac_compile) 2>conftest.er1
35162 ac_status=$?
35163 grep -v '^ *+' conftest.er1 >conftest.err
35164 rm -f conftest.er1
35165 cat conftest.err >&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } &&
35168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; } &&
35174 { ac_try='test -s conftest.$ac_objext'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35177 ac_status=$?
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; }; then
35180 echo "$as_me:$LINENO: result: yes" >&5
35181 echo "${ECHO_T}yes" >&6
35182 cat >>confdefs.h <<\_ACEOF
35183 #define HAVE__VSNWPRINTF 1
35184 _ACEOF
35185
35186 else
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.$ac_ext >&5
35189
35190 echo "$as_me:$LINENO: result: no" >&5
35191 echo "${ECHO_T}no" >&6
35192 fi
35193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35194 fi
35195
35196 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35197
35198 for ac_func in fnmatch
35199 do
35200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35201 echo "$as_me:$LINENO: checking for $ac_func" >&5
35202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35203 if eval "test \"\${$as_ac_var+set}\" = set"; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206 cat >conftest.$ac_ext <<_ACEOF
35207 /* confdefs.h. */
35208 _ACEOF
35209 cat confdefs.h >>conftest.$ac_ext
35210 cat >>conftest.$ac_ext <<_ACEOF
35211 /* end confdefs.h. */
35212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35214 #define $ac_func innocuous_$ac_func
35215
35216 /* System header to define __stub macros and hopefully few prototypes,
35217 which can conflict with char $ac_func (); below.
35218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35219 <limits.h> exists even on freestanding compilers. */
35220
35221 #ifdef __STDC__
35222 # include <limits.h>
35223 #else
35224 # include <assert.h>
35225 #endif
35226
35227 #undef $ac_func
35228
35229 /* Override any gcc2 internal prototype to avoid an error. */
35230 #ifdef __cplusplus
35231 extern "C"
35232 {
35233 #endif
35234 /* We use char because int might match the return type of a gcc2
35235 builtin and then its argument prototype would still apply. */
35236 char $ac_func ();
35237 /* The GNU C library defines this for functions which it implements
35238 to always fail with ENOSYS. Some functions are actually named
35239 something starting with __ and the normal name is an alias. */
35240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35241 choke me
35242 #else
35243 char (*f) () = $ac_func;
35244 #endif
35245 #ifdef __cplusplus
35246 }
35247 #endif
35248
35249 int
35250 main ()
35251 {
35252 return f != $ac_func;
35253 ;
35254 return 0;
35255 }
35256 _ACEOF
35257 rm -f conftest.$ac_objext conftest$ac_exeext
35258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35259 (eval $ac_link) 2>conftest.er1
35260 ac_status=$?
35261 grep -v '^ *+' conftest.er1 >conftest.err
35262 rm -f conftest.er1
35263 cat conftest.err >&5
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); } &&
35266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35269 ac_status=$?
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; } &&
35272 { ac_try='test -s conftest$ac_exeext'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35275 ac_status=$?
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; }; then
35278 eval "$as_ac_var=yes"
35279 else
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35282
35283 eval "$as_ac_var=no"
35284 fi
35285 rm -f conftest.err conftest.$ac_objext \
35286 conftest$ac_exeext conftest.$ac_ext
35287 fi
35288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35290 if test `eval echo '${'$as_ac_var'}'` = yes; then
35291 cat >>confdefs.h <<_ACEOF
35292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35293 _ACEOF
35294
35295 fi
35296 done
35297
35298 fi
35299
35300 if test "$wxUSE_FILE" = "yes"; then
35301
35302 for ac_func in fsync
35303 do
35304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35305 echo "$as_me:$LINENO: checking for $ac_func" >&5
35306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35307 if eval "test \"\${$as_ac_var+set}\" = set"; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 else
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35318 #define $ac_func innocuous_$ac_func
35319
35320 /* System header to define __stub macros and hopefully few prototypes,
35321 which can conflict with char $ac_func (); below.
35322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35323 <limits.h> exists even on freestanding compilers. */
35324
35325 #ifdef __STDC__
35326 # include <limits.h>
35327 #else
35328 # include <assert.h>
35329 #endif
35330
35331 #undef $ac_func
35332
35333 /* Override any gcc2 internal prototype to avoid an error. */
35334 #ifdef __cplusplus
35335 extern "C"
35336 {
35337 #endif
35338 /* We use char because int might match the return type of a gcc2
35339 builtin and then its argument prototype would still apply. */
35340 char $ac_func ();
35341 /* The GNU C library defines this for functions which it implements
35342 to always fail with ENOSYS. Some functions are actually named
35343 something starting with __ and the normal name is an alias. */
35344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35345 choke me
35346 #else
35347 char (*f) () = $ac_func;
35348 #endif
35349 #ifdef __cplusplus
35350 }
35351 #endif
35352
35353 int
35354 main ()
35355 {
35356 return f != $ac_func;
35357 ;
35358 return 0;
35359 }
35360 _ACEOF
35361 rm -f conftest.$ac_objext conftest$ac_exeext
35362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35363 (eval $ac_link) 2>conftest.er1
35364 ac_status=$?
35365 grep -v '^ *+' conftest.er1 >conftest.err
35366 rm -f conftest.er1
35367 cat conftest.err >&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); } &&
35370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35373 ac_status=$?
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; } &&
35376 { ac_try='test -s conftest$ac_exeext'
35377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35378 (eval $ac_try) 2>&5
35379 ac_status=$?
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); }; }; then
35382 eval "$as_ac_var=yes"
35383 else
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35386
35387 eval "$as_ac_var=no"
35388 fi
35389 rm -f conftest.err conftest.$ac_objext \
35390 conftest$ac_exeext conftest.$ac_ext
35391 fi
35392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35394 if test `eval echo '${'$as_ac_var'}'` = yes; then
35395 cat >>confdefs.h <<_ACEOF
35396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35397 _ACEOF
35398
35399 fi
35400 done
35401
35402 fi
35403
35404
35405 for ac_func in round
35406 do
35407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35408 echo "$as_me:$LINENO: checking for $ac_func" >&5
35409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35410 if eval "test \"\${$as_ac_var+set}\" = set"; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35412 else
35413 cat >conftest.$ac_ext <<_ACEOF
35414 /* confdefs.h. */
35415 _ACEOF
35416 cat confdefs.h >>conftest.$ac_ext
35417 cat >>conftest.$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35421 #define $ac_func innocuous_$ac_func
35422
35423 /* System header to define __stub macros and hopefully few prototypes,
35424 which can conflict with char $ac_func (); below.
35425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35426 <limits.h> exists even on freestanding compilers. */
35427
35428 #ifdef __STDC__
35429 # include <limits.h>
35430 #else
35431 # include <assert.h>
35432 #endif
35433
35434 #undef $ac_func
35435
35436 /* Override any gcc2 internal prototype to avoid an error. */
35437 #ifdef __cplusplus
35438 extern "C"
35439 {
35440 #endif
35441 /* We use char because int might match the return type of a gcc2
35442 builtin and then its argument prototype would still apply. */
35443 char $ac_func ();
35444 /* The GNU C library defines this for functions which it implements
35445 to always fail with ENOSYS. Some functions are actually named
35446 something starting with __ and the normal name is an alias. */
35447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35448 choke me
35449 #else
35450 char (*f) () = $ac_func;
35451 #endif
35452 #ifdef __cplusplus
35453 }
35454 #endif
35455
35456 int
35457 main ()
35458 {
35459 return f != $ac_func;
35460 ;
35461 return 0;
35462 }
35463 _ACEOF
35464 rm -f conftest.$ac_objext conftest$ac_exeext
35465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35466 (eval $ac_link) 2>conftest.er1
35467 ac_status=$?
35468 grep -v '^ *+' conftest.er1 >conftest.err
35469 rm -f conftest.er1
35470 cat conftest.err >&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } &&
35473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35475 (eval $ac_try) 2>&5
35476 ac_status=$?
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); }; } &&
35479 { ac_try='test -s conftest$ac_exeext'
35480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35481 (eval $ac_try) 2>&5
35482 ac_status=$?
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); }; }; then
35485 eval "$as_ac_var=yes"
35486 else
35487 echo "$as_me: failed program was:" >&5
35488 sed 's/^/| /' conftest.$ac_ext >&5
35489
35490 eval "$as_ac_var=no"
35491 fi
35492 rm -f conftest.err conftest.$ac_objext \
35493 conftest$ac_exeext conftest.$ac_ext
35494 fi
35495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35497 if test `eval echo '${'$as_ac_var'}'` = yes; then
35498 cat >>confdefs.h <<_ACEOF
35499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35500 _ACEOF
35501
35502 fi
35503 done
35504
35505 if test "$ac_cv_func_round" = yes; then
35506 echo "$as_me:$LINENO: checking whether round is declared" >&5
35507 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35508 if test "${ac_cv_have_decl_round+set}" = set; then
35509 echo $ECHO_N "(cached) $ECHO_C" >&6
35510 else
35511 cat >conftest.$ac_ext <<_ACEOF
35512 /* confdefs.h. */
35513 _ACEOF
35514 cat confdefs.h >>conftest.$ac_ext
35515 cat >>conftest.$ac_ext <<_ACEOF
35516 /* end confdefs.h. */
35517 #include <math.h>
35518
35519 int
35520 main ()
35521 {
35522 #ifndef round
35523 char *p = (char *) round;
35524 #endif
35525
35526 ;
35527 return 0;
35528 }
35529 _ACEOF
35530 rm -f conftest.$ac_objext
35531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35532 (eval $ac_compile) 2>conftest.er1
35533 ac_status=$?
35534 grep -v '^ *+' conftest.er1 >conftest.err
35535 rm -f conftest.er1
35536 cat conftest.err >&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } &&
35539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35542 ac_status=$?
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; } &&
35545 { ac_try='test -s conftest.$ac_objext'
35546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35547 (eval $ac_try) 2>&5
35548 ac_status=$?
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); }; }; then
35551 ac_cv_have_decl_round=yes
35552 else
35553 echo "$as_me: failed program was:" >&5
35554 sed 's/^/| /' conftest.$ac_ext >&5
35555
35556 ac_cv_have_decl_round=no
35557 fi
35558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35559 fi
35560 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35561 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35562 if test $ac_cv_have_decl_round = yes; then
35563
35564 cat >>confdefs.h <<_ACEOF
35565 #define HAVE_DECL_ROUND 1
35566 _ACEOF
35567
35568
35569 else
35570 cat >>confdefs.h <<_ACEOF
35571 #define HAVE_DECL_ROUND 0
35572 _ACEOF
35573
35574
35575 fi
35576
35577
35578 fi
35579
35580
35581 if test "$TOOLKIT" != "MSW"; then
35582
35583
35584
35585
35586
35587 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35588 if test "${with_libiconv_prefix+set}" = set; then
35589 withval="$with_libiconv_prefix"
35590
35591 for dir in `echo "$withval" | tr : ' '`; do
35592 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35593 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35594 done
35595
35596 fi;
35597
35598 echo "$as_me:$LINENO: checking for iconv" >&5
35599 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35600 if test "${am_cv_func_iconv+set}" = set; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 else
35603
35604 am_cv_func_iconv="no, consider installing GNU libiconv"
35605 am_cv_lib_iconv=no
35606 cat >conftest.$ac_ext <<_ACEOF
35607 /* confdefs.h. */
35608 _ACEOF
35609 cat confdefs.h >>conftest.$ac_ext
35610 cat >>conftest.$ac_ext <<_ACEOF
35611 /* end confdefs.h. */
35612 #include <stdlib.h>
35613 #include <iconv.h>
35614 int
35615 main ()
35616 {
35617 iconv_t cd = iconv_open("","");
35618 iconv(cd,NULL,NULL,NULL,NULL);
35619 iconv_close(cd);
35620 ;
35621 return 0;
35622 }
35623 _ACEOF
35624 rm -f conftest.$ac_objext conftest$ac_exeext
35625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35626 (eval $ac_link) 2>conftest.er1
35627 ac_status=$?
35628 grep -v '^ *+' conftest.er1 >conftest.err
35629 rm -f conftest.er1
35630 cat conftest.err >&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } &&
35633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35636 ac_status=$?
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; } &&
35639 { ac_try='test -s conftest$ac_exeext'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35642 ac_status=$?
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; }; then
35645 am_cv_func_iconv=yes
35646 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35649
35650 fi
35651 rm -f conftest.err conftest.$ac_objext \
35652 conftest$ac_exeext conftest.$ac_ext
35653 if test "$am_cv_func_iconv" != yes; then
35654 am_save_LIBS="$LIBS"
35655 LIBS="$LIBS -liconv"
35656 cat >conftest.$ac_ext <<_ACEOF
35657 /* confdefs.h. */
35658 _ACEOF
35659 cat confdefs.h >>conftest.$ac_ext
35660 cat >>conftest.$ac_ext <<_ACEOF
35661 /* end confdefs.h. */
35662 #include <stdlib.h>
35663 #include <iconv.h>
35664 int
35665 main ()
35666 {
35667 iconv_t cd = iconv_open("","");
35668 iconv(cd,NULL,NULL,NULL,NULL);
35669 iconv_close(cd);
35670 ;
35671 return 0;
35672 }
35673 _ACEOF
35674 rm -f conftest.$ac_objext conftest$ac_exeext
35675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35676 (eval $ac_link) 2>conftest.er1
35677 ac_status=$?
35678 grep -v '^ *+' conftest.er1 >conftest.err
35679 rm -f conftest.er1
35680 cat conftest.err >&5
35681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35682 (exit $ac_status); } &&
35683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35685 (eval $ac_try) 2>&5
35686 ac_status=$?
35687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 (exit $ac_status); }; } &&
35689 { ac_try='test -s conftest$ac_exeext'
35690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35691 (eval $ac_try) 2>&5
35692 ac_status=$?
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); }; }; then
35695 am_cv_lib_iconv=yes
35696 am_cv_func_iconv=yes
35697 else
35698 echo "$as_me: failed program was:" >&5
35699 sed 's/^/| /' conftest.$ac_ext >&5
35700
35701 fi
35702 rm -f conftest.err conftest.$ac_objext \
35703 conftest$ac_exeext conftest.$ac_ext
35704 LIBS="$am_save_LIBS"
35705 fi
35706
35707 fi
35708 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35709 echo "${ECHO_T}$am_cv_func_iconv" >&6
35710 if test "$am_cv_func_iconv" = yes; then
35711
35712 cat >>confdefs.h <<\_ACEOF
35713 #define HAVE_ICONV 1
35714 _ACEOF
35715
35716 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35717 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35718 if test "${wx_cv_func_iconv_const+set}" = set; then
35719 echo $ECHO_N "(cached) $ECHO_C" >&6
35720 else
35721 cat >conftest.$ac_ext <<_ACEOF
35722 /* confdefs.h. */
35723 _ACEOF
35724 cat confdefs.h >>conftest.$ac_ext
35725 cat >>conftest.$ac_ext <<_ACEOF
35726 /* end confdefs.h. */
35727
35728 #include <stdlib.h>
35729 #include <iconv.h>
35730 extern
35731 #ifdef __cplusplus
35732 "C"
35733 #endif
35734 #if defined(__STDC__) || defined(__cplusplus)
35735 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35736 #else
35737 size_t iconv();
35738 #endif
35739
35740 int
35741 main ()
35742 {
35743
35744 ;
35745 return 0;
35746 }
35747 _ACEOF
35748 rm -f conftest.$ac_objext
35749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35750 (eval $ac_compile) 2>conftest.er1
35751 ac_status=$?
35752 grep -v '^ *+' conftest.er1 >conftest.err
35753 rm -f conftest.er1
35754 cat conftest.err >&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } &&
35757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; } &&
35763 { ac_try='test -s conftest.$ac_objext'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35766 ac_status=$?
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; }; then
35769 wx_cv_func_iconv_const="no"
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 wx_cv_func_iconv_const="yes"
35775
35776 fi
35777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35778
35779 fi
35780 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35781 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35782
35783 iconv_const=
35784 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35785 iconv_const="const"
35786 fi
35787
35788
35789 cat >>confdefs.h <<_ACEOF
35790 #define ICONV_CONST $iconv_const
35791 _ACEOF
35792
35793 fi
35794 LIBICONV=
35795 if test "$am_cv_lib_iconv" = yes; then
35796 LIBICONV="-liconv"
35797 fi
35798
35799
35800 LIBS="$LIBICONV $LIBS"
35801
35802 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35803
35804 for ac_func in sigaction
35805 do
35806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35807 echo "$as_me:$LINENO: checking for $ac_func" >&5
35808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35809 if eval "test \"\${$as_ac_var+set}\" = set"; then
35810 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 else
35812 cat >conftest.$ac_ext <<_ACEOF
35813 /* confdefs.h. */
35814 _ACEOF
35815 cat confdefs.h >>conftest.$ac_ext
35816 cat >>conftest.$ac_ext <<_ACEOF
35817 /* end confdefs.h. */
35818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35820 #define $ac_func innocuous_$ac_func
35821
35822 /* System header to define __stub macros and hopefully few prototypes,
35823 which can conflict with char $ac_func (); below.
35824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35825 <limits.h> exists even on freestanding compilers. */
35826
35827 #ifdef __STDC__
35828 # include <limits.h>
35829 #else
35830 # include <assert.h>
35831 #endif
35832
35833 #undef $ac_func
35834
35835 /* Override any gcc2 internal prototype to avoid an error. */
35836 #ifdef __cplusplus
35837 extern "C"
35838 {
35839 #endif
35840 /* We use char because int might match the return type of a gcc2
35841 builtin and then its argument prototype would still apply. */
35842 char $ac_func ();
35843 /* The GNU C library defines this for functions which it implements
35844 to always fail with ENOSYS. Some functions are actually named
35845 something starting with __ and the normal name is an alias. */
35846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35847 choke me
35848 #else
35849 char (*f) () = $ac_func;
35850 #endif
35851 #ifdef __cplusplus
35852 }
35853 #endif
35854
35855 int
35856 main ()
35857 {
35858 return f != $ac_func;
35859 ;
35860 return 0;
35861 }
35862 _ACEOF
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35865 (eval $ac_link) 2>conftest.er1
35866 ac_status=$?
35867 grep -v '^ *+' conftest.er1 >conftest.err
35868 rm -f conftest.er1
35869 cat conftest.err >&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); } &&
35872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35874 (eval $ac_try) 2>&5
35875 ac_status=$?
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); }; } &&
35878 { ac_try='test -s conftest$ac_exeext'
35879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35880 (eval $ac_try) 2>&5
35881 ac_status=$?
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); }; }; then
35884 eval "$as_ac_var=yes"
35885 else
35886 echo "$as_me: failed program was:" >&5
35887 sed 's/^/| /' conftest.$ac_ext >&5
35888
35889 eval "$as_ac_var=no"
35890 fi
35891 rm -f conftest.err conftest.$ac_objext \
35892 conftest$ac_exeext conftest.$ac_ext
35893 fi
35894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35896 if test `eval echo '${'$as_ac_var'}'` = yes; then
35897 cat >>confdefs.h <<_ACEOF
35898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35899 _ACEOF
35900
35901 fi
35902 done
35903
35904
35905 if test "$ac_cv_func_sigaction" = "no"; then
35906 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35907 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35908 wxUSE_ON_FATAL_EXCEPTION=no
35909 fi
35910
35911 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35912 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35913 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35914 if test "${wx_cv_type_sa_handler+set}" = set; then
35915 echo $ECHO_N "(cached) $ECHO_C" >&6
35916 else
35917
35918 cat >conftest.$ac_ext <<_ACEOF
35919 /* confdefs.h. */
35920 _ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924 #include <signal.h>
35925 int
35926 main ()
35927 {
35928
35929 extern void testSigHandler(int);
35930
35931 struct sigaction sa;
35932 sa.sa_handler = testSigHandler;
35933
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35940 (eval $ac_compile) 2>conftest.er1
35941 ac_status=$?
35942 grep -v '^ *+' conftest.er1 >conftest.err
35943 rm -f conftest.er1
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try='test -s conftest.$ac_objext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959
35960 wx_cv_type_sa_handler=int
35961
35962 else
35963 echo "$as_me: failed program was:" >&5
35964 sed 's/^/| /' conftest.$ac_ext >&5
35965
35966
35967 wx_cv_type_sa_handler=void
35968
35969 fi
35970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35971
35972 fi
35973 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35974 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35975
35976 cat >>confdefs.h <<_ACEOF
35977 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35978 _ACEOF
35979
35980 fi
35981 fi
35982
35983 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35984 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35985 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35986 if test "${wx_cv_func_backtrace+set}" = set; then
35987 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 else
35989
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 #include <execinfo.h>
35997 int
35998 main ()
35999 {
36000
36001 void *trace[1];
36002 char **messages;
36003
36004 backtrace(trace, 1);
36005 messages = backtrace_symbols(trace, 1);
36006
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 rm -f conftest.$ac_objext
36012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36013 (eval $ac_compile) 2>conftest.er1
36014 ac_status=$?
36015 grep -v '^ *+' conftest.er1 >conftest.err
36016 rm -f conftest.er1
36017 cat conftest.err >&5
36018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36019 (exit $ac_status); } &&
36020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022 (eval $ac_try) 2>&5
36023 ac_status=$?
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); }; } &&
36026 { ac_try='test -s conftest.$ac_objext'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36029 ac_status=$?
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; }; then
36032 wx_cv_func_backtrace=yes
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 wx_cv_func_backtrace=no
36038
36039 fi
36040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36041
36042
36043 fi
36044 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36045 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36046
36047
36048 if test "$wx_cv_func_backtrace" = "no"; then
36049 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36050 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36051 wxUSE_STACKWALKER=no
36052 else
36053 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36054 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36055 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36056 echo $ECHO_N "(cached) $ECHO_C" >&6
36057 else
36058
36059 cat >conftest.$ac_ext <<_ACEOF
36060 /* confdefs.h. */
36061 _ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065 #include <cxxabi.h>
36066 int
36067 main ()
36068 {
36069
36070 int rc;
36071 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36072
36073 ;
36074 return 0;
36075 }
36076 _ACEOF
36077 rm -f conftest.$ac_objext conftest$ac_exeext
36078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36079 (eval $ac_link) 2>conftest.er1
36080 ac_status=$?
36081 grep -v '^ *+' conftest.er1 >conftest.err
36082 rm -f conftest.er1
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } &&
36086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088 (eval $ac_try) 2>&5
36089 ac_status=$?
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); }; } &&
36092 { ac_try='test -s conftest$ac_exeext'
36093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36094 (eval $ac_try) 2>&5
36095 ac_status=$?
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); }; }; then
36098 wx_cv_func_cxa_demangle=yes
36099 else
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36102
36103 wx_cv_func_cxa_demangle=no
36104
36105 fi
36106 rm -f conftest.err conftest.$ac_objext \
36107 conftest$ac_exeext conftest.$ac_ext
36108
36109
36110 fi
36111 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36112 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36113
36114 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36115 cat >>confdefs.h <<\_ACEOF
36116 #define HAVE_CXA_DEMANGLE 1
36117 _ACEOF
36118
36119 fi
36120 fi
36121 fi
36122
36123 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36124 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36125 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36126 wxUSE_STACKWALKER=no
36127 fi
36128
36129
36130
36131
36132 for ac_func in mkstemp mktemp
36133 do
36134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36135 echo "$as_me:$LINENO: checking for $ac_func" >&5
36136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36137 if eval "test \"\${$as_ac_var+set}\" = set"; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 else
36140 cat >conftest.$ac_ext <<_ACEOF
36141 /* confdefs.h. */
36142 _ACEOF
36143 cat confdefs.h >>conftest.$ac_ext
36144 cat >>conftest.$ac_ext <<_ACEOF
36145 /* end confdefs.h. */
36146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36148 #define $ac_func innocuous_$ac_func
36149
36150 /* System header to define __stub macros and hopefully few prototypes,
36151 which can conflict with char $ac_func (); below.
36152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36153 <limits.h> exists even on freestanding compilers. */
36154
36155 #ifdef __STDC__
36156 # include <limits.h>
36157 #else
36158 # include <assert.h>
36159 #endif
36160
36161 #undef $ac_func
36162
36163 /* Override any gcc2 internal prototype to avoid an error. */
36164 #ifdef __cplusplus
36165 extern "C"
36166 {
36167 #endif
36168 /* We use char because int might match the return type of a gcc2
36169 builtin and then its argument prototype would still apply. */
36170 char $ac_func ();
36171 /* The GNU C library defines this for functions which it implements
36172 to always fail with ENOSYS. Some functions are actually named
36173 something starting with __ and the normal name is an alias. */
36174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36175 choke me
36176 #else
36177 char (*f) () = $ac_func;
36178 #endif
36179 #ifdef __cplusplus
36180 }
36181 #endif
36182
36183 int
36184 main ()
36185 {
36186 return f != $ac_func;
36187 ;
36188 return 0;
36189 }
36190 _ACEOF
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36193 (eval $ac_link) 2>conftest.er1
36194 ac_status=$?
36195 grep -v '^ *+' conftest.er1 >conftest.err
36196 rm -f conftest.er1
36197 cat conftest.err >&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } &&
36200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36203 ac_status=$?
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try='test -s conftest$ac_exeext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36209 ac_status=$?
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 eval "$as_ac_var=yes"
36213 else
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.$ac_ext >&5
36216
36217 eval "$as_ac_var=no"
36218 fi
36219 rm -f conftest.err conftest.$ac_objext \
36220 conftest$ac_exeext conftest.$ac_ext
36221 fi
36222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36224 if test `eval echo '${'$as_ac_var'}'` = yes; then
36225 cat >>confdefs.h <<_ACEOF
36226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36227 _ACEOF
36228 break
36229 fi
36230 done
36231
36232
36233 echo "$as_me:$LINENO: checking for statfs" >&5
36234 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36235 if test "${wx_cv_func_statfs+set}" = set; then
36236 echo $ECHO_N "(cached) $ECHO_C" >&6
36237 else
36238 cat >conftest.$ac_ext <<_ACEOF
36239 /* confdefs.h. */
36240 _ACEOF
36241 cat confdefs.h >>conftest.$ac_ext
36242 cat >>conftest.$ac_ext <<_ACEOF
36243 /* end confdefs.h. */
36244
36245 #if defined(__BSD__)
36246 #include <sys/param.h>
36247 #include <sys/mount.h>
36248 #else
36249 #include <sys/vfs.h>
36250 #endif
36251
36252 int
36253 main ()
36254 {
36255
36256 long l;
36257 struct statfs fs;
36258 statfs("/", &fs);
36259 l = fs.f_bsize;
36260 l += fs.f_blocks;
36261 l += fs.f_bavail;
36262
36263 ;
36264 return 0;
36265 }
36266 _ACEOF
36267 rm -f conftest.$ac_objext
36268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36269 (eval $ac_compile) 2>conftest.er1
36270 ac_status=$?
36271 grep -v '^ *+' conftest.er1 >conftest.err
36272 rm -f conftest.er1
36273 cat conftest.err >&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); } &&
36276 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278 (eval $ac_try) 2>&5
36279 ac_status=$?
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); }; } &&
36282 { ac_try='test -s conftest.$ac_objext'
36283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36284 (eval $ac_try) 2>&5
36285 ac_status=$?
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); }; }; then
36288 wx_cv_func_statfs=yes
36289 else
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.$ac_ext >&5
36292
36293 wx_cv_func_statfs=no
36294
36295 fi
36296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36297
36298 fi
36299 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36300 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36301
36302 if test "$wx_cv_func_statfs" = "yes"; then
36303 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36304 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36305 if test "${wx_cv_func_statfs_decl+set}" = set; then
36306 echo $ECHO_N "(cached) $ECHO_C" >&6
36307 else
36308 cat >conftest.$ac_ext <<_ACEOF
36309 /* confdefs.h. */
36310 _ACEOF
36311 cat confdefs.h >>conftest.$ac_ext
36312 cat >>conftest.$ac_ext <<_ACEOF
36313 /* end confdefs.h. */
36314
36315 #if defined(__BSD__)
36316 #include <sys/param.h>
36317 #include <sys/mount.h>
36318 #else
36319 #include <sys/vfs.h>
36320 #endif
36321
36322 int
36323 main ()
36324 {
36325
36326 struct statfs fs;
36327 statfs("", &fs);
36328
36329 ;
36330 return 0;
36331 }
36332 _ACEOF
36333 rm -f conftest.$ac_objext
36334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36335 (eval $ac_compile) 2>conftest.er1
36336 ac_status=$?
36337 grep -v '^ *+' conftest.er1 >conftest.err
36338 rm -f conftest.er1
36339 cat conftest.err >&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); } &&
36342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36345 ac_status=$?
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; } &&
36348 { ac_try='test -s conftest.$ac_objext'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36351 ac_status=$?
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; }; then
36354 wx_cv_func_statfs_decl=yes
36355 else
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.$ac_ext >&5
36358
36359 wx_cv_func_statfs_decl=no
36360
36361 fi
36362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36363
36364 fi
36365 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36366 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36367
36368 if test "$wx_cv_func_statfs_decl" = "yes"; then
36369 cat >>confdefs.h <<\_ACEOF
36370 #define HAVE_STATFS_DECL 1
36371 _ACEOF
36372
36373 fi
36374
36375 wx_cv_type_statvfs_t="struct statfs"
36376 cat >>confdefs.h <<\_ACEOF
36377 #define HAVE_STATFS 1
36378 _ACEOF
36379
36380 else
36381 echo "$as_me:$LINENO: checking for statvfs" >&5
36382 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36383 if test "${wx_cv_func_statvfs+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 else
36386 cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392
36393 #include <stddef.h>
36394 #include <sys/statvfs.h>
36395
36396 int
36397 main ()
36398 {
36399
36400 statvfs("/", NULL);
36401
36402 ;
36403 return 0;
36404 }
36405 _ACEOF
36406 rm -f conftest.$ac_objext
36407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36408 (eval $ac_compile) 2>conftest.er1
36409 ac_status=$?
36410 grep -v '^ *+' conftest.er1 >conftest.err
36411 rm -f conftest.er1
36412 cat conftest.err >&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); } &&
36415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36418 ac_status=$?
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; } &&
36421 { ac_try='test -s conftest.$ac_objext'
36422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423 (eval $ac_try) 2>&5
36424 ac_status=$?
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); }; }; then
36427 wx_cv_func_statvfs=yes
36428 else
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36431
36432 wx_cv_func_statvfs=no
36433
36434 fi
36435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36436
36437 fi
36438 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36439 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36440
36441 if test "$wx_cv_func_statvfs" = "yes"; then
36442 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36443 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36444 if test "${wx_cv_type_statvfs_t+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36446 else
36447 cat >conftest.$ac_ext <<_ACEOF
36448 /* confdefs.h. */
36449 _ACEOF
36450 cat confdefs.h >>conftest.$ac_ext
36451 cat >>conftest.$ac_ext <<_ACEOF
36452 /* end confdefs.h. */
36453
36454 #include <sys/statvfs.h>
36455
36456 int
36457 main ()
36458 {
36459
36460 long l;
36461 statvfs_t fs;
36462 statvfs("/", &fs);
36463 l = fs.f_bsize;
36464 l += fs.f_blocks;
36465 l += fs.f_bavail;
36466
36467 ;
36468 return 0;
36469 }
36470 _ACEOF
36471 rm -f conftest.$ac_objext
36472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36473 (eval $ac_compile) 2>conftest.er1
36474 ac_status=$?
36475 grep -v '^ *+' conftest.er1 >conftest.err
36476 rm -f conftest.er1
36477 cat conftest.err >&5
36478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479 (exit $ac_status); } &&
36480 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36482 (eval $ac_try) 2>&5
36483 ac_status=$?
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); }; } &&
36486 { ac_try='test -s conftest.$ac_objext'
36487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36488 (eval $ac_try) 2>&5
36489 ac_status=$?
36490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36491 (exit $ac_status); }; }; then
36492 wx_cv_type_statvfs_t=statvfs_t
36493 else
36494 echo "$as_me: failed program was:" >&5
36495 sed 's/^/| /' conftest.$ac_ext >&5
36496
36497
36498 cat >conftest.$ac_ext <<_ACEOF
36499 /* confdefs.h. */
36500 _ACEOF
36501 cat confdefs.h >>conftest.$ac_ext
36502 cat >>conftest.$ac_ext <<_ACEOF
36503 /* end confdefs.h. */
36504
36505 #include <sys/statvfs.h>
36506
36507 int
36508 main ()
36509 {
36510
36511 long l;
36512 struct statvfs fs;
36513 statvfs("/", &fs);
36514 l = fs.f_bsize;
36515 l += fs.f_blocks;
36516 l += fs.f_bavail;
36517
36518 ;
36519 return 0;
36520 }
36521 _ACEOF
36522 rm -f conftest.$ac_objext
36523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36524 (eval $ac_compile) 2>conftest.er1
36525 ac_status=$?
36526 grep -v '^ *+' conftest.er1 >conftest.err
36527 rm -f conftest.er1
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } &&
36531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36534 ac_status=$?
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; } &&
36537 { ac_try='test -s conftest.$ac_objext'
36538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36539 (eval $ac_try) 2>&5
36540 ac_status=$?
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); }; }; then
36543 wx_cv_type_statvfs_t="struct statvfs"
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548 wx_cv_type_statvfs_t="unknown"
36549
36550 fi
36551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36552
36553
36554 fi
36555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36556
36557 fi
36558 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36559 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36560
36561 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36562 cat >>confdefs.h <<\_ACEOF
36563 #define HAVE_STATVFS 1
36564 _ACEOF
36565
36566 fi
36567 else
36568 wx_cv_type_statvfs_t="unknown"
36569 fi
36570 fi
36571
36572 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36573 cat >>confdefs.h <<_ACEOF
36574 #define WX_STATFS_T $wx_cv_type_statvfs_t
36575 _ACEOF
36576
36577 else
36578 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36579 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36580 fi
36581
36582 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36583
36584
36585 for ac_func in fcntl flock
36586 do
36587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36588 echo "$as_me:$LINENO: checking for $ac_func" >&5
36589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36590 if eval "test \"\${$as_ac_var+set}\" = set"; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 else
36593 cat >conftest.$ac_ext <<_ACEOF
36594 /* confdefs.h. */
36595 _ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36601 #define $ac_func innocuous_$ac_func
36602
36603 /* System header to define __stub macros and hopefully few prototypes,
36604 which can conflict with char $ac_func (); below.
36605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36606 <limits.h> exists even on freestanding compilers. */
36607
36608 #ifdef __STDC__
36609 # include <limits.h>
36610 #else
36611 # include <assert.h>
36612 #endif
36613
36614 #undef $ac_func
36615
36616 /* Override any gcc2 internal prototype to avoid an error. */
36617 #ifdef __cplusplus
36618 extern "C"
36619 {
36620 #endif
36621 /* We use char because int might match the return type of a gcc2
36622 builtin and then its argument prototype would still apply. */
36623 char $ac_func ();
36624 /* The GNU C library defines this for functions which it implements
36625 to always fail with ENOSYS. Some functions are actually named
36626 something starting with __ and the normal name is an alias. */
36627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36628 choke me
36629 #else
36630 char (*f) () = $ac_func;
36631 #endif
36632 #ifdef __cplusplus
36633 }
36634 #endif
36635
36636 int
36637 main ()
36638 {
36639 return f != $ac_func;
36640 ;
36641 return 0;
36642 }
36643 _ACEOF
36644 rm -f conftest.$ac_objext conftest$ac_exeext
36645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36646 (eval $ac_link) 2>conftest.er1
36647 ac_status=$?
36648 grep -v '^ *+' conftest.er1 >conftest.err
36649 rm -f conftest.er1
36650 cat conftest.err >&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); } &&
36653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36655 (eval $ac_try) 2>&5
36656 ac_status=$?
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); }; } &&
36659 { ac_try='test -s conftest$ac_exeext'
36660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36661 (eval $ac_try) 2>&5
36662 ac_status=$?
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); }; }; then
36665 eval "$as_ac_var=yes"
36666 else
36667 echo "$as_me: failed program was:" >&5
36668 sed 's/^/| /' conftest.$ac_ext >&5
36669
36670 eval "$as_ac_var=no"
36671 fi
36672 rm -f conftest.err conftest.$ac_objext \
36673 conftest$ac_exeext conftest.$ac_ext
36674 fi
36675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36677 if test `eval echo '${'$as_ac_var'}'` = yes; then
36678 cat >>confdefs.h <<_ACEOF
36679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36680 _ACEOF
36681 break
36682 fi
36683 done
36684
36685
36686 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36687 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36688 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36689 wxUSE_SNGLINST_CHECKER=no
36690 fi
36691 fi
36692
36693
36694 for ac_func in timegm
36695 do
36696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36697 echo "$as_me:$LINENO: checking for $ac_func" >&5
36698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36699 if eval "test \"\${$as_ac_var+set}\" = set"; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36701 else
36702 cat >conftest.$ac_ext <<_ACEOF
36703 /* confdefs.h. */
36704 _ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36710 #define $ac_func innocuous_$ac_func
36711
36712 /* System header to define __stub macros and hopefully few prototypes,
36713 which can conflict with char $ac_func (); below.
36714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36715 <limits.h> exists even on freestanding compilers. */
36716
36717 #ifdef __STDC__
36718 # include <limits.h>
36719 #else
36720 # include <assert.h>
36721 #endif
36722
36723 #undef $ac_func
36724
36725 /* Override any gcc2 internal prototype to avoid an error. */
36726 #ifdef __cplusplus
36727 extern "C"
36728 {
36729 #endif
36730 /* We use char because int might match the return type of a gcc2
36731 builtin and then its argument prototype would still apply. */
36732 char $ac_func ();
36733 /* The GNU C library defines this for functions which it implements
36734 to always fail with ENOSYS. Some functions are actually named
36735 something starting with __ and the normal name is an alias. */
36736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36737 choke me
36738 #else
36739 char (*f) () = $ac_func;
36740 #endif
36741 #ifdef __cplusplus
36742 }
36743 #endif
36744
36745 int
36746 main ()
36747 {
36748 return f != $ac_func;
36749 ;
36750 return 0;
36751 }
36752 _ACEOF
36753 rm -f conftest.$ac_objext conftest$ac_exeext
36754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36755 (eval $ac_link) 2>conftest.er1
36756 ac_status=$?
36757 grep -v '^ *+' conftest.er1 >conftest.err
36758 rm -f conftest.er1
36759 cat conftest.err >&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); } &&
36762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36765 ac_status=$?
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; } &&
36768 { ac_try='test -s conftest$ac_exeext'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36771 ac_status=$?
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; }; then
36774 eval "$as_ac_var=yes"
36775 else
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36778
36779 eval "$as_ac_var=no"
36780 fi
36781 rm -f conftest.err conftest.$ac_objext \
36782 conftest$ac_exeext conftest.$ac_ext
36783 fi
36784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36786 if test `eval echo '${'$as_ac_var'}'` = yes; then
36787 cat >>confdefs.h <<_ACEOF
36788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36789 _ACEOF
36790
36791 fi
36792 done
36793
36794
36795
36796
36797 for ac_func in putenv setenv
36798 do
36799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36800 echo "$as_me:$LINENO: checking for $ac_func" >&5
36801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36802 if eval "test \"\${$as_ac_var+set}\" = set"; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805 cat >conftest.$ac_ext <<_ACEOF
36806 /* confdefs.h. */
36807 _ACEOF
36808 cat confdefs.h >>conftest.$ac_ext
36809 cat >>conftest.$ac_ext <<_ACEOF
36810 /* end confdefs.h. */
36811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36813 #define $ac_func innocuous_$ac_func
36814
36815 /* System header to define __stub macros and hopefully few prototypes,
36816 which can conflict with char $ac_func (); below.
36817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36818 <limits.h> exists even on freestanding compilers. */
36819
36820 #ifdef __STDC__
36821 # include <limits.h>
36822 #else
36823 # include <assert.h>
36824 #endif
36825
36826 #undef $ac_func
36827
36828 /* Override any gcc2 internal prototype to avoid an error. */
36829 #ifdef __cplusplus
36830 extern "C"
36831 {
36832 #endif
36833 /* We use char because int might match the return type of a gcc2
36834 builtin and then its argument prototype would still apply. */
36835 char $ac_func ();
36836 /* The GNU C library defines this for functions which it implements
36837 to always fail with ENOSYS. Some functions are actually named
36838 something starting with __ and the normal name is an alias. */
36839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36840 choke me
36841 #else
36842 char (*f) () = $ac_func;
36843 #endif
36844 #ifdef __cplusplus
36845 }
36846 #endif
36847
36848 int
36849 main ()
36850 {
36851 return f != $ac_func;
36852 ;
36853 return 0;
36854 }
36855 _ACEOF
36856 rm -f conftest.$ac_objext conftest$ac_exeext
36857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36858 (eval $ac_link) 2>conftest.er1
36859 ac_status=$?
36860 grep -v '^ *+' conftest.er1 >conftest.err
36861 rm -f conftest.er1
36862 cat conftest.err >&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } &&
36865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36867 (eval $ac_try) 2>&5
36868 ac_status=$?
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); }; } &&
36871 { ac_try='test -s conftest$ac_exeext'
36872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36873 (eval $ac_try) 2>&5
36874 ac_status=$?
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); }; }; then
36877 eval "$as_ac_var=yes"
36878 else
36879 echo "$as_me: failed program was:" >&5
36880 sed 's/^/| /' conftest.$ac_ext >&5
36881
36882 eval "$as_ac_var=no"
36883 fi
36884 rm -f conftest.err conftest.$ac_objext \
36885 conftest$ac_exeext conftest.$ac_ext
36886 fi
36887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36889 if test `eval echo '${'$as_ac_var'}'` = yes; then
36890 cat >>confdefs.h <<_ACEOF
36891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36892 _ACEOF
36893 break
36894 fi
36895 done
36896
36897
36898 HAVE_SOME_SLEEP_FUNC=0
36899 if test "$USE_BEOS" = 1; then
36900 cat >>confdefs.h <<\_ACEOF
36901 #define HAVE_SLEEP 1
36902 _ACEOF
36903
36904 HAVE_SOME_SLEEP_FUNC=1
36905 fi
36906
36907 if test "$USE_DARWIN" = 1; then
36908 cat >>confdefs.h <<\_ACEOF
36909 #define HAVE_USLEEP 1
36910 _ACEOF
36911
36912 HAVE_SOME_SLEEP_FUNC=1
36913 fi
36914
36915 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36916 POSIX4_LINK=
36917
36918 for ac_func in nanosleep
36919 do
36920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36921 echo "$as_me:$LINENO: checking for $ac_func" >&5
36922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36923 if eval "test \"\${$as_ac_var+set}\" = set"; then
36924 echo $ECHO_N "(cached) $ECHO_C" >&6
36925 else
36926 cat >conftest.$ac_ext <<_ACEOF
36927 /* confdefs.h. */
36928 _ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36934 #define $ac_func innocuous_$ac_func
36935
36936 /* System header to define __stub macros and hopefully few prototypes,
36937 which can conflict with char $ac_func (); below.
36938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36939 <limits.h> exists even on freestanding compilers. */
36940
36941 #ifdef __STDC__
36942 # include <limits.h>
36943 #else
36944 # include <assert.h>
36945 #endif
36946
36947 #undef $ac_func
36948
36949 /* Override any gcc2 internal prototype to avoid an error. */
36950 #ifdef __cplusplus
36951 extern "C"
36952 {
36953 #endif
36954 /* We use char because int might match the return type of a gcc2
36955 builtin and then its argument prototype would still apply. */
36956 char $ac_func ();
36957 /* The GNU C library defines this for functions which it implements
36958 to always fail with ENOSYS. Some functions are actually named
36959 something starting with __ and the normal name is an alias. */
36960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36961 choke me
36962 #else
36963 char (*f) () = $ac_func;
36964 #endif
36965 #ifdef __cplusplus
36966 }
36967 #endif
36968
36969 int
36970 main ()
36971 {
36972 return f != $ac_func;
36973 ;
36974 return 0;
36975 }
36976 _ACEOF
36977 rm -f conftest.$ac_objext conftest$ac_exeext
36978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36979 (eval $ac_link) 2>conftest.er1
36980 ac_status=$?
36981 grep -v '^ *+' conftest.er1 >conftest.err
36982 rm -f conftest.er1
36983 cat conftest.err >&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } &&
36986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36988 (eval $ac_try) 2>&5
36989 ac_status=$?
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); }; } &&
36992 { ac_try='test -s conftest$ac_exeext'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; }; then
36998 eval "$as_ac_var=yes"
36999 else
37000 echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.$ac_ext >&5
37002
37003 eval "$as_ac_var=no"
37004 fi
37005 rm -f conftest.err conftest.$ac_objext \
37006 conftest$ac_exeext conftest.$ac_ext
37007 fi
37008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37010 if test `eval echo '${'$as_ac_var'}'` = yes; then
37011 cat >>confdefs.h <<_ACEOF
37012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37013 _ACEOF
37014 cat >>confdefs.h <<\_ACEOF
37015 #define HAVE_NANOSLEEP 1
37016 _ACEOF
37017
37018 else
37019
37020 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37021 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37022 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37024 else
37025 ac_check_lib_save_LIBS=$LIBS
37026 LIBS="-lposix4 $LIBS"
37027 cat >conftest.$ac_ext <<_ACEOF
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033
37034 /* Override any gcc2 internal prototype to avoid an error. */
37035 #ifdef __cplusplus
37036 extern "C"
37037 #endif
37038 /* We use char because int might match the return type of a gcc2
37039 builtin and then its argument prototype would still apply. */
37040 char nanosleep ();
37041 int
37042 main ()
37043 {
37044 nanosleep ();
37045 ;
37046 return 0;
37047 }
37048 _ACEOF
37049 rm -f conftest.$ac_objext conftest$ac_exeext
37050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37051 (eval $ac_link) 2>conftest.er1
37052 ac_status=$?
37053 grep -v '^ *+' conftest.er1 >conftest.err
37054 rm -f conftest.er1
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } &&
37058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37061 ac_status=$?
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; } &&
37064 { ac_try='test -s conftest$ac_exeext'
37065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37066 (eval $ac_try) 2>&5
37067 ac_status=$?
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); }; }; then
37070 ac_cv_lib_posix4_nanosleep=yes
37071 else
37072 echo "$as_me: failed program was:" >&5
37073 sed 's/^/| /' conftest.$ac_ext >&5
37074
37075 ac_cv_lib_posix4_nanosleep=no
37076 fi
37077 rm -f conftest.err conftest.$ac_objext \
37078 conftest$ac_exeext conftest.$ac_ext
37079 LIBS=$ac_check_lib_save_LIBS
37080 fi
37081 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37082 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37083 if test $ac_cv_lib_posix4_nanosleep = yes; then
37084
37085 cat >>confdefs.h <<\_ACEOF
37086 #define HAVE_NANOSLEEP 1
37087 _ACEOF
37088
37089 POSIX4_LINK=" -lposix4"
37090
37091 else
37092
37093
37094 for ac_func in usleep
37095 do
37096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37097 echo "$as_me:$LINENO: checking for $ac_func" >&5
37098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37099 if eval "test \"\${$as_ac_var+set}\" = set"; then
37100 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 else
37102 cat >conftest.$ac_ext <<_ACEOF
37103 /* confdefs.h. */
37104 _ACEOF
37105 cat confdefs.h >>conftest.$ac_ext
37106 cat >>conftest.$ac_ext <<_ACEOF
37107 /* end confdefs.h. */
37108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37110 #define $ac_func innocuous_$ac_func
37111
37112 /* System header to define __stub macros and hopefully few prototypes,
37113 which can conflict with char $ac_func (); below.
37114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37115 <limits.h> exists even on freestanding compilers. */
37116
37117 #ifdef __STDC__
37118 # include <limits.h>
37119 #else
37120 # include <assert.h>
37121 #endif
37122
37123 #undef $ac_func
37124
37125 /* Override any gcc2 internal prototype to avoid an error. */
37126 #ifdef __cplusplus
37127 extern "C"
37128 {
37129 #endif
37130 /* We use char because int might match the return type of a gcc2
37131 builtin and then its argument prototype would still apply. */
37132 char $ac_func ();
37133 /* The GNU C library defines this for functions which it implements
37134 to always fail with ENOSYS. Some functions are actually named
37135 something starting with __ and the normal name is an alias. */
37136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37137 choke me
37138 #else
37139 char (*f) () = $ac_func;
37140 #endif
37141 #ifdef __cplusplus
37142 }
37143 #endif
37144
37145 int
37146 main ()
37147 {
37148 return f != $ac_func;
37149 ;
37150 return 0;
37151 }
37152 _ACEOF
37153 rm -f conftest.$ac_objext conftest$ac_exeext
37154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37155 (eval $ac_link) 2>conftest.er1
37156 ac_status=$?
37157 grep -v '^ *+' conftest.er1 >conftest.err
37158 rm -f conftest.er1
37159 cat conftest.err >&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); } &&
37162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37164 (eval $ac_try) 2>&5
37165 ac_status=$?
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); }; } &&
37168 { ac_try='test -s conftest$ac_exeext'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37171 ac_status=$?
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; }; then
37174 eval "$as_ac_var=yes"
37175 else
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37178
37179 eval "$as_ac_var=no"
37180 fi
37181 rm -f conftest.err conftest.$ac_objext \
37182 conftest$ac_exeext conftest.$ac_ext
37183 fi
37184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37186 if test `eval echo '${'$as_ac_var'}'` = yes; then
37187 cat >>confdefs.h <<_ACEOF
37188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37189 _ACEOF
37190 cat >>confdefs.h <<\_ACEOF
37191 #define HAVE_USLEEP 1
37192 _ACEOF
37193
37194 else
37195 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37196 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37197
37198 fi
37199 done
37200
37201
37202
37203 fi
37204
37205
37206
37207 fi
37208 done
37209
37210 fi
37211
37212
37213
37214 for ac_func in uname gethostname
37215 do
37216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37219 if eval "test \"\${$as_ac_var+set}\" = set"; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37230 #define $ac_func innocuous_$ac_func
37231
37232 /* System header to define __stub macros and hopefully few prototypes,
37233 which can conflict with char $ac_func (); below.
37234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235 <limits.h> exists even on freestanding compilers. */
37236
37237 #ifdef __STDC__
37238 # include <limits.h>
37239 #else
37240 # include <assert.h>
37241 #endif
37242
37243 #undef $ac_func
37244
37245 /* Override any gcc2 internal prototype to avoid an error. */
37246 #ifdef __cplusplus
37247 extern "C"
37248 {
37249 #endif
37250 /* We use char because int might match the return type of a gcc2
37251 builtin and then its argument prototype would still apply. */
37252 char $ac_func ();
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37257 choke me
37258 #else
37259 char (*f) () = $ac_func;
37260 #endif
37261 #ifdef __cplusplus
37262 }
37263 #endif
37264
37265 int
37266 main ()
37267 {
37268 return f != $ac_func;
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 rm -f conftest.$ac_objext conftest$ac_exeext
37274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37275 (eval $ac_link) 2>conftest.er1
37276 ac_status=$?
37277 grep -v '^ *+' conftest.er1 >conftest.err
37278 rm -f conftest.er1
37279 cat conftest.err >&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } &&
37282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284 (eval $ac_try) 2>&5
37285 ac_status=$?
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; } &&
37288 { ac_try='test -s conftest$ac_exeext'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37291 ac_status=$?
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; }; then
37294 eval "$as_ac_var=yes"
37295 else
37296 echo "$as_me: failed program was:" >&5
37297 sed 's/^/| /' conftest.$ac_ext >&5
37298
37299 eval "$as_ac_var=no"
37300 fi
37301 rm -f conftest.err conftest.$ac_objext \
37302 conftest$ac_exeext conftest.$ac_ext
37303 fi
37304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h <<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37309 _ACEOF
37310 break
37311 fi
37312 done
37313
37314
37315
37316 for wx_func in strtok_r
37317 do
37318 echo "$as_me:$LINENO: checking for $wx_func" >&5
37319 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37320 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 else
37323
37324 cat >conftest.$ac_ext <<_ACEOF
37325
37326 /* confdefs.h. */
37327 _ACEOF
37328 cat confdefs.h >>conftest.$ac_ext
37329 cat >>conftest.$ac_ext <<_ACEOF
37330 /* end confdefs.h. */
37331
37332 #define _REENTRANT
37333 $ac_includes_default
37334
37335 int
37336 main ()
37337 {
37338
37339 #ifndef $wx_func
37340 &$wx_func;
37341 #endif
37342
37343
37344 ;
37345 return 0;
37346 }
37347
37348 _ACEOF
37349 rm -f conftest.$ac_objext conftest$ac_exeext
37350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37351 (eval $ac_link) 2>conftest.er1
37352 ac_status=$?
37353 grep -v '^ *+' conftest.er1 >conftest.err
37354 rm -f conftest.er1
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } &&
37358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try='test -s conftest$ac_exeext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 eval wx_cv_func_$wx_func=yes
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37374
37375 eval wx_cv_func_$wx_func=no
37376 fi
37377 rm -f conftest.err conftest.$ac_objext \
37378 conftest$ac_exeext conftest.$ac_ext
37379
37380 fi
37381 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37382 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37383
37384 if eval test \$wx_cv_func_$wx_func = yes
37385 then
37386 cat >>confdefs.h <<_ACEOF
37387 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37388 _ACEOF
37389
37390
37391 else
37392 :
37393
37394 fi
37395 done
37396
37397
37398 INET_LINK=
37399
37400 for ac_func in inet_addr
37401 do
37402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37403 echo "$as_me:$LINENO: checking for $ac_func" >&5
37404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37405 if eval "test \"\${$as_ac_var+set}\" = set"; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37407 else
37408 cat >conftest.$ac_ext <<_ACEOF
37409 /* confdefs.h. */
37410 _ACEOF
37411 cat confdefs.h >>conftest.$ac_ext
37412 cat >>conftest.$ac_ext <<_ACEOF
37413 /* end confdefs.h. */
37414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37416 #define $ac_func innocuous_$ac_func
37417
37418 /* System header to define __stub macros and hopefully few prototypes,
37419 which can conflict with char $ac_func (); below.
37420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37421 <limits.h> exists even on freestanding compilers. */
37422
37423 #ifdef __STDC__
37424 # include <limits.h>
37425 #else
37426 # include <assert.h>
37427 #endif
37428
37429 #undef $ac_func
37430
37431 /* Override any gcc2 internal prototype to avoid an error. */
37432 #ifdef __cplusplus
37433 extern "C"
37434 {
37435 #endif
37436 /* We use char because int might match the return type of a gcc2
37437 builtin and then its argument prototype would still apply. */
37438 char $ac_func ();
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37443 choke me
37444 #else
37445 char (*f) () = $ac_func;
37446 #endif
37447 #ifdef __cplusplus
37448 }
37449 #endif
37450
37451 int
37452 main ()
37453 {
37454 return f != $ac_func;
37455 ;
37456 return 0;
37457 }
37458 _ACEOF
37459 rm -f conftest.$ac_objext conftest$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461 (eval $ac_link) 2>conftest.er1
37462 ac_status=$?
37463 grep -v '^ *+' conftest.er1 >conftest.err
37464 rm -f conftest.er1
37465 cat conftest.err >&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } &&
37468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37471 ac_status=$?
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; } &&
37474 { ac_try='test -s conftest$ac_exeext'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37477 ac_status=$?
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 eval "$as_ac_var=yes"
37481 else
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.$ac_ext >&5
37484
37485 eval "$as_ac_var=no"
37486 fi
37487 rm -f conftest.err conftest.$ac_objext \
37488 conftest$ac_exeext conftest.$ac_ext
37489 fi
37490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37492 if test `eval echo '${'$as_ac_var'}'` = yes; then
37493 cat >>confdefs.h <<_ACEOF
37494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37495 _ACEOF
37496 cat >>confdefs.h <<\_ACEOF
37497 #define HAVE_INET_ADDR 1
37498 _ACEOF
37499
37500 else
37501
37502 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37503 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37504 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37506 else
37507 ac_check_lib_save_LIBS=$LIBS
37508 LIBS="-lnsl $LIBS"
37509 cat >conftest.$ac_ext <<_ACEOF
37510 /* confdefs.h. */
37511 _ACEOF
37512 cat confdefs.h >>conftest.$ac_ext
37513 cat >>conftest.$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37515
37516 /* Override any gcc2 internal prototype to avoid an error. */
37517 #ifdef __cplusplus
37518 extern "C"
37519 #endif
37520 /* We use char because int might match the return type of a gcc2
37521 builtin and then its argument prototype would still apply. */
37522 char inet_addr ();
37523 int
37524 main ()
37525 {
37526 inet_addr ();
37527 ;
37528 return 0;
37529 }
37530 _ACEOF
37531 rm -f conftest.$ac_objext conftest$ac_exeext
37532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37533 (eval $ac_link) 2>conftest.er1
37534 ac_status=$?
37535 grep -v '^ *+' conftest.er1 >conftest.err
37536 rm -f conftest.er1
37537 cat conftest.err >&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); } &&
37540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37542 (eval $ac_try) 2>&5
37543 ac_status=$?
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); }; } &&
37546 { ac_try='test -s conftest$ac_exeext'
37547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37548 (eval $ac_try) 2>&5
37549 ac_status=$?
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); }; }; then
37552 ac_cv_lib_nsl_inet_addr=yes
37553 else
37554 echo "$as_me: failed program was:" >&5
37555 sed 's/^/| /' conftest.$ac_ext >&5
37556
37557 ac_cv_lib_nsl_inet_addr=no
37558 fi
37559 rm -f conftest.err conftest.$ac_objext \
37560 conftest$ac_exeext conftest.$ac_ext
37561 LIBS=$ac_check_lib_save_LIBS
37562 fi
37563 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37564 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37565 if test $ac_cv_lib_nsl_inet_addr = yes; then
37566 INET_LINK="nsl"
37567 else
37568
37569 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37570 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37571 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37572 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 else
37574 ac_check_lib_save_LIBS=$LIBS
37575 LIBS="-lresolv $LIBS"
37576 cat >conftest.$ac_ext <<_ACEOF
37577 /* confdefs.h. */
37578 _ACEOF
37579 cat confdefs.h >>conftest.$ac_ext
37580 cat >>conftest.$ac_ext <<_ACEOF
37581 /* end confdefs.h. */
37582
37583 /* Override any gcc2 internal prototype to avoid an error. */
37584 #ifdef __cplusplus
37585 extern "C"
37586 #endif
37587 /* We use char because int might match the return type of a gcc2
37588 builtin and then its argument prototype would still apply. */
37589 char inet_addr ();
37590 int
37591 main ()
37592 {
37593 inet_addr ();
37594 ;
37595 return 0;
37596 }
37597 _ACEOF
37598 rm -f conftest.$ac_objext conftest$ac_exeext
37599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37600 (eval $ac_link) 2>conftest.er1
37601 ac_status=$?
37602 grep -v '^ *+' conftest.er1 >conftest.err
37603 rm -f conftest.er1
37604 cat conftest.err >&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); } &&
37607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37609 (eval $ac_try) 2>&5
37610 ac_status=$?
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); }; } &&
37613 { ac_try='test -s conftest$ac_exeext'
37614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615 (eval $ac_try) 2>&5
37616 ac_status=$?
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); }; }; then
37619 ac_cv_lib_resolv_inet_addr=yes
37620 else
37621 echo "$as_me: failed program was:" >&5
37622 sed 's/^/| /' conftest.$ac_ext >&5
37623
37624 ac_cv_lib_resolv_inet_addr=no
37625 fi
37626 rm -f conftest.err conftest.$ac_objext \
37627 conftest$ac_exeext conftest.$ac_ext
37628 LIBS=$ac_check_lib_save_LIBS
37629 fi
37630 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37631 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37632 if test $ac_cv_lib_resolv_inet_addr = yes; then
37633 INET_LINK="resolv"
37634 else
37635
37636 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37637 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37638 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37639 echo $ECHO_N "(cached) $ECHO_C" >&6
37640 else
37641 ac_check_lib_save_LIBS=$LIBS
37642 LIBS="-lsocket $LIBS"
37643 cat >conftest.$ac_ext <<_ACEOF
37644 /* confdefs.h. */
37645 _ACEOF
37646 cat confdefs.h >>conftest.$ac_ext
37647 cat >>conftest.$ac_ext <<_ACEOF
37648 /* end confdefs.h. */
37649
37650 /* Override any gcc2 internal prototype to avoid an error. */
37651 #ifdef __cplusplus
37652 extern "C"
37653 #endif
37654 /* We use char because int might match the return type of a gcc2
37655 builtin and then its argument prototype would still apply. */
37656 char inet_addr ();
37657 int
37658 main ()
37659 {
37660 inet_addr ();
37661 ;
37662 return 0;
37663 }
37664 _ACEOF
37665 rm -f conftest.$ac_objext conftest$ac_exeext
37666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37667 (eval $ac_link) 2>conftest.er1
37668 ac_status=$?
37669 grep -v '^ *+' conftest.er1 >conftest.err
37670 rm -f conftest.er1
37671 cat conftest.err >&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); } &&
37674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37677 ac_status=$?
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; } &&
37680 { ac_try='test -s conftest$ac_exeext'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37683 ac_status=$?
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; }; then
37686 ac_cv_lib_socket_inet_addr=yes
37687 else
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37690
37691 ac_cv_lib_socket_inet_addr=no
37692 fi
37693 rm -f conftest.err conftest.$ac_objext \
37694 conftest$ac_exeext conftest.$ac_ext
37695 LIBS=$ac_check_lib_save_LIBS
37696 fi
37697 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37698 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37699 if test $ac_cv_lib_socket_inet_addr = yes; then
37700 INET_LINK="socket"
37701
37702 fi
37703
37704
37705
37706 fi
37707
37708
37709
37710 fi
37711
37712
37713
37714 fi
37715 done
37716
37717
37718
37719 for ac_func in inet_aton
37720 do
37721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37722 echo "$as_me:$LINENO: checking for $ac_func" >&5
37723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37724 if eval "test \"\${$as_ac_var+set}\" = set"; then
37725 echo $ECHO_N "(cached) $ECHO_C" >&6
37726 else
37727 cat >conftest.$ac_ext <<_ACEOF
37728 /* confdefs.h. */
37729 _ACEOF
37730 cat confdefs.h >>conftest.$ac_ext
37731 cat >>conftest.$ac_ext <<_ACEOF
37732 /* end confdefs.h. */
37733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37735 #define $ac_func innocuous_$ac_func
37736
37737 /* System header to define __stub macros and hopefully few prototypes,
37738 which can conflict with char $ac_func (); below.
37739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37740 <limits.h> exists even on freestanding compilers. */
37741
37742 #ifdef __STDC__
37743 # include <limits.h>
37744 #else
37745 # include <assert.h>
37746 #endif
37747
37748 #undef $ac_func
37749
37750 /* Override any gcc2 internal prototype to avoid an error. */
37751 #ifdef __cplusplus
37752 extern "C"
37753 {
37754 #endif
37755 /* We use char because int might match the return type of a gcc2
37756 builtin and then its argument prototype would still apply. */
37757 char $ac_func ();
37758 /* The GNU C library defines this for functions which it implements
37759 to always fail with ENOSYS. Some functions are actually named
37760 something starting with __ and the normal name is an alias. */
37761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37762 choke me
37763 #else
37764 char (*f) () = $ac_func;
37765 #endif
37766 #ifdef __cplusplus
37767 }
37768 #endif
37769
37770 int
37771 main ()
37772 {
37773 return f != $ac_func;
37774 ;
37775 return 0;
37776 }
37777 _ACEOF
37778 rm -f conftest.$ac_objext conftest$ac_exeext
37779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37780 (eval $ac_link) 2>conftest.er1
37781 ac_status=$?
37782 grep -v '^ *+' conftest.er1 >conftest.err
37783 rm -f conftest.er1
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } &&
37787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37789 (eval $ac_try) 2>&5
37790 ac_status=$?
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); }; } &&
37793 { ac_try='test -s conftest$ac_exeext'
37794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37795 (eval $ac_try) 2>&5
37796 ac_status=$?
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); }; }; then
37799 eval "$as_ac_var=yes"
37800 else
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37803
37804 eval "$as_ac_var=no"
37805 fi
37806 rm -f conftest.err conftest.$ac_objext \
37807 conftest$ac_exeext conftest.$ac_ext
37808 fi
37809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37811 if test `eval echo '${'$as_ac_var'}'` = yes; then
37812 cat >>confdefs.h <<_ACEOF
37813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37814 _ACEOF
37815 cat >>confdefs.h <<\_ACEOF
37816 #define HAVE_INET_ATON 1
37817 _ACEOF
37818
37819 else
37820
37821 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37822 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37823 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37824 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37825 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 else
37827 ac_check_lib_save_LIBS=$LIBS
37828 LIBS="-l$INET_LINK $LIBS"
37829 cat >conftest.$ac_ext <<_ACEOF
37830 /* confdefs.h. */
37831 _ACEOF
37832 cat confdefs.h >>conftest.$ac_ext
37833 cat >>conftest.$ac_ext <<_ACEOF
37834 /* end confdefs.h. */
37835
37836 /* Override any gcc2 internal prototype to avoid an error. */
37837 #ifdef __cplusplus
37838 extern "C"
37839 #endif
37840 /* We use char because int might match the return type of a gcc2
37841 builtin and then its argument prototype would still apply. */
37842 char inet_aton ();
37843 int
37844 main ()
37845 {
37846 inet_aton ();
37847 ;
37848 return 0;
37849 }
37850 _ACEOF
37851 rm -f conftest.$ac_objext conftest$ac_exeext
37852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37853 (eval $ac_link) 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } &&
37860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval "$as_ac_Lib=yes"
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval "$as_ac_Lib=no"
37878 fi
37879 rm -f conftest.err conftest.$ac_objext \
37880 conftest$ac_exeext conftest.$ac_ext
37881 LIBS=$ac_check_lib_save_LIBS
37882 fi
37883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37884 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37885 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37886 cat >>confdefs.h <<\_ACEOF
37887 #define HAVE_INET_ATON 1
37888 _ACEOF
37889
37890 fi
37891
37892
37893 fi
37894 done
37895
37896
37897 if test "x$INET_LINK" != "x"; then
37898 cat >>confdefs.h <<\_ACEOF
37899 #define HAVE_INET_ADDR 1
37900 _ACEOF
37901
37902 INET_LINK=" -l$INET_LINK"
37903 fi
37904
37905 fi
37906
37907
37908
37909 EXTRALIBS_ESD=
37910 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37911 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37912 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37914 else
37915 ac_check_lib_save_LIBS=$LIBS
37916 LIBS="-lesd $LIBS"
37917 cat >conftest.$ac_ext <<_ACEOF
37918 /* confdefs.h. */
37919 _ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37923
37924 /* Override any gcc2 internal prototype to avoid an error. */
37925 #ifdef __cplusplus
37926 extern "C"
37927 #endif
37928 /* We use char because int might match the return type of a gcc2
37929 builtin and then its argument prototype would still apply. */
37930 char esd_close ();
37931 int
37932 main ()
37933 {
37934 esd_close ();
37935 ;
37936 return 0;
37937 }
37938 _ACEOF
37939 rm -f conftest.$ac_objext conftest$ac_exeext
37940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37941 (eval $ac_link) 2>conftest.er1
37942 ac_status=$?
37943 grep -v '^ *+' conftest.er1 >conftest.err
37944 rm -f conftest.er1
37945 cat conftest.err >&5
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); } &&
37948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950 (eval $ac_try) 2>&5
37951 ac_status=$?
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); }; } &&
37954 { ac_try='test -s conftest$ac_exeext'
37955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956 (eval $ac_try) 2>&5
37957 ac_status=$?
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); }; }; then
37960 ac_cv_lib_esd_esd_close=yes
37961 else
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37964
37965 ac_cv_lib_esd_esd_close=no
37966 fi
37967 rm -f conftest.err conftest.$ac_objext \
37968 conftest$ac_exeext conftest.$ac_ext
37969 LIBS=$ac_check_lib_save_LIBS
37970 fi
37971 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37972 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37973 if test $ac_cv_lib_esd_esd_close = yes; then
37974
37975
37976 for ac_header in esd.h
37977 do
37978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37980 echo "$as_me:$LINENO: checking for $ac_header" >&5
37981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37983 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 fi
37985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37987 else
37988 # Is the header compilable?
37989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37991 cat >conftest.$ac_ext <<_ACEOF
37992 /* confdefs.h. */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37997 $ac_includes_default
37998 #include <$ac_header>
37999 _ACEOF
38000 rm -f conftest.$ac_objext
38001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38002 (eval $ac_compile) 2>conftest.er1
38003 ac_status=$?
38004 grep -v '^ *+' conftest.er1 >conftest.err
38005 rm -f conftest.er1
38006 cat conftest.err >&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } &&
38009 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38011 (eval $ac_try) 2>&5
38012 ac_status=$?
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); }; } &&
38015 { ac_try='test -s conftest.$ac_objext'
38016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38017 (eval $ac_try) 2>&5
38018 ac_status=$?
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); }; }; then
38021 ac_header_compiler=yes
38022 else
38023 echo "$as_me: failed program was:" >&5
38024 sed 's/^/| /' conftest.$ac_ext >&5
38025
38026 ac_header_compiler=no
38027 fi
38028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38030 echo "${ECHO_T}$ac_header_compiler" >&6
38031
38032 # Is the header present?
38033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38035 cat >conftest.$ac_ext <<_ACEOF
38036 /* confdefs.h. */
38037 _ACEOF
38038 cat confdefs.h >>conftest.$ac_ext
38039 cat >>conftest.$ac_ext <<_ACEOF
38040 /* end confdefs.h. */
38041 #include <$ac_header>
38042 _ACEOF
38043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38045 ac_status=$?
38046 grep -v '^ *+' conftest.er1 >conftest.err
38047 rm -f conftest.er1
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); } >/dev/null; then
38051 if test -s conftest.err; then
38052 ac_cpp_err=$ac_cxx_preproc_warn_flag
38053 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38054 else
38055 ac_cpp_err=
38056 fi
38057 else
38058 ac_cpp_err=yes
38059 fi
38060 if test -z "$ac_cpp_err"; then
38061 ac_header_preproc=yes
38062 else
38063 echo "$as_me: failed program was:" >&5
38064 sed 's/^/| /' conftest.$ac_ext >&5
38065
38066 ac_header_preproc=no
38067 fi
38068 rm -f conftest.err conftest.$ac_ext
38069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38070 echo "${ECHO_T}$ac_header_preproc" >&6
38071
38072 # So? What about this header?
38073 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38074 yes:no: )
38075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38079 ac_header_preproc=yes
38080 ;;
38081 no:yes:* )
38082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38094 (
38095 cat <<\_ASBOX
38096 ## ----------------------------------------- ##
38097 ## Report this to wx-dev@lists.wxwidgets.org ##
38098 ## ----------------------------------------- ##
38099 _ASBOX
38100 ) |
38101 sed "s/^/$as_me: WARNING: /" >&2
38102 ;;
38103 esac
38104 echo "$as_me:$LINENO: checking for $ac_header" >&5
38105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38107 echo $ECHO_N "(cached) $ECHO_C" >&6
38108 else
38109 eval "$as_ac_Header=\$ac_header_preproc"
38110 fi
38111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38113
38114 fi
38115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38116 cat >>confdefs.h <<_ACEOF
38117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38118 _ACEOF
38119
38120 EXTRALIBS_ESD="-lesd"
38121
38122 fi
38123
38124 done
38125
38126
38127 fi
38128
38129
38130
38131 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38132 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38133 cat >conftest.$ac_ext <<_ACEOF
38134 /* confdefs.h. */
38135 _ACEOF
38136 cat confdefs.h >>conftest.$ac_ext
38137 cat >>conftest.$ac_ext <<_ACEOF
38138 /* end confdefs.h. */
38139 #ifdef __linux__
38140 #include <linux/cdrom.h>
38141 #else
38142 /* For Solaris */
38143 #include <sys/cdio.h>
38144 #endif
38145
38146 int
38147 main ()
38148 {
38149 struct cdrom_tocentry entry, old_entry;
38150 ;
38151 return 0;
38152 }
38153 _ACEOF
38154 rm -f conftest.$ac_objext
38155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38156 (eval $ac_compile) 2>conftest.er1
38157 ac_status=$?
38158 grep -v '^ *+' conftest.er1 >conftest.err
38159 rm -f conftest.er1
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } &&
38163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38165 (eval $ac_try) 2>&5
38166 ac_status=$?
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); }; } &&
38169 { ac_try='test -s conftest.$ac_objext'
38170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38171 (eval $ac_try) 2>&5
38172 ac_status=$?
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); }; }; then
38175 echo "$as_me:$LINENO: result: yes" >&5
38176 echo "${ECHO_T}yes" >&6
38177 cat >>confdefs.h <<\_ACEOF
38178 #define HAVE_KNOWN_CDROM_INTERFACE 1
38179 _ACEOF
38180
38181 else
38182 echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38184
38185 echo "$as_me:$LINENO: result: no" >&5
38186 echo "${ECHO_T}no" >&6
38187 fi
38188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38189
38190
38191 cat >confcache <<\_ACEOF
38192 # This file is a shell script that caches the results of configure
38193 # tests run on this system so they can be shared between configure
38194 # scripts and configure runs, see configure's option --config-cache.
38195 # It is not useful on other systems. If it contains results you don't
38196 # want to keep, you may remove or edit it.
38197 #
38198 # config.status only pays attention to the cache file if you give it
38199 # the --recheck option to rerun configure.
38200 #
38201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38203 # following values.
38204
38205 _ACEOF
38206
38207 # The following way of writing the cache mishandles newlines in values,
38208 # but we know of no workaround that is simple, portable, and efficient.
38209 # So, don't put newlines in cache variables' values.
38210 # Ultrix sh set writes to stderr and can't be redirected directly,
38211 # and sets the high bit in the cache file unless we assign to the vars.
38212 {
38213 (set) 2>&1 |
38214 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38215 *ac_space=\ *)
38216 # `set' does not quote correctly, so add quotes (double-quote
38217 # substitution turns \\\\ into \\, and sed turns \\ into \).
38218 sed -n \
38219 "s/'/'\\\\''/g;
38220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38221 ;;
38222 *)
38223 # `set' quotes correctly as required by POSIX, so do not add quotes.
38224 sed -n \
38225 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38226 ;;
38227 esac;
38228 } |
38229 sed '
38230 t clear
38231 : clear
38232 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38233 t end
38234 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38235 : end' >>confcache
38236 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38237 if test -w $cache_file; then
38238 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38239 cat confcache >$cache_file
38240 else
38241 echo "not updating unwritable cache $cache_file"
38242 fi
38243 fi
38244 rm -f confcache
38245
38246
38247 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38248
38249
38250 THREADS_LINK=
38251 THREADS_CXXFLAGS=
38252
38253 if test "$wxUSE_THREADS" = "yes" ; then
38254 if test "$USE_BEOS" = 1; then
38255 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38256 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38257 wxUSE_THREADS="no"
38258 fi
38259 fi
38260
38261 if test "$wxUSE_THREADS" = "yes" ; then
38262
38263
38264 THREAD_OPTS="-pthread"
38265 case "${host}" in
38266 *-*-solaris2* | *-*-sunos4* )
38267 if test "x$GCC" = "xyes"; then
38268 THREAD_OPTS="-pthreads $THREAD_OPTS"
38269 else
38270 THREAD_OPTS="-mt $THREAD_OPTS"
38271 fi
38272 ;;
38273 *-*-freebsd*)
38274 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38275 ;;
38276 *-*-darwin* | *-*-cygwin* )
38277 THREAD_OPTS=""
38278 ;;
38279 *-*-aix*)
38280 THREAD_OPTS="pthreads"
38281 ;;
38282 *-hp-hpux* )
38283 if test "x$GCC" = "xyes"; then
38284 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38285 THREAD_OPTS=""
38286 else
38287 THREAD_OPTS="-mt"
38288 fi
38289 ;;
38290
38291 *-*-irix* )
38292 if test "x$GCC" = "xyes"; then
38293 THREAD_OPTS=""
38294 fi
38295 ;;
38296
38297 *-*-*UnixWare*)
38298 if test "x$GCC" != "xyes"; then
38299 THREAD_OPTS="-Ethread"
38300 fi
38301 ;;
38302 esac
38303
38304 THREAD_OPTS="$THREAD_OPTS pthread none"
38305
38306 THREADS_OK=no
38307 for flag in $THREAD_OPTS; do
38308 case $flag in
38309 none)
38310 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38311 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38312 ;;
38313
38314 -*)
38315 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38316 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38317 THREADS_CXXFLAGS="$flag"
38318 ;;
38319
38320 *)
38321 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38322 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38323 THREADS_LINK="-l$flag"
38324 ;;
38325 esac
38326
38327 save_LIBS="$LIBS"
38328 save_CXXFLAGS="$CXXFLAGS"
38329 LIBS="$THREADS_LINK $LIBS"
38330 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38331
38332 cat >conftest.$ac_ext <<_ACEOF
38333 /* confdefs.h. */
38334 _ACEOF
38335 cat confdefs.h >>conftest.$ac_ext
38336 cat >>conftest.$ac_ext <<_ACEOF
38337 /* end confdefs.h. */
38338 #include <pthread.h>
38339 int
38340 main ()
38341 {
38342 pthread_create(0,0,0,0);
38343 ;
38344 return 0;
38345 }
38346 _ACEOF
38347 rm -f conftest.$ac_objext conftest$ac_exeext
38348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38349 (eval $ac_link) 2>conftest.er1
38350 ac_status=$?
38351 grep -v '^ *+' conftest.er1 >conftest.err
38352 rm -f conftest.er1
38353 cat conftest.err >&5
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); } &&
38356 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38358 (eval $ac_try) 2>&5
38359 ac_status=$?
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); }; } &&
38362 { ac_try='test -s conftest$ac_exeext'
38363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38364 (eval $ac_try) 2>&5
38365 ac_status=$?
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); }; }; then
38368 THREADS_OK=yes
38369 else
38370 echo "$as_me: failed program was:" >&5
38371 sed 's/^/| /' conftest.$ac_ext >&5
38372
38373 fi
38374 rm -f conftest.err conftest.$ac_objext \
38375 conftest$ac_exeext conftest.$ac_ext
38376
38377 LIBS="$save_LIBS"
38378 CXXFLAGS="$save_CXXFLAGS"
38379
38380 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38381 echo "${ECHO_T}$THREADS_OK" >&6
38382 if test "x$THREADS_OK" = "xyes"; then
38383 break;
38384 fi
38385
38386 THREADS_LINK=""
38387 THREADS_CXXFLAGS=""
38388 done
38389
38390 if test "x$THREADS_OK" != "xyes"; then
38391 wxUSE_THREADS=no
38392 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38393 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38394 else
38395 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38396 LIBS="$THREADS_LINK $LIBS"
38397
38398 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38399 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38400 flag=no
38401 case "${host}" in
38402 *-aix*)
38403 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38404 flag="-D_THREAD_SAFE"
38405 ;;
38406 *-freebsd*)
38407 flag="-D_THREAD_SAFE"
38408 ;;
38409 *-hp-hpux* )
38410 flag="-D_REENTRANT"
38411 if test "x$GCC" != "xyes"; then
38412 flag="$flag -D_RWSTD_MULTI_THREAD"
38413 fi
38414 ;;
38415 *solaris* | alpha*-osf*)
38416 flag="-D_REENTRANT"
38417 ;;
38418 esac
38419 echo "$as_me:$LINENO: result: ${flag}" >&5
38420 echo "${ECHO_T}${flag}" >&6
38421 if test "x$flag" != xno; then
38422 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38423 fi
38424
38425 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38426 fi
38427 fi
38428
38429 if test "$wxUSE_THREADS" = "yes" ; then
38430
38431 for ac_func in thr_setconcurrency
38432 do
38433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38434 echo "$as_me:$LINENO: checking for $ac_func" >&5
38435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38436 if eval "test \"\${$as_ac_var+set}\" = set"; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38438 else
38439 cat >conftest.$ac_ext <<_ACEOF
38440 /* confdefs.h. */
38441 _ACEOF
38442 cat confdefs.h >>conftest.$ac_ext
38443 cat >>conftest.$ac_ext <<_ACEOF
38444 /* end confdefs.h. */
38445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38447 #define $ac_func innocuous_$ac_func
38448
38449 /* System header to define __stub macros and hopefully few prototypes,
38450 which can conflict with char $ac_func (); below.
38451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38452 <limits.h> exists even on freestanding compilers. */
38453
38454 #ifdef __STDC__
38455 # include <limits.h>
38456 #else
38457 # include <assert.h>
38458 #endif
38459
38460 #undef $ac_func
38461
38462 /* Override any gcc2 internal prototype to avoid an error. */
38463 #ifdef __cplusplus
38464 extern "C"
38465 {
38466 #endif
38467 /* We use char because int might match the return type of a gcc2
38468 builtin and then its argument prototype would still apply. */
38469 char $ac_func ();
38470 /* The GNU C library defines this for functions which it implements
38471 to always fail with ENOSYS. Some functions are actually named
38472 something starting with __ and the normal name is an alias. */
38473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38474 choke me
38475 #else
38476 char (*f) () = $ac_func;
38477 #endif
38478 #ifdef __cplusplus
38479 }
38480 #endif
38481
38482 int
38483 main ()
38484 {
38485 return f != $ac_func;
38486 ;
38487 return 0;
38488 }
38489 _ACEOF
38490 rm -f conftest.$ac_objext conftest$ac_exeext
38491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38492 (eval $ac_link) 2>conftest.er1
38493 ac_status=$?
38494 grep -v '^ *+' conftest.er1 >conftest.err
38495 rm -f conftest.er1
38496 cat conftest.err >&5
38497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498 (exit $ac_status); } &&
38499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38501 (eval $ac_try) 2>&5
38502 ac_status=$?
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; } &&
38505 { ac_try='test -s conftest$ac_exeext'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38508 ac_status=$?
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; }; then
38511 eval "$as_ac_var=yes"
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38515
38516 eval "$as_ac_var=no"
38517 fi
38518 rm -f conftest.err conftest.$ac_objext \
38519 conftest$ac_exeext conftest.$ac_ext
38520 fi
38521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38523 if test `eval echo '${'$as_ac_var'}'` = yes; then
38524 cat >>confdefs.h <<_ACEOF
38525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38526 _ACEOF
38527
38528 fi
38529 done
38530
38531
38532 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38533 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38534 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38535 echo $ECHO_N "(cached) $ECHO_C" >&6
38536 else
38537
38538 cat >conftest.$ac_ext <<_ACEOF
38539 /* confdefs.h. */
38540 _ACEOF
38541 cat confdefs.h >>conftest.$ac_ext
38542 cat >>conftest.$ac_ext <<_ACEOF
38543 /* end confdefs.h. */
38544 #include <pthread.h>
38545 void ThreadCleanupFunc(void *p);
38546
38547 int
38548 main ()
38549 {
38550
38551 void *p;
38552 pthread_cleanup_push(ThreadCleanupFunc, p);
38553 pthread_cleanup_pop(0);
38554
38555 ;
38556 return 0;
38557 }
38558 _ACEOF
38559 rm -f conftest.$ac_objext
38560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38561 (eval $ac_compile) 2>conftest.er1
38562 ac_status=$?
38563 grep -v '^ *+' conftest.er1 >conftest.err
38564 rm -f conftest.er1
38565 cat conftest.err >&5
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); } &&
38568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38571 ac_status=$?
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; } &&
38574 { ac_try='test -s conftest.$ac_objext'
38575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38576 (eval $ac_try) 2>&5
38577 ac_status=$?
38578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579 (exit $ac_status); }; }; then
38580
38581 wx_cv_func_pthread_cleanup=yes
38582
38583 else
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38586
38587
38588 wx_cv_func_pthread_cleanup=no
38589
38590
38591 fi
38592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38593
38594 fi
38595 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38596 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38597 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38598 cat >>confdefs.h <<\_ACEOF
38599 #define wxHAVE_PTHREAD_CLEANUP 1
38600 _ACEOF
38601
38602 fi
38603
38604
38605 for ac_header in sched.h
38606 do
38607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38609 echo "$as_me:$LINENO: checking for $ac_header" >&5
38610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38612 echo $ECHO_N "(cached) $ECHO_C" >&6
38613 fi
38614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38616 else
38617 # Is the header compilable?
38618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38620 cat >conftest.$ac_ext <<_ACEOF
38621 /* confdefs.h. */
38622 _ACEOF
38623 cat confdefs.h >>conftest.$ac_ext
38624 cat >>conftest.$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 $ac_includes_default
38627 #include <$ac_header>
38628 _ACEOF
38629 rm -f conftest.$ac_objext
38630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38631 (eval $ac_compile) 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } &&
38638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38640 (eval $ac_try) 2>&5
38641 ac_status=$?
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); }; } &&
38644 { ac_try='test -s conftest.$ac_objext'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38647 ac_status=$?
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; }; then
38650 ac_header_compiler=yes
38651 else
38652 echo "$as_me: failed program was:" >&5
38653 sed 's/^/| /' conftest.$ac_ext >&5
38654
38655 ac_header_compiler=no
38656 fi
38657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38659 echo "${ECHO_T}$ac_header_compiler" >&6
38660
38661 # Is the header present?
38662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38664 cat >conftest.$ac_ext <<_ACEOF
38665 /* confdefs.h. */
38666 _ACEOF
38667 cat confdefs.h >>conftest.$ac_ext
38668 cat >>conftest.$ac_ext <<_ACEOF
38669 /* end confdefs.h. */
38670 #include <$ac_header>
38671 _ACEOF
38672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38674 ac_status=$?
38675 grep -v '^ *+' conftest.er1 >conftest.err
38676 rm -f conftest.er1
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } >/dev/null; then
38680 if test -s conftest.err; then
38681 ac_cpp_err=$ac_cxx_preproc_warn_flag
38682 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38683 else
38684 ac_cpp_err=
38685 fi
38686 else
38687 ac_cpp_err=yes
38688 fi
38689 if test -z "$ac_cpp_err"; then
38690 ac_header_preproc=yes
38691 else
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38694
38695 ac_header_preproc=no
38696 fi
38697 rm -f conftest.err conftest.$ac_ext
38698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38699 echo "${ECHO_T}$ac_header_preproc" >&6
38700
38701 # So? What about this header?
38702 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38703 yes:no: )
38704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38708 ac_header_preproc=yes
38709 ;;
38710 no:yes:* )
38711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38723 (
38724 cat <<\_ASBOX
38725 ## ----------------------------------------- ##
38726 ## Report this to wx-dev@lists.wxwidgets.org ##
38727 ## ----------------------------------------- ##
38728 _ASBOX
38729 ) |
38730 sed "s/^/$as_me: WARNING: /" >&2
38731 ;;
38732 esac
38733 echo "$as_me:$LINENO: checking for $ac_header" >&5
38734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 else
38738 eval "$as_ac_Header=\$ac_header_preproc"
38739 fi
38740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38742
38743 fi
38744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38745 cat >>confdefs.h <<_ACEOF
38746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38747 _ACEOF
38748
38749 fi
38750
38751 done
38752
38753 if test "$ac_cv_header_sched_h" = "yes"; then
38754 echo "$as_me:$LINENO: checking for sched_yield" >&5
38755 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38756 if test "${ac_cv_func_sched_yield+set}" = set; then
38757 echo $ECHO_N "(cached) $ECHO_C" >&6
38758 else
38759 cat >conftest.$ac_ext <<_ACEOF
38760 /* confdefs.h. */
38761 _ACEOF
38762 cat confdefs.h >>conftest.$ac_ext
38763 cat >>conftest.$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38765 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38767 #define sched_yield innocuous_sched_yield
38768
38769 /* System header to define __stub macros and hopefully few prototypes,
38770 which can conflict with char sched_yield (); below.
38771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38772 <limits.h> exists even on freestanding compilers. */
38773
38774 #ifdef __STDC__
38775 # include <limits.h>
38776 #else
38777 # include <assert.h>
38778 #endif
38779
38780 #undef sched_yield
38781
38782 /* Override any gcc2 internal prototype to avoid an error. */
38783 #ifdef __cplusplus
38784 extern "C"
38785 {
38786 #endif
38787 /* We use char because int might match the return type of a gcc2
38788 builtin and then its argument prototype would still apply. */
38789 char sched_yield ();
38790 /* The GNU C library defines this for functions which it implements
38791 to always fail with ENOSYS. Some functions are actually named
38792 something starting with __ and the normal name is an alias. */
38793 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38794 choke me
38795 #else
38796 char (*f) () = sched_yield;
38797 #endif
38798 #ifdef __cplusplus
38799 }
38800 #endif
38801
38802 int
38803 main ()
38804 {
38805 return f != sched_yield;
38806 ;
38807 return 0;
38808 }
38809 _ACEOF
38810 rm -f conftest.$ac_objext conftest$ac_exeext
38811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38812 (eval $ac_link) 2>conftest.er1
38813 ac_status=$?
38814 grep -v '^ *+' conftest.er1 >conftest.err
38815 rm -f conftest.er1
38816 cat conftest.err >&5
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); } &&
38819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38822 ac_status=$?
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; } &&
38825 { ac_try='test -s conftest$ac_exeext'
38826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38827 (eval $ac_try) 2>&5
38828 ac_status=$?
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); }; }; then
38831 ac_cv_func_sched_yield=yes
38832 else
38833 echo "$as_me: failed program was:" >&5
38834 sed 's/^/| /' conftest.$ac_ext >&5
38835
38836 ac_cv_func_sched_yield=no
38837 fi
38838 rm -f conftest.err conftest.$ac_objext \
38839 conftest$ac_exeext conftest.$ac_ext
38840 fi
38841 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38842 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38843 if test $ac_cv_func_sched_yield = yes; then
38844 cat >>confdefs.h <<\_ACEOF
38845 #define HAVE_SCHED_YIELD 1
38846 _ACEOF
38847
38848 else
38849
38850 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38851 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38852 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38854 else
38855 ac_check_lib_save_LIBS=$LIBS
38856 LIBS="-lposix4 $LIBS"
38857 cat >conftest.$ac_ext <<_ACEOF
38858 /* confdefs.h. */
38859 _ACEOF
38860 cat confdefs.h >>conftest.$ac_ext
38861 cat >>conftest.$ac_ext <<_ACEOF
38862 /* end confdefs.h. */
38863
38864 /* Override any gcc2 internal prototype to avoid an error. */
38865 #ifdef __cplusplus
38866 extern "C"
38867 #endif
38868 /* We use char because int might match the return type of a gcc2
38869 builtin and then its argument prototype would still apply. */
38870 char sched_yield ();
38871 int
38872 main ()
38873 {
38874 sched_yield ();
38875 ;
38876 return 0;
38877 }
38878 _ACEOF
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38881 (eval $ac_link) 2>conftest.er1
38882 ac_status=$?
38883 grep -v '^ *+' conftest.er1 >conftest.err
38884 rm -f conftest.er1
38885 cat conftest.err >&5
38886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38887 (exit $ac_status); } &&
38888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38890 (eval $ac_try) 2>&5
38891 ac_status=$?
38892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38893 (exit $ac_status); }; } &&
38894 { ac_try='test -s conftest$ac_exeext'
38895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38896 (eval $ac_try) 2>&5
38897 ac_status=$?
38898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899 (exit $ac_status); }; }; then
38900 ac_cv_lib_posix4_sched_yield=yes
38901 else
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38904
38905 ac_cv_lib_posix4_sched_yield=no
38906 fi
38907 rm -f conftest.err conftest.$ac_objext \
38908 conftest$ac_exeext conftest.$ac_ext
38909 LIBS=$ac_check_lib_save_LIBS
38910 fi
38911 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38912 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38913 if test $ac_cv_lib_posix4_sched_yield = yes; then
38914 cat >>confdefs.h <<\_ACEOF
38915 #define HAVE_SCHED_YIELD 1
38916 _ACEOF
38917 POSIX4_LINK=" -lposix4"
38918 else
38919 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38920 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38921
38922 fi
38923
38924
38925
38926 fi
38927
38928 fi
38929
38930 HAVE_PRIOR_FUNCS=0
38931 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38932 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38933 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38934 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 else
38936 cat >conftest.$ac_ext <<_ACEOF
38937 /* confdefs.h. */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38944 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38945
38946 /* System header to define __stub macros and hopefully few prototypes,
38947 which can conflict with char pthread_attr_getschedpolicy (); below.
38948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38949 <limits.h> exists even on freestanding compilers. */
38950
38951 #ifdef __STDC__
38952 # include <limits.h>
38953 #else
38954 # include <assert.h>
38955 #endif
38956
38957 #undef pthread_attr_getschedpolicy
38958
38959 /* Override any gcc2 internal prototype to avoid an error. */
38960 #ifdef __cplusplus
38961 extern "C"
38962 {
38963 #endif
38964 /* We use char because int might match the return type of a gcc2
38965 builtin and then its argument prototype would still apply. */
38966 char pthread_attr_getschedpolicy ();
38967 /* The GNU C library defines this for functions which it implements
38968 to always fail with ENOSYS. Some functions are actually named
38969 something starting with __ and the normal name is an alias. */
38970 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38971 choke me
38972 #else
38973 char (*f) () = pthread_attr_getschedpolicy;
38974 #endif
38975 #ifdef __cplusplus
38976 }
38977 #endif
38978
38979 int
38980 main ()
38981 {
38982 return f != pthread_attr_getschedpolicy;
38983 ;
38984 return 0;
38985 }
38986 _ACEOF
38987 rm -f conftest.$ac_objext conftest$ac_exeext
38988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38989 (eval $ac_link) 2>conftest.er1
38990 ac_status=$?
38991 grep -v '^ *+' conftest.er1 >conftest.err
38992 rm -f conftest.er1
38993 cat conftest.err >&5
38994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995 (exit $ac_status); } &&
38996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998 (eval $ac_try) 2>&5
38999 ac_status=$?
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); }; } &&
39002 { ac_try='test -s conftest$ac_exeext'
39003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004 (eval $ac_try) 2>&5
39005 ac_status=$?
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); }; }; then
39008 ac_cv_func_pthread_attr_getschedpolicy=yes
39009 else
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39012
39013 ac_cv_func_pthread_attr_getschedpolicy=no
39014 fi
39015 rm -f conftest.err conftest.$ac_objext \
39016 conftest$ac_exeext conftest.$ac_ext
39017 fi
39018 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39019 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39020 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39021 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39022 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39023 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39024 echo $ECHO_N "(cached) $ECHO_C" >&6
39025 else
39026 cat >conftest.$ac_ext <<_ACEOF
39027 /* confdefs.h. */
39028 _ACEOF
39029 cat confdefs.h >>conftest.$ac_ext
39030 cat >>conftest.$ac_ext <<_ACEOF
39031 /* end confdefs.h. */
39032 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39034 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39035
39036 /* System header to define __stub macros and hopefully few prototypes,
39037 which can conflict with char pthread_attr_setschedparam (); below.
39038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39039 <limits.h> exists even on freestanding compilers. */
39040
39041 #ifdef __STDC__
39042 # include <limits.h>
39043 #else
39044 # include <assert.h>
39045 #endif
39046
39047 #undef pthread_attr_setschedparam
39048
39049 /* Override any gcc2 internal prototype to avoid an error. */
39050 #ifdef __cplusplus
39051 extern "C"
39052 {
39053 #endif
39054 /* We use char because int might match the return type of a gcc2
39055 builtin and then its argument prototype would still apply. */
39056 char pthread_attr_setschedparam ();
39057 /* The GNU C library defines this for functions which it implements
39058 to always fail with ENOSYS. Some functions are actually named
39059 something starting with __ and the normal name is an alias. */
39060 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39061 choke me
39062 #else
39063 char (*f) () = pthread_attr_setschedparam;
39064 #endif
39065 #ifdef __cplusplus
39066 }
39067 #endif
39068
39069 int
39070 main ()
39071 {
39072 return f != pthread_attr_setschedparam;
39073 ;
39074 return 0;
39075 }
39076 _ACEOF
39077 rm -f conftest.$ac_objext conftest$ac_exeext
39078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39079 (eval $ac_link) 2>conftest.er1
39080 ac_status=$?
39081 grep -v '^ *+' conftest.er1 >conftest.err
39082 rm -f conftest.er1
39083 cat conftest.err >&5
39084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39085 (exit $ac_status); } &&
39086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39088 (eval $ac_try) 2>&5
39089 ac_status=$?
39090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091 (exit $ac_status); }; } &&
39092 { ac_try='test -s conftest$ac_exeext'
39093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094 (eval $ac_try) 2>&5
39095 ac_status=$?
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); }; }; then
39098 ac_cv_func_pthread_attr_setschedparam=yes
39099 else
39100 echo "$as_me: failed program was:" >&5
39101 sed 's/^/| /' conftest.$ac_ext >&5
39102
39103 ac_cv_func_pthread_attr_setschedparam=no
39104 fi
39105 rm -f conftest.err conftest.$ac_objext \
39106 conftest$ac_exeext conftest.$ac_ext
39107 fi
39108 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39109 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39110 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39111 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39112 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39113 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39116 cat >conftest.$ac_ext <<_ACEOF
39117 /* confdefs.h. */
39118 _ACEOF
39119 cat confdefs.h >>conftest.$ac_ext
39120 cat >>conftest.$ac_ext <<_ACEOF
39121 /* end confdefs.h. */
39122 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39124 #define sched_get_priority_max innocuous_sched_get_priority_max
39125
39126 /* System header to define __stub macros and hopefully few prototypes,
39127 which can conflict with char sched_get_priority_max (); below.
39128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39129 <limits.h> exists even on freestanding compilers. */
39130
39131 #ifdef __STDC__
39132 # include <limits.h>
39133 #else
39134 # include <assert.h>
39135 #endif
39136
39137 #undef sched_get_priority_max
39138
39139 /* Override any gcc2 internal prototype to avoid an error. */
39140 #ifdef __cplusplus
39141 extern "C"
39142 {
39143 #endif
39144 /* We use char because int might match the return type of a gcc2
39145 builtin and then its argument prototype would still apply. */
39146 char sched_get_priority_max ();
39147 /* The GNU C library defines this for functions which it implements
39148 to always fail with ENOSYS. Some functions are actually named
39149 something starting with __ and the normal name is an alias. */
39150 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39151 choke me
39152 #else
39153 char (*f) () = sched_get_priority_max;
39154 #endif
39155 #ifdef __cplusplus
39156 }
39157 #endif
39158
39159 int
39160 main ()
39161 {
39162 return f != sched_get_priority_max;
39163 ;
39164 return 0;
39165 }
39166 _ACEOF
39167 rm -f conftest.$ac_objext conftest$ac_exeext
39168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39169 (eval $ac_link) 2>conftest.er1
39170 ac_status=$?
39171 grep -v '^ *+' conftest.er1 >conftest.err
39172 rm -f conftest.er1
39173 cat conftest.err >&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } &&
39176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39178 (eval $ac_try) 2>&5
39179 ac_status=$?
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); }; } &&
39182 { ac_try='test -s conftest$ac_exeext'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39185 ac_status=$?
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; }; then
39188 ac_cv_func_sched_get_priority_max=yes
39189 else
39190 echo "$as_me: failed program was:" >&5
39191 sed 's/^/| /' conftest.$ac_ext >&5
39192
39193 ac_cv_func_sched_get_priority_max=no
39194 fi
39195 rm -f conftest.err conftest.$ac_objext \
39196 conftest$ac_exeext conftest.$ac_ext
39197 fi
39198 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39199 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39200 if test $ac_cv_func_sched_get_priority_max = yes; then
39201 HAVE_PRIOR_FUNCS=1
39202 else
39203 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39204 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39205 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 else
39208 ac_check_lib_save_LIBS=$LIBS
39209 LIBS="-lposix4 $LIBS"
39210 cat >conftest.$ac_ext <<_ACEOF
39211 /* confdefs.h. */
39212 _ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39216
39217 /* Override any gcc2 internal prototype to avoid an error. */
39218 #ifdef __cplusplus
39219 extern "C"
39220 #endif
39221 /* We use char because int might match the return type of a gcc2
39222 builtin and then its argument prototype would still apply. */
39223 char sched_get_priority_max ();
39224 int
39225 main ()
39226 {
39227 sched_get_priority_max ();
39228 ;
39229 return 0;
39230 }
39231 _ACEOF
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39234 (eval $ac_link) 2>conftest.er1
39235 ac_status=$?
39236 grep -v '^ *+' conftest.er1 >conftest.err
39237 rm -f conftest.er1
39238 cat conftest.err >&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); } &&
39241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39243 (eval $ac_try) 2>&5
39244 ac_status=$?
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); }; } &&
39247 { ac_try='test -s conftest$ac_exeext'
39248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39249 (eval $ac_try) 2>&5
39250 ac_status=$?
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); }; }; then
39253 ac_cv_lib_posix4_sched_get_priority_max=yes
39254 else
39255 echo "$as_me: failed program was:" >&5
39256 sed 's/^/| /' conftest.$ac_ext >&5
39257
39258 ac_cv_lib_posix4_sched_get_priority_max=no
39259 fi
39260 rm -f conftest.err conftest.$ac_objext \
39261 conftest$ac_exeext conftest.$ac_ext
39262 LIBS=$ac_check_lib_save_LIBS
39263 fi
39264 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39265 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39266 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39267
39268 HAVE_PRIOR_FUNCS=1
39269 POSIX4_LINK=" -lposix4"
39270
39271 fi
39272
39273
39274 fi
39275
39276
39277 fi
39278
39279
39280 fi
39281
39282
39283 if test "$HAVE_PRIOR_FUNCS" = 1; then
39284 cat >>confdefs.h <<\_ACEOF
39285 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39286 _ACEOF
39287
39288 else
39289 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39290 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39291 fi
39292
39293 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39294 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39295 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 else
39298 cat >conftest.$ac_ext <<_ACEOF
39299 /* confdefs.h. */
39300 _ACEOF
39301 cat confdefs.h >>conftest.$ac_ext
39302 cat >>conftest.$ac_ext <<_ACEOF
39303 /* end confdefs.h. */
39304 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39306 #define pthread_cancel innocuous_pthread_cancel
39307
39308 /* System header to define __stub macros and hopefully few prototypes,
39309 which can conflict with char pthread_cancel (); below.
39310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39311 <limits.h> exists even on freestanding compilers. */
39312
39313 #ifdef __STDC__
39314 # include <limits.h>
39315 #else
39316 # include <assert.h>
39317 #endif
39318
39319 #undef pthread_cancel
39320
39321 /* Override any gcc2 internal prototype to avoid an error. */
39322 #ifdef __cplusplus
39323 extern "C"
39324 {
39325 #endif
39326 /* We use char because int might match the return type of a gcc2
39327 builtin and then its argument prototype would still apply. */
39328 char pthread_cancel ();
39329 /* The GNU C library defines this for functions which it implements
39330 to always fail with ENOSYS. Some functions are actually named
39331 something starting with __ and the normal name is an alias. */
39332 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39333 choke me
39334 #else
39335 char (*f) () = pthread_cancel;
39336 #endif
39337 #ifdef __cplusplus
39338 }
39339 #endif
39340
39341 int
39342 main ()
39343 {
39344 return f != pthread_cancel;
39345 ;
39346 return 0;
39347 }
39348 _ACEOF
39349 rm -f conftest.$ac_objext conftest$ac_exeext
39350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39351 (eval $ac_link) 2>conftest.er1
39352 ac_status=$?
39353 grep -v '^ *+' conftest.er1 >conftest.err
39354 rm -f conftest.er1
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } &&
39358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39360 (eval $ac_try) 2>&5
39361 ac_status=$?
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); }; } &&
39364 { ac_try='test -s conftest$ac_exeext'
39365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39366 (eval $ac_try) 2>&5
39367 ac_status=$?
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); }; }; then
39370 ac_cv_func_pthread_cancel=yes
39371 else
39372 echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.$ac_ext >&5
39374
39375 ac_cv_func_pthread_cancel=no
39376 fi
39377 rm -f conftest.err conftest.$ac_objext \
39378 conftest$ac_exeext conftest.$ac_ext
39379 fi
39380 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39381 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39382 if test $ac_cv_func_pthread_cancel = yes; then
39383 cat >>confdefs.h <<\_ACEOF
39384 #define HAVE_PTHREAD_CANCEL 1
39385 _ACEOF
39386
39387 else
39388 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39389 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39390 fi
39391
39392
39393 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39394 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39395 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39396 echo $ECHO_N "(cached) $ECHO_C" >&6
39397 else
39398 cat >conftest.$ac_ext <<_ACEOF
39399 /* confdefs.h. */
39400 _ACEOF
39401 cat confdefs.h >>conftest.$ac_ext
39402 cat >>conftest.$ac_ext <<_ACEOF
39403 /* end confdefs.h. */
39404 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39406 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39407
39408 /* System header to define __stub macros and hopefully few prototypes,
39409 which can conflict with char pthread_attr_setstacksize (); below.
39410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39411 <limits.h> exists even on freestanding compilers. */
39412
39413 #ifdef __STDC__
39414 # include <limits.h>
39415 #else
39416 # include <assert.h>
39417 #endif
39418
39419 #undef pthread_attr_setstacksize
39420
39421 /* Override any gcc2 internal prototype to avoid an error. */
39422 #ifdef __cplusplus
39423 extern "C"
39424 {
39425 #endif
39426 /* We use char because int might match the return type of a gcc2
39427 builtin and then its argument prototype would still apply. */
39428 char pthread_attr_setstacksize ();
39429 /* The GNU C library defines this for functions which it implements
39430 to always fail with ENOSYS. Some functions are actually named
39431 something starting with __ and the normal name is an alias. */
39432 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39433 choke me
39434 #else
39435 char (*f) () = pthread_attr_setstacksize;
39436 #endif
39437 #ifdef __cplusplus
39438 }
39439 #endif
39440
39441 int
39442 main ()
39443 {
39444 return f != pthread_attr_setstacksize;
39445 ;
39446 return 0;
39447 }
39448 _ACEOF
39449 rm -f conftest.$ac_objext conftest$ac_exeext
39450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39451 (eval $ac_link) 2>conftest.er1
39452 ac_status=$?
39453 grep -v '^ *+' conftest.er1 >conftest.err
39454 rm -f conftest.er1
39455 cat conftest.err >&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); } &&
39458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39460 (eval $ac_try) 2>&5
39461 ac_status=$?
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); }; } &&
39464 { ac_try='test -s conftest$ac_exeext'
39465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39466 (eval $ac_try) 2>&5
39467 ac_status=$?
39468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39469 (exit $ac_status); }; }; then
39470 ac_cv_func_pthread_attr_setstacksize=yes
39471 else
39472 echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.$ac_ext >&5
39474
39475 ac_cv_func_pthread_attr_setstacksize=no
39476 fi
39477 rm -f conftest.err conftest.$ac_objext \
39478 conftest$ac_exeext conftest.$ac_ext
39479 fi
39480 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39481 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39482 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39483 cat >>confdefs.h <<\_ACEOF
39484 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39485 _ACEOF
39486
39487 fi
39488
39489
39490
39491 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39492 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39493 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39494 echo $ECHO_N "(cached) $ECHO_C" >&6
39495 else
39496
39497 cat >conftest.$ac_ext <<_ACEOF
39498 /* confdefs.h. */
39499 _ACEOF
39500 cat confdefs.h >>conftest.$ac_ext
39501 cat >>conftest.$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 #include <pthread.h>
39504 int
39505 main ()
39506 {
39507
39508 pthread_mutexattr_t attr;
39509 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39510
39511 ;
39512 return 0;
39513 }
39514 _ACEOF
39515 rm -f conftest.$ac_objext
39516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39517 (eval $ac_compile) 2>conftest.er1
39518 ac_status=$?
39519 grep -v '^ *+' conftest.er1 >conftest.err
39520 rm -f conftest.er1
39521 cat conftest.err >&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } &&
39524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39526 (eval $ac_try) 2>&5
39527 ac_status=$?
39528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529 (exit $ac_status); }; } &&
39530 { ac_try='test -s conftest.$ac_objext'
39531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39532 (eval $ac_try) 2>&5
39533 ac_status=$?
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); }; }; then
39536 wx_cv_type_pthread_mutexattr_t=yes
39537 else
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39540
39541 wx_cv_type_pthread_mutexattr_t=no
39542
39543 fi
39544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39545
39546 fi
39547 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39548 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39549
39550 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39551 cat >>confdefs.h <<\_ACEOF
39552 #define HAVE_PTHREAD_MUTEXATTR_T 1
39553 _ACEOF
39554
39555
39556 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39557 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39558 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39559 echo $ECHO_N "(cached) $ECHO_C" >&6
39560 else
39561
39562 cat >conftest.$ac_ext <<_ACEOF
39563 /* confdefs.h. */
39564 _ACEOF
39565 cat confdefs.h >>conftest.$ac_ext
39566 cat >>conftest.$ac_ext <<_ACEOF
39567 /* end confdefs.h. */
39568 #include <pthread.h>
39569 int
39570 main ()
39571 {
39572
39573 pthread_mutexattr_t attr;
39574 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39575
39576 ;
39577 return 0;
39578 }
39579 _ACEOF
39580 rm -f conftest.$ac_objext
39581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39582 (eval $ac_compile) 2>conftest.er1
39583 ac_status=$?
39584 grep -v '^ *+' conftest.er1 >conftest.err
39585 rm -f conftest.er1
39586 cat conftest.err >&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } &&
39589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591 (eval $ac_try) 2>&5
39592 ac_status=$?
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); }; } &&
39595 { ac_try='test -s conftest.$ac_objext'
39596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39597 (eval $ac_try) 2>&5
39598 ac_status=$?
39599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39600 (exit $ac_status); }; }; then
39601 wx_cv_func_pthread_mutexattr_settype_decl=yes
39602 else
39603 echo "$as_me: failed program was:" >&5
39604 sed 's/^/| /' conftest.$ac_ext >&5
39605
39606 wx_cv_func_pthread_mutexattr_settype_decl=no
39607
39608 fi
39609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39610
39611 fi
39612 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39613 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39614 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39615 cat >>confdefs.h <<\_ACEOF
39616 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39617 _ACEOF
39618
39619 fi
39620 else
39621 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39622 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39623 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39625 else
39626
39627 cat >conftest.$ac_ext <<_ACEOF
39628 /* confdefs.h. */
39629 _ACEOF
39630 cat confdefs.h >>conftest.$ac_ext
39631 cat >>conftest.$ac_ext <<_ACEOF
39632 /* end confdefs.h. */
39633 #include <pthread.h>
39634 int
39635 main ()
39636 {
39637
39638 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39639
39640 ;
39641 return 0;
39642 }
39643 _ACEOF
39644 rm -f conftest.$ac_objext
39645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39646 (eval $ac_compile) 2>conftest.er1
39647 ac_status=$?
39648 grep -v '^ *+' conftest.er1 >conftest.err
39649 rm -f conftest.er1
39650 cat conftest.err >&5
39651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39652 (exit $ac_status); } &&
39653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39655 (eval $ac_try) 2>&5
39656 ac_status=$?
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); }; } &&
39659 { ac_try='test -s conftest.$ac_objext'
39660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39661 (eval $ac_try) 2>&5
39662 ac_status=$?
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); }; }; then
39665
39666 wx_cv_type_pthread_rec_mutex_init=yes
39667
39668 else
39669 echo "$as_me: failed program was:" >&5
39670 sed 's/^/| /' conftest.$ac_ext >&5
39671
39672
39673 wx_cv_type_pthread_rec_mutex_init=no
39674
39675
39676 fi
39677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39678
39679 fi
39680 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39681 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39682 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39683 cat >>confdefs.h <<\_ACEOF
39684 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39685 _ACEOF
39686
39687 else
39688 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39689 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39690 fi
39691 fi
39692 fi
39693
39694 else
39695 if test "$wxUSE_THREADS" = "yes" ; then
39696 case "${host}" in
39697 *-*-mingw32* )
39698 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39699 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39700 if test "${wx_cv_cflags_mthread+set}" = set; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39703
39704 CXXFLAGS_OLD="$CXXFLAGS"
39705 CXXFLAGS="-mthreads $CXXFLAGS"
39706 cat >conftest.$ac_ext <<_ACEOF
39707 /* confdefs.h. */
39708 _ACEOF
39709 cat confdefs.h >>conftest.$ac_ext
39710 cat >>conftest.$ac_ext <<_ACEOF
39711 /* end confdefs.h. */
39712
39713 int
39714 main ()
39715 {
39716
39717 ;
39718 return 0;
39719 }
39720 _ACEOF
39721 rm -f conftest.$ac_objext
39722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39723 (eval $ac_compile) 2>conftest.er1
39724 ac_status=$?
39725 grep -v '^ *+' conftest.er1 >conftest.err
39726 rm -f conftest.er1
39727 cat conftest.err >&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } &&
39730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732 (eval $ac_try) 2>&5
39733 ac_status=$?
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); }; } &&
39736 { ac_try='test -s conftest.$ac_objext'
39737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39738 (eval $ac_try) 2>&5
39739 ac_status=$?
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); }; }; then
39742 wx_cv_cflags_mthread=yes
39743 else
39744 echo "$as_me: failed program was:" >&5
39745 sed 's/^/| /' conftest.$ac_ext >&5
39746
39747 wx_cv_cflags_mthread=no
39748
39749 fi
39750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39751
39752
39753 fi
39754 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39755 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39756
39757 if test "$wx_cv_cflags_mthread" = "yes"; then
39758 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
39759 LDFLAGS="$LDFLAGS -mthreads"
39760 else
39761 CXXFLAGS="$CXXFLAGS_OLD"
39762 fi
39763 ;;
39764 *-pc-os2*emx )
39765 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39766 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39767 LDFLAGS="$LDFLAGS -Zmt"
39768 ;;
39769 esac
39770 fi
39771 fi
39772
39773 echo "$as_me:$LINENO: checking for localtime_r" >&5
39774 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39775 if test "${ac_cv_func_localtime_r+set}" = set; then
39776 echo $ECHO_N "(cached) $ECHO_C" >&6
39777 else
39778 cat >conftest.$ac_ext <<_ACEOF
39779 /* confdefs.h. */
39780 _ACEOF
39781 cat confdefs.h >>conftest.$ac_ext
39782 cat >>conftest.$ac_ext <<_ACEOF
39783 /* end confdefs.h. */
39784 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39786 #define localtime_r innocuous_localtime_r
39787
39788 /* System header to define __stub macros and hopefully few prototypes,
39789 which can conflict with char localtime_r (); below.
39790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39791 <limits.h> exists even on freestanding compilers. */
39792
39793 #ifdef __STDC__
39794 # include <limits.h>
39795 #else
39796 # include <assert.h>
39797 #endif
39798
39799 #undef localtime_r
39800
39801 /* Override any gcc2 internal prototype to avoid an error. */
39802 #ifdef __cplusplus
39803 extern "C"
39804 {
39805 #endif
39806 /* We use char because int might match the return type of a gcc2
39807 builtin and then its argument prototype would still apply. */
39808 char localtime_r ();
39809 /* The GNU C library defines this for functions which it implements
39810 to always fail with ENOSYS. Some functions are actually named
39811 something starting with __ and the normal name is an alias. */
39812 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39813 choke me
39814 #else
39815 char (*f) () = localtime_r;
39816 #endif
39817 #ifdef __cplusplus
39818 }
39819 #endif
39820
39821 int
39822 main ()
39823 {
39824 return f != localtime_r;
39825 ;
39826 return 0;
39827 }
39828 _ACEOF
39829 rm -f conftest.$ac_objext conftest$ac_exeext
39830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39831 (eval $ac_link) 2>conftest.er1
39832 ac_status=$?
39833 grep -v '^ *+' conftest.er1 >conftest.err
39834 rm -f conftest.er1
39835 cat conftest.err >&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } &&
39838 { ac_try='test -z "$ac_cxx_werror_flag" || 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_localtime_r=yes
39851 else
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.$ac_ext >&5
39854
39855 ac_cv_func_localtime_r=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_localtime_r" >&5
39861 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39862 if test $ac_cv_func_localtime_r = yes; then
39863 cat >>confdefs.h <<\_ACEOF
39864 #define HAVE_LOCALTIME_R 1
39865 _ACEOF
39866
39867 fi
39868
39869 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39870 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39871 if test "${ac_cv_func_gmtime_r+set}" = set; then
39872 echo $ECHO_N "(cached) $ECHO_C" >&6
39873 else
39874 cat >conftest.$ac_ext <<_ACEOF
39875 /* confdefs.h. */
39876 _ACEOF
39877 cat confdefs.h >>conftest.$ac_ext
39878 cat >>conftest.$ac_ext <<_ACEOF
39879 /* end confdefs.h. */
39880 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39882 #define gmtime_r innocuous_gmtime_r
39883
39884 /* System header to define __stub macros and hopefully few prototypes,
39885 which can conflict with char gmtime_r (); below.
39886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39887 <limits.h> exists even on freestanding compilers. */
39888
39889 #ifdef __STDC__
39890 # include <limits.h>
39891 #else
39892 # include <assert.h>
39893 #endif
39894
39895 #undef gmtime_r
39896
39897 /* Override any gcc2 internal prototype to avoid an error. */
39898 #ifdef __cplusplus
39899 extern "C"
39900 {
39901 #endif
39902 /* We use char because int might match the return type of a gcc2
39903 builtin and then its argument prototype would still apply. */
39904 char gmtime_r ();
39905 /* The GNU C library defines this for functions which it implements
39906 to always fail with ENOSYS. Some functions are actually named
39907 something starting with __ and the normal name is an alias. */
39908 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39909 choke me
39910 #else
39911 char (*f) () = gmtime_r;
39912 #endif
39913 #ifdef __cplusplus
39914 }
39915 #endif
39916
39917 int
39918 main ()
39919 {
39920 return f != gmtime_r;
39921 ;
39922 return 0;
39923 }
39924 _ACEOF
39925 rm -f conftest.$ac_objext conftest$ac_exeext
39926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39927 (eval $ac_link) 2>conftest.er1
39928 ac_status=$?
39929 grep -v '^ *+' conftest.er1 >conftest.err
39930 rm -f conftest.er1
39931 cat conftest.err >&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } &&
39934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39936 (eval $ac_try) 2>&5
39937 ac_status=$?
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); }; } &&
39940 { ac_try='test -s conftest$ac_exeext'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39943 ac_status=$?
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; }; then
39946 ac_cv_func_gmtime_r=yes
39947 else
39948 echo "$as_me: failed program was:" >&5
39949 sed 's/^/| /' conftest.$ac_ext >&5
39950
39951 ac_cv_func_gmtime_r=no
39952 fi
39953 rm -f conftest.err conftest.$ac_objext \
39954 conftest$ac_exeext conftest.$ac_ext
39955 fi
39956 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39957 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39958 if test $ac_cv_func_gmtime_r = yes; then
39959 cat >>confdefs.h <<\_ACEOF
39960 #define HAVE_GMTIME_R 1
39961 _ACEOF
39962
39963 fi
39964
39965 echo "$as_me:$LINENO: checking for readdir_r" >&5
39966 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39967 if test "${ac_cv_func_readdir_r+set}" = set; then
39968 echo $ECHO_N "(cached) $ECHO_C" >&6
39969 else
39970 cat >conftest.$ac_ext <<_ACEOF
39971 /* confdefs.h. */
39972 _ACEOF
39973 cat confdefs.h >>conftest.$ac_ext
39974 cat >>conftest.$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39976 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39978 #define readdir_r innocuous_readdir_r
39979
39980 /* System header to define __stub macros and hopefully few prototypes,
39981 which can conflict with char readdir_r (); below.
39982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39983 <limits.h> exists even on freestanding compilers. */
39984
39985 #ifdef __STDC__
39986 # include <limits.h>
39987 #else
39988 # include <assert.h>
39989 #endif
39990
39991 #undef readdir_r
39992
39993 /* Override any gcc2 internal prototype to avoid an error. */
39994 #ifdef __cplusplus
39995 extern "C"
39996 {
39997 #endif
39998 /* We use char because int might match the return type of a gcc2
39999 builtin and then its argument prototype would still apply. */
40000 char readdir_r ();
40001 /* The GNU C library defines this for functions which it implements
40002 to always fail with ENOSYS. Some functions are actually named
40003 something starting with __ and the normal name is an alias. */
40004 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40005 choke me
40006 #else
40007 char (*f) () = readdir_r;
40008 #endif
40009 #ifdef __cplusplus
40010 }
40011 #endif
40012
40013 int
40014 main ()
40015 {
40016 return f != readdir_r;
40017 ;
40018 return 0;
40019 }
40020 _ACEOF
40021 rm -f conftest.$ac_objext conftest$ac_exeext
40022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40023 (eval $ac_link) 2>conftest.er1
40024 ac_status=$?
40025 grep -v '^ *+' conftest.er1 >conftest.err
40026 rm -f conftest.er1
40027 cat conftest.err >&5
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); } &&
40030 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try='test -s conftest$ac_exeext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 ac_cv_func_readdir_r=yes
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40046
40047 ac_cv_func_readdir_r=no
40048 fi
40049 rm -f conftest.err conftest.$ac_objext \
40050 conftest$ac_exeext conftest.$ac_ext
40051 fi
40052 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40053 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40054 if test $ac_cv_func_readdir_r = yes; then
40055 cat >>confdefs.h <<\_ACEOF
40056 #define HAVE_READDIR_R 1
40057 _ACEOF
40058
40059 fi
40060
40061
40062
40063
40064 ac_ext=c
40065 ac_cpp='$CPP $CPPFLAGS'
40066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40069
40070 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40071 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40072
40073 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40076
40077
40078 ################################################################
40079
40080 ac_cv_func_which_gethostbyname_r=unknown
40081
40082 #
40083 # ONE ARGUMENT (sanity check)
40084 #
40085
40086 # This should fail, as there is no variant of gethostbyname_r() that takes
40087 # a single argument. If it actually compiles, then we can assume that
40088 # netdb.h is not declaring the function, and the compiler is thereby
40089 # assuming an implicit prototype. In which case, we're out of luck.
40090 #
40091 cat >conftest.$ac_ext <<_ACEOF
40092 /* confdefs.h. */
40093 _ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 #include <netdb.h>
40098 int
40099 main ()
40100 {
40101
40102 char *name = "www.gnu.org";
40103 (void)gethostbyname_r(name) /* ; */
40104
40105 ;
40106 return 0;
40107 }
40108 _ACEOF
40109 rm -f conftest.$ac_objext
40110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40111 (eval $ac_compile) 2>conftest.er1
40112 ac_status=$?
40113 grep -v '^ *+' conftest.er1 >conftest.err
40114 rm -f conftest.er1
40115 cat conftest.err >&5
40116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117 (exit $ac_status); } &&
40118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40120 (eval $ac_try) 2>&5
40121 ac_status=$?
40122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123 (exit $ac_status); }; } &&
40124 { ac_try='test -s conftest.$ac_objext'
40125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40126 (eval $ac_try) 2>&5
40127 ac_status=$?
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); }; }; then
40130 ac_cv_func_which_gethostbyname_r=no
40131 else
40132 echo "$as_me: failed program was:" >&5
40133 sed 's/^/| /' conftest.$ac_ext >&5
40134
40135 fi
40136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40137
40138 #
40139 # SIX ARGUMENTS
40140 # (e.g. Linux)
40141 #
40142
40143 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40144
40145 cat >conftest.$ac_ext <<_ACEOF
40146 /* confdefs.h. */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 #include <netdb.h>
40152 int
40153 main ()
40154 {
40155
40156 char *name = "www.gnu.org";
40157 struct hostent ret, *retp;
40158 char buf[1024];
40159 int buflen = 1024;
40160 int my_h_errno;
40161 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40162
40163 ;
40164 return 0;
40165 }
40166 _ACEOF
40167 rm -f conftest.$ac_objext
40168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40169 (eval $ac_compile) 2>conftest.er1
40170 ac_status=$?
40171 grep -v '^ *+' conftest.er1 >conftest.err
40172 rm -f conftest.er1
40173 cat conftest.err >&5
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); } &&
40176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40178 (eval $ac_try) 2>&5
40179 ac_status=$?
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); }; } &&
40182 { ac_try='test -s conftest.$ac_objext'
40183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40184 (eval $ac_try) 2>&5
40185 ac_status=$?
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); }; }; then
40188 ac_cv_func_which_gethostbyname_r=six
40189 else
40190 echo "$as_me: failed program was:" >&5
40191 sed 's/^/| /' conftest.$ac_ext >&5
40192
40193 fi
40194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40195
40196 fi
40197
40198 #
40199 # FIVE ARGUMENTS
40200 # (e.g. Solaris)
40201 #
40202
40203 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40204
40205 cat >conftest.$ac_ext <<_ACEOF
40206 /* confdefs.h. */
40207 _ACEOF
40208 cat confdefs.h >>conftest.$ac_ext
40209 cat >>conftest.$ac_ext <<_ACEOF
40210 /* end confdefs.h. */
40211 #include <netdb.h>
40212 int
40213 main ()
40214 {
40215
40216 char *name = "www.gnu.org";
40217 struct hostent ret;
40218 char buf[1024];
40219 int buflen = 1024;
40220 int my_h_errno;
40221 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40222
40223 ;
40224 return 0;
40225 }
40226 _ACEOF
40227 rm -f conftest.$ac_objext
40228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40229 (eval $ac_compile) 2>conftest.er1
40230 ac_status=$?
40231 grep -v '^ *+' conftest.er1 >conftest.err
40232 rm -f conftest.er1
40233 cat conftest.err >&5
40234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40235 (exit $ac_status); } &&
40236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40238 (eval $ac_try) 2>&5
40239 ac_status=$?
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); }; } &&
40242 { ac_try='test -s conftest.$ac_objext'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40245 ac_status=$?
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; }; then
40248 ac_cv_func_which_gethostbyname_r=five
40249 else
40250 echo "$as_me: failed program was:" >&5
40251 sed 's/^/| /' conftest.$ac_ext >&5
40252
40253 fi
40254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40255
40256 fi
40257
40258 #
40259 # THREE ARGUMENTS
40260 # (e.g. AIX, HP-UX, Tru64)
40261 #
40262
40263 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40264
40265 cat >conftest.$ac_ext <<_ACEOF
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271 #include <netdb.h>
40272 int
40273 main ()
40274 {
40275
40276 char *name = "www.gnu.org";
40277 struct hostent ret;
40278 struct hostent_data data;
40279 (void)gethostbyname_r(name, &ret, &data) /* ; */
40280
40281 ;
40282 return 0;
40283 }
40284 _ACEOF
40285 rm -f conftest.$ac_objext
40286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40287 (eval $ac_compile) 2>conftest.er1
40288 ac_status=$?
40289 grep -v '^ *+' conftest.er1 >conftest.err
40290 rm -f conftest.er1
40291 cat conftest.err >&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); } &&
40294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296 (eval $ac_try) 2>&5
40297 ac_status=$?
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); }; } &&
40300 { ac_try='test -s conftest.$ac_objext'
40301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40302 (eval $ac_try) 2>&5
40303 ac_status=$?
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); }; }; then
40306 ac_cv_func_which_gethostbyname_r=three
40307 else
40308 echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40310
40311 fi
40312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40313
40314 fi
40315
40316 ################################################################
40317
40318
40319 fi
40320
40321 case "$ac_cv_func_which_gethostbyname_r" in
40322 three)
40323 echo "$as_me:$LINENO: result: three" >&5
40324 echo "${ECHO_T}three" >&6
40325 cat >>confdefs.h <<\_ACEOF
40326 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40327 _ACEOF
40328
40329 ;;
40330
40331 five)
40332 echo "$as_me:$LINENO: result: five" >&5
40333 echo "${ECHO_T}five" >&6
40334 cat >>confdefs.h <<\_ACEOF
40335 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40336 _ACEOF
40337
40338 ;;
40339
40340 six)
40341 echo "$as_me:$LINENO: result: six" >&5
40342 echo "${ECHO_T}six" >&6
40343 cat >>confdefs.h <<\_ACEOF
40344 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40345 _ACEOF
40346
40347 ;;
40348
40349 no)
40350 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40351 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40352 ;;
40353
40354 unknown)
40355 echo "$as_me:$LINENO: result: can't tell" >&5
40356 echo "${ECHO_T}can't tell" >&6
40357 ;;
40358
40359 *)
40360 { { echo "$as_me:$LINENO: error: internal error" >&5
40361 echo "$as_me: error: internal error" >&2;}
40362 { (exit 1); exit 1; }; }
40363 ;;
40364 esac
40365
40366 ac_ext=cc
40367 ac_cpp='$CXXCPP $CPPFLAGS'
40368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40371
40372
40373
40374 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40375 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40376 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40377 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40378 if test "${ac_cv_func_gethostbyname+set}" = set; then
40379 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 else
40381 cat >conftest.$ac_ext <<_ACEOF
40382 /* confdefs.h. */
40383 _ACEOF
40384 cat confdefs.h >>conftest.$ac_ext
40385 cat >>conftest.$ac_ext <<_ACEOF
40386 /* end confdefs.h. */
40387 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40389 #define gethostbyname innocuous_gethostbyname
40390
40391 /* System header to define __stub macros and hopefully few prototypes,
40392 which can conflict with char gethostbyname (); below.
40393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40394 <limits.h> exists even on freestanding compilers. */
40395
40396 #ifdef __STDC__
40397 # include <limits.h>
40398 #else
40399 # include <assert.h>
40400 #endif
40401
40402 #undef gethostbyname
40403
40404 /* Override any gcc2 internal prototype to avoid an error. */
40405 #ifdef __cplusplus
40406 extern "C"
40407 {
40408 #endif
40409 /* We use char because int might match the return type of a gcc2
40410 builtin and then its argument prototype would still apply. */
40411 char gethostbyname ();
40412 /* The GNU C library defines this for functions which it implements
40413 to always fail with ENOSYS. Some functions are actually named
40414 something starting with __ and the normal name is an alias. */
40415 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40416 choke me
40417 #else
40418 char (*f) () = gethostbyname;
40419 #endif
40420 #ifdef __cplusplus
40421 }
40422 #endif
40423
40424 int
40425 main ()
40426 {
40427 return f != gethostbyname;
40428 ;
40429 return 0;
40430 }
40431 _ACEOF
40432 rm -f conftest.$ac_objext conftest$ac_exeext
40433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40434 (eval $ac_link) 2>conftest.er1
40435 ac_status=$?
40436 grep -v '^ *+' conftest.er1 >conftest.err
40437 rm -f conftest.er1
40438 cat conftest.err >&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } &&
40441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40444 ac_status=$?
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; } &&
40447 { ac_try='test -s conftest$ac_exeext'
40448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40449 (eval $ac_try) 2>&5
40450 ac_status=$?
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); }; }; then
40453 ac_cv_func_gethostbyname=yes
40454 else
40455 echo "$as_me: failed program was:" >&5
40456 sed 's/^/| /' conftest.$ac_ext >&5
40457
40458 ac_cv_func_gethostbyname=no
40459 fi
40460 rm -f conftest.err conftest.$ac_objext \
40461 conftest$ac_exeext conftest.$ac_ext
40462 fi
40463 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40464 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40465 if test $ac_cv_func_gethostbyname = yes; then
40466 cat >>confdefs.h <<\_ACEOF
40467 #define HAVE_GETHOSTBYNAME 1
40468 _ACEOF
40469
40470 fi
40471
40472 fi
40473 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40474 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40475 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478
40479 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40480 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40481 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40482 echo $ECHO_N "(cached) $ECHO_C" >&6
40483 else
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h. */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40492 #define getservbyname_r innocuous_getservbyname_r
40493
40494 /* System header to define __stub macros and hopefully few prototypes,
40495 which can conflict with char getservbyname_r (); below.
40496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40497 <limits.h> exists even on freestanding compilers. */
40498
40499 #ifdef __STDC__
40500 # include <limits.h>
40501 #else
40502 # include <assert.h>
40503 #endif
40504
40505 #undef getservbyname_r
40506
40507 /* Override any gcc2 internal prototype to avoid an error. */
40508 #ifdef __cplusplus
40509 extern "C"
40510 {
40511 #endif
40512 /* We use char because int might match the return type of a gcc2
40513 builtin and then its argument prototype would still apply. */
40514 char getservbyname_r ();
40515 /* The GNU C library defines this for functions which it implements
40516 to always fail with ENOSYS. Some functions are actually named
40517 something starting with __ and the normal name is an alias. */
40518 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40519 choke me
40520 #else
40521 char (*f) () = getservbyname_r;
40522 #endif
40523 #ifdef __cplusplus
40524 }
40525 #endif
40526
40527 int
40528 main ()
40529 {
40530 return f != getservbyname_r;
40531 ;
40532 return 0;
40533 }
40534 _ACEOF
40535 rm -f conftest.$ac_objext conftest$ac_exeext
40536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40537 (eval $ac_link) 2>conftest.er1
40538 ac_status=$?
40539 grep -v '^ *+' conftest.er1 >conftest.err
40540 rm -f conftest.er1
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } &&
40544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40546 (eval $ac_try) 2>&5
40547 ac_status=$?
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); }; } &&
40550 { ac_try='test -s conftest$ac_exeext'
40551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40552 (eval $ac_try) 2>&5
40553 ac_status=$?
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); }; }; then
40556 ac_cv_func_getservbyname_r=yes
40557 else
40558 echo "$as_me: failed program was:" >&5
40559 sed 's/^/| /' conftest.$ac_ext >&5
40560
40561 ac_cv_func_getservbyname_r=no
40562 fi
40563 rm -f conftest.err conftest.$ac_objext \
40564 conftest$ac_exeext conftest.$ac_ext
40565 fi
40566 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40567 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40568 if test $ac_cv_func_getservbyname_r = yes; then
40569
40570 cat >conftest.$ac_ext <<_ACEOF
40571 /* confdefs.h. */
40572 _ACEOF
40573 cat confdefs.h >>conftest.$ac_ext
40574 cat >>conftest.$ac_ext <<_ACEOF
40575 /* end confdefs.h. */
40576
40577 # include <netdb.h>
40578
40579 int
40580 main ()
40581 {
40582
40583
40584 char *name;
40585 char *proto;
40586 struct servent *se;
40587 struct servent_data data;
40588 (void) getservbyname_r(name, proto, se, &data);
40589
40590
40591 ;
40592 return 0;
40593 }
40594 _ACEOF
40595 rm -f conftest.$ac_objext
40596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40597 (eval $ac_compile) 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" || test ! -s conftest.err'
40605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40606 (eval $ac_try) 2>&5
40607 ac_status=$?
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); }; } &&
40610 { ac_try='test -s conftest.$ac_objext'
40611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40612 (eval $ac_try) 2>&5
40613 ac_status=$?
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); }; }; then
40616 ac_cv_func_which_getservbyname_r=four
40617 else
40618 echo "$as_me: failed program was:" >&5
40619 sed 's/^/| /' conftest.$ac_ext >&5
40620
40621
40622 cat >conftest.$ac_ext <<_ACEOF
40623 /* confdefs.h. */
40624 _ACEOF
40625 cat confdefs.h >>conftest.$ac_ext
40626 cat >>conftest.$ac_ext <<_ACEOF
40627 /* end confdefs.h. */
40628
40629 # include <netdb.h>
40630
40631 int
40632 main ()
40633 {
40634
40635 char *name;
40636 char *proto;
40637 struct servent *se, *res;
40638 char buffer[2048];
40639 int buflen = 2048;
40640 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40641
40642 ;
40643 return 0;
40644 }
40645 _ACEOF
40646 rm -f conftest.$ac_objext
40647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40648 (eval $ac_compile) 2>conftest.er1
40649 ac_status=$?
40650 grep -v '^ *+' conftest.er1 >conftest.err
40651 rm -f conftest.er1
40652 cat conftest.err >&5
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); } &&
40655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40658 ac_status=$?
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; } &&
40661 { ac_try='test -s conftest.$ac_objext'
40662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40663 (eval $ac_try) 2>&5
40664 ac_status=$?
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); }; }; then
40667 ac_cv_func_which_getservbyname_r=six
40668 else
40669 echo "$as_me: failed program was:" >&5
40670 sed 's/^/| /' conftest.$ac_ext >&5
40671
40672
40673 cat >conftest.$ac_ext <<_ACEOF
40674 /* confdefs.h. */
40675 _ACEOF
40676 cat confdefs.h >>conftest.$ac_ext
40677 cat >>conftest.$ac_ext <<_ACEOF
40678 /* end confdefs.h. */
40679
40680 # include <netdb.h>
40681
40682 int
40683 main ()
40684 {
40685
40686 char *name;
40687 char *proto;
40688 struct servent *se;
40689 char buffer[2048];
40690 int buflen = 2048;
40691 (void) getservbyname_r(name, proto, se, buffer, buflen)
40692
40693 ;
40694 return 0;
40695 }
40696 _ACEOF
40697 rm -f conftest.$ac_objext
40698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40699 (eval $ac_compile) 2>conftest.er1
40700 ac_status=$?
40701 grep -v '^ *+' conftest.er1 >conftest.err
40702 rm -f conftest.er1
40703 cat conftest.err >&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } &&
40706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40708 (eval $ac_try) 2>&5
40709 ac_status=$?
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); }; } &&
40712 { ac_try='test -s conftest.$ac_objext'
40713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40714 (eval $ac_try) 2>&5
40715 ac_status=$?
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); }; }; then
40718 ac_cv_func_which_getservbyname_r=five
40719 else
40720 echo "$as_me: failed program was:" >&5
40721 sed 's/^/| /' conftest.$ac_ext >&5
40722
40723 ac_cv_func_which_getservbyname_r=no
40724 fi
40725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40726
40727
40728
40729
40730 fi
40731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40732
40733
40734 fi
40735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40736
40737 else
40738 ac_cv_func_which_getservbyname_r=no
40739 fi
40740
40741 fi
40742 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40743 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40744
40745 if test $ac_cv_func_which_getservbyname_r = six; then
40746 cat >>confdefs.h <<\_ACEOF
40747 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40748 _ACEOF
40749
40750 elif test $ac_cv_func_which_getservbyname_r = five; then
40751 cat >>confdefs.h <<\_ACEOF
40752 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40753 _ACEOF
40754
40755 elif test $ac_cv_func_which_getservbyname_r = four; then
40756 cat >>confdefs.h <<\_ACEOF
40757 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40758 _ACEOF
40759
40760
40761 fi
40762
40763
40764 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40765 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40766
40767 for ac_func in getservbyname
40768 do
40769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40770 echo "$as_me:$LINENO: checking for $ac_func" >&5
40771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40772 if eval "test \"\${$as_ac_var+set}\" = set"; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40775 cat >conftest.$ac_ext <<_ACEOF
40776 /* confdefs.h. */
40777 _ACEOF
40778 cat confdefs.h >>conftest.$ac_ext
40779 cat >>conftest.$ac_ext <<_ACEOF
40780 /* end confdefs.h. */
40781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40783 #define $ac_func innocuous_$ac_func
40784
40785 /* System header to define __stub macros and hopefully few prototypes,
40786 which can conflict with char $ac_func (); below.
40787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40788 <limits.h> exists even on freestanding compilers. */
40789
40790 #ifdef __STDC__
40791 # include <limits.h>
40792 #else
40793 # include <assert.h>
40794 #endif
40795
40796 #undef $ac_func
40797
40798 /* Override any gcc2 internal prototype to avoid an error. */
40799 #ifdef __cplusplus
40800 extern "C"
40801 {
40802 #endif
40803 /* We use char because int might match the return type of a gcc2
40804 builtin and then its argument prototype would still apply. */
40805 char $ac_func ();
40806 /* The GNU C library defines this for functions which it implements
40807 to always fail with ENOSYS. Some functions are actually named
40808 something starting with __ and the normal name is an alias. */
40809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40810 choke me
40811 #else
40812 char (*f) () = $ac_func;
40813 #endif
40814 #ifdef __cplusplus
40815 }
40816 #endif
40817
40818 int
40819 main ()
40820 {
40821 return f != $ac_func;
40822 ;
40823 return 0;
40824 }
40825 _ACEOF
40826 rm -f conftest.$ac_objext conftest$ac_exeext
40827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40828 (eval $ac_link) 2>conftest.er1
40829 ac_status=$?
40830 grep -v '^ *+' conftest.er1 >conftest.err
40831 rm -f conftest.er1
40832 cat conftest.err >&5
40833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834 (exit $ac_status); } &&
40835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40837 (eval $ac_try) 2>&5
40838 ac_status=$?
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); }; } &&
40841 { ac_try='test -s conftest$ac_exeext'
40842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40843 (eval $ac_try) 2>&5
40844 ac_status=$?
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); }; }; then
40847 eval "$as_ac_var=yes"
40848 else
40849 echo "$as_me: failed program was:" >&5
40850 sed 's/^/| /' conftest.$ac_ext >&5
40851
40852 eval "$as_ac_var=no"
40853 fi
40854 rm -f conftest.err conftest.$ac_objext \
40855 conftest$ac_exeext conftest.$ac_ext
40856 fi
40857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40859 if test `eval echo '${'$as_ac_var'}'` = yes; then
40860 cat >>confdefs.h <<_ACEOF
40861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40862 _ACEOF
40863 cat >>confdefs.h <<\_ACEOF
40864 #define HAVE_GETSERVBYNAME 1
40865 _ACEOF
40866
40867 fi
40868 done
40869
40870 fi
40871
40872 if test "$wxUSE_THREADS" = "yes"; then
40873 cat >>confdefs.h <<\_ACEOF
40874 #define wxUSE_THREADS 1
40875 _ACEOF
40876
40877
40878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40879 else
40880 if test "$wx_cv_func_strtok_r" = "yes"; then
40881 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40882 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40883 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40884 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40885 echo "$as_me:$LINENO: result: yes" >&5
40886 echo "${ECHO_T}yes" >&6
40887 else
40888 echo "$as_me:$LINENO: result: no" >&5
40889 echo "${ECHO_T}no" >&6
40890 fi
40891 fi
40892 fi
40893
40894 if test "$WXGTK20" = 1 ; then
40895 cat >>confdefs.h <<_ACEOF
40896 #define __WXGTK20__ $WXGTK20
40897 _ACEOF
40898
40899 WXGTK12=1
40900 fi
40901
40902 if test "$WXGTK12" = 1 ; then
40903 cat >>confdefs.h <<_ACEOF
40904 #define __WXGTK12__ $WXGTK12
40905 _ACEOF
40906
40907 fi
40908
40909 if test "$WXGTK127" = 1 ; then
40910 cat >>confdefs.h <<_ACEOF
40911 #define __WXGTK127__ $WXGTK127
40912 _ACEOF
40913
40914 fi
40915
40916 if test "$WXGPE" = 1 ; then
40917 cat >>confdefs.h <<_ACEOF
40918 #define __WXGPE__ $WXGPE
40919 _ACEOF
40920
40921 fi
40922
40923 DEBUG_CFLAGS=
40924 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40925 DEBUG_CFLAGS="-g"
40926 wxUSE_OPTIMISE=no
40927 fi
40928
40929 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40930 wxUSE_DEBUG_INFO=yes
40931 if test "$GCC" = yes; then
40932 DEBUG_CFLAGS="-ggdb"
40933 fi
40934 fi
40935
40936 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40937 cat >>confdefs.h <<\_ACEOF
40938 #define WXDEBUG 1
40939 _ACEOF
40940
40941 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40942 else
40943 if test "$wxUSE_GTK" = 1 ; then
40944 if test "x$wxGTK_VERSION" = "x1" ; then
40945 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40946 fi
40947 fi
40948 fi
40949
40950 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40951 cat >>confdefs.h <<\_ACEOF
40952 #define wxUSE_MEMORY_TRACING 1
40953 _ACEOF
40954
40955 cat >>confdefs.h <<\_ACEOF
40956 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40957 _ACEOF
40958
40959 cat >>confdefs.h <<\_ACEOF
40960 #define wxUSE_DEBUG_NEW_ALWAYS 1
40961 _ACEOF
40962
40963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40964 fi
40965
40966 if test "$wxUSE_DMALLOC" = "yes" ; then
40967 DMALLOC_LIBS="-ldmallocthcxx"
40968 fi
40969
40970 PROFILE_FLAGS=
40971 if test "$wxUSE_PROFILE" = "yes" ; then
40972 PROFILE_FLAGS=" -pg"
40973 fi
40974
40975 if test "$GCC" = "yes" ; then
40976 if test "$wxUSE_NO_RTTI" = "yes" ; then
40977 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40978 fi
40979 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40980 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40981 fi
40982 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40983 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40984 fi
40985
40986 case "${host}" in
40987 powerpc*-*-aix* )
40988 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40989 ;;
40990 *-hppa* )
40991 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40992 ;;
40993 esac
40994 fi
40995
40996 OPTIMISE_CFLAGS=
40997 if test "$wxUSE_OPTIMISE" = "no" ; then
40998 if test "$GCC" = yes ; then
40999 OPTIMISE_CFLAGS="-O0"
41000 fi
41001 else
41002 if test "$GCC" = yes ; then
41003 case "${host}" in
41004 *-pc-os2_emx | *-pc-os2-emx )
41005 OPTIMISE_CFLAGS="-O2"
41006 ;;
41007 *)
41008 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41009 ;;
41010 esac
41011 else
41012 OPTIMISE_CFLAGS="-O"
41013 fi
41014 fi
41015
41016
41017 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41018 cat >>confdefs.h <<\_ACEOF
41019 #define WXWIN_COMPATIBILITY_2_4 1
41020 _ACEOF
41021
41022
41023 WXWIN_COMPATIBILITY_2_6="yes"
41024 fi
41025
41026 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41027 cat >>confdefs.h <<\_ACEOF
41028 #define WXWIN_COMPATIBILITY_2_6 1
41029 _ACEOF
41030
41031 fi
41032
41033
41034 if test "$wxUSE_GUI" = "yes"; then
41035 cat >>confdefs.h <<\_ACEOF
41036 #define wxUSE_GUI 1
41037 _ACEOF
41038
41039
41040 fi
41041
41042
41043 if test "$wxUSE_UNIX" = "yes"; then
41044 cat >>confdefs.h <<\_ACEOF
41045 #define wxUSE_UNIX 1
41046 _ACEOF
41047
41048 fi
41049
41050
41051 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41052
41053 HAVE_DL_FUNCS=0
41054 HAVE_SHL_FUNCS=0
41055 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41056 if test "$USE_DARWIN" = 1; then
41057 HAVE_DL_FUNCS=1
41058 elif test "$USE_DOS" = 1; then
41059 HAVE_DL_FUNCS=0
41060 else
41061
41062 for ac_func in dlopen
41063 do
41064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41065 echo "$as_me:$LINENO: checking for $ac_func" >&5
41066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41067 if eval "test \"\${$as_ac_var+set}\" = set"; then
41068 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 else
41070 cat >conftest.$ac_ext <<_ACEOF
41071 /* confdefs.h. */
41072 _ACEOF
41073 cat confdefs.h >>conftest.$ac_ext
41074 cat >>conftest.$ac_ext <<_ACEOF
41075 /* end confdefs.h. */
41076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41078 #define $ac_func innocuous_$ac_func
41079
41080 /* System header to define __stub macros and hopefully few prototypes,
41081 which can conflict with char $ac_func (); below.
41082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41083 <limits.h> exists even on freestanding compilers. */
41084
41085 #ifdef __STDC__
41086 # include <limits.h>
41087 #else
41088 # include <assert.h>
41089 #endif
41090
41091 #undef $ac_func
41092
41093 /* Override any gcc2 internal prototype to avoid an error. */
41094 #ifdef __cplusplus
41095 extern "C"
41096 {
41097 #endif
41098 /* We use char because int might match the return type of a gcc2
41099 builtin and then its argument prototype would still apply. */
41100 char $ac_func ();
41101 /* The GNU C library defines this for functions which it implements
41102 to always fail with ENOSYS. Some functions are actually named
41103 something starting with __ and the normal name is an alias. */
41104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41105 choke me
41106 #else
41107 char (*f) () = $ac_func;
41108 #endif
41109 #ifdef __cplusplus
41110 }
41111 #endif
41112
41113 int
41114 main ()
41115 {
41116 return f != $ac_func;
41117 ;
41118 return 0;
41119 }
41120 _ACEOF
41121 rm -f conftest.$ac_objext conftest$ac_exeext
41122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41123 (eval $ac_link) 2>conftest.er1
41124 ac_status=$?
41125 grep -v '^ *+' conftest.er1 >conftest.err
41126 rm -f conftest.er1
41127 cat conftest.err >&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); } &&
41130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41132 (eval $ac_try) 2>&5
41133 ac_status=$?
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); }; } &&
41136 { ac_try='test -s conftest$ac_exeext'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41139 ac_status=$?
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; }; then
41142 eval "$as_ac_var=yes"
41143 else
41144 echo "$as_me: failed program was:" >&5
41145 sed 's/^/| /' conftest.$ac_ext >&5
41146
41147 eval "$as_ac_var=no"
41148 fi
41149 rm -f conftest.err conftest.$ac_objext \
41150 conftest$ac_exeext conftest.$ac_ext
41151 fi
41152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41154 if test `eval echo '${'$as_ac_var'}'` = yes; then
41155 cat >>confdefs.h <<_ACEOF
41156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41157 _ACEOF
41158
41159 cat >>confdefs.h <<\_ACEOF
41160 #define HAVE_DLOPEN 1
41161 _ACEOF
41162
41163 HAVE_DL_FUNCS=1
41164
41165 else
41166
41167 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41168 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41170 echo $ECHO_N "(cached) $ECHO_C" >&6
41171 else
41172 ac_check_lib_save_LIBS=$LIBS
41173 LIBS="-ldl $LIBS"
41174 cat >conftest.$ac_ext <<_ACEOF
41175 /* confdefs.h. */
41176 _ACEOF
41177 cat confdefs.h >>conftest.$ac_ext
41178 cat >>conftest.$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41180
41181 /* Override any gcc2 internal prototype to avoid an error. */
41182 #ifdef __cplusplus
41183 extern "C"
41184 #endif
41185 /* We use char because int might match the return type of a gcc2
41186 builtin and then its argument prototype would still apply. */
41187 char dlopen ();
41188 int
41189 main ()
41190 {
41191 dlopen ();
41192 ;
41193 return 0;
41194 }
41195 _ACEOF
41196 rm -f conftest.$ac_objext conftest$ac_exeext
41197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41198 (eval $ac_link) 2>conftest.er1
41199 ac_status=$?
41200 grep -v '^ *+' conftest.er1 >conftest.err
41201 rm -f conftest.er1
41202 cat conftest.err >&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } &&
41205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207 (eval $ac_try) 2>&5
41208 ac_status=$?
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); }; } &&
41211 { ac_try='test -s conftest$ac_exeext'
41212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213 (eval $ac_try) 2>&5
41214 ac_status=$?
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); }; }; then
41217 ac_cv_lib_dl_dlopen=yes
41218 else
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41221
41222 ac_cv_lib_dl_dlopen=no
41223 fi
41224 rm -f conftest.err conftest.$ac_objext \
41225 conftest$ac_exeext conftest.$ac_ext
41226 LIBS=$ac_check_lib_save_LIBS
41227 fi
41228 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41229 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41230 if test $ac_cv_lib_dl_dlopen = yes; then
41231
41232 cat >>confdefs.h <<\_ACEOF
41233 #define HAVE_DLOPEN 1
41234 _ACEOF
41235
41236 HAVE_DL_FUNCS=1
41237 DL_LINK=" -ldl$DL_LINK"
41238
41239 else
41240
41241
41242 for ac_func in shl_load
41243 do
41244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41245 echo "$as_me:$LINENO: checking for $ac_func" >&5
41246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41247 if eval "test \"\${$as_ac_var+set}\" = set"; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 else
41250 cat >conftest.$ac_ext <<_ACEOF
41251 /* confdefs.h. */
41252 _ACEOF
41253 cat confdefs.h >>conftest.$ac_ext
41254 cat >>conftest.$ac_ext <<_ACEOF
41255 /* end confdefs.h. */
41256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41258 #define $ac_func innocuous_$ac_func
41259
41260 /* System header to define __stub macros and hopefully few prototypes,
41261 which can conflict with char $ac_func (); below.
41262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41263 <limits.h> exists even on freestanding compilers. */
41264
41265 #ifdef __STDC__
41266 # include <limits.h>
41267 #else
41268 # include <assert.h>
41269 #endif
41270
41271 #undef $ac_func
41272
41273 /* Override any gcc2 internal prototype to avoid an error. */
41274 #ifdef __cplusplus
41275 extern "C"
41276 {
41277 #endif
41278 /* We use char because int might match the return type of a gcc2
41279 builtin and then its argument prototype would still apply. */
41280 char $ac_func ();
41281 /* The GNU C library defines this for functions which it implements
41282 to always fail with ENOSYS. Some functions are actually named
41283 something starting with __ and the normal name is an alias. */
41284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41285 choke me
41286 #else
41287 char (*f) () = $ac_func;
41288 #endif
41289 #ifdef __cplusplus
41290 }
41291 #endif
41292
41293 int
41294 main ()
41295 {
41296 return f != $ac_func;
41297 ;
41298 return 0;
41299 }
41300 _ACEOF
41301 rm -f conftest.$ac_objext conftest$ac_exeext
41302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41303 (eval $ac_link) 2>conftest.er1
41304 ac_status=$?
41305 grep -v '^ *+' conftest.er1 >conftest.err
41306 rm -f conftest.er1
41307 cat conftest.err >&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); } &&
41310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41313 ac_status=$?
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; } &&
41316 { ac_try='test -s conftest$ac_exeext'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41319 ac_status=$?
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; }; then
41322 eval "$as_ac_var=yes"
41323 else
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41326
41327 eval "$as_ac_var=no"
41328 fi
41329 rm -f conftest.err conftest.$ac_objext \
41330 conftest$ac_exeext conftest.$ac_ext
41331 fi
41332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41334 if test `eval echo '${'$as_ac_var'}'` = yes; then
41335 cat >>confdefs.h <<_ACEOF
41336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41337 _ACEOF
41338
41339 cat >>confdefs.h <<\_ACEOF
41340 #define HAVE_SHL_LOAD 1
41341 _ACEOF
41342
41343 HAVE_SHL_FUNCS=1
41344
41345 else
41346
41347 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41348 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41349 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41352 ac_check_lib_save_LIBS=$LIBS
41353 LIBS="-lshl_load $LIBS"
41354 cat >conftest.$ac_ext <<_ACEOF
41355 /* confdefs.h. */
41356 _ACEOF
41357 cat confdefs.h >>conftest.$ac_ext
41358 cat >>conftest.$ac_ext <<_ACEOF
41359 /* end confdefs.h. */
41360
41361 /* Override any gcc2 internal prototype to avoid an error. */
41362 #ifdef __cplusplus
41363 extern "C"
41364 #endif
41365 /* We use char because int might match the return type of a gcc2
41366 builtin and then its argument prototype would still apply. */
41367 char dld ();
41368 int
41369 main ()
41370 {
41371 dld ();
41372 ;
41373 return 0;
41374 }
41375 _ACEOF
41376 rm -f conftest.$ac_objext conftest$ac_exeext
41377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41378 (eval $ac_link) 2>conftest.er1
41379 ac_status=$?
41380 grep -v '^ *+' conftest.er1 >conftest.err
41381 rm -f conftest.er1
41382 cat conftest.err >&5
41383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41384 (exit $ac_status); } &&
41385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41387 (eval $ac_try) 2>&5
41388 ac_status=$?
41389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41390 (exit $ac_status); }; } &&
41391 { ac_try='test -s conftest$ac_exeext'
41392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41393 (eval $ac_try) 2>&5
41394 ac_status=$?
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); }; }; then
41397 ac_cv_lib_shl_load_dld=yes
41398 else
41399 echo "$as_me: failed program was:" >&5
41400 sed 's/^/| /' conftest.$ac_ext >&5
41401
41402 ac_cv_lib_shl_load_dld=no
41403 fi
41404 rm -f conftest.err conftest.$ac_objext \
41405 conftest$ac_exeext conftest.$ac_ext
41406 LIBS=$ac_check_lib_save_LIBS
41407 fi
41408 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41409 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41410 if test $ac_cv_lib_shl_load_dld = yes; then
41411
41412 HAVE_SHL_FUNCS=1
41413 DL_LINK=" -ldld$DL_LINK"
41414
41415 fi
41416
41417
41418 fi
41419 done
41420
41421
41422 fi
41423
41424
41425 fi
41426 done
41427
41428
41429 if test "$HAVE_DL_FUNCS" = 1; then
41430
41431 for ac_func in dlerror
41432 do
41433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41434 echo "$as_me:$LINENO: checking for $ac_func" >&5
41435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41436 if eval "test \"\${$as_ac_var+set}\" = set"; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 cat >conftest.$ac_ext <<_ACEOF
41440 /* confdefs.h. */
41441 _ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define $ac_func innocuous_$ac_func
41448
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char $ac_func (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41453
41454 #ifdef __STDC__
41455 # include <limits.h>
41456 #else
41457 # include <assert.h>
41458 #endif
41459
41460 #undef $ac_func
41461
41462 /* Override any gcc2 internal prototype to avoid an error. */
41463 #ifdef __cplusplus
41464 extern "C"
41465 {
41466 #endif
41467 /* We use char because int might match the return type of a gcc2
41468 builtin and then its argument prototype would still apply. */
41469 char $ac_func ();
41470 /* The GNU C library defines this for functions which it implements
41471 to always fail with ENOSYS. Some functions are actually named
41472 something starting with __ and the normal name is an alias. */
41473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41474 choke me
41475 #else
41476 char (*f) () = $ac_func;
41477 #endif
41478 #ifdef __cplusplus
41479 }
41480 #endif
41481
41482 int
41483 main ()
41484 {
41485 return f != $ac_func;
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41492 (eval $ac_link) 2>conftest.er1
41493 ac_status=$?
41494 grep -v '^ *+' conftest.er1 >conftest.err
41495 rm -f conftest.er1
41496 cat conftest.err >&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } &&
41499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41501 (eval $ac_try) 2>&5
41502 ac_status=$?
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); }; } &&
41505 { ac_try='test -s conftest$ac_exeext'
41506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41507 (eval $ac_try) 2>&5
41508 ac_status=$?
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); }; }; then
41511 eval "$as_ac_var=yes"
41512 else
41513 echo "$as_me: failed program was:" >&5
41514 sed 's/^/| /' conftest.$ac_ext >&5
41515
41516 eval "$as_ac_var=no"
41517 fi
41518 rm -f conftest.err conftest.$ac_objext \
41519 conftest$ac_exeext conftest.$ac_ext
41520 fi
41521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41523 if test `eval echo '${'$as_ac_var'}'` = yes; then
41524 cat >>confdefs.h <<_ACEOF
41525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41526 _ACEOF
41527 cat >>confdefs.h <<\_ACEOF
41528 #define HAVE_DLERROR 1
41529 _ACEOF
41530
41531 else
41532
41533 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41534 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41535 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41538 ac_check_lib_save_LIBS=$LIBS
41539 LIBS="-ldl $LIBS"
41540 cat >conftest.$ac_ext <<_ACEOF
41541 /* confdefs.h. */
41542 _ACEOF
41543 cat confdefs.h >>conftest.$ac_ext
41544 cat >>conftest.$ac_ext <<_ACEOF
41545 /* end confdefs.h. */
41546
41547 /* Override any gcc2 internal prototype to avoid an error. */
41548 #ifdef __cplusplus
41549 extern "C"
41550 #endif
41551 /* We use char because int might match the return type of a gcc2
41552 builtin and then its argument prototype would still apply. */
41553 char dlerror ();
41554 int
41555 main ()
41556 {
41557 dlerror ();
41558 ;
41559 return 0;
41560 }
41561 _ACEOF
41562 rm -f conftest.$ac_objext conftest$ac_exeext
41563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41564 (eval $ac_link) 2>conftest.er1
41565 ac_status=$?
41566 grep -v '^ *+' conftest.er1 >conftest.err
41567 rm -f conftest.er1
41568 cat conftest.err >&5
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); } &&
41571 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41573 (eval $ac_try) 2>&5
41574 ac_status=$?
41575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576 (exit $ac_status); }; } &&
41577 { ac_try='test -s conftest$ac_exeext'
41578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41579 (eval $ac_try) 2>&5
41580 ac_status=$?
41581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41582 (exit $ac_status); }; }; then
41583 ac_cv_lib_dl_dlerror=yes
41584 else
41585 echo "$as_me: failed program was:" >&5
41586 sed 's/^/| /' conftest.$ac_ext >&5
41587
41588 ac_cv_lib_dl_dlerror=no
41589 fi
41590 rm -f conftest.err conftest.$ac_objext \
41591 conftest$ac_exeext conftest.$ac_ext
41592 LIBS=$ac_check_lib_save_LIBS
41593 fi
41594 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41595 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41596 if test $ac_cv_lib_dl_dlerror = yes; then
41597 cat >>confdefs.h <<\_ACEOF
41598 #define HAVE_DLERROR 1
41599 _ACEOF
41600
41601 fi
41602
41603
41604
41605 fi
41606 done
41607
41608 fi
41609 fi
41610
41611 if test "$HAVE_DL_FUNCS" = 0; then
41612 if test "$HAVE_SHL_FUNCS" = 0; then
41613 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41614 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41615 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41616 wxUSE_DYNAMIC_LOADER=no
41617 wxUSE_DYNLIB_CLASS=no
41618 else
41619 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41620 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41621 fi
41622 fi
41623 fi
41624 fi
41625 fi
41626
41627 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41628 cat >>confdefs.h <<\_ACEOF
41629 #define wxUSE_DYNAMIC_LOADER 1
41630 _ACEOF
41631
41632 fi
41633 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41634 cat >>confdefs.h <<\_ACEOF
41635 #define wxUSE_DYNLIB_CLASS 1
41636 _ACEOF
41637
41638 fi
41639
41640
41641
41642 if test "$wxUSE_PLUGINS" = "yes" ; then
41643 if test "$wxUSE_SHARED" = "no" ; then
41644 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41645 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41646 wxUSE_PLUGINS=no
41647 fi
41648 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41649 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41650 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41651 wxUSE_PLUGINS=no
41652 fi
41653 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41654 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41655 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41656 wxUSE_PLUGINS=no
41657 fi
41658 if test "$wxUSE_PLUGINS" = "yes" ; then
41659 cat >>confdefs.h <<\_ACEOF
41660 #define wxUSE_PLUGINS 1
41661 _ACEOF
41662
41663 fi
41664 fi
41665
41666
41667 if test "$wxUSE_STL" = "yes"; then
41668 cat >>confdefs.h <<\_ACEOF
41669 #define wxUSE_STL 1
41670 _ACEOF
41671
41672 fi
41673
41674 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41675 cat >>confdefs.h <<\_ACEOF
41676 #define wxUSE_APPLE_IEEE 1
41677 _ACEOF
41678
41679 fi
41680
41681 if test "$wxUSE_TIMER" = "yes"; then
41682 cat >>confdefs.h <<\_ACEOF
41683 #define wxUSE_TIMER 1
41684 _ACEOF
41685
41686 fi
41687
41688 if test "$USE_UNIX" = "1" ; then
41689 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41690 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41691 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41692 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 else
41694
41695 cat >conftest.$ac_ext <<_ACEOF
41696 /* confdefs.h. */
41697 _ACEOF
41698 cat confdefs.h >>conftest.$ac_ext
41699 cat >>conftest.$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701
41702 #include <sys/ioctl.h>
41703 #include <sys/soundcard.h>
41704
41705 int
41706 main ()
41707 {
41708
41709 ioctl(0, SNDCTL_DSP_SPEED, 0);
41710
41711 ;
41712 return 0;
41713 }
41714 _ACEOF
41715 rm -f conftest.$ac_objext conftest$ac_exeext
41716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41717 (eval $ac_link) 2>conftest.er1
41718 ac_status=$?
41719 grep -v '^ *+' conftest.er1 >conftest.err
41720 rm -f conftest.er1
41721 cat conftest.err >&5
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); } &&
41724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726 (eval $ac_try) 2>&5
41727 ac_status=$?
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; } &&
41730 { ac_try='test -s conftest$ac_exeext'
41731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732 (eval $ac_try) 2>&5
41733 ac_status=$?
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; }; then
41736 ac_cv_header_sys_soundcard=yes
41737 else
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41740
41741
41742 saveLibs="$LIBS"
41743 LIBS="$saveLibs -lossaudio"
41744 cat >conftest.$ac_ext <<_ACEOF
41745 /* confdefs.h. */
41746 _ACEOF
41747 cat confdefs.h >>conftest.$ac_ext
41748 cat >>conftest.$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41750
41751 #include <sys/ioctl.h>
41752 #include <sys/soundcard.h>
41753
41754 int
41755 main ()
41756 {
41757
41758 ioctl(0, SNDCTL_DSP_SPEED, 0);
41759
41760 ;
41761 return 0;
41762 }
41763 _ACEOF
41764 rm -f conftest.$ac_objext conftest$ac_exeext
41765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41766 (eval $ac_link) 2>conftest.er1
41767 ac_status=$?
41768 grep -v '^ *+' conftest.er1 >conftest.err
41769 rm -f conftest.er1
41770 cat conftest.err >&5
41771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41772 (exit $ac_status); } &&
41773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41775 (eval $ac_try) 2>&5
41776 ac_status=$?
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); }; } &&
41779 { ac_try='test -s conftest$ac_exeext'
41780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41781 (eval $ac_try) 2>&5
41782 ac_status=$?
41783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784 (exit $ac_status); }; }; then
41785 ac_cv_header_sys_soundcard=yes
41786 else
41787 echo "$as_me: failed program was:" >&5
41788 sed 's/^/| /' conftest.$ac_ext >&5
41789
41790
41791 LIBS="$saveLibs"
41792 ac_cv_header_sys_soundcard=no
41793
41794
41795 fi
41796 rm -f conftest.err conftest.$ac_objext \
41797 conftest$ac_exeext conftest.$ac_ext
41798
41799
41800 fi
41801 rm -f conftest.err conftest.$ac_objext \
41802 conftest$ac_exeext conftest.$ac_ext
41803
41804 fi
41805 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41806 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41807
41808 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41809 cat >>confdefs.h <<\_ACEOF
41810 #define HAVE_SYS_SOUNDCARD_H 1
41811 _ACEOF
41812
41813 else
41814 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41815 fi
41816 fi
41817 WITH_PLUGIN_SDL=0
41818 if test "$wxUSE_SOUND" = "yes"; then
41819 if test "$USE_UNIX" = "1" ; then
41820 if test "$wxUSE_LIBSDL" != "no"; then
41821
41822 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41823 if test "${with_sdl_prefix+set}" = set; then
41824 withval="$with_sdl_prefix"
41825 sdl_prefix="$withval"
41826 else
41827 sdl_prefix=""
41828 fi;
41829
41830 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41831 if test "${with_sdl_exec_prefix+set}" = set; then
41832 withval="$with_sdl_exec_prefix"
41833 sdl_exec_prefix="$withval"
41834 else
41835 sdl_exec_prefix=""
41836 fi;
41837 # Check whether --enable-sdltest or --disable-sdltest was given.
41838 if test "${enable_sdltest+set}" = set; then
41839 enableval="$enable_sdltest"
41840
41841 else
41842 enable_sdltest=yes
41843 fi;
41844
41845 if test x$sdl_exec_prefix != x ; then
41846 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41847 if test x${SDL_CONFIG+set} != xset ; then
41848 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41849 fi
41850 fi
41851 if test x$sdl_prefix != x ; then
41852 sdl_args="$sdl_args --prefix=$sdl_prefix"
41853 if test x${SDL_CONFIG+set} != xset ; then
41854 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41855 fi
41856 fi
41857
41858 if test "x$prefix" != xNONE; then
41859 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41860 fi
41861 # Extract the first word of "sdl-config", so it can be a program name with args.
41862 set dummy sdl-config; ac_word=$2
41863 echo "$as_me:$LINENO: checking for $ac_word" >&5
41864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41865 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41866 echo $ECHO_N "(cached) $ECHO_C" >&6
41867 else
41868 case $SDL_CONFIG in
41869 [\\/]* | ?:[\\/]*)
41870 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41871 ;;
41872 *)
41873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41874 for as_dir in $PATH
41875 do
41876 IFS=$as_save_IFS
41877 test -z "$as_dir" && as_dir=.
41878 for ac_exec_ext in '' $ac_executable_extensions; do
41879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41880 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41882 break 2
41883 fi
41884 done
41885 done
41886
41887 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41888 ;;
41889 esac
41890 fi
41891 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41892
41893 if test -n "$SDL_CONFIG"; then
41894 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41895 echo "${ECHO_T}$SDL_CONFIG" >&6
41896 else
41897 echo "$as_me:$LINENO: result: no" >&5
41898 echo "${ECHO_T}no" >&6
41899 fi
41900
41901 min_sdl_version=1.2.0
41902 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41903 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41904 no_sdl=""
41905 if test "$SDL_CONFIG" = "no" ; then
41906 no_sdl=yes
41907 else
41908 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41909 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41910
41911 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41913 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41915 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41917 if test "x$enable_sdltest" = "xyes" ; then
41918 ac_save_CFLAGS="$CFLAGS"
41919 ac_save_CXXFLAGS="$CXXFLAGS"
41920 ac_save_LIBS="$LIBS"
41921 CFLAGS="$CFLAGS $SDL_CFLAGS"
41922 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41923 LIBS="$LIBS $SDL_LIBS"
41924 rm -f conf.sdltest
41925 if test "$cross_compiling" = yes; then
41926 echo $ac_n "cross compiling; assumed OK... $ac_c"
41927 else
41928 cat >conftest.$ac_ext <<_ACEOF
41929 /* confdefs.h. */
41930 _ACEOF
41931 cat confdefs.h >>conftest.$ac_ext
41932 cat >>conftest.$ac_ext <<_ACEOF
41933 /* end confdefs.h. */
41934
41935 #include <stdio.h>
41936 #include <stdlib.h>
41937 #include <string.h>
41938 #include "SDL.h"
41939
41940 char*
41941 my_strdup (char *str)
41942 {
41943 char *new_str;
41944
41945 if (str)
41946 {
41947 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41948 strcpy (new_str, str);
41949 }
41950 else
41951 new_str = NULL;
41952
41953 return new_str;
41954 }
41955
41956 int main (int argc, char *argv[])
41957 {
41958 int major, minor, micro;
41959 char *tmp_version;
41960
41961 /* This hangs on some systems (?)
41962 system ("touch conf.sdltest");
41963 */
41964 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41965
41966 /* HP/UX 9 (%@#!) writes to sscanf strings */
41967 tmp_version = my_strdup("$min_sdl_version");
41968 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41969 printf("%s, bad version string\n", "$min_sdl_version");
41970 exit(1);
41971 }
41972
41973 if (($sdl_major_version > major) ||
41974 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41975 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41976 {
41977 return 0;
41978 }
41979 else
41980 {
41981 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41982 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41983 printf("*** best to upgrade to the required version.\n");
41984 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41985 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41986 printf("*** config.cache before re-running configure\n");
41987 return 1;
41988 }
41989 }
41990
41991
41992 _ACEOF
41993 rm -f conftest$ac_exeext
41994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41995 (eval $ac_link) 2>&5
41996 ac_status=$?
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42000 (eval $ac_try) 2>&5
42001 ac_status=$?
42002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42003 (exit $ac_status); }; }; then
42004 :
42005 else
42006 echo "$as_me: program exited with status $ac_status" >&5
42007 echo "$as_me: failed program was:" >&5
42008 sed 's/^/| /' conftest.$ac_ext >&5
42009
42010 ( exit $ac_status )
42011 no_sdl=yes
42012 fi
42013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42014 fi
42015 CFLAGS="$ac_save_CFLAGS"
42016 CXXFLAGS="$ac_save_CXXFLAGS"
42017 LIBS="$ac_save_LIBS"
42018 fi
42019 fi
42020 if test "x$no_sdl" = x ; then
42021 echo "$as_me:$LINENO: result: yes" >&5
42022 echo "${ECHO_T}yes" >&6
42023
42024 EXTRALIBS_SDL="$SDL_LIBS"
42025 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42026 cat >>confdefs.h <<\_ACEOF
42027 #define wxUSE_LIBSDL 1
42028 _ACEOF
42029
42030
42031 else
42032 echo "$as_me:$LINENO: result: no" >&5
42033 echo "${ECHO_T}no" >&6
42034 if test "$SDL_CONFIG" = "no" ; then
42035 echo "*** The sdl-config script installed by SDL could not be found"
42036 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42037 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42038 echo "*** full path to sdl-config."
42039 else
42040 if test -f conf.sdltest ; then
42041 :
42042 else
42043 echo "*** Could not run SDL test program, checking why..."
42044 CFLAGS="$CFLAGS $SDL_CFLAGS"
42045 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42046 LIBS="$LIBS $SDL_LIBS"
42047 cat >conftest.$ac_ext <<_ACEOF
42048 /* confdefs.h. */
42049 _ACEOF
42050 cat confdefs.h >>conftest.$ac_ext
42051 cat >>conftest.$ac_ext <<_ACEOF
42052 /* end confdefs.h. */
42053
42054 #include <stdio.h>
42055 #include "SDL.h"
42056
42057 int main(int argc, char *argv[])
42058 { return 0; }
42059 #undef main
42060 #define main K_and_R_C_main
42061
42062 int
42063 main ()
42064 {
42065 return 0;
42066 ;
42067 return 0;
42068 }
42069 _ACEOF
42070 rm -f conftest.$ac_objext conftest$ac_exeext
42071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42072 (eval $ac_link) 2>conftest.er1
42073 ac_status=$?
42074 grep -v '^ *+' conftest.er1 >conftest.err
42075 rm -f conftest.er1
42076 cat conftest.err >&5
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); } &&
42079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42081 (eval $ac_try) 2>&5
42082 ac_status=$?
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); }; } &&
42085 { ac_try='test -s conftest$ac_exeext'
42086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42087 (eval $ac_try) 2>&5
42088 ac_status=$?
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); }; }; then
42091 echo "*** The test program compiled, but did not run. This usually means"
42092 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42093 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42094 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42095 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42096 echo "*** is required on your system"
42097 echo "***"
42098 echo "*** If you have an old version installed, it is best to remove it, although"
42099 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42100 else
42101 echo "$as_me: failed program was:" >&5
42102 sed 's/^/| /' conftest.$ac_ext >&5
42103
42104 echo "*** The test program failed to compile or link. See the file config.log for the"
42105 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42106 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42107 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42108 fi
42109 rm -f conftest.err conftest.$ac_objext \
42110 conftest$ac_exeext conftest.$ac_ext
42111 CFLAGS="$ac_save_CFLAGS"
42112 CXXFLAGS="$ac_save_CXXFLAGS"
42113 LIBS="$ac_save_LIBS"
42114 fi
42115 fi
42116 SDL_CFLAGS=""
42117 SDL_LIBS=""
42118 wxUSE_LIBSDL="no"
42119 fi
42120
42121
42122 rm -f conf.sdltest
42123
42124 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42125 WITH_PLUGIN_SDL=1
42126 fi
42127 fi
42128 fi
42129
42130 cat >>confdefs.h <<\_ACEOF
42131 #define wxUSE_SOUND 1
42132 _ACEOF
42133
42134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42135 fi
42136
42137 if test "$WXGTK20" = 1; then
42138 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42139 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42140
42141
42142 pkg_failed=no
42143 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42144 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42145
42146 if test -n "$PKG_CONFIG"; then
42147 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42148 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42149 else
42150 if test -n "$PKG_CONFIG" && \
42151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42152 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42153 ac_status=$?
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); }; then
42156 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42157 else
42158 pkg_failed=yes
42159 fi
42160 fi
42161 else
42162 pkg_failed=untried
42163 fi
42164 if test -n "$PKG_CONFIG"; then
42165 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42166 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42167 else
42168 if test -n "$PKG_CONFIG" && \
42169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42170 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42171 ac_status=$?
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; then
42174 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42175 else
42176 pkg_failed=yes
42177 fi
42178 fi
42179 else
42180 pkg_failed=untried
42181 fi
42182
42183
42184
42185 if test $pkg_failed = yes; then
42186
42187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42188 _pkg_short_errors_supported=yes
42189 else
42190 _pkg_short_errors_supported=no
42191 fi
42192 if test $_pkg_short_errors_supported = yes; then
42193 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42194 else
42195 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42196 fi
42197 # Put the nasty error message in config.log where it belongs
42198 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42199
42200
42201 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42202 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42203 wxUSE_LIBGNOMEPRINT="no"
42204
42205
42206 elif test $pkg_failed = untried; then
42207
42208 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42209 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42210 wxUSE_LIBGNOMEPRINT="no"
42211
42212
42213 else
42214 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42215 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42216 echo "$as_me:$LINENO: result: yes" >&5
42217 echo "${ECHO_T}yes" >&6
42218
42219 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42220 cat >>confdefs.h <<\_ACEOF
42221 #define wxUSE_LIBGNOMEPRINT 1
42222 _ACEOF
42223
42224
42225 fi
42226 fi
42227 fi
42228 fi
42229
42230 if test "$WXGTK20" = 1; then
42231 if test "$wxUSE_MIMETYPE" = "yes" ; then
42232 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42233
42234
42235 pkg_failed=no
42236 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42237 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42238
42239 if test -n "$PKG_CONFIG"; then
42240 if test -n "$GNOMEVFS_CFLAGS"; then
42241 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42242 else
42243 if test -n "$PKG_CONFIG" && \
42244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42245 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42246 ac_status=$?
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; then
42249 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42250 else
42251 pkg_failed=yes
42252 fi
42253 fi
42254 else
42255 pkg_failed=untried
42256 fi
42257 if test -n "$PKG_CONFIG"; then
42258 if test -n "$GNOMEVFS_LIBS"; then
42259 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42260 else
42261 if test -n "$PKG_CONFIG" && \
42262 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42263 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42264 ac_status=$?
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); }; then
42267 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42268 else
42269 pkg_failed=yes
42270 fi
42271 fi
42272 else
42273 pkg_failed=untried
42274 fi
42275
42276
42277
42278 if test $pkg_failed = yes; then
42279
42280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42281 _pkg_short_errors_supported=yes
42282 else
42283 _pkg_short_errors_supported=no
42284 fi
42285 if test $_pkg_short_errors_supported = yes; then
42286 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42287 else
42288 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42289 fi
42290 # Put the nasty error message in config.log where it belongs
42291 echo "$GNOMEVFS_PKG_ERRORS" >&5
42292
42293
42294 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42295 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42296 wxUSE_LIBGNOMEVFS="no"
42297
42298
42299 elif test $pkg_failed = untried; then
42300
42301 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42302 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42303 wxUSE_LIBGNOMEVFS="no"
42304
42305
42306 else
42307 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42308 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42309 echo "$as_me:$LINENO: result: yes" >&5
42310 echo "${ECHO_T}yes" >&6
42311
42312 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42313 cat >>confdefs.h <<\_ACEOF
42314 #define wxUSE_LIBGNOMEVFS 1
42315 _ACEOF
42316
42317
42318 fi
42319 fi
42320 fi
42321 fi
42322
42323 if test "$WXGTK20" = 1; then
42324 if test "$wxUSE_LIBHILDON" = "yes" ; then
42325
42326 pkg_failed=no
42327 echo "$as_me:$LINENO: checking for HILDON" >&5
42328 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42329
42330 if test -n "$PKG_CONFIG"; then
42331 if test -n "$HILDON_CFLAGS"; then
42332 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42333 else
42334 if test -n "$PKG_CONFIG" && \
42335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42336 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42337 ac_status=$?
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); }; then
42340 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42341 else
42342 pkg_failed=yes
42343 fi
42344 fi
42345 else
42346 pkg_failed=untried
42347 fi
42348 if test -n "$PKG_CONFIG"; then
42349 if test -n "$HILDON_LIBS"; then
42350 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42351 else
42352 if test -n "$PKG_CONFIG" && \
42353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42354 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42355 ac_status=$?
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); }; then
42358 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42359 else
42360 pkg_failed=yes
42361 fi
42362 fi
42363 else
42364 pkg_failed=untried
42365 fi
42366
42367
42368
42369 if test $pkg_failed = yes; then
42370
42371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42372 _pkg_short_errors_supported=yes
42373 else
42374 _pkg_short_errors_supported=no
42375 fi
42376 if test $_pkg_short_errors_supported = yes; then
42377 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42378 else
42379 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42380 fi
42381 # Put the nasty error message in config.log where it belongs
42382 echo "$HILDON_PKG_ERRORS" >&5
42383
42384
42385 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42386 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42387 wxUSE_LIBHILDON="no"
42388
42389
42390 elif test $pkg_failed = untried; then
42391
42392 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42393 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42394 wxUSE_LIBHILDON="no"
42395
42396
42397 else
42398 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42399 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42400 echo "$as_me:$LINENO: result: yes" >&5
42401 echo "${ECHO_T}yes" >&6
42402
42403 EXTRALIBS_HILDON="$HILDON_LIBS"
42404 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42405 cat >>confdefs.h <<\_ACEOF
42406 #define wxUSE_LIBHILDON 1
42407 _ACEOF
42408
42409
42410 fi
42411 fi
42412 fi
42413
42414 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_CMDLINE_PARSER 1
42417 _ACEOF
42418
42419 fi
42420
42421 if test "$wxUSE_STOPWATCH" = "yes"; then
42422 cat >>confdefs.h <<\_ACEOF
42423 #define wxUSE_STOPWATCH 1
42424 _ACEOF
42425
42426 fi
42427
42428 if test "$wxUSE_DATETIME" = "yes"; then
42429 cat >>confdefs.h <<\_ACEOF
42430 #define wxUSE_DATETIME 1
42431 _ACEOF
42432
42433 fi
42434
42435 if test "$wxUSE_FILE" = "yes"; then
42436 cat >>confdefs.h <<\_ACEOF
42437 #define wxUSE_FILE 1
42438 _ACEOF
42439
42440 fi
42441
42442 if test "$wxUSE_FFILE" = "yes"; then
42443 cat >>confdefs.h <<\_ACEOF
42444 #define wxUSE_FFILE 1
42445 _ACEOF
42446
42447 fi
42448
42449 if test "$wxUSE_FILESYSTEM" = "yes"; then
42450 cat >>confdefs.h <<\_ACEOF
42451 #define wxUSE_FILESYSTEM 1
42452 _ACEOF
42453
42454 fi
42455
42456 if test "$wxUSE_FS_ZIP" = "yes"; then
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_FS_ZIP 1
42459 _ACEOF
42460
42461 fi
42462
42463 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_ARCHIVE_STREAMS 1
42466 _ACEOF
42467
42468 fi
42469
42470 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42471 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42472 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42473 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42474 elif test "$wxUSE_ZLIB" = "no"; then
42475 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42476 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42477 else
42478 cat >>confdefs.h <<\_ACEOF
42479 #define wxUSE_ZIPSTREAM 1
42480 _ACEOF
42481
42482 fi
42483 fi
42484
42485 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42486 if test "$USE_UNIX" != 1; then
42487 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42488 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42489 wxUSE_ON_FATAL_EXCEPTION=no
42490 else
42491 cat >>confdefs.h <<\_ACEOF
42492 #define wxUSE_ON_FATAL_EXCEPTION 1
42493 _ACEOF
42494
42495 fi
42496 fi
42497
42498 if test "$wxUSE_STACKWALKER" = "yes"; then
42499 cat >>confdefs.h <<\_ACEOF
42500 #define wxUSE_STACKWALKER 1
42501 _ACEOF
42502
42503 fi
42504
42505 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42506 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42507 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42508 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42509 wxUSE_DEBUGREPORT=no
42510 else
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_DEBUGREPORT 1
42513 _ACEOF
42514
42515 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42517 fi
42518 fi
42519 fi
42520
42521 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42522 cat >>confdefs.h <<\_ACEOF
42523 #define wxUSE_SNGLINST_CHECKER 1
42524 _ACEOF
42525
42526 fi
42527
42528 if test "$wxUSE_BUSYINFO" = "yes"; then
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_BUSYINFO 1
42531 _ACEOF
42532
42533 fi
42534
42535 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42536 cat >>confdefs.h <<\_ACEOF
42537 #define wxUSE_STD_IOSTREAM 1
42538 _ACEOF
42539
42540 fi
42541
42542 if test "$wxUSE_STD_STRING" = "yes"; then
42543 cat >>confdefs.h <<\_ACEOF
42544 #define wxUSE_STD_STRING 1
42545 _ACEOF
42546
42547 fi
42548
42549 if test "$wxUSE_STDPATHS" = "yes"; then
42550 cat >>confdefs.h <<\_ACEOF
42551 #define wxUSE_STDPATHS 1
42552 _ACEOF
42553
42554 fi
42555
42556 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_TEXTBUFFER 1
42559 _ACEOF
42560
42561 fi
42562
42563 if test "$wxUSE_TEXTFILE" = "yes"; then
42564 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42565 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42566 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42567 else
42568 cat >>confdefs.h <<\_ACEOF
42569 #define wxUSE_TEXTFILE 1
42570 _ACEOF
42571
42572 fi
42573 fi
42574
42575 if test "$wxUSE_CONFIG" = "yes" ; then
42576 if test "$wxUSE_TEXTFILE" != "yes"; then
42577 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42578 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42579 else
42580 cat >>confdefs.h <<\_ACEOF
42581 #define wxUSE_CONFIG 1
42582 _ACEOF
42583
42584 cat >>confdefs.h <<\_ACEOF
42585 #define wxUSE_CONFIG_NATIVE 1
42586 _ACEOF
42587
42588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42589 fi
42590 fi
42591
42592 if test "$wxUSE_INTL" = "yes" ; then
42593 if test "$wxUSE_FILE" != "yes"; then
42594 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42595 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42596 else
42597 cat >>confdefs.h <<\_ACEOF
42598 #define wxUSE_INTL 1
42599 _ACEOF
42600
42601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42602 GUIDIST="$GUIDIST INTL_DIST"
42603 fi
42604 fi
42605
42606 if test "$wxUSE_LOG" = "yes"; then
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_LOG 1
42609 _ACEOF
42610
42611
42612 if test "$wxUSE_LOGGUI" = "yes"; then
42613 cat >>confdefs.h <<\_ACEOF
42614 #define wxUSE_LOGGUI 1
42615 _ACEOF
42616
42617 fi
42618
42619 if test "$wxUSE_LOGWINDOW" = "yes"; then
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_LOGWINDOW 1
42622 _ACEOF
42623
42624 fi
42625
42626 if test "$wxUSE_LOGDIALOG" = "yes"; then
42627 cat >>confdefs.h <<\_ACEOF
42628 #define wxUSE_LOG_DIALOG 1
42629 _ACEOF
42630
42631 fi
42632
42633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42634 fi
42635
42636 if test "$wxUSE_LONGLONG" = "yes"; then
42637 cat >>confdefs.h <<\_ACEOF
42638 #define wxUSE_LONGLONG 1
42639 _ACEOF
42640
42641 fi
42642
42643 if test "$wxUSE_GEOMETRY" = "yes"; then
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_GEOMETRY 1
42646 _ACEOF
42647
42648 fi
42649
42650 if test "$wxUSE_STREAMS" = "yes" ; then
42651 cat >>confdefs.h <<\_ACEOF
42652 #define wxUSE_STREAMS 1
42653 _ACEOF
42654
42655 fi
42656
42657 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42658 cat >>confdefs.h <<\_ACEOF
42659 #define wxUSE_PRINTF_POS_PARAMS 1
42660 _ACEOF
42661
42662 fi
42663
42664
42665
42666 if test "$wxUSE_DATETIME" = "yes"; then
42667
42668 for ac_func in strptime
42669 do
42670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42671 echo "$as_me:$LINENO: checking for $ac_func" >&5
42672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42673 if eval "test \"\${$as_ac_var+set}\" = set"; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 else
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42684 #define $ac_func innocuous_$ac_func
42685
42686 /* System header to define __stub macros and hopefully few prototypes,
42687 which can conflict with char $ac_func (); below.
42688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42689 <limits.h> exists even on freestanding compilers. */
42690
42691 #ifdef __STDC__
42692 # include <limits.h>
42693 #else
42694 # include <assert.h>
42695 #endif
42696
42697 #undef $ac_func
42698
42699 /* Override any gcc2 internal prototype to avoid an error. */
42700 #ifdef __cplusplus
42701 extern "C"
42702 {
42703 #endif
42704 /* We use char because int might match the return type of a gcc2
42705 builtin and then its argument prototype would still apply. */
42706 char $ac_func ();
42707 /* The GNU C library defines this for functions which it implements
42708 to always fail with ENOSYS. Some functions are actually named
42709 something starting with __ and the normal name is an alias. */
42710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42711 choke me
42712 #else
42713 char (*f) () = $ac_func;
42714 #endif
42715 #ifdef __cplusplus
42716 }
42717 #endif
42718
42719 int
42720 main ()
42721 {
42722 return f != $ac_func;
42723 ;
42724 return 0;
42725 }
42726 _ACEOF
42727 rm -f conftest.$ac_objext conftest$ac_exeext
42728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42729 (eval $ac_link) 2>conftest.er1
42730 ac_status=$?
42731 grep -v '^ *+' conftest.er1 >conftest.err
42732 rm -f conftest.er1
42733 cat conftest.err >&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } &&
42736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42738 (eval $ac_try) 2>&5
42739 ac_status=$?
42740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741 (exit $ac_status); }; } &&
42742 { ac_try='test -s conftest$ac_exeext'
42743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42744 (eval $ac_try) 2>&5
42745 ac_status=$?
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); }; }; then
42748 eval "$as_ac_var=yes"
42749 else
42750 echo "$as_me: failed program was:" >&5
42751 sed 's/^/| /' conftest.$ac_ext >&5
42752
42753 eval "$as_ac_var=no"
42754 fi
42755 rm -f conftest.err conftest.$ac_objext \
42756 conftest$ac_exeext conftest.$ac_ext
42757 fi
42758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42760 if test `eval echo '${'$as_ac_var'}'` = yes; then
42761 cat >>confdefs.h <<_ACEOF
42762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42763 _ACEOF
42764
42765 fi
42766 done
42767
42768 if test "$ac_cv_func_strptime" = "yes"; then
42769 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42770 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42771 if test "${wx_cv_func_strptime_decl+set}" = set; then
42772 echo $ECHO_N "(cached) $ECHO_C" >&6
42773 else
42774
42775 cat >conftest.$ac_ext <<_ACEOF
42776 /* confdefs.h. */
42777 _ACEOF
42778 cat confdefs.h >>conftest.$ac_ext
42779 cat >>conftest.$ac_ext <<_ACEOF
42780 /* end confdefs.h. */
42781
42782 #include <time.h>
42783
42784 int
42785 main ()
42786 {
42787
42788 struct tm t;
42789 strptime("foo", "bar", &t);
42790
42791 ;
42792 return 0;
42793 }
42794 _ACEOF
42795 rm -f conftest.$ac_objext
42796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42797 (eval $ac_compile) 2>conftest.er1
42798 ac_status=$?
42799 grep -v '^ *+' conftest.er1 >conftest.err
42800 rm -f conftest.er1
42801 cat conftest.err >&5
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); } &&
42804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42806 (eval $ac_try) 2>&5
42807 ac_status=$?
42808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42809 (exit $ac_status); }; } &&
42810 { ac_try='test -s conftest.$ac_objext'
42811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42812 (eval $ac_try) 2>&5
42813 ac_status=$?
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); }; }; then
42816 wx_cv_func_strptime_decl=yes
42817 else
42818 echo "$as_me: failed program was:" >&5
42819 sed 's/^/| /' conftest.$ac_ext >&5
42820
42821 wx_cv_func_strptime_decl=no
42822
42823 fi
42824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42825
42826
42827 fi
42828 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42829 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42830 fi
42831 if test "$wx_cv_func_strptime_decl" = "yes"; then
42832 cat >>confdefs.h <<\_ACEOF
42833 #define HAVE_STRPTIME_DECL 1
42834 _ACEOF
42835
42836 fi
42837
42838 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42839 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42840 if test "${wx_cv_var_timezone+set}" = set; then
42841 echo $ECHO_N "(cached) $ECHO_C" >&6
42842 else
42843
42844 cat >conftest.$ac_ext <<_ACEOF
42845 /* confdefs.h. */
42846 _ACEOF
42847 cat confdefs.h >>conftest.$ac_ext
42848 cat >>conftest.$ac_ext <<_ACEOF
42849 /* end confdefs.h. */
42850
42851 #include <time.h>
42852
42853 int
42854 main ()
42855 {
42856
42857 int tz;
42858 tz = timezone;
42859
42860 ;
42861 return 0;
42862 }
42863 _ACEOF
42864 rm -f conftest.$ac_objext
42865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42866 (eval $ac_compile) 2>conftest.er1
42867 ac_status=$?
42868 grep -v '^ *+' conftest.er1 >conftest.err
42869 rm -f conftest.er1
42870 cat conftest.err >&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); } &&
42873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42875 (eval $ac_try) 2>&5
42876 ac_status=$?
42877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42878 (exit $ac_status); }; } &&
42879 { ac_try='test -s conftest.$ac_objext'
42880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42881 (eval $ac_try) 2>&5
42882 ac_status=$?
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); }; }; then
42885
42886 wx_cv_var_timezone=timezone
42887
42888 else
42889 echo "$as_me: failed program was:" >&5
42890 sed 's/^/| /' conftest.$ac_ext >&5
42891
42892
42893 cat >conftest.$ac_ext <<_ACEOF
42894 /* confdefs.h. */
42895 _ACEOF
42896 cat confdefs.h >>conftest.$ac_ext
42897 cat >>conftest.$ac_ext <<_ACEOF
42898 /* end confdefs.h. */
42899
42900 #include <time.h>
42901
42902 int
42903 main ()
42904 {
42905
42906 int tz;
42907 tz = _timezone;
42908
42909 ;
42910 return 0;
42911 }
42912 _ACEOF
42913 rm -f conftest.$ac_objext
42914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42915 (eval $ac_compile) 2>conftest.er1
42916 ac_status=$?
42917 grep -v '^ *+' conftest.er1 >conftest.err
42918 rm -f conftest.er1
42919 cat conftest.err >&5
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); } &&
42922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42924 (eval $ac_try) 2>&5
42925 ac_status=$?
42926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42927 (exit $ac_status); }; } &&
42928 { ac_try='test -s conftest.$ac_objext'
42929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42930 (eval $ac_try) 2>&5
42931 ac_status=$?
42932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42933 (exit $ac_status); }; }; then
42934
42935 wx_cv_var_timezone=_timezone
42936
42937 else
42938 echo "$as_me: failed program was:" >&5
42939 sed 's/^/| /' conftest.$ac_ext >&5
42940
42941
42942 cat >conftest.$ac_ext <<_ACEOF
42943 /* confdefs.h. */
42944 _ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42948
42949 #include <time.h>
42950
42951 int
42952 main ()
42953 {
42954
42955 int tz;
42956 tz = __timezone;
42957
42958 ;
42959 return 0;
42960 }
42961 _ACEOF
42962 rm -f conftest.$ac_objext
42963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42964 (eval $ac_compile) 2>conftest.er1
42965 ac_status=$?
42966 grep -v '^ *+' conftest.er1 >conftest.err
42967 rm -f conftest.er1
42968 cat conftest.err >&5
42969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970 (exit $ac_status); } &&
42971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42973 (eval $ac_try) 2>&5
42974 ac_status=$?
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); }; } &&
42977 { ac_try='test -s conftest.$ac_objext'
42978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42979 (eval $ac_try) 2>&5
42980 ac_status=$?
42981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42982 (exit $ac_status); }; }; then
42983
42984 wx_cv_var_timezone=__timezone
42985
42986 else
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42989
42990
42991 if test "$USE_DOS" = 0 ; then
42992 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42993 echo "$as_me: WARNING: no timezone variable" >&2;}
42994 fi
42995
42996
42997 fi
42998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42999
43000
43001 fi
43002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43003
43004
43005 fi
43006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43007
43008
43009 fi
43010 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43011 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43012
43013 if test "x$wx_cv_var_timezone" != x ; then
43014 cat >>confdefs.h <<_ACEOF
43015 #define WX_TIMEZONE $wx_cv_var_timezone
43016 _ACEOF
43017
43018 fi
43019
43020
43021 for ac_func in localtime
43022 do
43023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43024 echo "$as_me:$LINENO: checking for $ac_func" >&5
43025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43026 if eval "test \"\${$as_ac_var+set}\" = set"; then
43027 echo $ECHO_N "(cached) $ECHO_C" >&6
43028 else
43029 cat >conftest.$ac_ext <<_ACEOF
43030 /* confdefs.h. */
43031 _ACEOF
43032 cat confdefs.h >>conftest.$ac_ext
43033 cat >>conftest.$ac_ext <<_ACEOF
43034 /* end confdefs.h. */
43035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43037 #define $ac_func innocuous_$ac_func
43038
43039 /* System header to define __stub macros and hopefully few prototypes,
43040 which can conflict with char $ac_func (); below.
43041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43042 <limits.h> exists even on freestanding compilers. */
43043
43044 #ifdef __STDC__
43045 # include <limits.h>
43046 #else
43047 # include <assert.h>
43048 #endif
43049
43050 #undef $ac_func
43051
43052 /* Override any gcc2 internal prototype to avoid an error. */
43053 #ifdef __cplusplus
43054 extern "C"
43055 {
43056 #endif
43057 /* We use char because int might match the return type of a gcc2
43058 builtin and then its argument prototype would still apply. */
43059 char $ac_func ();
43060 /* The GNU C library defines this for functions which it implements
43061 to always fail with ENOSYS. Some functions are actually named
43062 something starting with __ and the normal name is an alias. */
43063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43064 choke me
43065 #else
43066 char (*f) () = $ac_func;
43067 #endif
43068 #ifdef __cplusplus
43069 }
43070 #endif
43071
43072 int
43073 main ()
43074 {
43075 return f != $ac_func;
43076 ;
43077 return 0;
43078 }
43079 _ACEOF
43080 rm -f conftest.$ac_objext conftest$ac_exeext
43081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43082 (eval $ac_link) 2>conftest.er1
43083 ac_status=$?
43084 grep -v '^ *+' conftest.er1 >conftest.err
43085 rm -f conftest.er1
43086 cat conftest.err >&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); } &&
43089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091 (eval $ac_try) 2>&5
43092 ac_status=$?
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; } &&
43095 { ac_try='test -s conftest$ac_exeext'
43096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43097 (eval $ac_try) 2>&5
43098 ac_status=$?
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); }; }; then
43101 eval "$as_ac_var=yes"
43102 else
43103 echo "$as_me: failed program was:" >&5
43104 sed 's/^/| /' conftest.$ac_ext >&5
43105
43106 eval "$as_ac_var=no"
43107 fi
43108 rm -f conftest.err conftest.$ac_objext \
43109 conftest$ac_exeext conftest.$ac_ext
43110 fi
43111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43113 if test `eval echo '${'$as_ac_var'}'` = yes; then
43114 cat >>confdefs.h <<_ACEOF
43115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43116 _ACEOF
43117
43118 fi
43119 done
43120
43121
43122 if test "$ac_cv_func_localtime" = "yes"; then
43123 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43124 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43125 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43126 echo $ECHO_N "(cached) $ECHO_C" >&6
43127 else
43128
43129 cat >conftest.$ac_ext <<_ACEOF
43130 /* confdefs.h. */
43131 _ACEOF
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43135
43136 #include <time.h>
43137
43138 int
43139 main ()
43140 {
43141
43142 struct tm tm;
43143 tm.tm_gmtoff++;
43144
43145 ;
43146 return 0;
43147 }
43148 _ACEOF
43149 rm -f conftest.$ac_objext
43150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43151 (eval $ac_compile) 2>conftest.er1
43152 ac_status=$?
43153 grep -v '^ *+' conftest.er1 >conftest.err
43154 rm -f conftest.er1
43155 cat conftest.err >&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); } &&
43158 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43160 (eval $ac_try) 2>&5
43161 ac_status=$?
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); }; } &&
43164 { ac_try='test -s conftest.$ac_objext'
43165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43166 (eval $ac_try) 2>&5
43167 ac_status=$?
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); }; }; then
43170
43171 wx_cv_struct_tm_has_gmtoff=yes
43172
43173 else
43174 echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.$ac_ext >&5
43176
43177 wx_cv_struct_tm_has_gmtoff=no
43178
43179 fi
43180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43181
43182 fi
43183 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43184 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43185 fi
43186
43187 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43188 cat >>confdefs.h <<\_ACEOF
43189 #define WX_GMTOFF_IN_TM 1
43190 _ACEOF
43191
43192 fi
43193
43194
43195
43196 for ac_func in gettimeofday ftime
43197 do
43198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43199 echo "$as_me:$LINENO: checking for $ac_func" >&5
43200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43201 if eval "test \"\${$as_ac_var+set}\" = set"; then
43202 echo $ECHO_N "(cached) $ECHO_C" >&6
43203 else
43204 cat >conftest.$ac_ext <<_ACEOF
43205 /* confdefs.h. */
43206 _ACEOF
43207 cat confdefs.h >>conftest.$ac_ext
43208 cat >>conftest.$ac_ext <<_ACEOF
43209 /* end confdefs.h. */
43210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43212 #define $ac_func innocuous_$ac_func
43213
43214 /* System header to define __stub macros and hopefully few prototypes,
43215 which can conflict with char $ac_func (); below.
43216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43217 <limits.h> exists even on freestanding compilers. */
43218
43219 #ifdef __STDC__
43220 # include <limits.h>
43221 #else
43222 # include <assert.h>
43223 #endif
43224
43225 #undef $ac_func
43226
43227 /* Override any gcc2 internal prototype to avoid an error. */
43228 #ifdef __cplusplus
43229 extern "C"
43230 {
43231 #endif
43232 /* We use char because int might match the return type of a gcc2
43233 builtin and then its argument prototype would still apply. */
43234 char $ac_func ();
43235 /* The GNU C library defines this for functions which it implements
43236 to always fail with ENOSYS. Some functions are actually named
43237 something starting with __ and the normal name is an alias. */
43238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43239 choke me
43240 #else
43241 char (*f) () = $ac_func;
43242 #endif
43243 #ifdef __cplusplus
43244 }
43245 #endif
43246
43247 int
43248 main ()
43249 {
43250 return f != $ac_func;
43251 ;
43252 return 0;
43253 }
43254 _ACEOF
43255 rm -f conftest.$ac_objext conftest$ac_exeext
43256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43257 (eval $ac_link) 2>conftest.er1
43258 ac_status=$?
43259 grep -v '^ *+' conftest.er1 >conftest.err
43260 rm -f conftest.er1
43261 cat conftest.err >&5
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); } &&
43264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43266 (eval $ac_try) 2>&5
43267 ac_status=$?
43268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43269 (exit $ac_status); }; } &&
43270 { ac_try='test -s conftest$ac_exeext'
43271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43272 (eval $ac_try) 2>&5
43273 ac_status=$?
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; }; then
43276 eval "$as_ac_var=yes"
43277 else
43278 echo "$as_me: failed program was:" >&5
43279 sed 's/^/| /' conftest.$ac_ext >&5
43280
43281 eval "$as_ac_var=no"
43282 fi
43283 rm -f conftest.err conftest.$ac_objext \
43284 conftest$ac_exeext conftest.$ac_ext
43285 fi
43286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43288 if test `eval echo '${'$as_ac_var'}'` = yes; then
43289 cat >>confdefs.h <<_ACEOF
43290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43291 _ACEOF
43292 break
43293 fi
43294 done
43295
43296
43297 if test "$ac_cv_func_gettimeofday" = "yes"; then
43298 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43299 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43300 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43301 echo $ECHO_N "(cached) $ECHO_C" >&6
43302 else
43303
43304 cat >conftest.$ac_ext <<_ACEOF
43305 /* confdefs.h. */
43306 _ACEOF
43307 cat confdefs.h >>conftest.$ac_ext
43308 cat >>conftest.$ac_ext <<_ACEOF
43309 /* end confdefs.h. */
43310
43311 #include <sys/time.h>
43312 #include <unistd.h>
43313
43314 int
43315 main ()
43316 {
43317
43318 struct timeval tv;
43319 gettimeofday(&tv, NULL);
43320
43321 ;
43322 return 0;
43323 }
43324 _ACEOF
43325 rm -f conftest.$ac_objext
43326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43327 (eval $ac_compile) 2>conftest.er1
43328 ac_status=$?
43329 grep -v '^ *+' conftest.er1 >conftest.err
43330 rm -f conftest.er1
43331 cat conftest.err >&5
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); } &&
43334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43336 (eval $ac_try) 2>&5
43337 ac_status=$?
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); }; } &&
43340 { ac_try='test -s conftest.$ac_objext'
43341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43342 (eval $ac_try) 2>&5
43343 ac_status=$?
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); }; }; then
43346 wx_cv_func_gettimeofday_has_2_args=yes
43347 else
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43350
43351 cat >conftest.$ac_ext <<_ACEOF
43352 /* confdefs.h. */
43353 _ACEOF
43354 cat confdefs.h >>conftest.$ac_ext
43355 cat >>conftest.$ac_ext <<_ACEOF
43356 /* end confdefs.h. */
43357
43358 #include <sys/time.h>
43359 #include <unistd.h>
43360
43361 int
43362 main ()
43363 {
43364
43365 struct timeval tv;
43366 gettimeofday(&tv);
43367
43368 ;
43369 return 0;
43370 }
43371 _ACEOF
43372 rm -f conftest.$ac_objext
43373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43374 (eval $ac_compile) 2>conftest.er1
43375 ac_status=$?
43376 grep -v '^ *+' conftest.er1 >conftest.err
43377 rm -f conftest.er1
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } &&
43381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43383 (eval $ac_try) 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; } &&
43387 { ac_try='test -s conftest.$ac_objext'
43388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43389 (eval $ac_try) 2>&5
43390 ac_status=$?
43391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43392 (exit $ac_status); }; }; then
43393 wx_cv_func_gettimeofday_has_2_args=no
43394 else
43395 echo "$as_me: failed program was:" >&5
43396 sed 's/^/| /' conftest.$ac_ext >&5
43397
43398
43399 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43400 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43401 wx_cv_func_gettimeofday_has_2_args=unknown
43402
43403
43404 fi
43405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43406
43407 fi
43408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43409
43410 fi
43411 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43412 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43413
43414 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define WX_GETTIMEOFDAY_NO_TZ 1
43417 _ACEOF
43418
43419 fi
43420 fi
43421
43422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43423 fi
43424
43425
43426 if test "$wxUSE_SOCKETS" = "yes"; then
43427 if test "$wxUSE_MGL" = "1"; then
43428 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43429 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43430 wxUSE_SOCKETS="no"
43431 fi
43432 fi
43433
43434 if test "$wxUSE_SOCKETS" = "yes"; then
43435 if test "$TOOLKIT" != "MSW"; then
43436 echo "$as_me:$LINENO: checking for socket" >&5
43437 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43438 if test "${ac_cv_func_socket+set}" = set; then
43439 echo $ECHO_N "(cached) $ECHO_C" >&6
43440 else
43441 cat >conftest.$ac_ext <<_ACEOF
43442 /* confdefs.h. */
43443 _ACEOF
43444 cat confdefs.h >>conftest.$ac_ext
43445 cat >>conftest.$ac_ext <<_ACEOF
43446 /* end confdefs.h. */
43447 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43449 #define socket innocuous_socket
43450
43451 /* System header to define __stub macros and hopefully few prototypes,
43452 which can conflict with char socket (); below.
43453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43454 <limits.h> exists even on freestanding compilers. */
43455
43456 #ifdef __STDC__
43457 # include <limits.h>
43458 #else
43459 # include <assert.h>
43460 #endif
43461
43462 #undef socket
43463
43464 /* Override any gcc2 internal prototype to avoid an error. */
43465 #ifdef __cplusplus
43466 extern "C"
43467 {
43468 #endif
43469 /* We use char because int might match the return type of a gcc2
43470 builtin and then its argument prototype would still apply. */
43471 char socket ();
43472 /* The GNU C library defines this for functions which it implements
43473 to always fail with ENOSYS. Some functions are actually named
43474 something starting with __ and the normal name is an alias. */
43475 #if defined (__stub_socket) || defined (__stub___socket)
43476 choke me
43477 #else
43478 char (*f) () = socket;
43479 #endif
43480 #ifdef __cplusplus
43481 }
43482 #endif
43483
43484 int
43485 main ()
43486 {
43487 return f != socket;
43488 ;
43489 return 0;
43490 }
43491 _ACEOF
43492 rm -f conftest.$ac_objext conftest$ac_exeext
43493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43494 (eval $ac_link) 2>conftest.er1
43495 ac_status=$?
43496 grep -v '^ *+' conftest.er1 >conftest.err
43497 rm -f conftest.er1
43498 cat conftest.err >&5
43499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43500 (exit $ac_status); } &&
43501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43503 (eval $ac_try) 2>&5
43504 ac_status=$?
43505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43506 (exit $ac_status); }; } &&
43507 { ac_try='test -s conftest$ac_exeext'
43508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43509 (eval $ac_try) 2>&5
43510 ac_status=$?
43511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43512 (exit $ac_status); }; }; then
43513 ac_cv_func_socket=yes
43514 else
43515 echo "$as_me: failed program was:" >&5
43516 sed 's/^/| /' conftest.$ac_ext >&5
43517
43518 ac_cv_func_socket=no
43519 fi
43520 rm -f conftest.err conftest.$ac_objext \
43521 conftest$ac_exeext conftest.$ac_ext
43522 fi
43523 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43524 echo "${ECHO_T}$ac_cv_func_socket" >&6
43525 if test $ac_cv_func_socket = yes; then
43526 :
43527 else
43528
43529 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43530 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43531 if test "${ac_cv_lib_socket_socket+set}" = set; then
43532 echo $ECHO_N "(cached) $ECHO_C" >&6
43533 else
43534 ac_check_lib_save_LIBS=$LIBS
43535 LIBS="-lsocket $LIBS"
43536 cat >conftest.$ac_ext <<_ACEOF
43537 /* confdefs.h. */
43538 _ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542
43543 /* Override any gcc2 internal prototype to avoid an error. */
43544 #ifdef __cplusplus
43545 extern "C"
43546 #endif
43547 /* We use char because int might match the return type of a gcc2
43548 builtin and then its argument prototype would still apply. */
43549 char socket ();
43550 int
43551 main ()
43552 {
43553 socket ();
43554 ;
43555 return 0;
43556 }
43557 _ACEOF
43558 rm -f conftest.$ac_objext conftest$ac_exeext
43559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43560 (eval $ac_link) 2>conftest.er1
43561 ac_status=$?
43562 grep -v '^ *+' conftest.er1 >conftest.err
43563 rm -f conftest.er1
43564 cat conftest.err >&5
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); } &&
43567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; } &&
43573 { ac_try='test -s conftest$ac_exeext'
43574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43575 (eval $ac_try) 2>&5
43576 ac_status=$?
43577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43578 (exit $ac_status); }; }; then
43579 ac_cv_lib_socket_socket=yes
43580 else
43581 echo "$as_me: failed program was:" >&5
43582 sed 's/^/| /' conftest.$ac_ext >&5
43583
43584 ac_cv_lib_socket_socket=no
43585 fi
43586 rm -f conftest.err conftest.$ac_objext \
43587 conftest$ac_exeext conftest.$ac_ext
43588 LIBS=$ac_check_lib_save_LIBS
43589 fi
43590 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43591 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43592 if test $ac_cv_lib_socket_socket = yes; then
43593 if test "$INET_LINK" != " -lsocket"; then
43594 INET_LINK="$INET_LINK -lsocket"
43595 fi
43596 else
43597
43598 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43599 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43600 wxUSE_SOCKETS=no
43601
43602
43603 fi
43604
43605
43606
43607 fi
43608
43609 fi
43610 fi
43611
43612 if test "$wxUSE_SOCKETS" = "yes" ; then
43613 if test "$TOOLKIT" != "MSW"; then
43614 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43615 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43616 if test "${wx_cv_type_getsockname3+set}" = set; then
43617 echo $ECHO_N "(cached) $ECHO_C" >&6
43618 else
43619
43620 cat >conftest.$ac_ext <<_ACEOF
43621 /* confdefs.h. */
43622 _ACEOF
43623 cat confdefs.h >>conftest.$ac_ext
43624 cat >>conftest.$ac_ext <<_ACEOF
43625 /* end confdefs.h. */
43626
43627 #include <sys/types.h>
43628 #include <sys/socket.h>
43629
43630 int
43631 main ()
43632 {
43633
43634 socklen_t len;
43635 getsockname(0, 0, &len);
43636
43637 ;
43638 return 0;
43639 }
43640 _ACEOF
43641 rm -f conftest.$ac_objext
43642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43643 (eval $ac_compile) 2>conftest.er1
43644 ac_status=$?
43645 grep -v '^ *+' conftest.er1 >conftest.err
43646 rm -f conftest.er1
43647 cat conftest.err >&5
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); } &&
43650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43652 (eval $ac_try) 2>&5
43653 ac_status=$?
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); }; } &&
43656 { ac_try='test -s conftest.$ac_objext'
43657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658 (eval $ac_try) 2>&5
43659 ac_status=$?
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; }; then
43662 wx_cv_type_getsockname3=socklen_t
43663 else
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43666
43667
43668 CXXFLAGS_OLD="$CXXFLAGS"
43669 if test "$GCC" = yes ; then
43670 CXXFLAGS="-Werror $CXXFLAGS"
43671 fi
43672
43673 cat >conftest.$ac_ext <<_ACEOF
43674 /* confdefs.h. */
43675 _ACEOF
43676 cat confdefs.h >>conftest.$ac_ext
43677 cat >>conftest.$ac_ext <<_ACEOF
43678 /* end confdefs.h. */
43679
43680 #include <sys/types.h>
43681 #include <sys/socket.h>
43682
43683 int
43684 main ()
43685 {
43686
43687 size_t len;
43688 getsockname(0, 0, &len);
43689
43690 ;
43691 return 0;
43692 }
43693 _ACEOF
43694 rm -f conftest.$ac_objext
43695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43696 (eval $ac_compile) 2>conftest.er1
43697 ac_status=$?
43698 grep -v '^ *+' conftest.er1 >conftest.err
43699 rm -f conftest.er1
43700 cat conftest.err >&5
43701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43702 (exit $ac_status); } &&
43703 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43705 (eval $ac_try) 2>&5
43706 ac_status=$?
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); }; } &&
43709 { ac_try='test -s conftest.$ac_objext'
43710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43711 (eval $ac_try) 2>&5
43712 ac_status=$?
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); }; }; then
43715 wx_cv_type_getsockname3=size_t
43716 else
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43719
43720 cat >conftest.$ac_ext <<_ACEOF
43721 /* confdefs.h. */
43722 _ACEOF
43723 cat confdefs.h >>conftest.$ac_ext
43724 cat >>conftest.$ac_ext <<_ACEOF
43725 /* end confdefs.h. */
43726
43727 #include <sys/types.h>
43728 #include <sys/socket.h>
43729
43730 int
43731 main ()
43732 {
43733
43734 int len;
43735 getsockname(0, 0, &len);
43736
43737 ;
43738 return 0;
43739 }
43740 _ACEOF
43741 rm -f conftest.$ac_objext
43742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43743 (eval $ac_compile) 2>conftest.er1
43744 ac_status=$?
43745 grep -v '^ *+' conftest.er1 >conftest.err
43746 rm -f conftest.er1
43747 cat conftest.err >&5
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); } &&
43750 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43752 (eval $ac_try) 2>&5
43753 ac_status=$?
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); }; } &&
43756 { ac_try='test -s conftest.$ac_objext'
43757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758 (eval $ac_try) 2>&5
43759 ac_status=$?
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); }; }; then
43762 wx_cv_type_getsockname3=int
43763 else
43764 echo "$as_me: failed program was:" >&5
43765 sed 's/^/| /' conftest.$ac_ext >&5
43766
43767 wx_cv_type_getsockname3=unknown
43768
43769 fi
43770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43771
43772 fi
43773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43774
43775 CXXFLAGS="$CXXFLAGS_OLD"
43776
43777
43778 fi
43779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43780
43781 fi
43782 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43783 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43784
43785 if test "$wx_cv_type_getsockname3" = "unknown"; then
43786 wxUSE_SOCKETS=no
43787 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43788 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43789 else
43790 cat >>confdefs.h <<_ACEOF
43791 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43792 _ACEOF
43793
43794 fi
43795 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43796 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43797 if test "${wx_cv_type_getsockopt5+set}" = set; then
43798 echo $ECHO_N "(cached) $ECHO_C" >&6
43799 else
43800
43801 cat >conftest.$ac_ext <<_ACEOF
43802 /* confdefs.h. */
43803 _ACEOF
43804 cat confdefs.h >>conftest.$ac_ext
43805 cat >>conftest.$ac_ext <<_ACEOF
43806 /* end confdefs.h. */
43807
43808 #include <sys/types.h>
43809 #include <sys/socket.h>
43810
43811 int
43812 main ()
43813 {
43814
43815 socklen_t len;
43816 getsockopt(0, 0, 0, 0, &len);
43817
43818 ;
43819 return 0;
43820 }
43821 _ACEOF
43822 rm -f conftest.$ac_objext
43823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43824 (eval $ac_compile) 2>conftest.er1
43825 ac_status=$?
43826 grep -v '^ *+' conftest.er1 >conftest.err
43827 rm -f conftest.er1
43828 cat conftest.err >&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); } &&
43831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43834 ac_status=$?
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; } &&
43837 { ac_try='test -s conftest.$ac_objext'
43838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43839 (eval $ac_try) 2>&5
43840 ac_status=$?
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); }; }; then
43843 wx_cv_type_getsockopt5=socklen_t
43844 else
43845 echo "$as_me: failed program was:" >&5
43846 sed 's/^/| /' conftest.$ac_ext >&5
43847
43848
43849 CXXFLAGS_OLD="$CXXFLAGS"
43850 if test "$GCC" = yes ; then
43851 CXXFLAGS="-Werror $CXXFLAGS"
43852 fi
43853
43854 cat >conftest.$ac_ext <<_ACEOF
43855 /* confdefs.h. */
43856 _ACEOF
43857 cat confdefs.h >>conftest.$ac_ext
43858 cat >>conftest.$ac_ext <<_ACEOF
43859 /* end confdefs.h. */
43860
43861 #include <sys/types.h>
43862 #include <sys/socket.h>
43863
43864 int
43865 main ()
43866 {
43867
43868 size_t len;
43869 getsockopt(0, 0, 0, 0, &len);
43870
43871 ;
43872 return 0;
43873 }
43874 _ACEOF
43875 rm -f conftest.$ac_objext
43876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43877 (eval $ac_compile) 2>conftest.er1
43878 ac_status=$?
43879 grep -v '^ *+' conftest.er1 >conftest.err
43880 rm -f conftest.er1
43881 cat conftest.err >&5
43882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883 (exit $ac_status); } &&
43884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43886 (eval $ac_try) 2>&5
43887 ac_status=$?
43888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43889 (exit $ac_status); }; } &&
43890 { ac_try='test -s conftest.$ac_objext'
43891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43892 (eval $ac_try) 2>&5
43893 ac_status=$?
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); }; }; then
43896 wx_cv_type_getsockopt5=size_t
43897 else
43898 echo "$as_me: failed program was:" >&5
43899 sed 's/^/| /' conftest.$ac_ext >&5
43900
43901 cat >conftest.$ac_ext <<_ACEOF
43902 /* confdefs.h. */
43903 _ACEOF
43904 cat confdefs.h >>conftest.$ac_ext
43905 cat >>conftest.$ac_ext <<_ACEOF
43906 /* end confdefs.h. */
43907
43908 #include <sys/types.h>
43909 #include <sys/socket.h>
43910
43911 int
43912 main ()
43913 {
43914
43915 int len;
43916 getsockopt(0, 0, 0, 0, &len);
43917
43918 ;
43919 return 0;
43920 }
43921 _ACEOF
43922 rm -f conftest.$ac_objext
43923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43924 (eval $ac_compile) 2>conftest.er1
43925 ac_status=$?
43926 grep -v '^ *+' conftest.er1 >conftest.err
43927 rm -f conftest.er1
43928 cat conftest.err >&5
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); } &&
43931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43933 (eval $ac_try) 2>&5
43934 ac_status=$?
43935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936 (exit $ac_status); }; } &&
43937 { ac_try='test -s conftest.$ac_objext'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43940 ac_status=$?
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; }; then
43943 wx_cv_type_getsockopt5=int
43944 else
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43947
43948 wx_cv_type_getsockopt5=unknown
43949
43950 fi
43951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43952
43953 fi
43954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43955
43956 CXXFLAGS="$CXXFLAGS_OLD"
43957
43958
43959 fi
43960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43961
43962 fi
43963 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43964 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43965
43966 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43967 wxUSE_SOCKETS=no
43968 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43969 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43970 else
43971 cat >>confdefs.h <<_ACEOF
43972 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43973 _ACEOF
43974
43975 fi
43976 fi
43977 fi
43978
43979 if test "$wxUSE_SOCKETS" = "yes" ; then
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_SOCKETS 1
43982 _ACEOF
43983
43984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43985 fi
43986
43987 if test "$wxUSE_PROTOCOL" = "yes"; then
43988 if test "$wxUSE_SOCKETS" != "yes"; then
43989 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43990 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43991 wxUSE_PROTOCOL=no
43992 fi
43993 fi
43994
43995 if test "$wxUSE_PROTOCOL" = "yes"; then
43996 cat >>confdefs.h <<\_ACEOF
43997 #define wxUSE_PROTOCOL 1
43998 _ACEOF
43999
44000
44001 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44002 cat >>confdefs.h <<\_ACEOF
44003 #define wxUSE_PROTOCOL_HTTP 1
44004 _ACEOF
44005
44006 fi
44007 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44008 cat >>confdefs.h <<\_ACEOF
44009 #define wxUSE_PROTOCOL_FTP 1
44010 _ACEOF
44011
44012 fi
44013 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_PROTOCOL_FILE 1
44016 _ACEOF
44017
44018 fi
44019 else
44020 if test "$wxUSE_FS_INET" = "yes"; then
44021 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44022 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44023 wxUSE_FS_INET="no"
44024 fi
44025 fi
44026
44027 if test "$wxUSE_URL" = "yes"; then
44028 if test "$wxUSE_PROTOCOL" != "yes"; then
44029 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44030 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44031 wxUSE_URL=no
44032 fi
44033 if test "$wxUSE_URL" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_URL 1
44036 _ACEOF
44037
44038 fi
44039 fi
44040
44041 if test "$wxUSE_FS_INET" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_FS_INET 1
44044 _ACEOF
44045
44046 fi
44047
44048
44049 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44050 wxUSE_JOYSTICK=no
44051
44052 if test "$TOOLKIT" = "MSW"; then
44053 wxUSE_JOYSTICK=yes
44054
44055 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44056 if test "$USE_DARWIN" = 1; then
44057 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44058 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44059 cat >conftest.$ac_ext <<_ACEOF
44060 /* confdefs.h. */
44061 _ACEOF
44062 cat confdefs.h >>conftest.$ac_ext
44063 cat >>conftest.$ac_ext <<_ACEOF
44064 /* end confdefs.h. */
44065 #include <IOKit/hid/IOHIDLib.h>
44066 int
44067 main ()
44068 {
44069 IOHIDQueueInterface *qi = NULL;
44070 IOHIDCallbackFunction cb = NULL;
44071 qi->setEventCallout(NULL, cb, NULL, NULL);
44072 ;
44073 return 0;
44074 }
44075 _ACEOF
44076 rm -f conftest.$ac_objext
44077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44078 (eval $ac_compile) 2>conftest.er1
44079 ac_status=$?
44080 grep -v '^ *+' conftest.er1 >conftest.err
44081 rm -f conftest.er1
44082 cat conftest.err >&5
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); } &&
44085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44087 (eval $ac_try) 2>&5
44088 ac_status=$?
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); }; } &&
44091 { ac_try='test -s conftest.$ac_objext'
44092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44093 (eval $ac_try) 2>&5
44094 ac_status=$?
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); }; }; then
44097 wxUSE_JOYSTICK=yes
44098
44099 else
44100 echo "$as_me: failed program was:" >&5
44101 sed 's/^/| /' conftest.$ac_ext >&5
44102
44103 fi
44104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44105 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44106 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44107 fi
44108
44109 else
44110
44111 for ac_header in linux/joystick.h
44112 do
44113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44115 echo "$as_me:$LINENO: checking for $ac_header" >&5
44116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44118 echo $ECHO_N "(cached) $ECHO_C" >&6
44119 fi
44120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44122 else
44123 # Is the header compilable?
44124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44126 cat >conftest.$ac_ext <<_ACEOF
44127 /* confdefs.h. */
44128 _ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44132 $ac_includes_default
44133 #include <$ac_header>
44134 _ACEOF
44135 rm -f conftest.$ac_objext
44136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44137 (eval $ac_compile) 2>conftest.er1
44138 ac_status=$?
44139 grep -v '^ *+' conftest.er1 >conftest.err
44140 rm -f conftest.er1
44141 cat conftest.err >&5
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); } &&
44144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44146 (eval $ac_try) 2>&5
44147 ac_status=$?
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); }; } &&
44150 { ac_try='test -s conftest.$ac_objext'
44151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44152 (eval $ac_try) 2>&5
44153 ac_status=$?
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); }; }; then
44156 ac_header_compiler=yes
44157 else
44158 echo "$as_me: failed program was:" >&5
44159 sed 's/^/| /' conftest.$ac_ext >&5
44160
44161 ac_header_compiler=no
44162 fi
44163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44165 echo "${ECHO_T}$ac_header_compiler" >&6
44166
44167 # Is the header present?
44168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44170 cat >conftest.$ac_ext <<_ACEOF
44171 /* confdefs.h. */
44172 _ACEOF
44173 cat confdefs.h >>conftest.$ac_ext
44174 cat >>conftest.$ac_ext <<_ACEOF
44175 /* end confdefs.h. */
44176 #include <$ac_header>
44177 _ACEOF
44178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44180 ac_status=$?
44181 grep -v '^ *+' conftest.er1 >conftest.err
44182 rm -f conftest.er1
44183 cat conftest.err >&5
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); } >/dev/null; then
44186 if test -s conftest.err; then
44187 ac_cpp_err=$ac_cxx_preproc_warn_flag
44188 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44189 else
44190 ac_cpp_err=
44191 fi
44192 else
44193 ac_cpp_err=yes
44194 fi
44195 if test -z "$ac_cpp_err"; then
44196 ac_header_preproc=yes
44197 else
44198 echo "$as_me: failed program was:" >&5
44199 sed 's/^/| /' conftest.$ac_ext >&5
44200
44201 ac_header_preproc=no
44202 fi
44203 rm -f conftest.err conftest.$ac_ext
44204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44205 echo "${ECHO_T}$ac_header_preproc" >&6
44206
44207 # So? What about this header?
44208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44209 yes:no: )
44210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44214 ac_header_preproc=yes
44215 ;;
44216 no:yes:* )
44217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44229 (
44230 cat <<\_ASBOX
44231 ## ----------------------------------------- ##
44232 ## Report this to wx-dev@lists.wxwidgets.org ##
44233 ## ----------------------------------------- ##
44234 _ASBOX
44235 ) |
44236 sed "s/^/$as_me: WARNING: /" >&2
44237 ;;
44238 esac
44239 echo "$as_me:$LINENO: checking for $ac_header" >&5
44240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44242 echo $ECHO_N "(cached) $ECHO_C" >&6
44243 else
44244 eval "$as_ac_Header=\$ac_header_preproc"
44245 fi
44246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44248
44249 fi
44250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44251 cat >>confdefs.h <<_ACEOF
44252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44253 _ACEOF
44254 wxUSE_JOYSTICK=yes
44255 fi
44256
44257 done
44258
44259 fi
44260
44261 if test "$wxUSE_JOYSTICK" = "yes"; then
44262 cat >>confdefs.h <<\_ACEOF
44263 #define wxUSE_JOYSTICK 1
44264 _ACEOF
44265
44266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44267 else
44268 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44269 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44270 fi
44271 fi
44272
44273
44274
44275 if test "$wxUSE_FONTMAP" = "yes" ; then
44276 cat >>confdefs.h <<\_ACEOF
44277 #define wxUSE_FONTMAP 1
44278 _ACEOF
44279
44280 fi
44281
44282 if test "$wxUSE_UNICODE" = "yes" ; then
44283 cat >>confdefs.h <<\_ACEOF
44284 #define wxUSE_UNICODE 1
44285 _ACEOF
44286
44287
44288 if test "$USE_WIN32" != 1; then
44289 wxUSE_UNICODE_MSLU=no
44290 fi
44291
44292 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44293 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44294 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44295 if test "${ac_cv_lib_unicows_main+set}" = set; then
44296 echo $ECHO_N "(cached) $ECHO_C" >&6
44297 else
44298 ac_check_lib_save_LIBS=$LIBS
44299 LIBS="-lunicows $LIBS"
44300 cat >conftest.$ac_ext <<_ACEOF
44301 /* confdefs.h. */
44302 _ACEOF
44303 cat confdefs.h >>conftest.$ac_ext
44304 cat >>conftest.$ac_ext <<_ACEOF
44305 /* end confdefs.h. */
44306
44307
44308 int
44309 main ()
44310 {
44311 main ();
44312 ;
44313 return 0;
44314 }
44315 _ACEOF
44316 rm -f conftest.$ac_objext conftest$ac_exeext
44317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44318 (eval $ac_link) 2>conftest.er1
44319 ac_status=$?
44320 grep -v '^ *+' conftest.er1 >conftest.err
44321 rm -f conftest.er1
44322 cat conftest.err >&5
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); } &&
44325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44327 (eval $ac_try) 2>&5
44328 ac_status=$?
44329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44330 (exit $ac_status); }; } &&
44331 { ac_try='test -s conftest$ac_exeext'
44332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44333 (eval $ac_try) 2>&5
44334 ac_status=$?
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); }; }; then
44337 ac_cv_lib_unicows_main=yes
44338 else
44339 echo "$as_me: failed program was:" >&5
44340 sed 's/^/| /' conftest.$ac_ext >&5
44341
44342 ac_cv_lib_unicows_main=no
44343 fi
44344 rm -f conftest.err conftest.$ac_objext \
44345 conftest$ac_exeext conftest.$ac_ext
44346 LIBS=$ac_check_lib_save_LIBS
44347 fi
44348 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44349 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44350 if test $ac_cv_lib_unicows_main = yes; then
44351
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_UNICODE_MSLU 1
44354 _ACEOF
44355
44356
44357 else
44358
44359 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44360 Applications will only run on Windows NT/2000/XP!" >&5
44361 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44362 Applications will only run on Windows NT/2000/XP!" >&2;}
44363 wxUSE_UNICODE_MSLU=no
44364
44365 fi
44366
44367 fi
44368 fi
44369
44370 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_EXPERIMENTAL_PRINTF 1
44373 _ACEOF
44374
44375 fi
44376
44377
44378 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_POSTSCRIPT 1
44381 _ACEOF
44382
44383 fi
44384
44385 cat >>confdefs.h <<\_ACEOF
44386 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44387 _ACEOF
44388
44389
44390 cat >>confdefs.h <<\_ACEOF
44391 #define wxUSE_NORMALIZED_PS_FONTS 1
44392 _ACEOF
44393
44394
44395
44396 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_CONSTRAINTS 1
44399 _ACEOF
44400
44401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44402 fi
44403
44404 if test "$wxUSE_MDI" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_MDI 1
44407 _ACEOF
44408
44409
44410 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_MDI_ARCHITECTURE 1
44413 _ACEOF
44414
44415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44416 fi
44417 fi
44418
44419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44422 _ACEOF
44423
44424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44425 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44427 fi
44428 fi
44429
44430 if test "$wxUSE_HELP" = "yes"; then
44431 cat >>confdefs.h <<\_ACEOF
44432 #define wxUSE_HELP 1
44433 _ACEOF
44434
44435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44436
44437 if test "$wxUSE_MSW" = 1; then
44438 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44439 cat >>confdefs.h <<\_ACEOF
44440 #define wxUSE_MS_HTML_HELP 1
44441 _ACEOF
44442
44443 fi
44444 fi
44445
44446 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44447 if test "$wxUSE_HTML" = "yes"; then
44448 cat >>confdefs.h <<\_ACEOF
44449 #define wxUSE_WXHTML_HELP 1
44450 _ACEOF
44451
44452 else
44453 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44454 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44455 wxUSE_WXHTML_HELP=no
44456 fi
44457 fi
44458 fi
44459
44460 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44461 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44462 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44463 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44464 else
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_PRINTING_ARCHITECTURE 1
44467 _ACEOF
44468
44469 fi
44470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44471 fi
44472
44473 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44474 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44475 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44476 { (exit 1); exit 1; }; }
44477 fi
44478
44479
44480 if test "$wxUSE_METAFILE" = "yes"; then
44481 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44482 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44483 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44484 wxUSE_METAFILE=no
44485 fi
44486 fi
44487
44488
44489 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44490 -o "$wxUSE_CLIPBOARD" = "yes" \
44491 -o "$wxUSE_OLE" = "yes" \
44492 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44493
44494 for ac_header in ole2.h
44495 do
44496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44498 echo "$as_me:$LINENO: checking for $ac_header" >&5
44499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44501 echo $ECHO_N "(cached) $ECHO_C" >&6
44502 fi
44503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44505 else
44506 # Is the header compilable?
44507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44509 cat >conftest.$ac_ext <<_ACEOF
44510 /* confdefs.h. */
44511 _ACEOF
44512 cat confdefs.h >>conftest.$ac_ext
44513 cat >>conftest.$ac_ext <<_ACEOF
44514 /* end confdefs.h. */
44515 $ac_includes_default
44516 #include <$ac_header>
44517 _ACEOF
44518 rm -f conftest.$ac_objext
44519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44520 (eval $ac_compile) 2>conftest.er1
44521 ac_status=$?
44522 grep -v '^ *+' conftest.er1 >conftest.err
44523 rm -f conftest.er1
44524 cat conftest.err >&5
44525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44526 (exit $ac_status); } &&
44527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44529 (eval $ac_try) 2>&5
44530 ac_status=$?
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; } &&
44533 { ac_try='test -s conftest.$ac_objext'
44534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44535 (eval $ac_try) 2>&5
44536 ac_status=$?
44537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44538 (exit $ac_status); }; }; then
44539 ac_header_compiler=yes
44540 else
44541 echo "$as_me: failed program was:" >&5
44542 sed 's/^/| /' conftest.$ac_ext >&5
44543
44544 ac_header_compiler=no
44545 fi
44546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44548 echo "${ECHO_T}$ac_header_compiler" >&6
44549
44550 # Is the header present?
44551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44553 cat >conftest.$ac_ext <<_ACEOF
44554 /* confdefs.h. */
44555 _ACEOF
44556 cat confdefs.h >>conftest.$ac_ext
44557 cat >>conftest.$ac_ext <<_ACEOF
44558 /* end confdefs.h. */
44559 #include <$ac_header>
44560 _ACEOF
44561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44563 ac_status=$?
44564 grep -v '^ *+' conftest.er1 >conftest.err
44565 rm -f conftest.er1
44566 cat conftest.err >&5
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); } >/dev/null; then
44569 if test -s conftest.err; then
44570 ac_cpp_err=$ac_cxx_preproc_warn_flag
44571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44572 else
44573 ac_cpp_err=
44574 fi
44575 else
44576 ac_cpp_err=yes
44577 fi
44578 if test -z "$ac_cpp_err"; then
44579 ac_header_preproc=yes
44580 else
44581 echo "$as_me: failed program was:" >&5
44582 sed 's/^/| /' conftest.$ac_ext >&5
44583
44584 ac_header_preproc=no
44585 fi
44586 rm -f conftest.err conftest.$ac_ext
44587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44588 echo "${ECHO_T}$ac_header_preproc" >&6
44589
44590 # So? What about this header?
44591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44592 yes:no: )
44593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44597 ac_header_preproc=yes
44598 ;;
44599 no:yes:* )
44600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44612 (
44613 cat <<\_ASBOX
44614 ## ----------------------------------------- ##
44615 ## Report this to wx-dev@lists.wxwidgets.org ##
44616 ## ----------------------------------------- ##
44617 _ASBOX
44618 ) |
44619 sed "s/^/$as_me: WARNING: /" >&2
44620 ;;
44621 esac
44622 echo "$as_me:$LINENO: checking for $ac_header" >&5
44623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44625 echo $ECHO_N "(cached) $ECHO_C" >&6
44626 else
44627 eval "$as_ac_Header=\$ac_header_preproc"
44628 fi
44629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44631
44632 fi
44633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44634 cat >>confdefs.h <<_ACEOF
44635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44636 _ACEOF
44637
44638 fi
44639
44640 done
44641
44642
44643 if test "$ac_cv_header_ole2_h" = "yes" ; then
44644 if test "$GCC" = yes ; then
44645 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44646 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44647 cat >conftest.$ac_ext <<_ACEOF
44648 /* confdefs.h. */
44649 _ACEOF
44650 cat confdefs.h >>conftest.$ac_ext
44651 cat >>conftest.$ac_ext <<_ACEOF
44652 /* end confdefs.h. */
44653 #include <windows.h>
44654 #include <ole2.h>
44655 int
44656 main ()
44657 {
44658
44659 ;
44660 return 0;
44661 }
44662 _ACEOF
44663 rm -f conftest.$ac_objext
44664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44665 (eval $ac_compile) 2>conftest.er1
44666 ac_status=$?
44667 grep -v '^ *+' conftest.er1 >conftest.err
44668 rm -f conftest.er1
44669 cat conftest.err >&5
44670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671 (exit $ac_status); } &&
44672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44674 (eval $ac_try) 2>&5
44675 ac_status=$?
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; } &&
44678 { ac_try='test -s conftest.$ac_objext'
44679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44680 (eval $ac_try) 2>&5
44681 ac_status=$?
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); }; }; then
44684 echo "$as_me:$LINENO: result: no" >&5
44685 echo "${ECHO_T}no" >&6
44686 else
44687 echo "$as_me: failed program was:" >&5
44688 sed 's/^/| /' conftest.$ac_ext >&5
44689
44690 echo "$as_me:$LINENO: result: yes" >&5
44691 echo "${ECHO_T}yes" >&6
44692 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44693 fi
44694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44695 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44696 if test "$wxUSE_OLE" = "yes" ; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define wxUSE_OLE 1
44699 _ACEOF
44700
44701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44702 fi
44703 fi
44704
44705 if test "$wxUSE_DATAOBJ" = "yes" ; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_DATAOBJ 1
44708 _ACEOF
44709
44710 fi
44711 else
44712 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44713 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44714
44715 wxUSE_CLIPBOARD=no
44716 wxUSE_DRAG_AND_DROP=no
44717 wxUSE_DATAOBJ=no
44718 wxUSE_OLE=no
44719 fi
44720
44721 if test "$wxUSE_METAFILE" = "yes"; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_METAFILE 1
44724 _ACEOF
44725
44726
44727 cat >>confdefs.h <<\_ACEOF
44728 #define wxUSE_ENH_METAFILE 1
44729 _ACEOF
44730
44731 fi
44732 fi
44733
44734 if test "$wxUSE_IPC" = "yes"; then
44735 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44736 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44737 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44738 wxUSE_IPC=no
44739 fi
44740
44741 if test "$wxUSE_IPC" = "yes"; then
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_IPC 1
44744 _ACEOF
44745
44746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44747 fi
44748 fi
44749
44750 if test "$wxUSE_DATAOBJ" = "yes"; then
44751 if test "$wxUSE_MGL" = 1; then
44752 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44753 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44754 wxUSE_DATAOBJ=no
44755 else
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_DATAOBJ 1
44758 _ACEOF
44759
44760 fi
44761 else
44762 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44763 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44764 wxUSE_CLIPBOARD=no
44765 wxUSE_DRAG_AND_DROP=no
44766 fi
44767
44768 if test "$wxUSE_CLIPBOARD" = "yes"; then
44769 if test "$wxUSE_MGL" = 1; then
44770 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44771 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44772 wxUSE_CLIPBOARD=no
44773 fi
44774
44775 if test "$wxUSE_CLIPBOARD" = "yes"; then
44776 cat >>confdefs.h <<\_ACEOF
44777 #define wxUSE_CLIPBOARD 1
44778 _ACEOF
44779
44780 fi
44781 fi
44782
44783 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44784 if test "$wxUSE_GTK" = 1; then
44785 if test "$WXGTK12" != 1; then
44786 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44787 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44788 wxUSE_DRAG_AND_DROP=no
44789 fi
44790 fi
44791
44792 if test "$wxUSE_MOTIF" = 1; then
44793 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44794 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44795 wxUSE_DRAG_AND_DROP=no
44796 fi
44797
44798 if test "$wxUSE_X11" = 1; then
44799 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44800 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44801 wxUSE_DRAG_AND_DROP=no
44802 fi
44803
44804 if test "$wxUSE_MGL" = 1; then
44805 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44806 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44807 wxUSE_DRAG_AND_DROP=no
44808 fi
44809
44810 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_DRAG_AND_DROP 1
44813 _ACEOF
44814
44815 fi
44816
44817 fi
44818
44819 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44821 fi
44822
44823 if test "$wxUSE_SPLINES" = "yes" ; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_SPLINES 1
44826 _ACEOF
44827
44828 fi
44829
44830 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_MOUSEWHEEL 1
44833 _ACEOF
44834
44835 fi
44836
44837
44838 USES_CONTROLS=0
44839 if test "$wxUSE_CONTROLS" = "yes"; then
44840 USES_CONTROLS=1
44841 fi
44842
44843 if test "$wxUSE_ACCEL" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_ACCEL 1
44846 _ACEOF
44847
44848 USES_CONTROLS=1
44849 fi
44850
44851 if test "$wxUSE_BUTTON" = "yes"; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_BUTTON 1
44854 _ACEOF
44855
44856 USES_CONTROLS=1
44857 fi
44858
44859 if test "$wxUSE_BMPBUTTON" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_BMPBUTTON 1
44862 _ACEOF
44863
44864 USES_CONTROLS=1
44865 fi
44866
44867 if test "$wxUSE_CALCTRL" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_CALENDARCTRL 1
44870 _ACEOF
44871
44872 USES_CONTROLS=1
44873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44874 fi
44875
44876 if test "$wxUSE_CARET" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_CARET 1
44879 _ACEOF
44880
44881 USES_CONTROLS=1
44882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44883 fi
44884
44885 if test "$wxUSE_COMBOBOX" = "yes"; then
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_COMBOBOX 1
44888 _ACEOF
44889
44890 USES_CONTROLS=1
44891 fi
44892
44893 if test "$wxUSE_COMBOCTRL" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_COMBOCTRL 1
44896 _ACEOF
44897
44898 USES_CONTROLS=1
44899 fi
44900
44901 if test "$wxUSE_CHOICE" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_CHOICE 1
44904 _ACEOF
44905
44906 USES_CONTROLS=1
44907 fi
44908
44909 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_CHOICEBOOK 1
44912 _ACEOF
44913
44914 USES_CONTROLS=1
44915 fi
44916
44917 if test "$wxUSE_CHECKBOX" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_CHECKBOX 1
44920 _ACEOF
44921
44922 USES_CONTROLS=1
44923 fi
44924
44925 if test "$wxUSE_CHECKLST" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_CHECKLISTBOX 1
44928 _ACEOF
44929
44930 USES_CONTROLS=1
44931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44932 fi
44933
44934 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_COLOURPICKERCTRL 1
44937 _ACEOF
44938
44939 USES_CONTROLS=1
44940 fi
44941
44942 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_DATEPICKCTRL 1
44945 _ACEOF
44946
44947 USES_CONTROLS=1
44948 fi
44949
44950 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_DIRPICKERCTRL 1
44953 _ACEOF
44954
44955 USES_CONTROLS=1
44956 fi
44957
44958 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_FILEPICKERCTRL 1
44961 _ACEOF
44962
44963 USES_CONTROLS=1
44964 fi
44965
44966 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_FONTPICKERCTRL 1
44969 _ACEOF
44970
44971 USES_CONTROLS=1
44972 fi
44973
44974 if test "$wxUSE_DISPLAY" = "yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_DISPLAY 1
44977 _ACEOF
44978
44979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44980 fi
44981
44982 if test "$wxUSE_GAUGE" = "yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_GAUGE 1
44985 _ACEOF
44986
44987 USES_CONTROLS=1
44988 fi
44989
44990 if test "$wxUSE_GRID" = "yes"; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_GRID 1
44993 _ACEOF
44994
44995 USES_CONTROLS=1
44996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44997 fi
44998
44999 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_HYPERLINKCTRL 1
45002 _ACEOF
45003
45004 USES_CONTROLS=1
45005 fi
45006
45007 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_DATAVIEWCTRL 1
45010 _ACEOF
45011
45012 USES_CONTROLS=1
45013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45014 fi
45015
45016 if test "$wxUSE_IMAGLIST" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_IMAGLIST 1
45019 _ACEOF
45020
45021 fi
45022
45023 if test "$wxUSE_LISTBOOK" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_LISTBOOK 1
45026 _ACEOF
45027
45028 USES_CONTROLS=1
45029 fi
45030
45031 if test "$wxUSE_LISTBOX" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_LISTBOX 1
45034 _ACEOF
45035
45036 USES_CONTROLS=1
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45038 fi
45039
45040 if test "$wxUSE_LISTCTRL" = "yes"; then
45041 if test "$wxUSE_IMAGLIST" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_LISTCTRL 1
45044 _ACEOF
45045
45046 USES_CONTROLS=1
45047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45048 else
45049 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45050 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45051 fi
45052 fi
45053
45054 if test "$wxUSE_NOTEBOOK" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_NOTEBOOK 1
45057 _ACEOF
45058
45059 USES_CONTROLS=1
45060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45061 fi
45062
45063 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_ODCOMBOBOX 1
45066 _ACEOF
45067
45068 USES_CONTROLS=1
45069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45070 fi
45071
45072
45073 if test "$wxUSE_RADIOBOX" = "yes"; then
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_RADIOBOX 1
45076 _ACEOF
45077
45078 USES_CONTROLS=1
45079 fi
45080
45081 if test "$wxUSE_RADIOBTN" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_RADIOBTN 1
45084 _ACEOF
45085
45086 USES_CONTROLS=1
45087 fi
45088
45089 if test "$wxUSE_SASH" = "yes"; then
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_SASH 1
45092 _ACEOF
45093
45094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45095 fi
45096
45097 if test "$wxUSE_SCROLLBAR" = "yes"; then
45098 cat >>confdefs.h <<\_ACEOF
45099 #define wxUSE_SCROLLBAR 1
45100 _ACEOF
45101
45102 USES_CONTROLS=1
45103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45104 fi
45105
45106 if test "$wxUSE_SLIDER" = "yes"; then
45107 cat >>confdefs.h <<\_ACEOF
45108 #define wxUSE_SLIDER 1
45109 _ACEOF
45110
45111 USES_CONTROLS=1
45112 fi
45113
45114 if test "$wxUSE_SPINBTN" = "yes"; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_SPINBTN 1
45117 _ACEOF
45118
45119 USES_CONTROLS=1
45120 fi
45121
45122 if test "$wxUSE_SPINCTRL" = "yes"; then
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_SPINCTRL 1
45125 _ACEOF
45126
45127 USES_CONTROLS=1
45128 fi
45129
45130 if test "$wxUSE_SPLITTER" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_SPLITTER 1
45133 _ACEOF
45134
45135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45136 fi
45137
45138 if test "$wxUSE_STATBMP" = "yes"; then
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_STATBMP 1
45141 _ACEOF
45142
45143 USES_CONTROLS=1
45144 fi
45145
45146 if test "$wxUSE_STATBOX" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_STATBOX 1
45149 _ACEOF
45150
45151 USES_CONTROLS=1
45152 fi
45153
45154 if test "$wxUSE_STATTEXT" = "yes"; then
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_STATTEXT 1
45157 _ACEOF
45158
45159 USES_CONTROLS=1
45160 fi
45161
45162 if test "$wxUSE_STATLINE" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_STATLINE 1
45165 _ACEOF
45166
45167 USES_CONTROLS=1
45168 fi
45169
45170 if test "$wxUSE_STATUSBAR" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_NATIVE_STATUSBAR 1
45173 _ACEOF
45174
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_STATUSBAR 1
45177 _ACEOF
45178
45179 USES_CONTROLS=1
45180
45181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45182 fi
45183
45184 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_TAB_DIALOG 1
45187 _ACEOF
45188
45189 fi
45190
45191 if test "$wxUSE_TEXTCTRL" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_TEXTCTRL 1
45194 _ACEOF
45195
45196 USES_CONTROLS=1
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45198 fi
45199
45200 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45201 if test "$wxUSE_COCOA" = 1 ; then
45202 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45203 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45204 wxUSE_TOGGLEBTN=no
45205 fi
45206
45207 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_TOGGLEBTN 1
45210 _ACEOF
45211
45212 USES_CONTROLS=1
45213 fi
45214 fi
45215
45216 if test "$wxUSE_TOOLBAR" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_TOOLBAR 1
45219 _ACEOF
45220
45221 USES_CONTROLS=1
45222
45223 if test "$wxUSE_UNIVERSAL" = "yes"; then
45224 wxUSE_TOOLBAR_NATIVE="no"
45225 else
45226 wxUSE_TOOLBAR_NATIVE="yes"
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_TOOLBAR_NATIVE 1
45229 _ACEOF
45230
45231 fi
45232
45233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45234 fi
45235
45236 if test "$wxUSE_TOOLTIPS" = "yes"; then
45237 if test "$wxUSE_MOTIF" = 1; then
45238 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45239 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45240 else
45241 if test "$wxUSE_UNIVERSAL" = "yes"; then
45242 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45243 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45244 else
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_TOOLTIPS 1
45247 _ACEOF
45248
45249 fi
45250 fi
45251 fi
45252
45253 if test "$wxUSE_TREEBOOK" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_TREEBOOK 1
45256 _ACEOF
45257
45258 USES_CONTROLS=1
45259 fi
45260
45261 if test "$wxUSE_TOOLBOOK" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_TOOLBOOK 1
45264 _ACEOF
45265
45266 USES_CONTROLS=1
45267 fi
45268
45269 if test "$wxUSE_TREECTRL" = "yes"; then
45270 if test "$wxUSE_IMAGLIST" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_TREECTRL 1
45273 _ACEOF
45274
45275 USES_CONTROLS=1
45276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45277 else
45278 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45279 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45280 fi
45281 fi
45282
45283 if test "$wxUSE_POPUPWIN" = "yes"; then
45284 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45285 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45286 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45287 else
45288 if test "$wxUSE_PM" = 1; then
45289 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45290 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45291 else
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_POPUPWIN 1
45294 _ACEOF
45295
45296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45297
45298 USES_CONTROLS=1
45299 fi
45300 fi
45301 fi
45302
45303 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45304 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45305 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45306 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45307 else
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_DIALUP_MANAGER 1
45310 _ACEOF
45311
45312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45313 fi
45314 fi
45315
45316 if test "$wxUSE_TIPWINDOW" = "yes"; then
45317 if test "$wxUSE_PM" = 1; then
45318 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45319 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45320 else
45321 cat >>confdefs.h <<\_ACEOF
45322 #define wxUSE_TIPWINDOW 1
45323 _ACEOF
45324
45325 fi
45326 fi
45327
45328 if test "$USES_CONTROLS" = 1; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_CONTROLS 1
45331 _ACEOF
45332
45333 fi
45334
45335
45336 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_ACCESSIBILITY 1
45339 _ACEOF
45340
45341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45342 fi
45343
45344 if test "$wxUSE_DC_CACHEING" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_DC_CACHEING 1
45347 _ACEOF
45348
45349 fi
45350
45351 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_DRAGIMAGE 1
45354 _ACEOF
45355
45356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45357 fi
45358
45359 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45360 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45361 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45362 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45363 else
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_EXCEPTIONS 1
45366 _ACEOF
45367
45368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45369 fi
45370 fi
45371
45372 USE_HTML=0
45373 if test "$wxUSE_HTML" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_HTML 1
45376 _ACEOF
45377
45378 USE_HTML=1
45379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45380 if test "$wxUSE_MAC" = 1; then
45381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45382 fi
45383 fi
45384 if test "$wxUSE_WEBKIT" = "yes"; then
45385 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45386 old_CPPFLAGS="$CPPFLAGS"
45387 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45388 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45389 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45390 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45391 echo $ECHO_N "(cached) $ECHO_C" >&6
45392 else
45393 cat >conftest.$ac_ext <<_ACEOF
45394 /* confdefs.h. */
45395 _ACEOF
45396 cat confdefs.h >>conftest.$ac_ext
45397 cat >>conftest.$ac_ext <<_ACEOF
45398 /* end confdefs.h. */
45399 #include <Carbon/Carbon.h>
45400
45401 #include <WebKit/HIWebView.h>
45402 _ACEOF
45403 rm -f conftest.$ac_objext
45404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45405 (eval $ac_compile) 2>conftest.er1
45406 ac_status=$?
45407 grep -v '^ *+' conftest.er1 >conftest.err
45408 rm -f conftest.er1
45409 cat conftest.err >&5
45410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45411 (exit $ac_status); } &&
45412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45414 (eval $ac_try) 2>&5
45415 ac_status=$?
45416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45417 (exit $ac_status); }; } &&
45418 { ac_try='test -s conftest.$ac_objext'
45419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45420 (eval $ac_try) 2>&5
45421 ac_status=$?
45422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45423 (exit $ac_status); }; }; then
45424 ac_cv_header_WebKit_HIWebView_h=yes
45425 else
45426 echo "$as_me: failed program was:" >&5
45427 sed 's/^/| /' conftest.$ac_ext >&5
45428
45429 ac_cv_header_WebKit_HIWebView_h=no
45430 fi
45431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45432 fi
45433 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45434 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45435 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45436
45437 cat >>confdefs.h <<\_ACEOF
45438 #define wxUSE_WEBKIT 1
45439 _ACEOF
45440
45441 WEBKIT_LINK="-framework WebKit"
45442
45443 else
45444
45445 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45446 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45447 wxUSE_WEBKIT=no
45448
45449 fi
45450
45451
45452 CPPFLAGS="$old_CPPFLAGS"
45453 elif test "$wxUSE_COCOA" = 1; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_WEBKIT 1
45456 _ACEOF
45457
45458 else
45459 wxUSE_WEBKIT=no
45460 fi
45461 fi
45462
45463 USE_XRC=0
45464 if test "$wxUSE_XRC" = "yes"; then
45465 if test "$wxUSE_XML" != "yes"; then
45466 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45467 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45468 wxUSE_XRC=no
45469 else
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_XRC 1
45472 _ACEOF
45473
45474 USE_XRC=1
45475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45476 fi
45477 fi
45478
45479 USE_AUI=0
45480 if test "$wxUSE_AUI" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_AUI 1
45483 _ACEOF
45484
45485 USE_AUI=1
45486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45487 fi
45488
45489 if test "$wxUSE_MENUS" = "yes"; then
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_MENUS 1
45492 _ACEOF
45493
45494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45495 fi
45496
45497 if test "$wxUSE_METAFILE" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_METAFILE 1
45500 _ACEOF
45501
45502 fi
45503
45504 if test "$wxUSE_MIMETYPE" = "yes"; then
45505 cat >>confdefs.h <<\_ACEOF
45506 #define wxUSE_MIMETYPE 1
45507 _ACEOF
45508
45509 fi
45510
45511 if test "$wxUSE_MINIFRAME" = "yes"; then
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_MINIFRAME 1
45514 _ACEOF
45515
45516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45517 fi
45518
45519 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_SYSTEM_OPTIONS 1
45522 _ACEOF
45523
45524 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45525 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45527 fi
45528 fi
45529
45530
45531 if test "$wxUSE_VALIDATORS" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_VALIDATORS 1
45534 _ACEOF
45535
45536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45537 fi
45538
45539 if test "$wxUSE_PALETTE" = "yes" ; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_PALETTE 1
45542 _ACEOF
45543
45544 fi
45545
45546 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45547 LIBS=" -lunicows $LIBS"
45548 fi
45549
45550 USE_RICHTEXT=0
45551 if test "$wxUSE_RICHTEXT" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_RICHTEXT 1
45554 _ACEOF
45555
45556 USE_RICHTEXT=1
45557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45558 fi
45559
45560
45561 if test "$wxUSE_IMAGE" = "yes" ; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_IMAGE 1
45564 _ACEOF
45565
45566
45567 if test "$wxUSE_GIF" = "yes" ; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_GIF 1
45570 _ACEOF
45571
45572 fi
45573
45574 if test "$wxUSE_PCX" = "yes" ; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_PCX 1
45577 _ACEOF
45578
45579 fi
45580
45581 if test "$wxUSE_IFF" = "yes" ; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_IFF 1
45584 _ACEOF
45585
45586 fi
45587
45588 if test "$wxUSE_PNM" = "yes" ; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_PNM 1
45591 _ACEOF
45592
45593 fi
45594
45595 if test "$wxUSE_XPM" = "yes" ; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_XPM 1
45598 _ACEOF
45599
45600 fi
45601
45602 if test "$wxUSE_ICO_CUR" = "yes" ; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_ICO_CUR 1
45605 _ACEOF
45606
45607 fi
45608 fi
45609
45610
45611 if test "$wxUSE_CHOICEDLG" = "yes"; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_CHOICEDLG 1
45614 _ACEOF
45615
45616 fi
45617
45618 if test "$wxUSE_COLOURDLG" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_COLOURDLG 1
45621 _ACEOF
45622
45623 fi
45624
45625 if test "$wxUSE_FILEDLG" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_FILEDLG 1
45628 _ACEOF
45629
45630 fi
45631
45632 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_FINDREPLDLG 1
45635 _ACEOF
45636
45637 fi
45638
45639 if test "$wxUSE_FONTDLG" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_FONTDLG 1
45642 _ACEOF
45643
45644 fi
45645
45646 if test "$wxUSE_DIRDLG" = "yes"; then
45647 if test "$wxUSE_TREECTRL" != "yes"; then
45648 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45649 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45650 else
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_DIRDLG 1
45653 _ACEOF
45654
45655 fi
45656 fi
45657
45658 if test "$wxUSE_MSGDLG" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_MSGDLG 1
45661 _ACEOF
45662
45663 fi
45664
45665 if test "$wxUSE_NUMBERDLG" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_NUMBERDLG 1
45668 _ACEOF
45669
45670 fi
45671
45672 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45673 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45674 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45675 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45676 else
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_PROGRESSDLG 1
45679 _ACEOF
45680
45681 fi
45682 fi
45683
45684 if test "$wxUSE_SPLASH" = "yes"; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_SPLASH 1
45687 _ACEOF
45688
45689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45690 fi
45691
45692 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45693 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45694 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45695 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45696 else
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_STARTUP_TIPS 1
45699 _ACEOF
45700
45701 fi
45702 fi
45703
45704 if test "$wxUSE_TEXTDLG" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_TEXTDLG 1
45707 _ACEOF
45708
45709 fi
45710
45711 if test "$wxUSE_WIZARDDLG" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_WIZARDDLG 1
45714 _ACEOF
45715
45716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45717 fi
45718
45719
45720 USE_MEDIA=0
45721
45722 if test "$wxUSE_MEDIACTRL" = "yes"; then
45723 USE_MEDIA=1
45724
45725 if test "$wxUSE_GTK" = 1; then
45726 wxUSE_GSTREAMER="no"
45727
45728 GST_VERSION_MAJOR=0
45729 GST_VERSION_MINOR=10
45730 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45731
45732 if test "$wxUSE_GSTREAMER8" = "no"; then
45733
45734 pkg_failed=no
45735 echo "$as_me:$LINENO: checking for GST" >&5
45736 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45737
45738 if test -n "$PKG_CONFIG"; then
45739 if test -n "$GST_CFLAGS"; then
45740 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45741 else
45742 if test -n "$PKG_CONFIG" && \
45743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45744 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45745 ac_status=$?
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); }; then
45748 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45749 else
45750 pkg_failed=yes
45751 fi
45752 fi
45753 else
45754 pkg_failed=untried
45755 fi
45756 if test -n "$PKG_CONFIG"; then
45757 if test -n "$GST_LIBS"; then
45758 pkg_cv_GST_LIBS="$GST_LIBS"
45759 else
45760 if test -n "$PKG_CONFIG" && \
45761 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45762 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45763 ac_status=$?
45764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765 (exit $ac_status); }; then
45766 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45767 else
45768 pkg_failed=yes
45769 fi
45770 fi
45771 else
45772 pkg_failed=untried
45773 fi
45774
45775
45776
45777 if test $pkg_failed = yes; then
45778
45779 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45780 _pkg_short_errors_supported=yes
45781 else
45782 _pkg_short_errors_supported=no
45783 fi
45784 if test $_pkg_short_errors_supported = yes; then
45785 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45786 else
45787 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45788 fi
45789 # Put the nasty error message in config.log where it belongs
45790 echo "$GST_PKG_ERRORS" >&5
45791
45792
45793 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45794 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45795 GST_VERSION_MINOR=8
45796
45797
45798 elif test $pkg_failed = untried; then
45799
45800 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45801 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45802 GST_VERSION_MINOR=8
45803
45804
45805 else
45806 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45807 GST_LIBS=$pkg_cv_GST_LIBS
45808 echo "$as_me:$LINENO: result: yes" >&5
45809 echo "${ECHO_T}yes" >&6
45810
45811 wxUSE_GSTREAMER="yes"
45812 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45813
45814 fi
45815 else
45816 GST_VERSION_MINOR=8
45817 fi
45818
45819 if test $GST_VERSION_MINOR = "8"; then
45820 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45821
45822 pkg_failed=no
45823 echo "$as_me:$LINENO: checking for GST" >&5
45824 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45825
45826 if test -n "$PKG_CONFIG"; then
45827 if test -n "$GST_CFLAGS"; then
45828 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45829 else
45830 if test -n "$PKG_CONFIG" && \
45831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45833 ac_status=$?
45834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45835 (exit $ac_status); }; then
45836 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45837 else
45838 pkg_failed=yes
45839 fi
45840 fi
45841 else
45842 pkg_failed=untried
45843 fi
45844 if test -n "$PKG_CONFIG"; then
45845 if test -n "$GST_LIBS"; then
45846 pkg_cv_GST_LIBS="$GST_LIBS"
45847 else
45848 if test -n "$PKG_CONFIG" && \
45849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45850 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45851 ac_status=$?
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); }; then
45854 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45855 else
45856 pkg_failed=yes
45857 fi
45858 fi
45859 else
45860 pkg_failed=untried
45861 fi
45862
45863
45864
45865 if test $pkg_failed = yes; then
45866
45867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45868 _pkg_short_errors_supported=yes
45869 else
45870 _pkg_short_errors_supported=no
45871 fi
45872 if test $_pkg_short_errors_supported = yes; then
45873 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45874 else
45875 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45876 fi
45877 # Put the nasty error message in config.log where it belongs
45878 echo "$GST_PKG_ERRORS" >&5
45879
45880
45881 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45882 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45883
45884 elif test $pkg_failed = untried; then
45885
45886 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45887 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45888
45889 else
45890 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45891 GST_LIBS=$pkg_cv_GST_LIBS
45892 echo "$as_me:$LINENO: result: yes" >&5
45893 echo "${ECHO_T}yes" >&6
45894 wxUSE_GSTREAMER="yes"
45895 fi
45896 fi
45897
45898
45899 if test "$wxUSE_GSTREAMER" = "yes"; then
45900 case "${host}" in
45901 *-*-solaris2* )
45902 if "$GCC" = yes; then
45903 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45904 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45905 fi
45906 esac
45907
45908 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45909 LIBS="$GST_LIBS $LIBS"
45910
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_GSTREAMER 1
45913 _ACEOF
45914
45915 else
45916 USE_MEDIA=0
45917 fi
45918 fi
45919
45920 if test $USE_MEDIA = 1; then
45921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_MEDIACTRL 1
45924 _ACEOF
45925
45926 fi
45927 fi
45928
45929
45930 if test "$cross_compiling" = "yes"; then
45931 OSINFO="\"$host\""
45932 else
45933 OSINFO=`uname -s -r -m`
45934 OSINFO="\"$OSINFO\""
45935 fi
45936
45937 cat >>confdefs.h <<_ACEOF
45938 #define WXWIN_OS_DESCRIPTION $OSINFO
45939 _ACEOF
45940
45941
45942
45943 if test "x$prefix" != "xNONE"; then
45944 wxPREFIX=$prefix
45945 else
45946 wxPREFIX=$ac_default_prefix
45947 fi
45948
45949 cat >>confdefs.h <<_ACEOF
45950 #define wxINSTALL_PREFIX "$wxPREFIX"
45951 _ACEOF
45952
45953
45954
45955
45956 CORE_BASE_LIBS="net base"
45957 CORE_GUI_LIBS="adv core"
45958
45959 if test "$wxUSE_XML" = "yes" ; then
45960 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45961 fi
45962 if test "$wxUSE_ODBC" != "no" ; then
45963 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45964 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45965 fi
45966 if test "$wxUSE_HTML" = "yes" ; then
45967 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45968 fi
45969 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45970 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45971 fi
45972 if test "$wxUSE_XRC" = "yes" ; then
45973 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45974 fi
45975 if test "$wxUSE_AUI" = "yes" ; then
45976 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45977 fi
45978
45979 if test "$wxUSE_GUI" != "yes"; then
45980 CORE_GUI_LIBS=""
45981 fi
45982
45983
45984
45985
45986
45987 ac_ext=c
45988 ac_cpp='$CPP $CPPFLAGS'
45989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45992
45993
45994
45995 if test "$wxUSE_MAC" = 1 ; then
45996 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45997 if test "$USE_DARWIN" = 1; then
45998 LDFLAGS="$LDFLAGS -framework QuickTime"
45999 else
46000 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46001 fi
46002 fi
46003 if test "$USE_DARWIN" = 1; then
46004 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46005 else
46006 LDFLAGS="$LDFLAGS -lCarbonLib"
46007 fi
46008 fi
46009 if test "$wxUSE_COCOA" = 1 ; then
46010 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46011 if test "$wxUSE_MEDIACTRL" = "yes"; then
46012 LDFLAGS="$LDFLAGS -framework QuickTime"
46013 fi
46014 fi
46015 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46016 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46017 fi
46018
46019 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46020
46021 if test "$wxUSE_GUI" = "yes"; then
46022
46023
46024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46025 dynamic erase event exec font image minimal mobile \
46026 mobile/wxedit mobile/styles propsize render \
46027 rotate shaped vscroll widgets"
46028
46029 if test "$wxUSE_MONOLITHIC" != "yes"; then
46030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46031 fi
46032 if test "$TOOLKIT" = "MSW"; then
46033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46034 if test "$wxUSE_UNIVERSAL" != "yes"; then
46035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46036 fi
46037 fi
46038 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46040 fi
46041 else
46042 SAMPLES_SUBDIRS="console"
46043 fi
46044
46045
46046 if test "x$INTELCC" = "xyes" ; then
46047 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46048 elif test "$GCC" = yes ; then
46049 CWARNINGS="-Wall -Wundef"
46050 fi
46051
46052 if test "x$INTELCXX" = "xyes" ; then
46053 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46054 elif test "$GXX" = yes ; then
46055 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46056 fi
46057
46058
46059 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46060 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46061
46062
46063 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46064 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46065 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46066 $CPPFLAGS `
46067
46068 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46069 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46070 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46071
46072 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46073
46074
46075 if test "x$MWCC" = "xyes"; then
46076
46077 CC="$CC -cwd source -I-"
46078 CXX="$CXX -cwd source -I-"
46079 fi
46080
46081
46082 LIBS=`echo $LIBS`
46083 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46084 EXTRALIBS_XML="$EXPAT_LINK"
46085 EXTRALIBS_HTML="$MSPACK_LINK"
46086 EXTRALIBS_ODBC="$ODBC_LINK"
46087 if test "$wxUSE_GUI" = "yes"; then
46088 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46089 fi
46090 if test "$wxUSE_OPENGL" = "yes"; then
46091 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46092 fi
46093
46094 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46095
46096 WXCONFIG_LIBS="$LIBS"
46097
46098 if test "$wxUSE_REGEX" = "builtin" ; then
46099 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46100 fi
46101 if test "$wxUSE_EXPAT" = "builtin" ; then
46102 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46103 fi
46104 if test "$wxUSE_ODBC" = "builtin" ; then
46105 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46106 fi
46107 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46108 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46109 fi
46110 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46111 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46112 fi
46113 if test "$wxUSE_LIBPNG" = "builtin" ; then
46114 wxconfig_3rdparty="png $wxconfig_3rdparty"
46115 fi
46116 if test "$wxUSE_ZLIB" = "builtin" ; then
46117 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46118 fi
46119
46120 for i in $wxconfig_3rdparty ; do
46121 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46122 done
46123
46124
46125 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46126 WXUNIV=1
46127 else
46128 WXUNIV=0
46129 fi
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139 if test $wxUSE_MONOLITHIC = "yes" ; then
46140 MONOLITHIC=1
46141 else
46142 MONOLITHIC=0
46143 fi
46144
46145 if test $wxUSE_PLUGINS = "yes" ; then
46146 USE_PLUGINS=1
46147 else
46148 USE_PLUGINS=0
46149 fi
46150
46151 if test $wxUSE_ODBC != "no" ; then
46152 USE_ODBC=1
46153 else
46154 USE_ODBC=0
46155 fi
46156
46157 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46158 USE_QA=1
46159 else
46160 USE_QA=0
46161 fi
46162
46163 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46164 OFFICIAL_BUILD=1
46165 else
46166 OFFICIAL_BUILD=0
46167 fi
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46194
46195
46196
46197
46198
46199
46200
46201
46202 case "$TOOLKIT" in
46203 GTK)
46204 TOOLKIT_DESC="GTK+"
46205 if test "$WXGTK20" = 1; then
46206 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46207 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46208 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46209 fi
46210 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46211 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46212 fi
46213 if test "$wxUSE_LIBHILDON" = "yes"; then
46214 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46215 fi
46216
46217 if test "$TOOLKIT_EXTRA" != ""; then
46218 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46219 fi
46220 fi
46221 ;;
46222
46223 ?*)
46224 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46225 ;;
46226
46227 *)
46228 TOOLKIT_DESC="base only"
46229 ;;
46230 esac
46231
46232 if test "$wxUSE_WINE" = "yes"; then
46233 BAKEFILE_FORCE_PLATFORM=win32
46234 fi
46235
46236 if test "$wxUSE_MAC" = 1 ; then
46237 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46238 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46239 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46240 else
46241 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46242 fi
46243 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46244 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46245 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46246 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46247 bk_use_pch=no
46248 fi
46249 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46250 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46251 fi
46252
46253
46254
46255
46256 if test "x$BAKEFILE_HOST" = "x"; then
46257 if test "x${host}" = "x" ; then
46258 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46259 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46260 { (exit 1); exit 1; }; }
46261 fi
46262
46263 BAKEFILE_HOST="${host}"
46264 fi
46265
46266 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46267
46268 if test -n "$ac_tool_prefix"; then
46269 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46270 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46271 echo "$as_me:$LINENO: checking for $ac_word" >&5
46272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46273 if test "${ac_cv_prog_RANLIB+set}" = set; then
46274 echo $ECHO_N "(cached) $ECHO_C" >&6
46275 else
46276 if test -n "$RANLIB"; then
46277 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46278 else
46279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46280 for as_dir in $PATH
46281 do
46282 IFS=$as_save_IFS
46283 test -z "$as_dir" && as_dir=.
46284 for ac_exec_ext in '' $ac_executable_extensions; do
46285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46286 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46288 break 2
46289 fi
46290 done
46291 done
46292
46293 fi
46294 fi
46295 RANLIB=$ac_cv_prog_RANLIB
46296 if test -n "$RANLIB"; then
46297 echo "$as_me:$LINENO: result: $RANLIB" >&5
46298 echo "${ECHO_T}$RANLIB" >&6
46299 else
46300 echo "$as_me:$LINENO: result: no" >&5
46301 echo "${ECHO_T}no" >&6
46302 fi
46303
46304 fi
46305 if test -z "$ac_cv_prog_RANLIB"; then
46306 ac_ct_RANLIB=$RANLIB
46307 # Extract the first word of "ranlib", so it can be a program name with args.
46308 set dummy ranlib; ac_word=$2
46309 echo "$as_me:$LINENO: checking for $ac_word" >&5
46310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46311 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46312 echo $ECHO_N "(cached) $ECHO_C" >&6
46313 else
46314 if test -n "$ac_ct_RANLIB"; then
46315 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46316 else
46317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46318 for as_dir in $PATH
46319 do
46320 IFS=$as_save_IFS
46321 test -z "$as_dir" && as_dir=.
46322 for ac_exec_ext in '' $ac_executable_extensions; do
46323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46324 ac_cv_prog_ac_ct_RANLIB="ranlib"
46325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46326 break 2
46327 fi
46328 done
46329 done
46330
46331 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46332 fi
46333 fi
46334 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46335 if test -n "$ac_ct_RANLIB"; then
46336 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46337 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46338 else
46339 echo "$as_me:$LINENO: result: no" >&5
46340 echo "${ECHO_T}no" >&6
46341 fi
46342
46343 RANLIB=$ac_ct_RANLIB
46344 else
46345 RANLIB="$ac_cv_prog_RANLIB"
46346 fi
46347
46348 # Find a good install program. We prefer a C program (faster),
46349 # so one script is as good as another. But avoid the broken or
46350 # incompatible versions:
46351 # SysV /etc/install, /usr/sbin/install
46352 # SunOS /usr/etc/install
46353 # IRIX /sbin/install
46354 # AIX /bin/install
46355 # AmigaOS /C/install, which installs bootblocks on floppy discs
46356 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46357 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46358 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46359 # OS/2's system install, which has a completely different semantic
46360 # ./install, which can be erroneously created by make from ./install.sh.
46361 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46362 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46363 if test -z "$INSTALL"; then
46364 if test "${ac_cv_path_install+set}" = set; then
46365 echo $ECHO_N "(cached) $ECHO_C" >&6
46366 else
46367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46368 for as_dir in $PATH
46369 do
46370 IFS=$as_save_IFS
46371 test -z "$as_dir" && as_dir=.
46372 # Account for people who put trailing slashes in PATH elements.
46373 case $as_dir/ in
46374 ./ | .// | /cC/* | \
46375 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46376 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46377 /usr/ucb/* ) ;;
46378 *)
46379 # OSF1 and SCO ODT 3.0 have their own names for install.
46380 # Don't use installbsd from OSF since it installs stuff as root
46381 # by default.
46382 for ac_prog in ginstall scoinst install; do
46383 for ac_exec_ext in '' $ac_executable_extensions; do
46384 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46385 if test $ac_prog = install &&
46386 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46387 # AIX install. It has an incompatible calling convention.
46388 :
46389 elif test $ac_prog = install &&
46390 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46391 # program-specific install script used by HP pwplus--don't use.
46392 :
46393 else
46394 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46395 break 3
46396 fi
46397 fi
46398 done
46399 done
46400 ;;
46401 esac
46402 done
46403
46404
46405 fi
46406 if test "${ac_cv_path_install+set}" = set; then
46407 INSTALL=$ac_cv_path_install
46408 else
46409 # As a last resort, use the slow shell script. We don't cache a
46410 # path for INSTALL within a source directory, because that will
46411 # break other packages using the cache if that directory is
46412 # removed, or if the path is relative.
46413 INSTALL=$ac_install_sh
46414 fi
46415 fi
46416 echo "$as_me:$LINENO: result: $INSTALL" >&5
46417 echo "${ECHO_T}$INSTALL" >&6
46418
46419 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46420 # It thinks the first close brace ends the variable substitution.
46421 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46422
46423 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46424
46425 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46426
46427 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46429 LN_S=$as_ln_s
46430 if test "$LN_S" = "ln -s"; then
46431 echo "$as_me:$LINENO: result: yes" >&5
46432 echo "${ECHO_T}yes" >&6
46433 else
46434 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46435 echo "${ECHO_T}no, using $LN_S" >&6
46436 fi
46437
46438
46439 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46440 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46441 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46442 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46443 echo $ECHO_N "(cached) $ECHO_C" >&6
46444 else
46445 cat >conftest.make <<\_ACEOF
46446 all:
46447 @echo 'ac_maketemp="$(MAKE)"'
46448 _ACEOF
46449 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46450 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46451 if test -n "$ac_maketemp"; then
46452 eval ac_cv_prog_make_${ac_make}_set=yes
46453 else
46454 eval ac_cv_prog_make_${ac_make}_set=no
46455 fi
46456 rm -f conftest.make
46457 fi
46458 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46459 echo "$as_me:$LINENO: result: yes" >&5
46460 echo "${ECHO_T}yes" >&6
46461 SET_MAKE=
46462 else
46463 echo "$as_me:$LINENO: result: no" >&5
46464 echo "${ECHO_T}no" >&6
46465 SET_MAKE="MAKE=${MAKE-make}"
46466 fi
46467
46468
46469
46470 if test -n "$ac_tool_prefix"; then
46471 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46472 set dummy ${ac_tool_prefix}ar; ac_word=$2
46473 echo "$as_me:$LINENO: checking for $ac_word" >&5
46474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46475 if test "${ac_cv_prog_AR+set}" = set; then
46476 echo $ECHO_N "(cached) $ECHO_C" >&6
46477 else
46478 if test -n "$AR"; then
46479 ac_cv_prog_AR="$AR" # Let the user override the test.
46480 else
46481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46482 for as_dir in $PATH
46483 do
46484 IFS=$as_save_IFS
46485 test -z "$as_dir" && as_dir=.
46486 for ac_exec_ext in '' $ac_executable_extensions; do
46487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46488 ac_cv_prog_AR="${ac_tool_prefix}ar"
46489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46490 break 2
46491 fi
46492 done
46493 done
46494
46495 fi
46496 fi
46497 AR=$ac_cv_prog_AR
46498 if test -n "$AR"; then
46499 echo "$as_me:$LINENO: result: $AR" >&5
46500 echo "${ECHO_T}$AR" >&6
46501 else
46502 echo "$as_me:$LINENO: result: no" >&5
46503 echo "${ECHO_T}no" >&6
46504 fi
46505
46506 fi
46507 if test -z "$ac_cv_prog_AR"; then
46508 ac_ct_AR=$AR
46509 # Extract the first word of "ar", so it can be a program name with args.
46510 set dummy ar; ac_word=$2
46511 echo "$as_me:$LINENO: checking for $ac_word" >&5
46512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46513 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46514 echo $ECHO_N "(cached) $ECHO_C" >&6
46515 else
46516 if test -n "$ac_ct_AR"; then
46517 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46518 else
46519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46520 for as_dir in $PATH
46521 do
46522 IFS=$as_save_IFS
46523 test -z "$as_dir" && as_dir=.
46524 for ac_exec_ext in '' $ac_executable_extensions; do
46525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46526 ac_cv_prog_ac_ct_AR="ar"
46527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46528 break 2
46529 fi
46530 done
46531 done
46532
46533 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46534 fi
46535 fi
46536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46537 if test -n "$ac_ct_AR"; then
46538 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46539 echo "${ECHO_T}$ac_ct_AR" >&6
46540 else
46541 echo "$as_me:$LINENO: result: no" >&5
46542 echo "${ECHO_T}no" >&6
46543 fi
46544
46545 AR=$ac_ct_AR
46546 else
46547 AR="$ac_cv_prog_AR"
46548 fi
46549
46550 if test -n "$ac_tool_prefix"; then
46551 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46552 set dummy ${ac_tool_prefix}strip; ac_word=$2
46553 echo "$as_me:$LINENO: checking for $ac_word" >&5
46554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46555 if test "${ac_cv_prog_STRIP+set}" = set; then
46556 echo $ECHO_N "(cached) $ECHO_C" >&6
46557 else
46558 if test -n "$STRIP"; then
46559 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46560 else
46561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46562 for as_dir in $PATH
46563 do
46564 IFS=$as_save_IFS
46565 test -z "$as_dir" && as_dir=.
46566 for ac_exec_ext in '' $ac_executable_extensions; do
46567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46568 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46570 break 2
46571 fi
46572 done
46573 done
46574
46575 fi
46576 fi
46577 STRIP=$ac_cv_prog_STRIP
46578 if test -n "$STRIP"; then
46579 echo "$as_me:$LINENO: result: $STRIP" >&5
46580 echo "${ECHO_T}$STRIP" >&6
46581 else
46582 echo "$as_me:$LINENO: result: no" >&5
46583 echo "${ECHO_T}no" >&6
46584 fi
46585
46586 fi
46587 if test -z "$ac_cv_prog_STRIP"; then
46588 ac_ct_STRIP=$STRIP
46589 # Extract the first word of "strip", so it can be a program name with args.
46590 set dummy strip; ac_word=$2
46591 echo "$as_me:$LINENO: checking for $ac_word" >&5
46592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46593 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46594 echo $ECHO_N "(cached) $ECHO_C" >&6
46595 else
46596 if test -n "$ac_ct_STRIP"; then
46597 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46598 else
46599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46600 for as_dir in $PATH
46601 do
46602 IFS=$as_save_IFS
46603 test -z "$as_dir" && as_dir=.
46604 for ac_exec_ext in '' $ac_executable_extensions; do
46605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46606 ac_cv_prog_ac_ct_STRIP="strip"
46607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46608 break 2
46609 fi
46610 done
46611 done
46612
46613 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46614 fi
46615 fi
46616 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46617 if test -n "$ac_ct_STRIP"; then
46618 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46619 echo "${ECHO_T}$ac_ct_STRIP" >&6
46620 else
46621 echo "$as_me:$LINENO: result: no" >&5
46622 echo "${ECHO_T}no" >&6
46623 fi
46624
46625 STRIP=$ac_ct_STRIP
46626 else
46627 STRIP="$ac_cv_prog_STRIP"
46628 fi
46629
46630 if test -n "$ac_tool_prefix"; then
46631 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46632 set dummy ${ac_tool_prefix}nm; ac_word=$2
46633 echo "$as_me:$LINENO: checking for $ac_word" >&5
46634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46635 if test "${ac_cv_prog_NM+set}" = set; then
46636 echo $ECHO_N "(cached) $ECHO_C" >&6
46637 else
46638 if test -n "$NM"; then
46639 ac_cv_prog_NM="$NM" # Let the user override the test.
46640 else
46641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46642 for as_dir in $PATH
46643 do
46644 IFS=$as_save_IFS
46645 test -z "$as_dir" && as_dir=.
46646 for ac_exec_ext in '' $ac_executable_extensions; do
46647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46648 ac_cv_prog_NM="${ac_tool_prefix}nm"
46649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46650 break 2
46651 fi
46652 done
46653 done
46654
46655 fi
46656 fi
46657 NM=$ac_cv_prog_NM
46658 if test -n "$NM"; then
46659 echo "$as_me:$LINENO: result: $NM" >&5
46660 echo "${ECHO_T}$NM" >&6
46661 else
46662 echo "$as_me:$LINENO: result: no" >&5
46663 echo "${ECHO_T}no" >&6
46664 fi
46665
46666 fi
46667 if test -z "$ac_cv_prog_NM"; then
46668 ac_ct_NM=$NM
46669 # Extract the first word of "nm", so it can be a program name with args.
46670 set dummy nm; ac_word=$2
46671 echo "$as_me:$LINENO: checking for $ac_word" >&5
46672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46673 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46674 echo $ECHO_N "(cached) $ECHO_C" >&6
46675 else
46676 if test -n "$ac_ct_NM"; then
46677 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46678 else
46679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46680 for as_dir in $PATH
46681 do
46682 IFS=$as_save_IFS
46683 test -z "$as_dir" && as_dir=.
46684 for ac_exec_ext in '' $ac_executable_extensions; do
46685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46686 ac_cv_prog_ac_ct_NM="nm"
46687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46688 break 2
46689 fi
46690 done
46691 done
46692
46693 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46694 fi
46695 fi
46696 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46697 if test -n "$ac_ct_NM"; then
46698 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46699 echo "${ECHO_T}$ac_ct_NM" >&6
46700 else
46701 echo "$as_me:$LINENO: result: no" >&5
46702 echo "${ECHO_T}no" >&6
46703 fi
46704
46705 NM=$ac_ct_NM
46706 else
46707 NM="$ac_cv_prog_NM"
46708 fi
46709
46710
46711 case ${BAKEFILE_HOST} in
46712 *-hp-hpux* )
46713 INSTALL_DIR="mkdir -p"
46714 ;;
46715 *) INSTALL_DIR="$INSTALL -d"
46716 ;;
46717 esac
46718
46719
46720 LDFLAGS_GUI=
46721 case ${BAKEFILE_HOST} in
46722 *-*-cygwin* | *-*-mingw32* )
46723 LDFLAGS_GUI="-mwindows"
46724 esac
46725
46726
46727 fi
46728
46729 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46730 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46731 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46732 echo $ECHO_N "(cached) $ECHO_C" >&6
46733 else
46734
46735 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46736 egrep -s GNU > /dev/null); then
46737 bakefile_cv_prog_makeisgnu="yes"
46738 else
46739 bakefile_cv_prog_makeisgnu="no"
46740 fi
46741
46742 fi
46743 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46744 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46745
46746 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46747 IF_GNU_MAKE=""
46748 else
46749 IF_GNU_MAKE="#"
46750 fi
46751
46752
46753
46754 PLATFORM_UNIX=0
46755 PLATFORM_WIN32=0
46756 PLATFORM_MSDOS=0
46757 PLATFORM_MAC=0
46758 PLATFORM_MACOS=0
46759 PLATFORM_MACOSX=0
46760 PLATFORM_OS2=0
46761 PLATFORM_BEOS=0
46762
46763 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46764 case "${BAKEFILE_HOST}" in
46765 *-*-mingw32* )
46766 PLATFORM_WIN32=1
46767 ;;
46768 *-pc-msdosdjgpp )
46769 PLATFORM_MSDOS=1
46770 ;;
46771 *-pc-os2_emx | *-pc-os2-emx )
46772 PLATFORM_OS2=1
46773 ;;
46774 *-*-darwin* )
46775 PLATFORM_MAC=1
46776 PLATFORM_MACOSX=1
46777 ;;
46778 *-*-beos* )
46779 PLATFORM_BEOS=1
46780 ;;
46781 powerpc-apple-macos* )
46782 PLATFORM_MAC=1
46783 PLATFORM_MACOS=1
46784 ;;
46785 * )
46786 PLATFORM_UNIX=1
46787 ;;
46788 esac
46789 else
46790 case "$BAKEFILE_FORCE_PLATFORM" in
46791 win32 )
46792 PLATFORM_WIN32=1
46793 ;;
46794 msdos )
46795 PLATFORM_MSDOS=1
46796 ;;
46797 os2 )
46798 PLATFORM_OS2=1
46799 ;;
46800 darwin )
46801 PLATFORM_MAC=1
46802 PLATFORM_MACOSX=1
46803 ;;
46804 unix )
46805 PLATFORM_UNIX=1
46806 ;;
46807 beos )
46808 PLATFORM_BEOS=1
46809 ;;
46810 * )
46811 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46812 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46813 { (exit 1); exit 1; }; }
46814 ;;
46815 esac
46816 fi
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828 # Check whether --enable-omf or --disable-omf was given.
46829 if test "${enable_omf+set}" = set; then
46830 enableval="$enable_omf"
46831 bk_os2_use_omf="$enableval"
46832 fi;
46833
46834 case "${BAKEFILE_HOST}" in
46835 *-*-darwin* )
46836 if test "x$GCC" = "xyes"; then
46837 CFLAGS="$CFLAGS -fno-common"
46838 CXXFLAGS="$CXXFLAGS -fno-common"
46839 fi
46840 if test "x$XLCC" = "xyes"; then
46841 CFLAGS="$CFLAGS -qnocommon"
46842 CXXFLAGS="$CXXFLAGS -qnocommon"
46843 fi
46844 ;;
46845
46846 *-pc-os2_emx | *-pc-os2-emx )
46847 if test "x$bk_os2_use_omf" = "xyes" ; then
46848 AR=emxomfar
46849 RANLIB=:
46850 LDFLAGS="-Zomf $LDFLAGS"
46851 CFLAGS="-Zomf $CFLAGS"
46852 CXXFLAGS="-Zomf $CXXFLAGS"
46853 OS2_LIBEXT="lib"
46854 else
46855 OS2_LIBEXT="a"
46856 fi
46857 ;;
46858
46859 i*86-*-beos* )
46860 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46861 ;;
46862 esac
46863
46864
46865 SO_SUFFIX="so"
46866 SO_SUFFIX_MODULE="so"
46867 EXEEXT=""
46868 LIBPREFIX="lib"
46869 LIBEXT=".a"
46870 DLLPREFIX="lib"
46871 DLLPREFIX_MODULE=""
46872 DLLIMP_SUFFIX=""
46873 dlldir="$libdir"
46874
46875 case "${BAKEFILE_HOST}" in
46876 *-hp-hpux* )
46877 SO_SUFFIX="sl"
46878 SO_SUFFIX_MODULE="sl"
46879 ;;
46880 *-*-aix* )
46881 SO_SUFFIX="a"
46882 SO_SUFFIX_MODULE="a"
46883 ;;
46884 *-*-cygwin* )
46885 SO_SUFFIX="dll"
46886 SO_SUFFIX_MODULE="dll"
46887 DLLIMP_SUFFIX="dll.a"
46888 EXEEXT=".exe"
46889 DLLPREFIX="cyg"
46890 dlldir="$bindir"
46891 ;;
46892 *-*-mingw32* )
46893 SO_SUFFIX="dll"
46894 SO_SUFFIX_MODULE="dll"
46895 DLLIMP_SUFFIX="dll.a"
46896 EXEEXT=".exe"
46897 DLLPREFIX=""
46898 dlldir="$bindir"
46899 ;;
46900 *-pc-msdosdjgpp )
46901 EXEEXT=".exe"
46902 DLLPREFIX=""
46903 dlldir="$bindir"
46904 ;;
46905 *-pc-os2_emx | *-pc-os2-emx )
46906 SO_SUFFIX="dll"
46907 SO_SUFFIX_MODULE="dll"
46908 DLLIMP_SUFFIX=$OS2_LIBEXT
46909 EXEEXT=".exe"
46910 DLLPREFIX=""
46911 LIBPREFIX=""
46912 LIBEXT=".$OS2_LIBEXT"
46913 dlldir="$bindir"
46914 ;;
46915 *-*-darwin* )
46916 SO_SUFFIX="dylib"
46917 SO_SUFFIX_MODULE="bundle"
46918 ;;
46919 esac
46920
46921 if test "x$DLLIMP_SUFFIX" = "x" ; then
46922 DLLIMP_SUFFIX="$SO_SUFFIX"
46923 fi
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936 PIC_FLAG=""
46937 if test "x$GCC" = "xyes"; then
46938 PIC_FLAG="-fPIC"
46939 fi
46940
46941 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46942 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46943 WINDOWS_IMPLIB=0
46944
46945 case "${BAKEFILE_HOST}" in
46946 *-hp-hpux* )
46947 if test "x$GCC" != "xyes"; then
46948 LDFLAGS="$LDFLAGS -L/usr/lib"
46949
46950 SHARED_LD_CC="${CC} -b -o"
46951 SHARED_LD_CXX="${CXX} -b -o"
46952 PIC_FLAG="+Z"
46953 fi
46954 ;;
46955
46956 *-*-linux* )
46957 if test "x$GCC" != "xyes"; then
46958 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46959 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46960 if test "${bakefile_cv_prog_icc+set}" = set; then
46961 echo $ECHO_N "(cached) $ECHO_C" >&6
46962 else
46963
46964 cat >conftest.$ac_ext <<_ACEOF
46965 /* confdefs.h. */
46966 _ACEOF
46967 cat confdefs.h >>conftest.$ac_ext
46968 cat >>conftest.$ac_ext <<_ACEOF
46969 /* end confdefs.h. */
46970
46971 int
46972 main ()
46973 {
46974
46975 #ifndef __INTEL_COMPILER
46976 This is not ICC
46977 #endif
46978
46979 ;
46980 return 0;
46981 }
46982 _ACEOF
46983 rm -f conftest.$ac_objext
46984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46985 (eval $ac_compile) 2>conftest.er1
46986 ac_status=$?
46987 grep -v '^ *+' conftest.er1 >conftest.err
46988 rm -f conftest.er1
46989 cat conftest.err >&5
46990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46991 (exit $ac_status); } &&
46992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46994 (eval $ac_try) 2>&5
46995 ac_status=$?
46996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46997 (exit $ac_status); }; } &&
46998 { ac_try='test -s conftest.$ac_objext'
46999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47000 (eval $ac_try) 2>&5
47001 ac_status=$?
47002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47003 (exit $ac_status); }; }; then
47004 bakefile_cv_prog_icc=yes
47005 else
47006 echo "$as_me: failed program was:" >&5
47007 sed 's/^/| /' conftest.$ac_ext >&5
47008
47009 bakefile_cv_prog_icc=no
47010
47011 fi
47012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47013
47014 fi
47015 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47016 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47017 if test "$bakefile_cv_prog_icc" = "yes"; then
47018 PIC_FLAG="-KPIC"
47019 fi
47020 fi
47021 ;;
47022
47023 *-*-solaris2* )
47024 if test "x$GCC" != xyes ; then
47025 SHARED_LD_CC="${CC} -G -o"
47026 SHARED_LD_CXX="${CXX} -G -o"
47027 PIC_FLAG="-KPIC"
47028 fi
47029 ;;
47030
47031 *-*-darwin* )
47032
47033 D='$'
47034 cat <<EOF >shared-ld-sh
47035 #!/bin/sh
47036 #-----------------------------------------------------------------------------
47037 #-- Name: distrib/mac/shared-ld-sh
47038 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47039 #-- Author: Gilles Depeyrot
47040 #-- Copyright: (c) 2002 Gilles Depeyrot
47041 #-- Licence: any use permitted
47042 #-----------------------------------------------------------------------------
47043
47044 verbose=0
47045 args=""
47046 objects=""
47047 linking_flag="-dynamiclib"
47048 ldargs="-r -keep_private_externs -nostdlib"
47049
47050 while test ${D}# -gt 0; do
47051 case ${D}1 in
47052
47053 -v)
47054 verbose=1
47055 ;;
47056
47057 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47058 # collect these options and values
47059 args="${D}{args} ${D}1 ${D}2"
47060 shift
47061 ;;
47062
47063 -s|-Wl,*)
47064 # collect these load args
47065 ldargs="${D}{ldargs} ${D}1"
47066 ;;
47067
47068 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47069 # collect these options
47070 args="${D}{args} ${D}1"
47071 ;;
47072
47073 -dynamiclib|-bundle)
47074 linking_flag="${D}1"
47075 ;;
47076
47077 -*)
47078 echo "shared-ld: unhandled option '${D}1'"
47079 exit 1
47080 ;;
47081
47082 *.o | *.a | *.dylib)
47083 # collect object files
47084 objects="${D}{objects} ${D}1"
47085 ;;
47086
47087 *)
47088 echo "shared-ld: unhandled argument '${D}1'"
47089 exit 1
47090 ;;
47091
47092 esac
47093 shift
47094 done
47095
47096 status=0
47097
47098 #
47099 # Link one module containing all the others
47100 #
47101 if test ${D}{verbose} = 1; then
47102 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47103 fi
47104 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47105 status=${D}?
47106
47107 #
47108 # Link the shared library from the single module created, but only if the
47109 # previous command didn't fail:
47110 #
47111 if test ${D}{status} = 0; then
47112 if test ${D}{verbose} = 1; then
47113 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47114 fi
47115 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47116 status=${D}?
47117 fi
47118
47119 #
47120 # Remove intermediate module
47121 #
47122 rm -f master.${D}${D}.o
47123
47124 exit ${D}status
47125 EOF
47126
47127 chmod +x shared-ld-sh
47128
47129 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47130 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47131
47132
47133 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47134 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47135 if test "${bakefile_cv_gcc31+set}" = set; then
47136 echo $ECHO_N "(cached) $ECHO_C" >&6
47137 else
47138
47139 cat >conftest.$ac_ext <<_ACEOF
47140 /* confdefs.h. */
47141 _ACEOF
47142 cat confdefs.h >>conftest.$ac_ext
47143 cat >>conftest.$ac_ext <<_ACEOF
47144 /* end confdefs.h. */
47145
47146 int
47147 main ()
47148 {
47149
47150 #if (__GNUC__ < 3) || \
47151 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47152 This is old gcc
47153 #endif
47154
47155 ;
47156 return 0;
47157 }
47158 _ACEOF
47159 rm -f conftest.$ac_objext
47160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47161 (eval $ac_compile) 2>conftest.er1
47162 ac_status=$?
47163 grep -v '^ *+' conftest.er1 >conftest.err
47164 rm -f conftest.er1
47165 cat conftest.err >&5
47166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47167 (exit $ac_status); } &&
47168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47170 (eval $ac_try) 2>&5
47171 ac_status=$?
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); }; } &&
47174 { ac_try='test -s conftest.$ac_objext'
47175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47176 (eval $ac_try) 2>&5
47177 ac_status=$?
47178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47179 (exit $ac_status); }; }; then
47180
47181 bakefile_cv_gcc31=yes
47182
47183 else
47184 echo "$as_me: failed program was:" >&5
47185 sed 's/^/| /' conftest.$ac_ext >&5
47186
47187
47188 bakefile_cv_gcc31=no
47189
47190
47191 fi
47192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47193
47194 fi
47195 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47196 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47197 if test "$bakefile_cv_gcc31" = "no"; then
47198 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47199 SHARED_LD_CXX="$SHARED_LD_CC"
47200 else
47201 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47202 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47203 fi
47204
47205 if test "x$GCC" == "xyes"; then
47206 PIC_FLAG="-dynamic -fPIC"
47207 fi
47208 if test "x$XLCC" = "xyes"; then
47209 PIC_FLAG="-dynamic -DPIC"
47210 fi
47211 ;;
47212
47213 *-*-aix* )
47214 if test "x$GCC" = "xyes"; then
47215 PIC_FLAG=""
47216
47217 case "${BAKEFILE_HOST}" in
47218 *-*-aix5* )
47219 LD_EXPFULL="-Wl,-bexpfull"
47220 ;;
47221 esac
47222
47223 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47224 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47225 else
47226 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47227 set dummy makeC++SharedLib; ac_word=$2
47228 echo "$as_me:$LINENO: checking for $ac_word" >&5
47229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47230 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47231 echo $ECHO_N "(cached) $ECHO_C" >&6
47232 else
47233 if test -n "$AIX_CXX_LD"; then
47234 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47235 else
47236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47237 for as_dir in $PATH
47238 do
47239 IFS=$as_save_IFS
47240 test -z "$as_dir" && as_dir=.
47241 for ac_exec_ext in '' $ac_executable_extensions; do
47242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47243 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47245 break 2
47246 fi
47247 done
47248 done
47249
47250 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47251 fi
47252 fi
47253 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47254 if test -n "$AIX_CXX_LD"; then
47255 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47256 echo "${ECHO_T}$AIX_CXX_LD" >&6
47257 else
47258 echo "$as_me:$LINENO: result: no" >&5
47259 echo "${ECHO_T}no" >&6
47260 fi
47261
47262 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47263 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47264 fi
47265 ;;
47266
47267 *-*-beos* )
47268 SHARED_LD_CC="${LD} -nostart -o"
47269 SHARED_LD_CXX="${LD} -nostart -o"
47270 ;;
47271
47272 *-*-irix* )
47273 if test "x$GCC" != "xyes"; then
47274 PIC_FLAG="-KPIC"
47275 fi
47276 ;;
47277
47278 *-*-cygwin* | *-*-mingw32* )
47279 PIC_FLAG=""
47280 SHARED_LD_CC="\$(CC) -shared -o"
47281 SHARED_LD_CXX="\$(CXX) -shared -o"
47282 WINDOWS_IMPLIB=1
47283 ;;
47284
47285 *-pc-os2_emx | *-pc-os2-emx )
47286 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47287 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47288 PIC_FLAG=""
47289
47290 D='$'
47291 cat <<EOF >dllar.sh
47292 #!/bin/sh
47293 #
47294 # dllar - a tool to build both a .dll and an .a file
47295 # from a set of object (.o) files for EMX/OS2.
47296 #
47297 # Written by Andrew Zabolotny, bit@freya.etu.ru
47298 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47299 #
47300 # This script will accept a set of files on the command line.
47301 # All the public symbols from the .o files will be exported into
47302 # a .DEF file, then linker will be run (through gcc) against them to
47303 # build a shared library consisting of all given .o files. All libraries
47304 # (.a) will be first decompressed into component .o files then act as
47305 # described above. You can optionally give a description (-d "description")
47306 # which will be put into .DLL. To see the list of accepted options (as well
47307 # as command-line format) simply run this program without options. The .DLL
47308 # is built to be imported by name (there is no guarantee that new versions
47309 # of the library you build will have same ordinals for same symbols).
47310 #
47311 # dllar is free software; you can redistribute it and/or modify
47312 # it under the terms of the GNU General Public License as published by
47313 # the Free Software Foundation; either version 2, or (at your option)
47314 # any later version.
47315 #
47316 # dllar is distributed in the hope that it will be useful,
47317 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47318 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47319 # GNU General Public License for more details.
47320 #
47321 # You should have received a copy of the GNU General Public License
47322 # along with dllar; see the file COPYING. If not, write to the Free
47323 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47324 # 02111-1307, USA.
47325
47326 # To successfuly run this program you will need:
47327 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47328 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47329 # - gcc
47330 # (used to build the .dll)
47331 # - emxexp
47332 # (used to create .def file from .o files)
47333 # - emximp
47334 # (used to create .a file from .def file)
47335 # - GNU text utilites (cat, sort, uniq)
47336 # used to process emxexp output
47337 # - GNU file utilities (mv, rm)
47338 # - GNU sed
47339 # - lxlite (optional, see flag below)
47340 # (used for general .dll cleanup)
47341 #
47342
47343 flag_USE_LXLITE=1;
47344
47345 #
47346 # helper functions
47347 # basnam, variant of basename, which does _not_ remove the path, _iff_
47348 # second argument (suffix to remove) is given
47349 basnam(){
47350 case ${D}# in
47351 1)
47352 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47353 ;;
47354 2)
47355 echo ${D}1 | sed 's/'${D}2'${D}//'
47356 ;;
47357 *)
47358 echo "error in basnam ${D}*"
47359 exit 8
47360 ;;
47361 esac
47362 }
47363
47364 # Cleanup temporary files and output
47365 CleanUp() {
47366 cd ${D}curDir
47367 for i in ${D}inputFiles ; do
47368 case ${D}i in
47369 *!)
47370 rm -rf \`basnam ${D}i !\`
47371 ;;
47372 *)
47373 ;;
47374 esac
47375 done
47376
47377 # Kill result in case of failure as there is just to many stupid make/nmake
47378 # things out there which doesn't do this.
47379 if [ ${D}# -eq 0 ]; then
47380 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47381 fi
47382 }
47383
47384 # Print usage and exit script with rc=1.
47385 PrintHelp() {
47386 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47387 echo ' [-name-mangler-script script.sh]'
47388 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47389 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47390 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47391 echo ' [*.o] [*.a]'
47392 echo '*> "output_file" should have no extension.'
47393 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47394 echo ' The import library name is derived from this and is set to "name".a,'
47395 echo ' unless overridden by -import'
47396 echo '*> "importlib_name" should have no extension.'
47397 echo ' If it has the .o, or .a extension, it is automatically removed.'
47398 echo ' This name is used as the import library name and may be longer and'
47399 echo ' more descriptive than the DLL name which has to follow the old '
47400 echo ' 8.3 convention of FAT.'
47401 echo '*> "script.sh may be given to override the output_file name by a'
47402 echo ' different name. It is mainly useful if the regular make process'
47403 echo ' of some package does not take into account OS/2 restriction of'
47404 echo ' DLL name lengths. It takes the importlib name as input and is'
47405 echo ' supposed to procude a shorter name as output. The script should'
47406 echo ' expect to get importlib_name without extension and should produce'
47407 echo ' a (max.) 8 letter name without extension.'
47408 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47409 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47410 echo ' These flags will be put at the start of GCC command line.'
47411 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47412 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47413 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47414 echo ' If the last character of a symbol is "*", all symbols beginning'
47415 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47416 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47417 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47418 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47419 echo ' C runtime DLLs.'
47420 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47421 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47422 echo ' unchanged to GCC at the end of command line.'
47423 echo '*> If you create a DLL from a library and you do not specify -o,'
47424 echo ' the basename for DLL and import library will be set to library name,'
47425 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47426 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47427 echo ' library will be renamed into gcc_s.a.'
47428 echo '--------'
47429 echo 'Example:'
47430 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47431 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47432 CleanUp
47433 exit 1
47434 }
47435
47436 # Execute a command.
47437 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47438 # @Uses Whatever CleanUp() uses.
47439 doCommand() {
47440 echo "${D}*"
47441 eval ${D}*
47442 rcCmd=${D}?
47443
47444 if [ ${D}rcCmd -ne 0 ]; then
47445 echo "command failed, exit code="${D}rcCmd
47446 CleanUp
47447 exit ${D}rcCmd
47448 fi
47449 }
47450
47451 # main routine
47452 # setup globals
47453 cmdLine=${D}*
47454 outFile=""
47455 outimpFile=""
47456 inputFiles=""
47457 renameScript=""
47458 description=""
47459 CC=gcc.exe
47460 CFLAGS="-s -Zcrtdll"
47461 EXTRA_CFLAGS=""
47462 EXPORT_BY_ORDINALS=0
47463 exclude_symbols=""
47464 library_flags=""
47465 curDir=\`pwd\`
47466 curDirS=curDir
47467 case ${D}curDirS in
47468 */)
47469 ;;
47470 *)
47471 curDirS=${D}{curDirS}"/"
47472 ;;
47473 esac
47474 # Parse commandline
47475 libsToLink=0
47476 omfLinking=0
47477 while [ ${D}1 ]; do
47478 case ${D}1 in
47479 -ord*)
47480 EXPORT_BY_ORDINALS=1;
47481 ;;
47482 -o*)
47483 shift
47484 outFile=${D}1
47485 ;;
47486 -i*)
47487 shift
47488 outimpFile=${D}1
47489 ;;
47490 -name-mangler-script)
47491 shift
47492 renameScript=${D}1
47493 ;;
47494 -d*)
47495 shift
47496 description=${D}1
47497 ;;
47498 -f*)
47499 shift
47500 CFLAGS=${D}1
47501 ;;
47502 -c*)
47503 shift
47504 CC=${D}1
47505 ;;
47506 -h*)
47507 PrintHelp
47508 ;;
47509 -ex*)
47510 shift
47511 exclude_symbols=${D}{exclude_symbols}${D}1" "
47512 ;;
47513 -libf*)
47514 shift
47515 library_flags=${D}{library_flags}${D}1" "
47516 ;;
47517 -nocrt*)
47518 CFLAGS="-s"
47519 ;;
47520 -nolxl*)
47521 flag_USE_LXLITE=0
47522 ;;
47523 -* | /*)
47524 case ${D}1 in
47525 -L* | -l*)
47526 libsToLink=1
47527 ;;
47528 -Zomf)
47529 omfLinking=1
47530 ;;
47531 *)
47532 ;;
47533 esac
47534 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47535 ;;
47536 *.dll)
47537 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47538 if [ ${D}omfLinking -eq 1 ]; then
47539 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47540 else
47541 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47542 fi
47543 ;;
47544 *)
47545 found=0;
47546 if [ ${D}libsToLink -ne 0 ]; then
47547 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47548 else
47549 for file in ${D}1 ; do
47550 if [ -f ${D}file ]; then
47551 inputFiles="${D}{inputFiles} ${D}file"
47552 found=1
47553 fi
47554 done
47555 if [ ${D}found -eq 0 ]; then
47556 echo "ERROR: No file(s) found: "${D}1
47557 exit 8
47558 fi
47559 fi
47560 ;;
47561 esac
47562 shift
47563 done # iterate cmdline words
47564
47565 #
47566 if [ -z "${D}inputFiles" ]; then
47567 echo "dllar: no input files"
47568 PrintHelp
47569 fi
47570
47571 # Now extract all .o files from .a files
47572 newInputFiles=""
47573 for file in ${D}inputFiles ; do
47574 case ${D}file in
47575 *.a | *.lib)
47576 case ${D}file in
47577 *.a)
47578 suffix=".a"
47579 AR="ar"
47580 ;;
47581 *.lib)
47582 suffix=".lib"
47583 AR="emxomfar"
47584 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47585 ;;
47586 *)
47587 ;;
47588 esac
47589 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47590 mkdir ${D}dirname
47591 if [ ${D}? -ne 0 ]; then
47592 echo "Failed to create subdirectory ./${D}dirname"
47593 CleanUp
47594 exit 8;
47595 fi
47596 # Append '!' to indicate archive
47597 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47598 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47599 cd ${D}curDir
47600 found=0;
47601 for subfile in ${D}dirname/*.o* ; do
47602 if [ -f ${D}subfile ]; then
47603 found=1
47604 if [ -s ${D}subfile ]; then
47605 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47606 newInputFiles="${D}newInputFiles ${D}subfile"
47607 fi
47608 fi
47609 done
47610 if [ ${D}found -eq 0 ]; then
47611 echo "WARNING: there are no files in archive \\'${D}file\\'"
47612 fi
47613 ;;
47614 *)
47615 newInputFiles="${D}{newInputFiles} ${D}file"
47616 ;;
47617 esac
47618 done
47619 inputFiles="${D}newInputFiles"
47620
47621 # Output filename(s).
47622 do_backup=0;
47623 if [ -z ${D}outFile ]; then
47624 do_backup=1;
47625 set outFile ${D}inputFiles; outFile=${D}2
47626 fi
47627
47628 # If it is an archive, remove the '!' and the '_%' suffixes
47629 case ${D}outFile in
47630 *_%!)
47631 outFile=\`basnam ${D}outFile _%!\`
47632 ;;
47633 *)
47634 ;;
47635 esac
47636 case ${D}outFile in
47637 *.dll)
47638 outFile=\`basnam ${D}outFile .dll\`
47639 ;;
47640 *.DLL)
47641 outFile=\`basnam ${D}outFile .DLL\`
47642 ;;
47643 *.o)
47644 outFile=\`basnam ${D}outFile .o\`
47645 ;;
47646 *.obj)
47647 outFile=\`basnam ${D}outFile .obj\`
47648 ;;
47649 *.a)
47650 outFile=\`basnam ${D}outFile .a\`
47651 ;;
47652 *.lib)
47653 outFile=\`basnam ${D}outFile .lib\`
47654 ;;
47655 *)
47656 ;;
47657 esac
47658 case ${D}outimpFile in
47659 *.a)
47660 outimpFile=\`basnam ${D}outimpFile .a\`
47661 ;;
47662 *.lib)
47663 outimpFile=\`basnam ${D}outimpFile .lib\`
47664 ;;
47665 *)
47666 ;;
47667 esac
47668 if [ -z ${D}outimpFile ]; then
47669 outimpFile=${D}outFile
47670 fi
47671 defFile="${D}{outFile}.def"
47672 arcFile="${D}{outimpFile}.a"
47673 arcFile2="${D}{outimpFile}.lib"
47674
47675 #create ${D}dllFile as something matching 8.3 restrictions,
47676 if [ -z ${D}renameScript ] ; then
47677 dllFile="${D}outFile"
47678 else
47679 dllFile=\`${D}renameScript ${D}outimpFile\`
47680 fi
47681
47682 if [ ${D}do_backup -ne 0 ] ; then
47683 if [ -f ${D}arcFile ] ; then
47684 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47685 fi
47686 if [ -f ${D}arcFile2 ] ; then
47687 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47688 fi
47689 fi
47690
47691 # Extract public symbols from all the object files.
47692 tmpdefFile=${D}{defFile}_%
47693 rm -f ${D}tmpdefFile
47694 for file in ${D}inputFiles ; do
47695 case ${D}file in
47696 *!)
47697 ;;
47698 *)
47699 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47700 ;;
47701 esac
47702 done
47703
47704 # Create the def file.
47705 rm -f ${D}defFile
47706 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47707 dllFile="${D}{dllFile}.dll"
47708 if [ ! -z ${D}description ]; then
47709 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47710 fi
47711 echo "EXPORTS" >> ${D}defFile
47712
47713 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47714 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47715
47716 # Checks if the export is ok or not.
47717 for word in ${D}exclude_symbols; do
47718 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47719 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47720 done
47721
47722
47723 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47724 sed "=" < ${D}tmpdefFile | \\
47725 sed '
47726 N
47727 : loop
47728 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47729 t loop
47730 ' > ${D}{tmpdefFile}%
47731 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47732 else
47733 rm -f ${D}{tmpdefFile}%
47734 fi
47735 cat ${D}tmpdefFile >> ${D}defFile
47736 rm -f ${D}tmpdefFile
47737
47738 # Do linking, create implib, and apply lxlite.
47739 gccCmdl="";
47740 for file in ${D}inputFiles ; do
47741 case ${D}file in
47742 *!)
47743 ;;
47744 *)
47745 gccCmdl="${D}gccCmdl ${D}file"
47746 ;;
47747 esac
47748 done
47749 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47750 touch "${D}{outFile}.dll"
47751
47752 doCommand "emximp -o ${D}arcFile ${D}defFile"
47753 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47754 add_flags="";
47755 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47756 add_flags="-ynd"
47757 fi
47758 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47759 fi
47760 doCommand "emxomf -s -l ${D}arcFile"
47761
47762 # Successful exit.
47763 CleanUp 1
47764 exit 0
47765 EOF
47766
47767 chmod +x dllar.sh
47768 ;;
47769
47770 powerpc-apple-macos* | \
47771 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47772 *-*-sunos4* | \
47773 *-*-osf* | \
47774 *-*-dgux5* | \
47775 *-*-sysv5* | \
47776 *-pc-msdosdjgpp )
47777 ;;
47778
47779 *)
47780 esac
47781
47782 if test "x$PIC_FLAG" != "x" ; then
47783 PIC_FLAG="$PIC_FLAG -DPIC"
47784 fi
47785
47786 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47787 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47788 fi
47789 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47790 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47791 fi
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801 USE_SOVERSION=0
47802 USE_SOVERLINUX=0
47803 USE_SOVERSOLARIS=0
47804 USE_SOVERCYGWIN=0
47805 USE_SOSYMLINKS=0
47806 USE_MACVERSION=0
47807 SONAME_FLAG=
47808
47809 case "${BAKEFILE_HOST}" in
47810 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47811 SONAME_FLAG="-Wl,-soname,"
47812 USE_SOVERSION=1
47813 USE_SOVERLINUX=1
47814 USE_SOSYMLINKS=1
47815 ;;
47816
47817 *-*-solaris2* )
47818 SONAME_FLAG="-h "
47819 USE_SOVERSION=1
47820 USE_SOVERSOLARIS=1
47821 USE_SOSYMLINKS=1
47822 ;;
47823
47824 *-*-darwin* )
47825 USE_MACVERSION=1
47826 USE_SOVERSION=1
47827 USE_SOSYMLINKS=1
47828 ;;
47829
47830 *-*-cygwin* )
47831 USE_SOVERSION=1
47832 USE_SOVERCYGWIN=1
47833 ;;
47834 esac
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47846 if test "${enable_dependency_tracking+set}" = set; then
47847 enableval="$enable_dependency_tracking"
47848 bk_use_trackdeps="$enableval"
47849 fi;
47850
47851 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47852 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47853
47854 if test "x$bk_use_trackdeps" = "xno" ; then
47855 DEPS_TRACKING=0
47856 echo "$as_me:$LINENO: result: disabled" >&5
47857 echo "${ECHO_T}disabled" >&6
47858 else
47859 DEPS_TRACKING=1
47860
47861 if test "x$GCC" = "xyes"; then
47862 DEPSMODE=gcc
47863 case "${BAKEFILE_HOST}" in
47864 *-*-darwin* )
47865 DEPSFLAG="-no-cpp-precomp -MMD"
47866 ;;
47867 * )
47868 DEPSFLAG="-MMD"
47869 ;;
47870 esac
47871 echo "$as_me:$LINENO: result: gcc" >&5
47872 echo "${ECHO_T}gcc" >&6
47873 elif test "x$MWCC" = "xyes"; then
47874 DEPSMODE=mwcc
47875 DEPSFLAG="-MM"
47876 echo "$as_me:$LINENO: result: mwcc" >&5
47877 echo "${ECHO_T}mwcc" >&6
47878 elif test "x$SUNCC" = "xyes"; then
47879 DEPSMODE=unixcc
47880 DEPSFLAG="-xM1"
47881 echo "$as_me:$LINENO: result: Sun cc" >&5
47882 echo "${ECHO_T}Sun cc" >&6
47883 elif test "x$SGICC" = "xyes"; then
47884 DEPSMODE=unixcc
47885 DEPSFLAG="-M"
47886 echo "$as_me:$LINENO: result: SGI cc" >&5
47887 echo "${ECHO_T}SGI cc" >&6
47888 elif test "x$HPCC" = "xyes"; then
47889 DEPSMODE=unixcc
47890 DEPSFLAG="+make"
47891 echo "$as_me:$LINENO: result: HP cc" >&5
47892 echo "${ECHO_T}HP cc" >&6
47893 elif test "x$COMPAQCC" = "xyes"; then
47894 DEPSMODE=gcc
47895 DEPSFLAG="-MD"
47896 echo "$as_me:$LINENO: result: Compaq cc" >&5
47897 echo "${ECHO_T}Compaq cc" >&6
47898 else
47899 DEPS_TRACKING=0
47900 echo "$as_me:$LINENO: result: none" >&5
47901 echo "${ECHO_T}none" >&6
47902 fi
47903
47904 if test $DEPS_TRACKING = 1 ; then
47905
47906 D='$'
47907 cat <<EOF >bk-deps
47908 #!/bin/sh
47909
47910 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47911 # script. It is used to track C/C++ files dependencies in portable way.
47912 #
47913 # Permission is given to use this file in any way.
47914
47915 DEPSMODE=${DEPSMODE}
47916 DEPSDIR=.deps
47917 DEPSFLAG="${DEPSFLAG}"
47918
47919 mkdir -p ${D}DEPSDIR
47920
47921 if test ${D}DEPSMODE = gcc ; then
47922 ${D}* ${D}{DEPSFLAG}
47923 status=${D}?
47924 if test ${D}{status} != 0 ; then
47925 exit ${D}{status}
47926 fi
47927 # move created file to the location we want it in:
47928 while test ${D}# -gt 0; do
47929 case "${D}1" in
47930 -o )
47931 shift
47932 objfile=${D}1
47933 ;;
47934 -* )
47935 ;;
47936 * )
47937 srcfile=${D}1
47938 ;;
47939 esac
47940 shift
47941 done
47942 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47943 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47944 if test -f ${D}depfile ; then
47945 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47946 rm -f ${D}depfile
47947 else
47948 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47949 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47950 if test ! -f ${D}depfile ; then
47951 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47952 depfile="${D}objfile.d"
47953 fi
47954 if test -f ${D}depfile ; then
47955 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47956 rm -f ${D}depfile
47957 fi
47958 fi
47959 exit 0
47960 elif test ${D}DEPSMODE = mwcc ; then
47961 ${D}* || exit ${D}?
47962 # Run mwcc again with -MM and redirect into the dep file we want
47963 # NOTE: We can't use shift here because we need ${D}* to be valid
47964 prevarg=
47965 for arg in ${D}* ; do
47966 if test "${D}prevarg" = "-o"; then
47967 objfile=${D}arg
47968 else
47969 case "${D}arg" in
47970 -* )
47971 ;;
47972 * )
47973 srcfile=${D}arg
47974 ;;
47975 esac
47976 fi
47977 prevarg="${D}arg"
47978 done
47979 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47980 exit 0
47981 elif test ${D}DEPSMODE = unixcc; then
47982 ${D}* || exit ${D}?
47983 # Run compiler again with deps flag and redirect into the dep file.
47984 # It doesn't work if the '-o FILE' option is used, but without it the
47985 # dependency file will contain the wrong name for the object. So it is
47986 # removed from the command line, and the dep file is fixed with sed.
47987 cmd=""
47988 while test ${D}# -gt 0; do
47989 case "${D}1" in
47990 -o )
47991 shift
47992 objfile=${D}1
47993 ;;
47994 * )
47995 eval arg${D}#=\\${D}1
47996 cmd="${D}cmd \\${D}arg${D}#"
47997 ;;
47998 esac
47999 shift
48000 done
48001 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48002 exit 0
48003 else
48004 ${D}*
48005 exit ${D}?
48006 fi
48007 EOF
48008
48009 chmod +x bk-deps
48010 fi
48011 fi
48012
48013
48014
48015
48016 case ${BAKEFILE_HOST} in
48017 *-*-cygwin* | *-*-mingw32* )
48018 if test -n "$ac_tool_prefix"; then
48019 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48020 set dummy ${ac_tool_prefix}windres; ac_word=$2
48021 echo "$as_me:$LINENO: checking for $ac_word" >&5
48022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48023 if test "${ac_cv_prog_WINDRES+set}" = set; then
48024 echo $ECHO_N "(cached) $ECHO_C" >&6
48025 else
48026 if test -n "$WINDRES"; then
48027 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48028 else
48029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48030 for as_dir in $PATH
48031 do
48032 IFS=$as_save_IFS
48033 test -z "$as_dir" && as_dir=.
48034 for ac_exec_ext in '' $ac_executable_extensions; do
48035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48036 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48038 break 2
48039 fi
48040 done
48041 done
48042
48043 fi
48044 fi
48045 WINDRES=$ac_cv_prog_WINDRES
48046 if test -n "$WINDRES"; then
48047 echo "$as_me:$LINENO: result: $WINDRES" >&5
48048 echo "${ECHO_T}$WINDRES" >&6
48049 else
48050 echo "$as_me:$LINENO: result: no" >&5
48051 echo "${ECHO_T}no" >&6
48052 fi
48053
48054 fi
48055 if test -z "$ac_cv_prog_WINDRES"; then
48056 ac_ct_WINDRES=$WINDRES
48057 # Extract the first word of "windres", so it can be a program name with args.
48058 set dummy windres; ac_word=$2
48059 echo "$as_me:$LINENO: checking for $ac_word" >&5
48060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48061 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48062 echo $ECHO_N "(cached) $ECHO_C" >&6
48063 else
48064 if test -n "$ac_ct_WINDRES"; then
48065 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48066 else
48067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48068 for as_dir in $PATH
48069 do
48070 IFS=$as_save_IFS
48071 test -z "$as_dir" && as_dir=.
48072 for ac_exec_ext in '' $ac_executable_extensions; do
48073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48074 ac_cv_prog_ac_ct_WINDRES="windres"
48075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48076 break 2
48077 fi
48078 done
48079 done
48080
48081 fi
48082 fi
48083 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48084 if test -n "$ac_ct_WINDRES"; then
48085 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48086 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48087 else
48088 echo "$as_me:$LINENO: result: no" >&5
48089 echo "${ECHO_T}no" >&6
48090 fi
48091
48092 WINDRES=$ac_ct_WINDRES
48093 else
48094 WINDRES="$ac_cv_prog_WINDRES"
48095 fi
48096
48097 ;;
48098
48099 *-*-darwin* | powerpc-apple-macos* )
48100 # Extract the first word of "Rez", so it can be a program name with args.
48101 set dummy Rez; ac_word=$2
48102 echo "$as_me:$LINENO: checking for $ac_word" >&5
48103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48104 if test "${ac_cv_prog_REZ+set}" = set; then
48105 echo $ECHO_N "(cached) $ECHO_C" >&6
48106 else
48107 if test -n "$REZ"; then
48108 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48109 else
48110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48111 for as_dir in $PATH
48112 do
48113 IFS=$as_save_IFS
48114 test -z "$as_dir" && as_dir=.
48115 for ac_exec_ext in '' $ac_executable_extensions; do
48116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48117 ac_cv_prog_REZ="Rez"
48118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48119 break 2
48120 fi
48121 done
48122 done
48123
48124 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48125 fi
48126 fi
48127 REZ=$ac_cv_prog_REZ
48128 if test -n "$REZ"; then
48129 echo "$as_me:$LINENO: result: $REZ" >&5
48130 echo "${ECHO_T}$REZ" >&6
48131 else
48132 echo "$as_me:$LINENO: result: no" >&5
48133 echo "${ECHO_T}no" >&6
48134 fi
48135
48136 # Extract the first word of "SetFile", so it can be a program name with args.
48137 set dummy SetFile; ac_word=$2
48138 echo "$as_me:$LINENO: checking for $ac_word" >&5
48139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48140 if test "${ac_cv_prog_SETFILE+set}" = set; then
48141 echo $ECHO_N "(cached) $ECHO_C" >&6
48142 else
48143 if test -n "$SETFILE"; then
48144 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48145 else
48146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48147 for as_dir in $PATH
48148 do
48149 IFS=$as_save_IFS
48150 test -z "$as_dir" && as_dir=.
48151 for ac_exec_ext in '' $ac_executable_extensions; do
48152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48153 ac_cv_prog_SETFILE="SetFile"
48154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48155 break 2
48156 fi
48157 done
48158 done
48159
48160 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48161 fi
48162 fi
48163 SETFILE=$ac_cv_prog_SETFILE
48164 if test -n "$SETFILE"; then
48165 echo "$as_me:$LINENO: result: $SETFILE" >&5
48166 echo "${ECHO_T}$SETFILE" >&6
48167 else
48168 echo "$as_me:$LINENO: result: no" >&5
48169 echo "${ECHO_T}no" >&6
48170 fi
48171
48172 ;;
48173 esac
48174
48175
48176
48177
48178
48179
48180 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48181
48182
48183 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48184
48185
48186
48187 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48188 if test "${enable_precomp_headers+set}" = set; then
48189 enableval="$enable_precomp_headers"
48190 bk_use_pch="$enableval"
48191 fi;
48192
48193 GCC_PCH=0
48194 ICC_PCH=0
48195 USE_PCH=0
48196
48197 case ${BAKEFILE_HOST} in
48198 *-*-cygwin* )
48199 bk_use_pch="no"
48200 ;;
48201 esac
48202
48203 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48204 if test "x$GCC" = "xyes"; then
48205 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48206 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48207 cat >conftest.$ac_ext <<_ACEOF
48208 /* confdefs.h. */
48209 _ACEOF
48210 cat confdefs.h >>conftest.$ac_ext
48211 cat >>conftest.$ac_ext <<_ACEOF
48212 /* end confdefs.h. */
48213
48214 int
48215 main ()
48216 {
48217
48218 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48219 There is no PCH support
48220 #endif
48221 #if (__GNUC__ < 3)
48222 There is no PCH support
48223 #endif
48224 #if (__GNUC__ == 3) && \
48225 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48226 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48227 ( defined(__INTEL_COMPILER) )
48228 There is no PCH support
48229 #endif
48230
48231 ;
48232 return 0;
48233 }
48234 _ACEOF
48235 rm -f conftest.$ac_objext
48236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48237 (eval $ac_compile) 2>conftest.er1
48238 ac_status=$?
48239 grep -v '^ *+' conftest.er1 >conftest.err
48240 rm -f conftest.er1
48241 cat conftest.err >&5
48242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48243 (exit $ac_status); } &&
48244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246 (eval $ac_try) 2>&5
48247 ac_status=$?
48248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249 (exit $ac_status); }; } &&
48250 { ac_try='test -s conftest.$ac_objext'
48251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48252 (eval $ac_try) 2>&5
48253 ac_status=$?
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); }; }; then
48256
48257 echo "$as_me:$LINENO: result: yes" >&5
48258 echo "${ECHO_T}yes" >&6
48259 GCC_PCH=1
48260
48261 else
48262 echo "$as_me: failed program was:" >&5
48263 sed 's/^/| /' conftest.$ac_ext >&5
48264
48265
48266 cat >conftest.$ac_ext <<_ACEOF
48267 /* confdefs.h. */
48268 _ACEOF
48269 cat confdefs.h >>conftest.$ac_ext
48270 cat >>conftest.$ac_ext <<_ACEOF
48271 /* end confdefs.h. */
48272
48273 int
48274 main ()
48275 {
48276
48277 #if !defined(__INTEL_COMPILER) || \
48278 (__INTEL_COMPILER < 800)
48279 There is no PCH support
48280 #endif
48281
48282 ;
48283 return 0;
48284 }
48285 _ACEOF
48286 rm -f conftest.$ac_objext
48287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48288 (eval $ac_compile) 2>conftest.er1
48289 ac_status=$?
48290 grep -v '^ *+' conftest.er1 >conftest.err
48291 rm -f conftest.er1
48292 cat conftest.err >&5
48293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48294 (exit $ac_status); } &&
48295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48297 (eval $ac_try) 2>&5
48298 ac_status=$?
48299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48300 (exit $ac_status); }; } &&
48301 { ac_try='test -s conftest.$ac_objext'
48302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48303 (eval $ac_try) 2>&5
48304 ac_status=$?
48305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48306 (exit $ac_status); }; }; then
48307
48308 echo "$as_me:$LINENO: result: yes" >&5
48309 echo "${ECHO_T}yes" >&6
48310 ICC_PCH=1
48311
48312 else
48313 echo "$as_me: failed program was:" >&5
48314 sed 's/^/| /' conftest.$ac_ext >&5
48315
48316
48317 echo "$as_me:$LINENO: result: no" >&5
48318 echo "${ECHO_T}no" >&6
48319
48320 fi
48321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48322
48323 fi
48324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48325 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48326 USE_PCH=1
48327
48328 D='$'
48329 cat <<EOF >bk-make-pch
48330 #!/bin/sh
48331
48332 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48333 # script. It is used to generated precompiled headers.
48334 #
48335 # Permission is given to use this file in any way.
48336
48337 outfile="${D}{1}"
48338 header="${D}{2}"
48339 shift
48340 shift
48341
48342 compiler=""
48343 headerfile=""
48344
48345 while test ${D}{#} -gt 0; do
48346 add_to_cmdline=1
48347 case "${D}{1}" in
48348 -I* )
48349 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48350 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48351 headerfile="${D}{incdir}/${D}{header}"
48352 fi
48353 ;;
48354 -use-pch|-use_pch )
48355 shift
48356 add_to_cmdline=0
48357 ;;
48358 esac
48359 if test ${D}add_to_cmdline = 1 ; then
48360 compiler="${D}{compiler} ${D}{1}"
48361 fi
48362 shift
48363 done
48364
48365 if test "x${D}{headerfile}" = "x" ; then
48366 echo "error: can't find header ${D}{header} in include paths" >&2
48367 else
48368 if test -f ${D}{outfile} ; then
48369 rm -f ${D}{outfile}
48370 else
48371 mkdir -p \`dirname ${D}{outfile}\`
48372 fi
48373 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48374 mkdir -p .deps
48375 if test "x${GCC_PCH}" = "x1" ; then
48376 # can do this because gcc is >= 3.4:
48377 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48378 elif test "x${ICC_PCH}" = "x1" ; then
48379 filename=pch_gen-${D}${D}
48380 file=${D}{filename}.c
48381 dfile=${D}{filename}.d
48382 cat > ${D}file <<EOT
48383 #include "${D}header"
48384 EOT
48385 # using -MF icc complains about differing command lines in creation/use
48386 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48387 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48388 rm -f ${D}file ${D}dfile ${D}{filename}.o
48389 fi
48390 exit ${D}{?}
48391 fi
48392 EOF
48393
48394 chmod +x bk-make-pch
48395 fi
48396 fi
48397 fi
48398
48399
48400
48401
48402 COND_BUILD_DEBUG="#"
48403 if test "x$BUILD" = "xdebug" ; then
48404 COND_BUILD_DEBUG=""
48405 fi
48406
48407 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48408 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48409 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48410 fi
48411
48412 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48413 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48414 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48415 fi
48416
48417 COND_BUILD_DEBUG_UNICODE_0="#"
48418 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48419 COND_BUILD_DEBUG_UNICODE_0=""
48420 fi
48421
48422 COND_BUILD_DEBUG_UNICODE_1="#"
48423 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48424 COND_BUILD_DEBUG_UNICODE_1=""
48425 fi
48426
48427 COND_BUILD_RELEASE="#"
48428 if test "x$BUILD" = "xrelease" ; then
48429 COND_BUILD_RELEASE=""
48430 fi
48431
48432 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48433 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48434 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48435 fi
48436
48437 COND_BUILD_RELEASE_UNICODE_0="#"
48438 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48439 COND_BUILD_RELEASE_UNICODE_0=""
48440 fi
48441
48442 COND_BUILD_RELEASE_UNICODE_1="#"
48443 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48444 COND_BUILD_RELEASE_UNICODE_1=""
48445 fi
48446
48447 COND_DEBUG_FLAG_1="#"
48448 if test "x$DEBUG_FLAG" = "x1" ; then
48449 COND_DEBUG_FLAG_1=""
48450 fi
48451
48452 COND_DEBUG_INFO_0="#"
48453 if test "x$DEBUG_INFO" = "x0" ; then
48454 COND_DEBUG_INFO_0=""
48455 fi
48456
48457 COND_DEBUG_INFO_1="#"
48458 if test "x$DEBUG_INFO" = "x1" ; then
48459 COND_DEBUG_INFO_1=""
48460 fi
48461
48462 COND_DEPS_TRACKING_0="#"
48463 if test "x$DEPS_TRACKING" = "x0" ; then
48464 COND_DEPS_TRACKING_0=""
48465 fi
48466
48467 COND_DEPS_TRACKING_1="#"
48468 if test "x$DEPS_TRACKING" = "x1" ; then
48469 COND_DEPS_TRACKING_1=""
48470 fi
48471
48472 COND_GCC_PCH_1="#"
48473 if test "x$GCC_PCH" = "x1" ; then
48474 COND_GCC_PCH_1=""
48475 fi
48476
48477 COND_ICC_PCH_1="#"
48478 if test "x$ICC_PCH" = "x1" ; then
48479 COND_ICC_PCH_1=""
48480 fi
48481
48482 COND_MONOLITHIC_0="#"
48483 if test "x$MONOLITHIC" = "x0" ; then
48484 COND_MONOLITHIC_0=""
48485 fi
48486
48487 COND_MONOLITHIC_0_SHARED_0="#"
48488 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48489 COND_MONOLITHIC_0_SHARED_0=""
48490 fi
48491
48492 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48493 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48494 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48495 fi
48496
48497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48498 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48499 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48500 fi
48501
48502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48504 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48505 fi
48506
48507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48510 fi
48511
48512 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48515 fi
48516
48517 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48519 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48520 fi
48521
48522 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48524 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48525 fi
48526
48527 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48529 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48530 fi
48531
48532 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48534 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48535 fi
48536
48537 COND_MONOLITHIC_0_SHARED_1="#"
48538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48539 COND_MONOLITHIC_0_SHARED_1=""
48540 fi
48541
48542 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48544 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48545 fi
48546
48547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48550 fi
48551
48552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48553 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48554 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48555 fi
48556
48557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48558 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48560 fi
48561
48562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48563 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48564 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48565 fi
48566
48567 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48568 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48570 fi
48571
48572 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48573 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48574 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48575 fi
48576
48577 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48578 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48579 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48580 fi
48581
48582 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48583 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48584 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48585 fi
48586
48587 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48588 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48589 COND_MONOLITHIC_0_USE_MEDIA_1=""
48590 fi
48591
48592 COND_MONOLITHIC_0_USE_ODBC_1="#"
48593 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48594 COND_MONOLITHIC_0_USE_ODBC_1=""
48595 fi
48596
48597 COND_MONOLITHIC_1="#"
48598 if test "x$MONOLITHIC" = "x1" ; then
48599 COND_MONOLITHIC_1=""
48600 fi
48601
48602 COND_MONOLITHIC_1_SHARED_0="#"
48603 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48604 COND_MONOLITHIC_1_SHARED_0=""
48605 fi
48606
48607 COND_MONOLITHIC_1_SHARED_1="#"
48608 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48609 COND_MONOLITHIC_1_SHARED_1=""
48610 fi
48611
48612 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48613 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48614 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48615 fi
48616
48617 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48618 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48619 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48620 fi
48621
48622 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48623 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48624 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48625 fi
48626
48627 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48628 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48629 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48630 fi
48631
48632 COND_PLATFORM_MACOSX_1="#"
48633 if test "x$PLATFORM_MACOSX" = "x1" ; then
48634 COND_PLATFORM_MACOSX_1=""
48635 fi
48636
48637 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48638 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48639 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48640 fi
48641
48642 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48643 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48644 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48645 fi
48646
48647 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48648 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48649 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48650 fi
48651
48652 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48653 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48654 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48655 fi
48656
48657 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48658 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48659 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48660 fi
48661
48662 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48663 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48664 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48665 fi
48666
48667 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48668 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48669 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48670 fi
48671
48672 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48673 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48674 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48675 fi
48676
48677 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48678 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48679 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48680 fi
48681
48682 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48683 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48684 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48685 fi
48686
48687 COND_PLATFORM_MACOS_1="#"
48688 if test "x$PLATFORM_MACOS" = "x1" ; then
48689 COND_PLATFORM_MACOS_1=""
48690 fi
48691
48692 COND_PLATFORM_MAC_1="#"
48693 if test "x$PLATFORM_MAC" = "x1" ; then
48694 COND_PLATFORM_MAC_1=""
48695 fi
48696
48697 COND_PLATFORM_MSDOS_0="#"
48698 if test "x$PLATFORM_MSDOS" = "x0" ; then
48699 COND_PLATFORM_MSDOS_0=""
48700 fi
48701
48702 COND_PLATFORM_MSDOS_1="#"
48703 if test "x$PLATFORM_MSDOS" = "x1" ; then
48704 COND_PLATFORM_MSDOS_1=""
48705 fi
48706
48707 COND_PLATFORM_OS2_1="#"
48708 if test "x$PLATFORM_OS2" = "x1" ; then
48709 COND_PLATFORM_OS2_1=""
48710 fi
48711
48712 COND_PLATFORM_UNIX_0="#"
48713 if test "x$PLATFORM_UNIX" = "x0" ; then
48714 COND_PLATFORM_UNIX_0=""
48715 fi
48716
48717 COND_PLATFORM_UNIX_1="#"
48718 if test "x$PLATFORM_UNIX" = "x1" ; then
48719 COND_PLATFORM_UNIX_1=""
48720 fi
48721
48722 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48723 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48724 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48725 fi
48726
48727 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48728 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48729 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48730 fi
48731
48732 COND_PLATFORM_WIN32_0="#"
48733 if test "x$PLATFORM_WIN32" = "x0" ; then
48734 COND_PLATFORM_WIN32_0=""
48735 fi
48736
48737 COND_PLATFORM_WIN32_1="#"
48738 if test "x$PLATFORM_WIN32" = "x1" ; then
48739 COND_PLATFORM_WIN32_1=""
48740 fi
48741
48742 COND_SHARED_0="#"
48743 if test "x$SHARED" = "x0" ; then
48744 COND_SHARED_0=""
48745 fi
48746
48747 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48748 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48749 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48750 fi
48751
48752 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48753 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48754 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48755 fi
48756
48757 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48758 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48759 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48760 fi
48761
48762 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48763 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48764 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48765 fi
48766
48767 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48768 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48769 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48770 fi
48771
48772 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48773 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48774 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48775 fi
48776
48777 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48778 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48779 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48780 fi
48781
48782 COND_SHARED_0_USE_XRC_1="#"
48783 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48784 COND_SHARED_0_USE_XRC_1=""
48785 fi
48786
48787 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48788 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48789 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48790 fi
48791
48792 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48793 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48794 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48795 fi
48796
48797 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48798 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48799 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48800 fi
48801
48802 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48803 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48804 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48805 fi
48806
48807 COND_SHARED_1="#"
48808 if test "x$SHARED" = "x1" ; then
48809 COND_SHARED_1=""
48810 fi
48811
48812 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48813 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48814 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48815 fi
48816
48817 COND_SHARED_1_USE_XRC_1="#"
48818 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48819 COND_SHARED_1_USE_XRC_1=""
48820 fi
48821
48822 COND_TOOLKIT_="#"
48823 if test "x$TOOLKIT" = "x" ; then
48824 COND_TOOLKIT_=""
48825 fi
48826
48827 COND_TOOLKIT_COCOA="#"
48828 if test "x$TOOLKIT" = "xCOCOA" ; then
48829 COND_TOOLKIT_COCOA=""
48830 fi
48831
48832 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48833 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48834 COND_TOOLKIT_COCOA_USE_GUI_1=""
48835 fi
48836
48837 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48838 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48839 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48840 fi
48841
48842 COND_TOOLKIT_DFB="#"
48843 if test "x$TOOLKIT" = "xDFB" ; then
48844 COND_TOOLKIT_DFB=""
48845 fi
48846
48847 COND_TOOLKIT_DFB_USE_GUI_1="#"
48848 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48849 COND_TOOLKIT_DFB_USE_GUI_1=""
48850 fi
48851
48852 COND_TOOLKIT_GTK="#"
48853 if test "x$TOOLKIT" = "xGTK" ; then
48854 COND_TOOLKIT_GTK=""
48855 fi
48856
48857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48858 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48859 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48860 fi
48861
48862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48863 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48864 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48865 fi
48866
48867 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48868 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48869 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48870 fi
48871
48872 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48873 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48874 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48875 fi
48876
48877 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48878 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48879 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48880 fi
48881
48882 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48883 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48884 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48885 fi
48886
48887 COND_TOOLKIT_GTK_USE_GUI_1="#"
48888 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48889 COND_TOOLKIT_GTK_USE_GUI_1=""
48890 fi
48891
48892 COND_TOOLKIT_MAC="#"
48893 if test "x$TOOLKIT" = "xMAC" ; then
48894 COND_TOOLKIT_MAC=""
48895 fi
48896
48897 COND_TOOLKIT_MAC_USE_GUI_1="#"
48898 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48899 COND_TOOLKIT_MAC_USE_GUI_1=""
48900 fi
48901
48902 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48903 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48904 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48905 fi
48906
48907 COND_TOOLKIT_MGL="#"
48908 if test "x$TOOLKIT" = "xMGL" ; then
48909 COND_TOOLKIT_MGL=""
48910 fi
48911
48912 COND_TOOLKIT_MGL_USE_GUI_1="#"
48913 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48914 COND_TOOLKIT_MGL_USE_GUI_1=""
48915 fi
48916
48917 COND_TOOLKIT_MOTIF="#"
48918 if test "x$TOOLKIT" = "xMOTIF" ; then
48919 COND_TOOLKIT_MOTIF=""
48920 fi
48921
48922 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48923 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48924 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48925 fi
48926
48927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48928 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48930 fi
48931
48932 COND_TOOLKIT_MSW="#"
48933 if test "x$TOOLKIT" = "xMSW" ; then
48934 COND_TOOLKIT_MSW=""
48935 fi
48936
48937 COND_TOOLKIT_MSW_USE_GUI_1="#"
48938 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48939 COND_TOOLKIT_MSW_USE_GUI_1=""
48940 fi
48941
48942 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48943 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48944 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48945 fi
48946
48947 COND_TOOLKIT_MSW_WXUNIV_0="#"
48948 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48949 COND_TOOLKIT_MSW_WXUNIV_0=""
48950 fi
48951
48952 COND_TOOLKIT_PM="#"
48953 if test "x$TOOLKIT" = "xPM" ; then
48954 COND_TOOLKIT_PM=""
48955 fi
48956
48957 COND_TOOLKIT_PM_USE_GUI_1="#"
48958 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48959 COND_TOOLKIT_PM_USE_GUI_1=""
48960 fi
48961
48962 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48963 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48964 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48965 fi
48966
48967 COND_TOOLKIT_WINCE="#"
48968 if test "x$TOOLKIT" = "xWINCE" ; then
48969 COND_TOOLKIT_WINCE=""
48970 fi
48971
48972 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48973 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48974 COND_TOOLKIT_WINCE_USE_GUI_1=""
48975 fi
48976
48977 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48978 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48979 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48980 fi
48981
48982 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48983 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48984 COND_TOOLKIT_WINCE_WXUNIV_0=""
48985 fi
48986
48987 COND_TOOLKIT_X11="#"
48988 if test "x$TOOLKIT" = "xX11" ; then
48989 COND_TOOLKIT_X11=""
48990 fi
48991
48992 COND_TOOLKIT_X11_USE_GUI_1="#"
48993 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48994 COND_TOOLKIT_X11_USE_GUI_1=""
48995 fi
48996
48997 COND_UNICODE_1="#"
48998 if test "x$UNICODE" = "x1" ; then
48999 COND_UNICODE_1=""
49000 fi
49001
49002 COND_USE_EXCEPTIONS_0="#"
49003 if test "x$USE_EXCEPTIONS" = "x0" ; then
49004 COND_USE_EXCEPTIONS_0=""
49005 fi
49006
49007 COND_USE_EXCEPTIONS_1="#"
49008 if test "x$USE_EXCEPTIONS" = "x1" ; then
49009 COND_USE_EXCEPTIONS_1=""
49010 fi
49011
49012 COND_USE_GUI_0="#"
49013 if test "x$USE_GUI" = "x0" ; then
49014 COND_USE_GUI_0=""
49015 fi
49016
49017 COND_USE_GUI_1="#"
49018 if test "x$USE_GUI" = "x1" ; then
49019 COND_USE_GUI_1=""
49020 fi
49021
49022 COND_USE_GUI_1_WXUNIV_0="#"
49023 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49024 COND_USE_GUI_1_WXUNIV_0=""
49025 fi
49026
49027 COND_USE_GUI_1_WXUNIV_1="#"
49028 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49029 COND_USE_GUI_1_WXUNIV_1=""
49030 fi
49031
49032 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49033 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49034 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49035 fi
49036
49037 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49038 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49039 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49040 fi
49041
49042 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49043 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49044 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49045 fi
49046
49047 COND_USE_ODBC_1="#"
49048 if test "x$USE_ODBC" = "x1" ; then
49049 COND_USE_ODBC_1=""
49050 fi
49051
49052 COND_USE_OPENGL_1="#"
49053 if test "x$USE_OPENGL" = "x1" ; then
49054 COND_USE_OPENGL_1=""
49055 fi
49056
49057 COND_USE_PCH_1="#"
49058 if test "x$USE_PCH" = "x1" ; then
49059 COND_USE_PCH_1=""
49060 fi
49061
49062 COND_USE_PLUGINS_0="#"
49063 if test "x$USE_PLUGINS" = "x0" ; then
49064 COND_USE_PLUGINS_0=""
49065 fi
49066
49067 COND_USE_RTTI_0="#"
49068 if test "x$USE_RTTI" = "x0" ; then
49069 COND_USE_RTTI_0=""
49070 fi
49071
49072 COND_USE_RTTI_1="#"
49073 if test "x$USE_RTTI" = "x1" ; then
49074 COND_USE_RTTI_1=""
49075 fi
49076
49077 COND_USE_SOSYMLINKS_1="#"
49078 if test "x$USE_SOSYMLINKS" = "x1" ; then
49079 COND_USE_SOSYMLINKS_1=""
49080 fi
49081
49082 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49083 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49084 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49085 fi
49086
49087 COND_USE_SOVERLINUX_1="#"
49088 if test "x$USE_SOVERLINUX" = "x1" ; then
49089 COND_USE_SOVERLINUX_1=""
49090 fi
49091
49092 COND_USE_SOVERSION_0="#"
49093 if test "x$USE_SOVERSION" = "x0" ; then
49094 COND_USE_SOVERSION_0=""
49095 fi
49096
49097 COND_USE_SOVERSOLARIS_1="#"
49098 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49099 COND_USE_SOVERSOLARIS_1=""
49100 fi
49101
49102 COND_USE_THREADS_0="#"
49103 if test "x$USE_THREADS" = "x0" ; then
49104 COND_USE_THREADS_0=""
49105 fi
49106
49107 COND_USE_THREADS_1="#"
49108 if test "x$USE_THREADS" = "x1" ; then
49109 COND_USE_THREADS_1=""
49110 fi
49111
49112 COND_USE_XRC_1="#"
49113 if test "x$USE_XRC" = "x1" ; then
49114 COND_USE_XRC_1=""
49115 fi
49116
49117 COND_WINDOWS_IMPLIB_1="#"
49118 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49119 COND_WINDOWS_IMPLIB_1=""
49120 fi
49121
49122 COND_WITH_PLUGIN_SDL_1="#"
49123 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49124 COND_WITH_PLUGIN_SDL_1=""
49125 fi
49126
49127 COND_WXUNIV_0="#"
49128 if test "x$WXUNIV" = "x0" ; then
49129 COND_WXUNIV_0=""
49130 fi
49131
49132 COND_WXUNIV_1="#"
49133 if test "x$WXUNIV" = "x1" ; then
49134 COND_WXUNIV_1=""
49135 fi
49136
49137 COND_WXUSE_EXPAT_BUILTIN="#"
49138 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49139 COND_WXUSE_EXPAT_BUILTIN=""
49140 fi
49141
49142 COND_WXUSE_LIBJPEG_BUILTIN="#"
49143 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49144 COND_WXUSE_LIBJPEG_BUILTIN=""
49145 fi
49146
49147 COND_WXUSE_LIBPNG_BUILTIN="#"
49148 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49149 COND_WXUSE_LIBPNG_BUILTIN=""
49150 fi
49151
49152 COND_WXUSE_LIBTIFF_BUILTIN="#"
49153 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49154 COND_WXUSE_LIBTIFF_BUILTIN=""
49155 fi
49156
49157 COND_WXUSE_ODBC_BUILTIN="#"
49158 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49159 COND_WXUSE_ODBC_BUILTIN=""
49160 fi
49161
49162 COND_WXUSE_REGEX_BUILTIN="#"
49163 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49164 COND_WXUSE_REGEX_BUILTIN=""
49165 fi
49166
49167 COND_WXUSE_ZLIB_BUILTIN="#"
49168 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49169 COND_WXUSE_ZLIB_BUILTIN=""
49170 fi
49171
49172
49173
49174 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49175 { { 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
49176 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;}
49177 { (exit 1); exit 1; }; }
49178 fi
49179
49180 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49181 { { 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
49182 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;}
49183 { (exit 1); exit 1; }; }
49184 fi
49185
49186
49187
49188 if test "$wxUSE_MAC" = 1 ; then
49189 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49190 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49191 mv temp bk-deps
49192 chmod +x bk-deps
49193 fi
49194 fi
49195
49196 if test "$wxUSE_SHARED" = "yes"; then
49197
49198 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49199 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49200
49201 case "${host}" in
49202 *-pc-os2_emx | *-pc-os2-emx )
49203 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49204 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49205 cp -p ${srcdir}/src/os2/dllnames.sh .
49206 cp -p ${srcdir}/src/os2/dllar.sh .
49207 ;;
49208 esac
49209 else
49210
49211 EXE_LINKER="$CXX -o"
49212
49213 fi
49214 if test "$wxUSE_OMF" = "yes"; then
49215 case "${host}" in
49216 *-pc-os2_emx | *-pc-os2-emx )
49217 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49218 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49219 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49220 ;;
49221 esac
49222 fi
49223
49224 if test $GCC_PCH = 1 ; then
49225 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49226 fi
49227
49228 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49229
49230 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49293 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49294 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49295 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49296 echo $ECHO_N "(cached) $ECHO_C" >&6
49297 else
49298 cat >conftest.make <<\_ACEOF
49299 all:
49300 @echo 'ac_maketemp="$(MAKE)"'
49301 _ACEOF
49302 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49303 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49304 if test -n "$ac_maketemp"; then
49305 eval ac_cv_prog_make_${ac_make}_set=yes
49306 else
49307 eval ac_cv_prog_make_${ac_make}_set=no
49308 fi
49309 rm -f conftest.make
49310 fi
49311 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49312 echo "$as_me:$LINENO: result: yes" >&5
49313 echo "${ECHO_T}yes" >&6
49314 SET_MAKE=
49315 else
49316 echo "$as_me:$LINENO: result: no" >&5
49317 echo "${ECHO_T}no" >&6
49318 SET_MAKE="MAKE=${MAKE-make}"
49319 fi
49320
49321
49322
49323 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49324
49325
49326 if test "$USE_WIN32" = 1; then
49327 ac_config_commands="$ac_config_commands
49328 rcdefs.h
49329 "
49330
49331 fi
49332
49333 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49334
49335
49336 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49337
49338
49339 ac_config_files="$ac_config_files version-script Makefile"
49340
49341
49342 ac_config_commands="$ac_config_commands wx-config"
49343
49344
49345
49346 if test "$wxWITH_SUBDIRS" != "no"; then
49347 if test "$wxUSE_GUI" = "yes"; then
49348 SUBDIRS="samples demos utils contrib"
49349 else SUBDIRS="samples utils"
49350 fi
49351
49352
49353
49354 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49355 if test "${with_cppunit_prefix+set}" = set; then
49356 withval="$with_cppunit_prefix"
49357 cppunit_config_prefix="$withval"
49358 else
49359 cppunit_config_prefix=""
49360 fi;
49361
49362 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49363 if test "${with_cppunit_exec_prefix+set}" = set; then
49364 withval="$with_cppunit_exec_prefix"
49365 cppunit_config_exec_prefix="$withval"
49366 else
49367 cppunit_config_exec_prefix=""
49368 fi;
49369
49370 if test x$cppunit_config_exec_prefix != x ; then
49371 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49372 if test x${CPPUNIT_CONFIG+set} != xset ; then
49373 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49374 fi
49375 fi
49376 if test x$cppunit_config_prefix != x ; then
49377 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49378 if test x${CPPUNIT_CONFIG+set} != xset ; then
49379 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49380 fi
49381 fi
49382
49383 # Extract the first word of "cppunit-config", so it can be a program name with args.
49384 set dummy cppunit-config; ac_word=$2
49385 echo "$as_me:$LINENO: checking for $ac_word" >&5
49386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49387 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49388 echo $ECHO_N "(cached) $ECHO_C" >&6
49389 else
49390 case $CPPUNIT_CONFIG in
49391 [\\/]* | ?:[\\/]*)
49392 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49393 ;;
49394 *)
49395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49396 for as_dir in $PATH
49397 do
49398 IFS=$as_save_IFS
49399 test -z "$as_dir" && as_dir=.
49400 for ac_exec_ext in '' $ac_executable_extensions; do
49401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49402 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49404 break 2
49405 fi
49406 done
49407 done
49408
49409 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49410 ;;
49411 esac
49412 fi
49413 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49414
49415 if test -n "$CPPUNIT_CONFIG"; then
49416 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49417 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49418 else
49419 echo "$as_me:$LINENO: result: no" >&5
49420 echo "${ECHO_T}no" >&6
49421 fi
49422
49423 cppunit_version_min=1.8.0
49424
49425 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49426 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49427 no_cppunit=""
49428 if test "$CPPUNIT_CONFIG" = "no" ; then
49429 echo "$as_me:$LINENO: result: no" >&5
49430 echo "${ECHO_T}no" >&6
49431 no_cppunit=yes
49432 else
49433 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49434 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49435 cppunit_version=`$CPPUNIT_CONFIG --version`
49436
49437 cppunit_major_version=`echo $cppunit_version | \
49438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49439 cppunit_minor_version=`echo $cppunit_version | \
49440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49441 cppunit_micro_version=`echo $cppunit_version | \
49442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49443
49444 cppunit_major_min=`echo $cppunit_version_min | \
49445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49446 cppunit_minor_min=`echo $cppunit_version_min | \
49447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49448 cppunit_micro_min=`echo $cppunit_version_min | \
49449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49450
49451 cppunit_version_proper=`expr \
49452 $cppunit_major_version \> $cppunit_major_min \| \
49453 $cppunit_major_version \= $cppunit_major_min \& \
49454 $cppunit_minor_version \> $cppunit_minor_min \| \
49455 $cppunit_major_version \= $cppunit_major_min \& \
49456 $cppunit_minor_version \= $cppunit_minor_min \& \
49457 $cppunit_micro_version \>= $cppunit_micro_min `
49458
49459 if test "$cppunit_version_proper" = "1" ; then
49460 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49461 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49462 else
49463 echo "$as_me:$LINENO: result: no" >&5
49464 echo "${ECHO_T}no" >&6
49465 no_cppunit=yes
49466 fi
49467 fi
49468
49469 if test "x$no_cppunit" = x ; then
49470 SUBDIRS="$SUBDIRS tests"
49471 else
49472 CPPUNIT_CFLAGS=""
49473 CPPUNIT_LIBS=""
49474 :
49475 fi
49476
49477
49478
49479
49480
49481 for subdir in `echo $SUBDIRS`; do
49482 if test -d ${srcdir}/${subdir} ; then
49483 if test "$wxUSE_GUI" = "yes"; then
49484 if test ${subdir} = "samples"; then
49485 makefiles="samples/Makefile.in $makefiles"
49486 for sample in `echo $SAMPLES_SUBDIRS`; do
49487 if test -d $srcdir/samples/$sample; then
49488 makefiles="samples/$sample/Makefile.in $makefiles"
49489 fi
49490 done
49491 else
49492 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49493 eval "disabled=\$$disabled_var"
49494 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49495 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49496 fi
49497 else if test ${subdir} = "samples"; then
49498 makefiles="samples/Makefile.in samples/console/Makefile.in"
49499 elif test ${subdir} = "utils"; then
49500 makefiles=""
49501 for util in HelpGen tex2rtf ; do
49502 if test -d $srcdir/utils/$util ; then
49503 makefiles="utils/$util/Makefile.in \
49504 utils/$util/src/Makefile.in \
49505 $makefiles"
49506 fi
49507 done
49508 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49509 fi
49510 fi
49511
49512 for mkin in $makefiles ; do
49513 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49514 ac_config_files="$ac_config_files $mk"
49515
49516 done
49517 fi
49518 done
49519 fi
49520 cat >confcache <<\_ACEOF
49521 # This file is a shell script that caches the results of configure
49522 # tests run on this system so they can be shared between configure
49523 # scripts and configure runs, see configure's option --config-cache.
49524 # It is not useful on other systems. If it contains results you don't
49525 # want to keep, you may remove or edit it.
49526 #
49527 # config.status only pays attention to the cache file if you give it
49528 # the --recheck option to rerun configure.
49529 #
49530 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49531 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49532 # following values.
49533
49534 _ACEOF
49535
49536 # The following way of writing the cache mishandles newlines in values,
49537 # but we know of no workaround that is simple, portable, and efficient.
49538 # So, don't put newlines in cache variables' values.
49539 # Ultrix sh set writes to stderr and can't be redirected directly,
49540 # and sets the high bit in the cache file unless we assign to the vars.
49541 {
49542 (set) 2>&1 |
49543 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49544 *ac_space=\ *)
49545 # `set' does not quote correctly, so add quotes (double-quote
49546 # substitution turns \\\\ into \\, and sed turns \\ into \).
49547 sed -n \
49548 "s/'/'\\\\''/g;
49549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49550 ;;
49551 *)
49552 # `set' quotes correctly as required by POSIX, so do not add quotes.
49553 sed -n \
49554 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49555 ;;
49556 esac;
49557 } |
49558 sed '
49559 t clear
49560 : clear
49561 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49562 t end
49563 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49564 : end' >>confcache
49565 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49566 if test -w $cache_file; then
49567 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49568 cat confcache >$cache_file
49569 else
49570 echo "not updating unwritable cache $cache_file"
49571 fi
49572 fi
49573 rm -f confcache
49574
49575 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49576 # Let make expand exec_prefix.
49577 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49578
49579 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49580 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49581 # trailing colons and then remove the whole line if VPATH becomes empty
49582 # (actually we leave an empty line to preserve line numbers).
49583 if test "x$srcdir" = x.; then
49584 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49585 s/:*\$(srcdir):*/:/;
49586 s/:*\${srcdir}:*/:/;
49587 s/:*@srcdir@:*/:/;
49588 s/^\([^=]*=[ ]*\):*/\1/;
49589 s/:*$//;
49590 s/^[^=]*=[ ]*$//;
49591 }'
49592 fi
49593
49594 DEFS=-DHAVE_CONFIG_H
49595
49596 ac_libobjs=
49597 ac_ltlibobjs=
49598 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49599 # 1. Remove the extension, and $U if already installed.
49600 ac_i=`echo "$ac_i" |
49601 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49602 # 2. Add them.
49603 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49604 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49605 done
49606 LIBOBJS=$ac_libobjs
49607
49608 LTLIBOBJS=$ac_ltlibobjs
49609
49610
49611
49612 : ${CONFIG_STATUS=./config.status}
49613 ac_clean_files_save=$ac_clean_files
49614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49615 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49617 cat >$CONFIG_STATUS <<_ACEOF
49618 #! $SHELL
49619 # Generated by $as_me.
49620 # Run this file to recreate the current configuration.
49621 # Compiler output produced by configure, useful for debugging
49622 # configure, is in config.log if it exists.
49623
49624 debug=false
49625 ac_cs_recheck=false
49626 ac_cs_silent=false
49627 SHELL=\${CONFIG_SHELL-$SHELL}
49628 _ACEOF
49629
49630 cat >>$CONFIG_STATUS <<\_ACEOF
49631 ## --------------------- ##
49632 ## M4sh Initialization. ##
49633 ## --------------------- ##
49634
49635 # Be Bourne compatible
49636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49637 emulate sh
49638 NULLCMD=:
49639 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49640 # is contrary to our usage. Disable this feature.
49641 alias -g '${1+"$@"}'='"$@"'
49642 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49643 set -o posix
49644 fi
49645 DUALCASE=1; export DUALCASE # for MKS sh
49646
49647 # Support unset when possible.
49648 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49649 as_unset=unset
49650 else
49651 as_unset=false
49652 fi
49653
49654
49655 # Work around bugs in pre-3.0 UWIN ksh.
49656 $as_unset ENV MAIL MAILPATH
49657 PS1='$ '
49658 PS2='> '
49659 PS4='+ '
49660
49661 # NLS nuisances.
49662 for as_var in \
49663 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49664 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49665 LC_TELEPHONE LC_TIME
49666 do
49667 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49668 eval $as_var=C; export $as_var
49669 else
49670 $as_unset $as_var
49671 fi
49672 done
49673
49674 # Required to use basename.
49675 if expr a : '\(a\)' >/dev/null 2>&1; then
49676 as_expr=expr
49677 else
49678 as_expr=false
49679 fi
49680
49681 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49682 as_basename=basename
49683 else
49684 as_basename=false
49685 fi
49686
49687
49688 # Name of the executable.
49689 as_me=`$as_basename "$0" ||
49690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49691 X"$0" : 'X\(//\)$' \| \
49692 X"$0" : 'X\(/\)$' \| \
49693 . : '\(.\)' 2>/dev/null ||
49694 echo X/"$0" |
49695 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49696 /^X\/\(\/\/\)$/{ s//\1/; q; }
49697 /^X\/\(\/\).*/{ s//\1/; q; }
49698 s/.*/./; q'`
49699
49700
49701 # PATH needs CR, and LINENO needs CR and PATH.
49702 # Avoid depending upon Character Ranges.
49703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49706 as_cr_digits='0123456789'
49707 as_cr_alnum=$as_cr_Letters$as_cr_digits
49708
49709 # The user is always right.
49710 if test "${PATH_SEPARATOR+set}" != set; then
49711 echo "#! /bin/sh" >conf$$.sh
49712 echo "exit 0" >>conf$$.sh
49713 chmod +x conf$$.sh
49714 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49715 PATH_SEPARATOR=';'
49716 else
49717 PATH_SEPARATOR=:
49718 fi
49719 rm -f conf$$.sh
49720 fi
49721
49722
49723 as_lineno_1=$LINENO
49724 as_lineno_2=$LINENO
49725 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49726 test "x$as_lineno_1" != "x$as_lineno_2" &&
49727 test "x$as_lineno_3" = "x$as_lineno_2" || {
49728 # Find who we are. Look in the path if we contain no path at all
49729 # relative or not.
49730 case $0 in
49731 *[\\/]* ) as_myself=$0 ;;
49732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49733 for as_dir in $PATH
49734 do
49735 IFS=$as_save_IFS
49736 test -z "$as_dir" && as_dir=.
49737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49738 done
49739
49740 ;;
49741 esac
49742 # We did not find ourselves, most probably we were run as `sh COMMAND'
49743 # in which case we are not to be found in the path.
49744 if test "x$as_myself" = x; then
49745 as_myself=$0
49746 fi
49747 if test ! -f "$as_myself"; then
49748 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49749 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49750 { (exit 1); exit 1; }; }
49751 fi
49752 case $CONFIG_SHELL in
49753 '')
49754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49755 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49756 do
49757 IFS=$as_save_IFS
49758 test -z "$as_dir" && as_dir=.
49759 for as_base in sh bash ksh sh5; do
49760 case $as_dir in
49761 /*)
49762 if ("$as_dir/$as_base" -c '
49763 as_lineno_1=$LINENO
49764 as_lineno_2=$LINENO
49765 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49766 test "x$as_lineno_1" != "x$as_lineno_2" &&
49767 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49768 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49769 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49770 CONFIG_SHELL=$as_dir/$as_base
49771 export CONFIG_SHELL
49772 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49773 fi;;
49774 esac
49775 done
49776 done
49777 ;;
49778 esac
49779
49780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49781 # uniformly replaced by the line number. The first 'sed' inserts a
49782 # line-number line before each line; the second 'sed' does the real
49783 # work. The second script uses 'N' to pair each line-number line
49784 # with the numbered line, and appends trailing '-' during
49785 # substitution so that $LINENO is not a special case at line end.
49786 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49787 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49788 sed '=' <$as_myself |
49789 sed '
49790 N
49791 s,$,-,
49792 : loop
49793 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49794 t loop
49795 s,-$,,
49796 s,^['$as_cr_digits']*\n,,
49797 ' >$as_me.lineno &&
49798 chmod +x $as_me.lineno ||
49799 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49800 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49801 { (exit 1); exit 1; }; }
49802
49803 # Don't try to exec as it changes $[0], causing all sort of problems
49804 # (the dirname of $[0] is not the place where we might find the
49805 # original and so on. Autoconf is especially sensible to this).
49806 . ./$as_me.lineno
49807 # Exit status is that of the last command.
49808 exit
49809 }
49810
49811
49812 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49813 *c*,-n*) ECHO_N= ECHO_C='
49814 ' ECHO_T=' ' ;;
49815 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49816 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49817 esac
49818
49819 if expr a : '\(a\)' >/dev/null 2>&1; then
49820 as_expr=expr
49821 else
49822 as_expr=false
49823 fi
49824
49825 rm -f conf$$ conf$$.exe conf$$.file
49826 echo >conf$$.file
49827 if ln -s conf$$.file conf$$ 2>/dev/null; then
49828 # We could just check for DJGPP; but this test a) works b) is more generic
49829 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49830 if test -f conf$$.exe; then
49831 # Don't use ln at all; we don't have any links
49832 as_ln_s='cp -p'
49833 else
49834 as_ln_s='ln -s'
49835 fi
49836 elif ln conf$$.file conf$$ 2>/dev/null; then
49837 as_ln_s=ln
49838 else
49839 as_ln_s='cp -p'
49840 fi
49841 rm -f conf$$ conf$$.exe conf$$.file
49842
49843 if mkdir -p . 2>/dev/null; then
49844 as_mkdir_p=:
49845 else
49846 test -d ./-p && rmdir ./-p
49847 as_mkdir_p=false
49848 fi
49849
49850 as_executable_p="test -f"
49851
49852 # Sed expression to map a string onto a valid CPP name.
49853 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49854
49855 # Sed expression to map a string onto a valid variable name.
49856 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49857
49858
49859 # IFS
49860 # We need space, tab and new line, in precisely that order.
49861 as_nl='
49862 '
49863 IFS=" $as_nl"
49864
49865 # CDPATH.
49866 $as_unset CDPATH
49867
49868 exec 6>&1
49869
49870 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49871 # report actual input values of CONFIG_FILES etc. instead of their
49872 # values after options handling. Logging --version etc. is OK.
49873 exec 5>>config.log
49874 {
49875 echo
49876 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49877 ## Running $as_me. ##
49878 _ASBOX
49879 } >&5
49880 cat >&5 <<_CSEOF
49881
49882 This file was extended by wxWidgets $as_me 2.7.0, which was
49883 generated by GNU Autoconf 2.59. Invocation command line was
49884
49885 CONFIG_FILES = $CONFIG_FILES
49886 CONFIG_HEADERS = $CONFIG_HEADERS
49887 CONFIG_LINKS = $CONFIG_LINKS
49888 CONFIG_COMMANDS = $CONFIG_COMMANDS
49889 $ $0 $@
49890
49891 _CSEOF
49892 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49893 echo >&5
49894 _ACEOF
49895
49896 # Files that config.status was made for.
49897 if test -n "$ac_config_files"; then
49898 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49899 fi
49900
49901 if test -n "$ac_config_headers"; then
49902 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49903 fi
49904
49905 if test -n "$ac_config_links"; then
49906 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49907 fi
49908
49909 if test -n "$ac_config_commands"; then
49910 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49911 fi
49912
49913 cat >>$CONFIG_STATUS <<\_ACEOF
49914
49915 ac_cs_usage="\
49916 \`$as_me' instantiates files from templates according to the
49917 current configuration.
49918
49919 Usage: $0 [OPTIONS] [FILE]...
49920
49921 -h, --help print this help, then exit
49922 -V, --version print version number, then exit
49923 -q, --quiet do not print progress messages
49924 -d, --debug don't remove temporary files
49925 --recheck update $as_me by reconfiguring in the same conditions
49926 --file=FILE[:TEMPLATE]
49927 instantiate the configuration file FILE
49928 --header=FILE[:TEMPLATE]
49929 instantiate the configuration header FILE
49930
49931 Configuration files:
49932 $config_files
49933
49934 Configuration headers:
49935 $config_headers
49936
49937 Configuration commands:
49938 $config_commands
49939
49940 Report bugs to <bug-autoconf@gnu.org>."
49941 _ACEOF
49942
49943 cat >>$CONFIG_STATUS <<_ACEOF
49944 ac_cs_version="\\
49945 wxWidgets config.status 2.7.0
49946 configured by $0, generated by GNU Autoconf 2.59,
49947 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49948
49949 Copyright (C) 2003 Free Software Foundation, Inc.
49950 This config.status script is free software; the Free Software Foundation
49951 gives unlimited permission to copy, distribute and modify it."
49952 srcdir=$srcdir
49953 INSTALL="$INSTALL"
49954 _ACEOF
49955
49956 cat >>$CONFIG_STATUS <<\_ACEOF
49957 # If no file are specified by the user, then we need to provide default
49958 # value. By we need to know if files were specified by the user.
49959 ac_need_defaults=:
49960 while test $# != 0
49961 do
49962 case $1 in
49963 --*=*)
49964 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49965 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49966 ac_shift=:
49967 ;;
49968 -*)
49969 ac_option=$1
49970 ac_optarg=$2
49971 ac_shift=shift
49972 ;;
49973 *) # This is not an option, so the user has probably given explicit
49974 # arguments.
49975 ac_option=$1
49976 ac_need_defaults=false;;
49977 esac
49978
49979 case $ac_option in
49980 # Handling of the options.
49981 _ACEOF
49982 cat >>$CONFIG_STATUS <<\_ACEOF
49983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49984 ac_cs_recheck=: ;;
49985 --version | --vers* | -V )
49986 echo "$ac_cs_version"; exit 0 ;;
49987 --he | --h)
49988 # Conflict between --help and --header
49989 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49990 Try \`$0 --help' for more information." >&5
49991 echo "$as_me: error: ambiguous option: $1
49992 Try \`$0 --help' for more information." >&2;}
49993 { (exit 1); exit 1; }; };;
49994 --help | --hel | -h )
49995 echo "$ac_cs_usage"; exit 0 ;;
49996 --debug | --d* | -d )
49997 debug=: ;;
49998 --file | --fil | --fi | --f )
49999 $ac_shift
50000 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50001 ac_need_defaults=false;;
50002 --header | --heade | --head | --hea )
50003 $ac_shift
50004 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50005 ac_need_defaults=false;;
50006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50007 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50008 ac_cs_silent=: ;;
50009
50010 # This is an error.
50011 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50012 Try \`$0 --help' for more information." >&5
50013 echo "$as_me: error: unrecognized option: $1
50014 Try \`$0 --help' for more information." >&2;}
50015 { (exit 1); exit 1; }; } ;;
50016
50017 *) ac_config_targets="$ac_config_targets $1" ;;
50018
50019 esac
50020 shift
50021 done
50022
50023 ac_configure_extra_args=
50024
50025 if $ac_cs_silent; then
50026 exec 6>/dev/null
50027 ac_configure_extra_args="$ac_configure_extra_args --silent"
50028 fi
50029
50030 _ACEOF
50031 cat >>$CONFIG_STATUS <<_ACEOF
50032 if \$ac_cs_recheck; then
50033 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50034 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50035 fi
50036
50037 _ACEOF
50038
50039 cat >>$CONFIG_STATUS <<_ACEOF
50040 #
50041 # INIT-COMMANDS section.
50042 #
50043
50044
50045 CPP="$CPP"
50046 infile="$srcdir/include/wx/msw/genrcdefs.h"
50047 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50048
50049
50050 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50051 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50052 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50053 LN_S="${LN_S}"
50054
50055
50056 _ACEOF
50057
50058
50059
50060 cat >>$CONFIG_STATUS <<\_ACEOF
50061 for ac_config_target in $ac_config_targets
50062 do
50063 case "$ac_config_target" in
50064 # Handling of arguments.
50065 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50066 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50067 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50068 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50069 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50070 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50071 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50072 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50075 { (exit 1); exit 1; }; };;
50076 esac
50077 done
50078
50079 # If the user did not use the arguments to specify the items to instantiate,
50080 # then the envvar interface is used. Set only those that are not.
50081 # We use the long form for the default assignment because of an extremely
50082 # bizarre bug on SunOS 4.1.3.
50083 if $ac_need_defaults; then
50084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50087 fi
50088
50089 # Have a temporary directory for convenience. Make it in the build tree
50090 # simply because there is no reason to put it here, and in addition,
50091 # creating and moving files from /tmp can sometimes cause problems.
50092 # Create a temporary directory, and hook for its removal unless debugging.
50093 $debug ||
50094 {
50095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50096 trap '{ (exit 1); exit 1; }' 1 2 13 15
50097 }
50098
50099 # Create a (secure) tmp directory for tmp files.
50100
50101 {
50102 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50103 test -n "$tmp" && test -d "$tmp"
50104 } ||
50105 {
50106 tmp=./confstat$$-$RANDOM
50107 (umask 077 && mkdir $tmp)
50108 } ||
50109 {
50110 echo "$me: cannot create a temporary directory in ." >&2
50111 { (exit 1); exit 1; }
50112 }
50113
50114 _ACEOF
50115
50116 cat >>$CONFIG_STATUS <<_ACEOF
50117
50118 #
50119 # CONFIG_FILES section.
50120 #
50121
50122 # No need to generate the scripts if there are no CONFIG_FILES.
50123 # This happens for instance when ./config.status config.h
50124 if test -n "\$CONFIG_FILES"; then
50125 # Protect against being on the right side of a sed subst in config.status.
50126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50128 s,@SHELL@,$SHELL,;t t
50129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50135 s,@exec_prefix@,$exec_prefix,;t t
50136 s,@prefix@,$prefix,;t t
50137 s,@program_transform_name@,$program_transform_name,;t t
50138 s,@bindir@,$bindir,;t t
50139 s,@sbindir@,$sbindir,;t t
50140 s,@libexecdir@,$libexecdir,;t t
50141 s,@datadir@,$datadir,;t t
50142 s,@sysconfdir@,$sysconfdir,;t t
50143 s,@sharedstatedir@,$sharedstatedir,;t t
50144 s,@localstatedir@,$localstatedir,;t t
50145 s,@libdir@,$libdir,;t t
50146 s,@includedir@,$includedir,;t t
50147 s,@oldincludedir@,$oldincludedir,;t t
50148 s,@infodir@,$infodir,;t t
50149 s,@mandir@,$mandir,;t t
50150 s,@build_alias@,$build_alias,;t t
50151 s,@host_alias@,$host_alias,;t t
50152 s,@target_alias@,$target_alias,;t t
50153 s,@DEFS@,$DEFS,;t t
50154 s,@ECHO_C@,$ECHO_C,;t t
50155 s,@ECHO_N@,$ECHO_N,;t t
50156 s,@ECHO_T@,$ECHO_T,;t t
50157 s,@LIBS@,$LIBS,;t t
50158 s,@build@,$build,;t t
50159 s,@build_cpu@,$build_cpu,;t t
50160 s,@build_vendor@,$build_vendor,;t t
50161 s,@build_os@,$build_os,;t t
50162 s,@host@,$host,;t t
50163 s,@host_cpu@,$host_cpu,;t t
50164 s,@host_vendor@,$host_vendor,;t t
50165 s,@host_os@,$host_os,;t t
50166 s,@target@,$target,;t t
50167 s,@target_cpu@,$target_cpu,;t t
50168 s,@target_vendor@,$target_vendor,;t t
50169 s,@target_os@,$target_os,;t t
50170 s,@CC@,$CC,;t t
50171 s,@CFLAGS@,$CFLAGS,;t t
50172 s,@LDFLAGS@,$LDFLAGS,;t t
50173 s,@CPPFLAGS@,$CPPFLAGS,;t t
50174 s,@ac_ct_CC@,$ac_ct_CC,;t t
50175 s,@EXEEXT@,$EXEEXT,;t t
50176 s,@OBJEXT@,$OBJEXT,;t t
50177 s,@CPP@,$CPP,;t t
50178 s,@EGREP@,$EGREP,;t t
50179 s,@CXX@,$CXX,;t t
50180 s,@CXXFLAGS@,$CXXFLAGS,;t t
50181 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50182 s,@RANLIB@,$RANLIB,;t t
50183 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50184 s,@AR@,$AR,;t t
50185 s,@ac_ct_AR@,$ac_ct_AR,;t t
50186 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50187 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50188 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50189 s,@STRIP@,$STRIP,;t t
50190 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50191 s,@WINDRES@,$WINDRES,;t t
50192 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50193 s,@DLLTOOL@,$DLLTOOL,;t t
50194 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50195 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50196 s,@LN_S@,$LN_S,;t t
50197 s,@CXXCPP@,$CXXCPP,;t t
50198 s,@subdirs@,$subdirs,;t t
50199 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50200 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50201 s,@GTK_LIBS@,$GTK_LIBS,;t t
50202 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50203 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50204 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50205 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50206 s,@X_CFLAGS@,$X_CFLAGS,;t t
50207 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50208 s,@X_LIBS@,$X_LIBS,;t t
50209 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50210 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50211 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50212 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50213 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50214 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50215 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50216 s,@REZ@,$REZ,;t t
50217 s,@DEREZ@,$DEREZ,;t t
50218 s,@SETFILE@,$SETFILE,;t t
50219 s,@LIBICONV@,$LIBICONV,;t t
50220 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50221 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50222 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50223 s,@SDL_LIBS@,$SDL_LIBS,;t t
50224 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50225 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50226 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50227 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50228 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50229 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50230 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50231 s,@GST_LIBS@,$GST_LIBS,;t t
50232 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50233 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50234 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50235 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50236 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50237 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50238 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50239 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50240 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50241 s,@VENDOR@,$VENDOR,;t t
50242 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50243 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50244 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50245 s,@WXUNIV@,$WXUNIV,;t t
50246 s,@MONOLITHIC@,$MONOLITHIC,;t t
50247 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50248 s,@EXTRALIBS@,$EXTRALIBS,;t t
50249 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50250 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50251 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50252 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50253 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50254 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50255 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50256 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50257 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50258 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50259 s,@UNICODE@,$UNICODE,;t t
50260 s,@BUILD@,$BUILD,;t t
50261 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50262 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50263 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50264 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50265 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50266 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50267 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50268 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50269 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50270 s,@SET_MAKE@,$SET_MAKE,;t t
50271 s,@MAKE_SET@,$MAKE_SET,;t t
50272 s,@NM@,$NM,;t t
50273 s,@ac_ct_NM@,$ac_ct_NM,;t t
50274 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50275 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50276 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50277 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50278 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50279 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50280 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50281 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50282 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50283 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50284 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50285 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50286 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50287 s,@LIBPREFIX@,$LIBPREFIX,;t t
50288 s,@LIBEXT@,$LIBEXT,;t t
50289 s,@DLLPREFIX@,$DLLPREFIX,;t t
50290 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50291 s,@dlldir@,$dlldir,;t t
50292 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50293 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50294 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50295 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50296 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50297 s,@PIC_FLAG@,$PIC_FLAG,;t t
50298 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50299 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50300 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50301 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50302 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50303 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50304 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50305 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50306 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50307 s,@GCC_PCH@,$GCC_PCH,;t t
50308 s,@ICC_PCH@,$ICC_PCH,;t t
50309 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50310 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50311 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50312 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50313 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50314 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50315 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50316 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50317 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50318 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50319 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50320 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50321 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50322 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50323 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50324 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50325 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50326 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50327 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50328 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50329 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
50330 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
50331 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
50332 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
50333 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50334 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50335 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50336 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50337 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50338 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50339 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
50340 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
50341 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
50342 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
50343 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50344 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50345 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50346 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50347 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50348 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50349 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50350 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50351 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50352 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50353 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50354 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50355 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50356 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50357 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50358 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50359 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50360 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50361 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
50362 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50363 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50364 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50365 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50366 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50367 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50368 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50369 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50370 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50371 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50372 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50373 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50374 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50375 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50376 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50377 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50378 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50379 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50380 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50381 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50382 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50383 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50384 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50385 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50386 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50387 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50388 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50389 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50390 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50391 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50392 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50393 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50394 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50395 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50396 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50397 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50398 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50399 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50400 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50401 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50402 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50403 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
50404 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50405 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50406 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50407 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50408 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50409 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50410 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50411 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50412 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50413 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50414 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50415 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50416 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50417 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50418 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50419 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50420 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50421 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50422 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50423 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50424 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50425 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50426 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50427 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50428 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50429 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50430 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50431 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50432 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50433 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50434 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50435 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50436 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50437 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50438 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50439 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50440 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50441 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50442 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50443 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50444 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50445 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50446 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50447 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50448 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50449 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50450 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50451 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50452 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50453 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50454 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50455 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50456 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50457 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50458 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50459 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50460 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50461 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50462 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50463 s,@SHARED@,$SHARED,;t t
50464 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50465 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50466 s,@USE_GUI@,$USE_GUI,;t t
50467 s,@AFMINSTALL@,$AFMINSTALL,;t t
50468 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50469 s,@TOOLKIT@,$TOOLKIT,;t t
50470 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50471 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50472 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50473 s,@cross_compiling@,$cross_compiling,;t t
50474 s,@WIDGET_SET@,$WIDGET_SET,;t t
50475 s,@WX_RELEASE@,$WX_RELEASE,;t t
50476 s,@WX_VERSION@,$WX_VERSION,;t t
50477 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50478 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50479 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50480 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50481 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50482 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50483 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50484 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50485 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50486 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50487 s,@EXE_LINKER@,$EXE_LINKER,;t t
50488 s,@GUIDIST@,$GUIDIST,;t t
50489 s,@DISTDIR@,$DISTDIR,;t t
50490 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50491 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50492 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50493 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50494 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50495 s,@RESCOMP@,$RESCOMP,;t t
50496 s,@RESFLAGS@,$RESFLAGS,;t t
50497 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50498 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50499 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50500 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50501 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50502 s,@MACSETFILE@,$MACSETFILE,;t t
50503 s,@GCC@,$GCC,;t t
50504 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50505 s,@LIBOBJS@,$LIBOBJS,;t t
50506 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50507 CEOF
50508
50509 _ACEOF
50510
50511 cat >>$CONFIG_STATUS <<\_ACEOF
50512 # Split the substitutions into bite-sized pieces for seds with
50513 # small command number limits, like on Digital OSF/1 and HP-UX.
50514 ac_max_sed_lines=48
50515 ac_sed_frag=1 # Number of current file.
50516 ac_beg=1 # First line for current file.
50517 ac_end=$ac_max_sed_lines # Line after last line for current file.
50518 ac_more_lines=:
50519 ac_sed_cmds=
50520 while $ac_more_lines; do
50521 if test $ac_beg -gt 1; then
50522 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50523 else
50524 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50525 fi
50526 if test ! -s $tmp/subs.frag; then
50527 ac_more_lines=false
50528 else
50529 # The purpose of the label and of the branching condition is to
50530 # speed up the sed processing (if there are no `@' at all, there
50531 # is no need to browse any of the substitutions).
50532 # These are the two extra sed commands mentioned above.
50533 (echo ':t
50534 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50535 if test -z "$ac_sed_cmds"; then
50536 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50537 else
50538 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50539 fi
50540 ac_sed_frag=`expr $ac_sed_frag + 1`
50541 ac_beg=$ac_end
50542 ac_end=`expr $ac_end + $ac_max_sed_lines`
50543 fi
50544 done
50545 if test -z "$ac_sed_cmds"; then
50546 ac_sed_cmds=cat
50547 fi
50548 fi # test -n "$CONFIG_FILES"
50549
50550 _ACEOF
50551 cat >>$CONFIG_STATUS <<\_ACEOF
50552 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50553 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50554 case $ac_file in
50555 - | *:- | *:-:* ) # input from stdin
50556 cat >$tmp/stdin
50557 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50558 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50559 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50560 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50561 * ) ac_file_in=$ac_file.in ;;
50562 esac
50563
50564 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50565 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50567 X"$ac_file" : 'X\(//\)[^/]' \| \
50568 X"$ac_file" : 'X\(//\)$' \| \
50569 X"$ac_file" : 'X\(/\)' \| \
50570 . : '\(.\)' 2>/dev/null ||
50571 echo X"$ac_file" |
50572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50574 /^X\(\/\/\)$/{ s//\1/; q; }
50575 /^X\(\/\).*/{ s//\1/; q; }
50576 s/.*/./; q'`
50577 { if $as_mkdir_p; then
50578 mkdir -p "$ac_dir"
50579 else
50580 as_dir="$ac_dir"
50581 as_dirs=
50582 while test ! -d "$as_dir"; do
50583 as_dirs="$as_dir $as_dirs"
50584 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50586 X"$as_dir" : 'X\(//\)[^/]' \| \
50587 X"$as_dir" : 'X\(//\)$' \| \
50588 X"$as_dir" : 'X\(/\)' \| \
50589 . : '\(.\)' 2>/dev/null ||
50590 echo X"$as_dir" |
50591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50593 /^X\(\/\/\)$/{ s//\1/; q; }
50594 /^X\(\/\).*/{ s//\1/; q; }
50595 s/.*/./; q'`
50596 done
50597 test ! -n "$as_dirs" || mkdir $as_dirs
50598 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50599 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50600 { (exit 1); exit 1; }; }; }
50601
50602 ac_builddir=.
50603
50604 if test "$ac_dir" != .; then
50605 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50606 # A "../" for each directory in $ac_dir_suffix.
50607 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50608 else
50609 ac_dir_suffix= ac_top_builddir=
50610 fi
50611
50612 case $srcdir in
50613 .) # No --srcdir option. We are building in place.
50614 ac_srcdir=.
50615 if test -z "$ac_top_builddir"; then
50616 ac_top_srcdir=.
50617 else
50618 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50619 fi ;;
50620 [\\/]* | ?:[\\/]* ) # Absolute path.
50621 ac_srcdir=$srcdir$ac_dir_suffix;
50622 ac_top_srcdir=$srcdir ;;
50623 *) # Relative path.
50624 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50625 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50626 esac
50627
50628 # Do not use `cd foo && pwd` to compute absolute paths, because
50629 # the directories may not exist.
50630 case `pwd` in
50631 .) ac_abs_builddir="$ac_dir";;
50632 *)
50633 case "$ac_dir" in
50634 .) ac_abs_builddir=`pwd`;;
50635 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50636 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50637 esac;;
50638 esac
50639 case $ac_abs_builddir in
50640 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50641 *)
50642 case ${ac_top_builddir}. in
50643 .) ac_abs_top_builddir=$ac_abs_builddir;;
50644 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50645 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50646 esac;;
50647 esac
50648 case $ac_abs_builddir in
50649 .) ac_abs_srcdir=$ac_srcdir;;
50650 *)
50651 case $ac_srcdir in
50652 .) ac_abs_srcdir=$ac_abs_builddir;;
50653 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50654 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50655 esac;;
50656 esac
50657 case $ac_abs_builddir in
50658 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50659 *)
50660 case $ac_top_srcdir in
50661 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50662 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50663 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50664 esac;;
50665 esac
50666
50667
50668 case $INSTALL in
50669 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50670 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50671 esac
50672
50673 # Let's still pretend it is `configure' which instantiates (i.e., don't
50674 # use $as_me), people would be surprised to read:
50675 # /* config.h. Generated by config.status. */
50676 if test x"$ac_file" = x-; then
50677 configure_input=
50678 else
50679 configure_input="$ac_file. "
50680 fi
50681 configure_input=$configure_input"Generated from `echo $ac_file_in |
50682 sed 's,.*/,,'` by configure."
50683
50684 # First look for the input files in the build tree, otherwise in the
50685 # src tree.
50686 ac_file_inputs=`IFS=:
50687 for f in $ac_file_in; do
50688 case $f in
50689 -) echo $tmp/stdin ;;
50690 [\\/$]*)
50691 # Absolute (can't be DOS-style, as IFS=:)
50692 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50693 echo "$as_me: error: cannot find input file: $f" >&2;}
50694 { (exit 1); exit 1; }; }
50695 echo "$f";;
50696 *) # Relative
50697 if test -f "$f"; then
50698 # Build tree
50699 echo "$f"
50700 elif test -f "$srcdir/$f"; then
50701 # Source tree
50702 echo "$srcdir/$f"
50703 else
50704 # /dev/null tree
50705 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50706 echo "$as_me: error: cannot find input file: $f" >&2;}
50707 { (exit 1); exit 1; }; }
50708 fi;;
50709 esac
50710 done` || { (exit 1); exit 1; }
50711
50712 if test x"$ac_file" != x-; then
50713 { echo "$as_me:$LINENO: creating $ac_file" >&5
50714 echo "$as_me: creating $ac_file" >&6;}
50715 rm -f "$ac_file"
50716 fi
50717 _ACEOF
50718 cat >>$CONFIG_STATUS <<_ACEOF
50719 sed "$ac_vpsub
50720 $extrasub
50721 _ACEOF
50722 cat >>$CONFIG_STATUS <<\_ACEOF
50723 :t
50724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50725 s,@configure_input@,$configure_input,;t t
50726 s,@srcdir@,$ac_srcdir,;t t
50727 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50728 s,@top_srcdir@,$ac_top_srcdir,;t t
50729 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50730 s,@builddir@,$ac_builddir,;t t
50731 s,@abs_builddir@,$ac_abs_builddir,;t t
50732 s,@top_builddir@,$ac_top_builddir,;t t
50733 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50734 s,@INSTALL@,$ac_INSTALL,;t t
50735 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50736 rm -f $tmp/stdin
50737 if test x"$ac_file" != x-; then
50738 mv $tmp/out $ac_file
50739 else
50740 cat $tmp/out
50741 rm -f $tmp/out
50742 fi
50743
50744 # Run the commands associated with the file.
50745 case $ac_file in
50746 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50747 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50748 esac
50749 done
50750 _ACEOF
50751 cat >>$CONFIG_STATUS <<\_ACEOF
50752
50753 #
50754 # CONFIG_HEADER section.
50755 #
50756
50757 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50758 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50759 #
50760 # ac_d sets the value in "#define NAME VALUE" lines.
50761 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50762 ac_dB='[ ].*$,\1#\2'
50763 ac_dC=' '
50764 ac_dD=',;t'
50765 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50766 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50767 ac_uB='$,\1#\2define\3'
50768 ac_uC=' '
50769 ac_uD=',;t'
50770
50771 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50772 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50773 case $ac_file in
50774 - | *:- | *:-:* ) # input from stdin
50775 cat >$tmp/stdin
50776 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50777 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50778 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50779 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50780 * ) ac_file_in=$ac_file.in ;;
50781 esac
50782
50783 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50784 echo "$as_me: creating $ac_file" >&6;}
50785
50786 # First look for the input files in the build tree, otherwise in the
50787 # src tree.
50788 ac_file_inputs=`IFS=:
50789 for f in $ac_file_in; do
50790 case $f in
50791 -) echo $tmp/stdin ;;
50792 [\\/$]*)
50793 # Absolute (can't be DOS-style, as IFS=:)
50794 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50795 echo "$as_me: error: cannot find input file: $f" >&2;}
50796 { (exit 1); exit 1; }; }
50797 # Do quote $f, to prevent DOS paths from being IFS'd.
50798 echo "$f";;
50799 *) # Relative
50800 if test -f "$f"; then
50801 # Build tree
50802 echo "$f"
50803 elif test -f "$srcdir/$f"; then
50804 # Source tree
50805 echo "$srcdir/$f"
50806 else
50807 # /dev/null tree
50808 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50809 echo "$as_me: error: cannot find input file: $f" >&2;}
50810 { (exit 1); exit 1; }; }
50811 fi;;
50812 esac
50813 done` || { (exit 1); exit 1; }
50814 # Remove the trailing spaces.
50815 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50816
50817 _ACEOF
50818
50819 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50820 # `conftest.undefs', that substitutes the proper values into
50821 # config.h.in to produce config.h. The first handles `#define'
50822 # templates, and the second `#undef' templates.
50823 # And first: Protect against being on the right side of a sed subst in
50824 # config.status. Protect against being in an unquoted here document
50825 # in config.status.
50826 rm -f conftest.defines conftest.undefs
50827 # Using a here document instead of a string reduces the quoting nightmare.
50828 # Putting comments in sed scripts is not portable.
50829 #
50830 # `end' is used to avoid that the second main sed command (meant for
50831 # 0-ary CPP macros) applies to n-ary macro definitions.
50832 # See the Autoconf documentation for `clear'.
50833 cat >confdef2sed.sed <<\_ACEOF
50834 s/[\\&,]/\\&/g
50835 s,[\\$`],\\&,g
50836 t clear
50837 : clear
50838 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50839 t end
50840 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50841 : end
50842 _ACEOF
50843 # If some macros were called several times there might be several times
50844 # the same #defines, which is useless. Nevertheless, we may not want to
50845 # sort them, since we want the *last* AC-DEFINE to be honored.
50846 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50847 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50848 rm -f confdef2sed.sed
50849
50850 # This sed command replaces #undef with comments. This is necessary, for
50851 # example, in the case of _POSIX_SOURCE, which is predefined and required
50852 # on some systems where configure will not decide to define it.
50853 cat >>conftest.undefs <<\_ACEOF
50854 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50855 _ACEOF
50856
50857 # Break up conftest.defines because some shells have a limit on the size
50858 # of here documents, and old seds have small limits too (100 cmds).
50859 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50860 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50861 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50862 echo ' :' >>$CONFIG_STATUS
50863 rm -f conftest.tail
50864 while grep . conftest.defines >/dev/null
50865 do
50866 # Write a limited-size here document to $tmp/defines.sed.
50867 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50868 # Speed up: don't consider the non `#define' lines.
50869 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50870 # Work around the forget-to-reset-the-flag bug.
50871 echo 't clr' >>$CONFIG_STATUS
50872 echo ': clr' >>$CONFIG_STATUS
50873 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50874 echo 'CEOF
50875 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50876 rm -f $tmp/in
50877 mv $tmp/out $tmp/in
50878 ' >>$CONFIG_STATUS
50879 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50880 rm -f conftest.defines
50881 mv conftest.tail conftest.defines
50882 done
50883 rm -f conftest.defines
50884 echo ' fi # grep' >>$CONFIG_STATUS
50885 echo >>$CONFIG_STATUS
50886
50887 # Break up conftest.undefs because some shells have a limit on the size
50888 # of here documents, and old seds have small limits too (100 cmds).
50889 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50890 rm -f conftest.tail
50891 while grep . conftest.undefs >/dev/null
50892 do
50893 # Write a limited-size here document to $tmp/undefs.sed.
50894 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50895 # Speed up: don't consider the non `#undef'
50896 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50897 # Work around the forget-to-reset-the-flag bug.
50898 echo 't clr' >>$CONFIG_STATUS
50899 echo ': clr' >>$CONFIG_STATUS
50900 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50901 echo 'CEOF
50902 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50903 rm -f $tmp/in
50904 mv $tmp/out $tmp/in
50905 ' >>$CONFIG_STATUS
50906 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50907 rm -f conftest.undefs
50908 mv conftest.tail conftest.undefs
50909 done
50910 rm -f conftest.undefs
50911
50912 cat >>$CONFIG_STATUS <<\_ACEOF
50913 # Let's still pretend it is `configure' which instantiates (i.e., don't
50914 # use $as_me), people would be surprised to read:
50915 # /* config.h. Generated by config.status. */
50916 if test x"$ac_file" = x-; then
50917 echo "/* Generated by configure. */" >$tmp/config.h
50918 else
50919 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50920 fi
50921 cat $tmp/in >>$tmp/config.h
50922 rm -f $tmp/in
50923 if test x"$ac_file" != x-; then
50924 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50925 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50926 echo "$as_me: $ac_file is unchanged" >&6;}
50927 else
50928 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50930 X"$ac_file" : 'X\(//\)[^/]' \| \
50931 X"$ac_file" : 'X\(//\)$' \| \
50932 X"$ac_file" : 'X\(/\)' \| \
50933 . : '\(.\)' 2>/dev/null ||
50934 echo X"$ac_file" |
50935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50937 /^X\(\/\/\)$/{ s//\1/; q; }
50938 /^X\(\/\).*/{ s//\1/; q; }
50939 s/.*/./; q'`
50940 { if $as_mkdir_p; then
50941 mkdir -p "$ac_dir"
50942 else
50943 as_dir="$ac_dir"
50944 as_dirs=
50945 while test ! -d "$as_dir"; do
50946 as_dirs="$as_dir $as_dirs"
50947 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50949 X"$as_dir" : 'X\(//\)[^/]' \| \
50950 X"$as_dir" : 'X\(//\)$' \| \
50951 X"$as_dir" : 'X\(/\)' \| \
50952 . : '\(.\)' 2>/dev/null ||
50953 echo X"$as_dir" |
50954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50956 /^X\(\/\/\)$/{ s//\1/; q; }
50957 /^X\(\/\).*/{ s//\1/; q; }
50958 s/.*/./; q'`
50959 done
50960 test ! -n "$as_dirs" || mkdir $as_dirs
50961 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50962 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50963 { (exit 1); exit 1; }; }; }
50964
50965 rm -f $ac_file
50966 mv $tmp/config.h $ac_file
50967 fi
50968 else
50969 cat $tmp/config.h
50970 rm -f $tmp/config.h
50971 fi
50972 done
50973 _ACEOF
50974 cat >>$CONFIG_STATUS <<\_ACEOF
50975
50976 #
50977 # CONFIG_COMMANDS section.
50978 #
50979 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50980 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50981 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50982 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50983 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50984 X"$ac_dest" : 'X\(//\)[^/]' \| \
50985 X"$ac_dest" : 'X\(//\)$' \| \
50986 X"$ac_dest" : 'X\(/\)' \| \
50987 . : '\(.\)' 2>/dev/null ||
50988 echo X"$ac_dest" |
50989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50990 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50991 /^X\(\/\/\)$/{ s//\1/; q; }
50992 /^X\(\/\).*/{ s//\1/; q; }
50993 s/.*/./; q'`
50994 { if $as_mkdir_p; then
50995 mkdir -p "$ac_dir"
50996 else
50997 as_dir="$ac_dir"
50998 as_dirs=
50999 while test ! -d "$as_dir"; do
51000 as_dirs="$as_dir $as_dirs"
51001 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51003 X"$as_dir" : 'X\(//\)[^/]' \| \
51004 X"$as_dir" : 'X\(//\)$' \| \
51005 X"$as_dir" : 'X\(/\)' \| \
51006 . : '\(.\)' 2>/dev/null ||
51007 echo X"$as_dir" |
51008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51010 /^X\(\/\/\)$/{ s//\1/; q; }
51011 /^X\(\/\).*/{ s//\1/; q; }
51012 s/.*/./; q'`
51013 done
51014 test ! -n "$as_dirs" || mkdir $as_dirs
51015 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51016 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51017 { (exit 1); exit 1; }; }; }
51018
51019 ac_builddir=.
51020
51021 if test "$ac_dir" != .; then
51022 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51023 # A "../" for each directory in $ac_dir_suffix.
51024 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51025 else
51026 ac_dir_suffix= ac_top_builddir=
51027 fi
51028
51029 case $srcdir in
51030 .) # No --srcdir option. We are building in place.
51031 ac_srcdir=.
51032 if test -z "$ac_top_builddir"; then
51033 ac_top_srcdir=.
51034 else
51035 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51036 fi ;;
51037 [\\/]* | ?:[\\/]* ) # Absolute path.
51038 ac_srcdir=$srcdir$ac_dir_suffix;
51039 ac_top_srcdir=$srcdir ;;
51040 *) # Relative path.
51041 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51042 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51043 esac
51044
51045 # Do not use `cd foo && pwd` to compute absolute paths, because
51046 # the directories may not exist.
51047 case `pwd` in
51048 .) ac_abs_builddir="$ac_dir";;
51049 *)
51050 case "$ac_dir" in
51051 .) ac_abs_builddir=`pwd`;;
51052 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51053 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51054 esac;;
51055 esac
51056 case $ac_abs_builddir in
51057 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51058 *)
51059 case ${ac_top_builddir}. in
51060 .) ac_abs_top_builddir=$ac_abs_builddir;;
51061 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51062 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51063 esac;;
51064 esac
51065 case $ac_abs_builddir in
51066 .) ac_abs_srcdir=$ac_srcdir;;
51067 *)
51068 case $ac_srcdir in
51069 .) ac_abs_srcdir=$ac_abs_builddir;;
51070 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51071 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51072 esac;;
51073 esac
51074 case $ac_abs_builddir in
51075 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51076 *)
51077 case $ac_top_srcdir in
51078 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51079 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51080 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51081 esac;;
51082 esac
51083
51084
51085 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51086 echo "$as_me: executing $ac_dest commands" >&6;}
51087 case $ac_dest in
51088 rcdefs.h )
51089 mkdir -p $outdir &&
51090 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51091 ;;
51092 wx-config ) rm -f wx-config
51093 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51094 ;;
51095 esac
51096 done
51097 _ACEOF
51098
51099 cat >>$CONFIG_STATUS <<\_ACEOF
51100
51101 { (exit 0); exit 0; }
51102 _ACEOF
51103 chmod +x $CONFIG_STATUS
51104 ac_clean_files=$ac_clean_files_save
51105
51106
51107 # configure is writing to config.log, and then calls config.status.
51108 # config.status does its own redirection, appending to config.log.
51109 # Unfortunately, on DOS this fails, as config.log is still kept open
51110 # by configure, so config.status won't be able to write to it; its
51111 # output is simply discarded. So we exec the FD to /dev/null,
51112 # effectively closing config.log, so it can be properly (re)opened and
51113 # appended to by config.status. When coming back to configure, we
51114 # need to make the FD available again.
51115 if test "$no_create" != yes; then
51116 ac_cs_success=:
51117 ac_config_status_args=
51118 test "$silent" = yes &&
51119 ac_config_status_args="$ac_config_status_args --quiet"
51120 exec 5>/dev/null
51121 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51122 exec 5>>config.log
51123 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51124 # would make configure fail if this is the last instruction.
51125 $ac_cs_success || { (exit 1); exit 1; }
51126 fi
51127
51128 #
51129 # CONFIG_SUBDIRS section.
51130 #
51131 if test "$no_recursion" != yes; then
51132
51133 # Remove --cache-file and --srcdir arguments so they do not pile up.
51134 ac_sub_configure_args=
51135 ac_prev=
51136 for ac_arg in $ac_configure_args; do
51137 if test -n "$ac_prev"; then
51138 ac_prev=
51139 continue
51140 fi
51141 case $ac_arg in
51142 -cache-file | --cache-file | --cache-fil | --cache-fi \
51143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51144 ac_prev=cache_file ;;
51145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51147 | --c=*)
51148 ;;
51149 --config-cache | -C)
51150 ;;
51151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51152 ac_prev=srcdir ;;
51153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51154 ;;
51155 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51156 ac_prev=prefix ;;
51157 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51158 ;;
51159 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51160 esac
51161 done
51162
51163 # Always prepend --prefix to ensure using the same prefix
51164 # in subdir configurations.
51165 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51166
51167 ac_popdir=`pwd`
51168 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51169
51170 # Do not complain, so a configure script can configure whichever
51171 # parts of a large source tree are present.
51172 test -d $srcdir/$ac_dir || continue
51173
51174 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51175 echo "$as_me: configuring in $ac_dir" >&6;}
51176 { if $as_mkdir_p; then
51177 mkdir -p "$ac_dir"
51178 else
51179 as_dir="$ac_dir"
51180 as_dirs=
51181 while test ! -d "$as_dir"; do
51182 as_dirs="$as_dir $as_dirs"
51183 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51184 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51185 X"$as_dir" : 'X\(//\)[^/]' \| \
51186 X"$as_dir" : 'X\(//\)$' \| \
51187 X"$as_dir" : 'X\(/\)' \| \
51188 . : '\(.\)' 2>/dev/null ||
51189 echo X"$as_dir" |
51190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51192 /^X\(\/\/\)$/{ s//\1/; q; }
51193 /^X\(\/\).*/{ s//\1/; q; }
51194 s/.*/./; q'`
51195 done
51196 test ! -n "$as_dirs" || mkdir $as_dirs
51197 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51198 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51199 { (exit 1); exit 1; }; }; }
51200
51201 ac_builddir=.
51202
51203 if test "$ac_dir" != .; then
51204 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51205 # A "../" for each directory in $ac_dir_suffix.
51206 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51207 else
51208 ac_dir_suffix= ac_top_builddir=
51209 fi
51210
51211 case $srcdir in
51212 .) # No --srcdir option. We are building in place.
51213 ac_srcdir=.
51214 if test -z "$ac_top_builddir"; then
51215 ac_top_srcdir=.
51216 else
51217 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51218 fi ;;
51219 [\\/]* | ?:[\\/]* ) # Absolute path.
51220 ac_srcdir=$srcdir$ac_dir_suffix;
51221 ac_top_srcdir=$srcdir ;;
51222 *) # Relative path.
51223 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51224 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51225 esac
51226
51227 # Do not use `cd foo && pwd` to compute absolute paths, because
51228 # the directories may not exist.
51229 case `pwd` in
51230 .) ac_abs_builddir="$ac_dir";;
51231 *)
51232 case "$ac_dir" in
51233 .) ac_abs_builddir=`pwd`;;
51234 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51235 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51236 esac;;
51237 esac
51238 case $ac_abs_builddir in
51239 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51240 *)
51241 case ${ac_top_builddir}. in
51242 .) ac_abs_top_builddir=$ac_abs_builddir;;
51243 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51244 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51245 esac;;
51246 esac
51247 case $ac_abs_builddir in
51248 .) ac_abs_srcdir=$ac_srcdir;;
51249 *)
51250 case $ac_srcdir in
51251 .) ac_abs_srcdir=$ac_abs_builddir;;
51252 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51253 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51254 esac;;
51255 esac
51256 case $ac_abs_builddir in
51257 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51258 *)
51259 case $ac_top_srcdir in
51260 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51261 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51262 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51263 esac;;
51264 esac
51265
51266
51267 cd $ac_dir
51268
51269 # Check for guested configure; otherwise get Cygnus style configure.
51270 if test -f $ac_srcdir/configure.gnu; then
51271 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51272 elif test -f $ac_srcdir/configure; then
51273 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51274 elif test -f $ac_srcdir/configure.in; then
51275 ac_sub_configure=$ac_configure
51276 else
51277 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51278 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51279 ac_sub_configure=
51280 fi
51281
51282 # The recursion is here.
51283 if test -n "$ac_sub_configure"; then
51284 # Make the cache file name correct relative to the subdirectory.
51285 case $cache_file in
51286 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51287 *) # Relative path.
51288 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51289 esac
51290
51291 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51292 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51293 # The eval makes quoting arguments work.
51294 eval $ac_sub_configure $ac_sub_configure_args \
51295 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51296 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51297 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51298 { (exit 1); exit 1; }; }
51299 fi
51300
51301 cd "$ac_popdir"
51302 done
51303 fi
51304
51305
51306 echo
51307 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51308 echo ""
51309 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51310 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51311
51312 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51313 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51314 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51315
51316 echo " What level of wxWidgets compatibility should be enabled?"
51317 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51318 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51319
51320 echo " Which libraries should wxWidgets use?"
51321 echo " jpeg ${wxUSE_LIBJPEG-none}"
51322 echo " png ${wxUSE_LIBPNG-none}"
51323 echo " regex ${wxUSE_REGEX}"
51324 echo " tiff ${wxUSE_LIBTIFF-none}"
51325 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51326 echo " xpm ${wxUSE_LIBXPM-none}"
51327 fi
51328 echo " zlib ${wxUSE_ZLIB}"
51329 echo " odbc ${wxUSE_ODBC}"
51330 echo " expat ${wxUSE_EXPAT}"
51331 echo " libmspack ${wxUSE_LIBMSPACK}"
51332 echo " sdl ${wxUSE_LIBSDL}"
51333
51334 echo ""
51335