]> git.saurik.com Git - wxWidgets.git/blob - configure
wxaui docs after big rename
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_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_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.7.1
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=7
1805 wx_release_number=2
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815
1816
1817 USE_UNIX=1
1818 USE_OS2=0
1819 USE_WIN32=0
1820 USE_DOS=0
1821 USE_BEOS=0
1822 USE_MAC=0
1823
1824 USE_AIX=
1825 USE_BSD= USE_DARWIN= USE_FREEBSD=
1826 USE_GNU= USE_HPUX=
1827 USE_LINUX=
1828 USE_NETBSD=
1829 USE_OPENBSD=
1830 USE_OSF= USE_SGI=
1831 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1832 USE_ULTRIX=
1833 USE_UNIXWARE=
1834
1835 USE_ALPHA=
1836
1837 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1838
1839 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1840
1841 DEFAULT_wxUSE_COCOA=0
1842 DEFAULT_wxUSE_GTK=0
1843 DEFAULT_wxUSE_MAC=0
1844 DEFAULT_wxUSE_MGL=0
1845 DEFAULT_wxUSE_MICROWIN=0
1846 DEFAULT_wxUSE_MOTIF=0
1847 DEFAULT_wxUSE_MSW=0
1848 DEFAULT_wxUSE_PM=0
1849 DEFAULT_wxUSE_X11=0
1850 DEFAULT_wxUSE_DFB=0
1851
1852 DEFAULT_DEFAULT_wxUSE_COCOA=0
1853 DEFAULT_DEFAULT_wxUSE_GTK=0
1854 DEFAULT_DEFAULT_wxUSE_MAC=0
1855 DEFAULT_DEFAULT_wxUSE_MGL=0
1856 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1858 DEFAULT_DEFAULT_wxUSE_MSW=0
1859 DEFAULT_DEFAULT_wxUSE_PM=0
1860 DEFAULT_DEFAULT_wxUSE_X11=0
1861 DEFAULT_DEFAULT_wxUSE_DFB=0
1862
1863 PROGRAM_EXT=
1864 SO_SUFFIX=so
1865 SAMPLES_RPATH_FLAG=
1866 SAMPLES_RPATH_POSTLINK=
1867
1868 DEFAULT_STD_FLAG=yes
1869
1870 case "${host}" in
1871 *-hp-hpux* )
1872 USE_HPUX=1
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1875 SO_SUFFIX=sl
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __HPUX__ 1
1878 _ACEOF
1879
1880
1881 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1882 ;;
1883 *-*-linux* )
1884 USE_LINUX=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __LINUX__ 1
1887 _ACEOF
1888
1889 TMP=`uname -m`
1890 if test "x$TMP" = "xalpha"; then
1891 USE_ALPHA=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __ALPHA__ 1
1894 _ACEOF
1895
1896 fi
1897 DEFAULT_DEFAULT_wxUSE_GTK=1
1898 ;;
1899 *-*-gnu* | *-*-k*bsd*-gnu )
1900 USE_GNU=1
1901 TMP=`uname -m`
1902 if test "x$TMP" = "xalpha"; then
1903 USE_ALPHA=1
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __ALPHA__ 1
1906 _ACEOF
1907
1908 fi
1909 DEFAULT_DEFAULT_wxUSE_GTK=1
1910 ;;
1911 *-*-irix5* | *-*-irix6* )
1912 USE_SGI=1
1913 USE_SVR4=1
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __SGI__ 1
1916 _ACEOF
1917
1918 cat >>confdefs.h <<\_ACEOF
1919 #define __SVR4__ 1
1920 _ACEOF
1921
1922 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1923 ;;
1924 *-*-solaris2* )
1925 USE_SUN=1
1926 USE_SOLARIS=1
1927 USE_SVR4=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __SUN__ 1
1930 _ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __SOLARIS__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __SVR4__ 1
1938 _ACEOF
1939
1940 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1941 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1942 ;;
1943 *-*-sunos4* )
1944 USE_SUN=1
1945 USE_SUNOS=1
1946 USE_BSD=1
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __SUN__ 1
1949 _ACEOF
1950
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __SUNOS__ 1
1953 _ACEOF
1954
1955 cat >>confdefs.h <<\_ACEOF
1956 #define __BSD__ 1
1957 _ACEOF
1958
1959 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1960 ;;
1961 *-*-freebsd*)
1962 USE_BSD=1
1963 USE_FREEBSD=1
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __FREEBSD__ 1
1966 _ACEOF
1967
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __BSD__ 1
1970 _ACEOF
1971
1972 DEFAULT_DEFAULT_wxUSE_GTK=1
1973 ;;
1974 *-*-openbsd*|*-*-mirbsd*)
1975 USE_BSD=1
1976 USE_OPENBSD=1
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __OPENBSD__ 1
1979 _ACEOF
1980
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __BSD__ 1
1983 _ACEOF
1984
1985 DEFAULT_DEFAULT_wxUSE_GTK=1
1986 ;;
1987 *-*-netbsd*)
1988 USE_BSD=1
1989 USE_NETBSD=1
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __NETBSD__ 1
1992 _ACEOF
1993
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __BSD__ 1
1996 _ACEOF
1997
1998 DEFAULT_DEFAULT_wxUSE_GTK=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2000
2001 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2002 ;;
2003 *-*-osf* )
2004 USE_ALPHA=1
2005 USE_OSF=1
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __ALPHA__ 1
2008 _ACEOF
2009
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __OSF__ 1
2012 _ACEOF
2013
2014 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2015 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2016 ;;
2017 *-*-dgux5* )
2018 USE_ALPHA=1
2019 USE_SVR4=1
2020 cat >>confdefs.h <<\_ACEOF
2021 #define __ALPHA__ 1
2022 _ACEOF
2023
2024 cat >>confdefs.h <<\_ACEOF
2025 #define __SVR4__ 1
2026 _ACEOF
2027
2028 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2029 ;;
2030 *-*-sysv5* )
2031 USE_SYSV=1
2032 USE_SVR4=1
2033 cat >>confdefs.h <<\_ACEOF
2034 #define __SYSV__ 1
2035 _ACEOF
2036
2037 cat >>confdefs.h <<\_ACEOF
2038 #define __SVR4__ 1
2039 _ACEOF
2040
2041 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2042 ;;
2043 *-*-aix* )
2044 USE_AIX=1
2045 USE_SYSV=1
2046 USE_SVR4=1
2047 SO_SUFFIX=a
2048 cat >>confdefs.h <<\_ACEOF
2049 #define __AIX__ 1
2050 _ACEOF
2051
2052 cat >>confdefs.h <<\_ACEOF
2053 #define __SYSV__ 1
2054 _ACEOF
2055
2056 cat >>confdefs.h <<\_ACEOF
2057 #define __SVR4__ 1
2058 _ACEOF
2059
2060 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2061 ;;
2062
2063 *-*-*UnixWare*)
2064 USE_SYSV=1
2065 USE_SVR4=1
2066 USE_UNIXWARE=1
2067 cat >>confdefs.h <<\_ACEOF
2068 #define __UNIXWARE__ 1
2069 _ACEOF
2070
2071 ;;
2072
2073 *-*-cygwin* | *-*-mingw32* )
2074 SO_SUFFIX=dll
2075 PROGRAM_EXT=".exe"
2076 DEFAULT_DEFAULT_wxUSE_MSW=1
2077 ;;
2078
2079 *-pc-msdosdjgpp )
2080 USE_UNIX=0
2081 USE_DOS=1
2082 cat >>confdefs.h <<\_ACEOF
2083 #define __DOS__ 1
2084 _ACEOF
2085
2086 PROGRAM_EXT=".exe"
2087 DEFAULT_DEFAULT_wxUSE_MGL=1
2088 ;;
2089
2090 *-pc-os2_emx | *-pc-os2-emx )
2091 cat >>confdefs.h <<\_ACEOF
2092 #define __EMX__ 1
2093 _ACEOF
2094
2095 USE_OS2=1
2096 cat >>confdefs.h <<\_ACEOF
2097 #define __OS2__ 1
2098 _ACEOF
2099
2100 PROGRAM_EXT=".exe"
2101 DEFAULT_DEFAULT_wxUSE_PM=1
2102 CXX=gcc
2103 LDFLAGS="$LDFLAGS -Zcrtdll"
2104 ac_executable_extensions=".exe"
2105 export ac_executable_extensions
2106 ac_save_IFS="$IFS"
2107 IFS='\\'
2108 ac_TEMP_PATH=
2109 for ac_dir in $PATH; do
2110 IFS=$ac_save_IFS
2111 if test -z "$ac_TEMP_PATH"; then
2112 ac_TEMP_PATH="$ac_dir"
2113 else
2114 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2115 fi
2116 done
2117 export PATH="$ac_TEMP_PATH"
2118 unset ac_TEMP_PATH
2119 DEFAULT_STD_FLAG=no
2120 ;;
2121
2122 *-*-darwin* )
2123 USE_BSD=1
2124 USE_DARWIN=1
2125 SO_SUFFIX=dylib
2126 cat >>confdefs.h <<\_ACEOF
2127 #define __BSD__ 1
2128 _ACEOF
2129
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __DARWIN__ 1
2132 _ACEOF
2133
2134 cat >>confdefs.h <<\_ACEOF
2135 #define TARGET_CARBON 1
2136 _ACEOF
2137
2138 DEFAULT_DEFAULT_wxUSE_MAC=1
2139 DEFAULT_STD_FLAG=no
2140 ;;
2141 powerpc-apple-macos* )
2142 USE_UNIX=0
2143 ac_cv_c_bigendian=yes
2144 SO_SUFFIX=shlib
2145 DEFAULT_DEFAULT_wxUSE_MAC=1
2146 DEFAULT_STD_FLAG=no
2147 ;;
2148
2149 *-*-beos* )
2150 USE_BEOS=1
2151 cat >>confdefs.h <<\_ACEOF
2152 #define __BEOS__ 1
2153 _ACEOF
2154
2155 ;;
2156
2157 *)
2158 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2159 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2160 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2161 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2162
2163 DEFAULT_DEFAULT_wxUSE_X11=1
2164 DEFAULT_wxUSE_SHARED=no
2165 esac
2166
2167
2168
2169
2170 wx_arg_cache_file="configarg.cache"
2171 echo "loading argument cache $wx_arg_cache_file"
2172 rm -f ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}.tmp
2174 touch ${wx_arg_cache_file}
2175
2176
2177 DEBUG_CONFIGURE=0
2178 if test $DEBUG_CONFIGURE = 1; then
2179 DEFAULT_wxUSE_UNIVERSAL=no
2180 DEFAULT_wxUSE_STL=no
2181
2182 DEFAULT_wxUSE_NANOX=no
2183
2184 DEFAULT_wxUSE_THREADS=yes
2185
2186 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2187 DEFAULT_wxUSE_OPTIMISE=no
2188 DEFAULT_wxUSE_PROFILE=no
2189 DEFAULT_wxUSE_NO_DEPS=no
2190 DEFAULT_wxUSE_NO_RTTI=no
2191 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2192 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2193 DEFAULT_wxUSE_RPATH=yes
2194 DEFAULT_wxUSE_PERMISSIVE=no
2195 DEFAULT_wxUSE_DEBUG_FLAG=yes
2196 DEFAULT_wxUSE_DEBUG_INFO=yes
2197 DEFAULT_wxUSE_DEBUG_GDB=yes
2198 DEFAULT_wxUSE_MEM_TRACING=no
2199 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2200 DEFAULT_wxUSE_DMALLOC=no
2201 DEFAULT_wxUSE_APPLE_IEEE=no
2202
2203 DEFAULT_wxUSE_EXCEPTIONS=no
2204 DEFAULT_wxUSE_LOG=yes
2205 DEFAULT_wxUSE_LOGWINDOW=no
2206 DEFAULT_wxUSE_LOGGUI=no
2207 DEFAULT_wxUSE_LOGDIALOG=no
2208
2209 DEFAULT_wxUSE_GUI=yes
2210 DEFAULT_wxUSE_CONTROLS=no
2211
2212 DEFAULT_wxUSE_REGEX=no
2213 DEFAULT_wxUSE_XML=no
2214 DEFAULT_wxUSE_EXPAT=no
2215 DEFAULT_wxUSE_ZLIB=no
2216 DEFAULT_wxUSE_LIBPNG=no
2217 DEFAULT_wxUSE_LIBJPEG=no
2218 DEFAULT_wxUSE_LIBTIFF=no
2219 DEFAULT_wxUSE_LIBXPM=no
2220 DEFAULT_wxUSE_LIBMSPACK=no
2221 DEFAULT_wxUSE_LIBSDL=no
2222 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2223 DEFAULT_wxUSE_LIBGNOMEVFS=no
2224 DEFAULT_wxUSE_LIBHILDON=no
2225 DEFAULT_wxUSE_ODBC=no
2226 DEFAULT_wxUSE_OPENGL=no
2227
2228 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2229 DEFAULT_wxUSE_STACKWALKER=no
2230 DEFAULT_wxUSE_DEBUGREPORT=no
2231 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2232 DEFAULT_wxUSE_STD_IOSTREAM=no
2233 DEFAULT_wxUSE_STD_STRING=no
2234 DEFAULT_wxUSE_CMDLINE_PARSER=no
2235 DEFAULT_wxUSE_DATETIME=no
2236 DEFAULT_wxUSE_TIMER=no
2237 DEFAULT_wxUSE_STOPWATCH=no
2238 DEFAULT_wxUSE_FILE=no
2239 DEFAULT_wxUSE_FFILE=no
2240 DEFAULT_wxUSE_STDPATHS=no
2241 DEFAULT_wxUSE_TEXTBUFFER=no
2242 DEFAULT_wxUSE_TEXTFILE=no
2243 DEFAULT_wxUSE_SOUND=no
2244 DEFAULT_wxUSE_MEDIACTRL=no
2245 DEFAULT_wxUSE_GSTREAMER8=no
2246 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2247 DEFAULT_wxUSE_INTL=no
2248 DEFAULT_wxUSE_CONFIG=no
2249 DEFAULT_wxUSE_FONTMAP=no
2250 DEFAULT_wxUSE_STREAMS=no
2251 DEFAULT_wxUSE_SOCKETS=no
2252 DEFAULT_wxUSE_OLE=no
2253 DEFAULT_wxUSE_DATAOBJ=no
2254 DEFAULT_wxUSE_DIALUP_MANAGER=no
2255 DEFAULT_wxUSE_JOYSTICK=no
2256 DEFAULT_wxUSE_DYNLIB_CLASS=no
2257 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2258 DEFAULT_wxUSE_LONGLONG=no
2259 DEFAULT_wxUSE_GEOMETRY=no
2260
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2263 DEFAULT_wxUSE_POSTSCRIPT=no
2264
2265 DEFAULT_wxUSE_CLIPBOARD=no
2266 DEFAULT_wxUSE_TOOLTIPS=no
2267 DEFAULT_wxUSE_DRAG_AND_DROP=no
2268 DEFAULT_wxUSE_DRAGIMAGE=no
2269 DEFAULT_wxUSE_SPLINES=no
2270 DEFAULT_wxUSE_MOUSEWHEEL=no
2271
2272 DEFAULT_wxUSE_MDI=no
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2276
2277 DEFAULT_wxUSE_RESOURCES=no
2278 DEFAULT_wxUSE_CONSTRAINTS=no
2279 DEFAULT_wxUSE_IPC=no
2280 DEFAULT_wxUSE_HELP=no
2281 DEFAULT_wxUSE_MS_HTML_HELP=no
2282 DEFAULT_wxUSE_WXHTML_HELP=no
2283 DEFAULT_wxUSE_TREELAYOUT=no
2284 DEFAULT_wxUSE_METAFILE=no
2285 DEFAULT_wxUSE_MIMETYPE=no
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2287 DEFAULT_wxUSE_PROTOCOL=no
2288 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2289 DEFAULT_wxUSE_PROTOCOL_FTP=no
2290 DEFAULT_wxUSE_PROTOCOL_FILE=no
2291 DEFAULT_wxUSE_URL=no
2292 DEFAULT_wxUSE_VARIANT=no
2293
2294 DEFAULT_wxUSE_ABOUTDLG=no
2295 DEFAULT_wxUSE_COMMONDLGS=no
2296 DEFAULT_wxUSE_CHOICEDLG=no
2297 DEFAULT_wxUSE_COLOURDLG=no
2298 DEFAULT_wxUSE_DIRDLG=no
2299 DEFAULT_wxUSE_FILEDLG=no
2300 DEFAULT_wxUSE_FINDREPLDLG=no
2301 DEFAULT_wxUSE_FONTDLG=no
2302 DEFAULT_wxUSE_MSGDLG=no
2303 DEFAULT_wxUSE_NUMBERDLG=no
2304 DEFAULT_wxUSE_TEXTDLG=no
2305 DEFAULT_wxUSE_SPLASH=no
2306 DEFAULT_wxUSE_STARTUP_TIPS=no
2307 DEFAULT_wxUSE_PROGRESSDLG=no
2308 DEFAULT_wxUSE_WIZARDDLG=no
2309
2310 DEFAULT_wxUSE_MENUS=no
2311 DEFAULT_wxUSE_MINIFRAME=no
2312 DEFAULT_wxUSE_HTML=no
2313 DEFAULT_wxUSE_RICHTEXT=no
2314 DEFAULT_wxUSE_XRC=no
2315 DEFAULT_wxUSE_AUI=no
2316 DEFAULT_wxUSE_WEBKIT=no
2317 DEFAULT_wxUSE_FILESYSTEM=no
2318 DEFAULT_wxUSE_FS_INET=no
2319 DEFAULT_wxUSE_FS_ZIP=no
2320 DEFAULT_wxUSE_FS_ARCHIVE=no
2321 DEFAULT_wxUSE_BUSYINFO=no
2322 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2323 DEFAULT_wxUSE_ZIPSTREAM=no
2324 DEFAULT_wxUSE_TARSTREAM=no
2325 DEFAULT_wxUSE_VALIDATORS=no
2326
2327 DEFAULT_wxUSE_ACCEL=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL=no
2329 DEFAULT_wxUSE_BUTTON=no
2330 DEFAULT_wxUSE_BMPBUTTON=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2332 DEFAULT_wxUSE_CALCTRL=no
2333 DEFAULT_wxUSE_CARET=no
2334 DEFAULT_wxUSE_CHECKBOX=no
2335 DEFAULT_wxUSE_CHECKLST=no
2336 DEFAULT_wxUSE_CHOICE=no
2337 DEFAULT_wxUSE_CHOICEBOOK=no
2338 DEFAULT_wxUSE_COLLPANE=no
2339 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2340 DEFAULT_wxUSE_COMBOBOX=no
2341 DEFAULT_wxUSE_COMBOCTRL=no
2342 DEFAULT_wxUSE_DATEPICKCTRL=no
2343 DEFAULT_wxUSE_DISPLAY=no
2344 DEFAULT_wxUSE_DETECT_SM=no
2345 DEFAULT_wxUSE_DIRPICKERCTRL=no
2346 DEFAULT_wxUSE_FILEPICKERCTRL=no
2347 DEFAULT_wxUSE_FONTPICKERCTRL=no
2348 DEFAULT_wxUSE_GAUGE=no
2349 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2350 DEFAULT_wxUSE_GRID=no
2351 DEFAULT_wxUSE_HYPERLINKCTRL=no
2352 DEFAULT_wxUSE_DATAVIEWCTRL=no
2353 DEFAULT_wxUSE_IMAGLIST=no
2354 DEFAULT_wxUSE_LISTBOOK=no
2355 DEFAULT_wxUSE_LISTBOX=no
2356 DEFAULT_wxUSE_LISTCTRL=no
2357 DEFAULT_wxUSE_NOTEBOOK=no
2358 DEFAULT_wxUSE_ODCOMBOBOX=no
2359 DEFAULT_wxUSE_RADIOBOX=no
2360 DEFAULT_wxUSE_RADIOBTN=no
2361 DEFAULT_wxUSE_SASH=no
2362 DEFAULT_wxUSE_SCROLLBAR=no
2363 DEFAULT_wxUSE_SLIDER=no
2364 DEFAULT_wxUSE_SPINBTN=no
2365 DEFAULT_wxUSE_SPINCTRL=no
2366 DEFAULT_wxUSE_SPLITTER=no
2367 DEFAULT_wxUSE_STATBMP=no
2368 DEFAULT_wxUSE_STATBOX=no
2369 DEFAULT_wxUSE_STATLINE=no
2370 DEFAULT_wxUSE_STATTEXT=no
2371 DEFAULT_wxUSE_STATUSBAR=yes
2372 DEFAULT_wxUSE_TAB_DIALOG=no
2373 DEFAULT_wxUSE_TEXTCTRL=no
2374 DEFAULT_wxUSE_TOGGLEBTN=no
2375 DEFAULT_wxUSE_TOOLBAR=no
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2377 DEFAULT_wxUSE_TREEBOOK=no
2378 DEFAULT_wxUSE_TOOLBOOK=no
2379 DEFAULT_wxUSE_TREECTRL=no
2380 DEFAULT_wxUSE_POPUPWIN=no
2381 DEFAULT_wxUSE_TIPWINDOW=no
2382
2383 DEFAULT_wxUSE_UNICODE=no
2384 DEFAULT_wxUSE_UNICODE_MSLU=no
2385 DEFAULT_wxUSE_WCSRTOMBS=no
2386
2387 DEFAULT_wxUSE_PALETTE=no
2388 DEFAULT_wxUSE_IMAGE=no
2389 DEFAULT_wxUSE_GIF=no
2390 DEFAULT_wxUSE_PCX=no
2391 DEFAULT_wxUSE_TGA=no
2392 DEFAULT_wxUSE_PNM=no
2393 DEFAULT_wxUSE_IFF=no
2394 DEFAULT_wxUSE_XPM=no
2395 DEFAULT_wxUSE_ICO_CUR=no
2396 DEFAULT_wxUSE_ACCESSIBILITY=no
2397
2398 DEFAULT_wxUSE_MONOLITHIC=no
2399 DEFAULT_wxUSE_PLUGINS=no
2400 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2401 else
2402 DEFAULT_wxUSE_UNIVERSAL=no
2403 DEFAULT_wxUSE_STL=no
2404
2405 DEFAULT_wxUSE_NANOX=no
2406
2407 DEFAULT_wxUSE_THREADS=yes
2408
2409 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2410 DEFAULT_wxUSE_OPTIMISE=yes
2411 DEFAULT_wxUSE_PROFILE=no
2412 DEFAULT_wxUSE_NO_DEPS=no
2413 DEFAULT_wxUSE_NO_RTTI=no
2414 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2415 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2416 DEFAULT_wxUSE_RPATH=yes
2417 DEFAULT_wxUSE_PERMISSIVE=no
2418 DEFAULT_wxUSE_DEBUG_FLAG=no
2419 DEFAULT_wxUSE_DEBUG_INFO=no
2420 DEFAULT_wxUSE_DEBUG_GDB=no
2421 DEFAULT_wxUSE_MEM_TRACING=no
2422 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2423 DEFAULT_wxUSE_DMALLOC=no
2424 DEFAULT_wxUSE_APPLE_IEEE=yes
2425
2426 DEFAULT_wxUSE_EXCEPTIONS=yes
2427 DEFAULT_wxUSE_LOG=yes
2428 DEFAULT_wxUSE_LOGWINDOW=yes
2429 DEFAULT_wxUSE_LOGGUI=yes
2430 DEFAULT_wxUSE_LOGDIALOG=yes
2431
2432 DEFAULT_wxUSE_GUI=yes
2433
2434 DEFAULT_wxUSE_REGEX=yes
2435 DEFAULT_wxUSE_XML=yes
2436 DEFAULT_wxUSE_EXPAT=yes
2437 DEFAULT_wxUSE_ZLIB=yes
2438 DEFAULT_wxUSE_LIBPNG=yes
2439 DEFAULT_wxUSE_LIBJPEG=yes
2440 DEFAULT_wxUSE_LIBTIFF=yes
2441 DEFAULT_wxUSE_LIBXPM=yes
2442 DEFAULT_wxUSE_LIBMSPACK=yes
2443 DEFAULT_wxUSE_LIBSDL=no
2444 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2445 DEFAULT_wxUSE_LIBGNOMEVFS=no
2446 DEFAULT_wxUSE_LIBHILDON=no
2447 DEFAULT_wxUSE_ODBC=no
2448 DEFAULT_wxUSE_OPENGL=no
2449
2450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2451 DEFAULT_wxUSE_STACKWALKER=yes
2452 DEFAULT_wxUSE_DEBUGREPORT=yes
2453 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2454 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2455 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2456 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2457 DEFAULT_wxUSE_DATETIME=yes
2458 DEFAULT_wxUSE_TIMER=yes
2459 DEFAULT_wxUSE_STOPWATCH=yes
2460 DEFAULT_wxUSE_FILE=yes
2461 DEFAULT_wxUSE_FFILE=yes
2462 DEFAULT_wxUSE_STDPATHS=yes
2463 DEFAULT_wxUSE_TEXTBUFFER=yes
2464 DEFAULT_wxUSE_TEXTFILE=yes
2465 DEFAULT_wxUSE_SOUND=yes
2466 DEFAULT_wxUSE_MEDIACTRL=no
2467 DEFAULT_wxUSE_GSTREAMER8=no
2468 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2469 DEFAULT_wxUSE_INTL=yes
2470 DEFAULT_wxUSE_CONFIG=yes
2471 DEFAULT_wxUSE_FONTMAP=yes
2472 DEFAULT_wxUSE_STREAMS=yes
2473 DEFAULT_wxUSE_SOCKETS=yes
2474 DEFAULT_wxUSE_OLE=yes
2475 DEFAULT_wxUSE_DATAOBJ=yes
2476 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2477 DEFAULT_wxUSE_JOYSTICK=yes
2478 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2479 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2480 DEFAULT_wxUSE_LONGLONG=yes
2481 DEFAULT_wxUSE_GEOMETRY=yes
2482
2483 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2484 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2485 DEFAULT_wxUSE_POSTSCRIPT=yes
2486
2487 DEFAULT_wxUSE_CLIPBOARD=yes
2488 DEFAULT_wxUSE_TOOLTIPS=yes
2489 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2490 DEFAULT_wxUSE_DRAGIMAGE=yes
2491 DEFAULT_wxUSE_SPLINES=yes
2492 DEFAULT_wxUSE_MOUSEWHEEL=yes
2493
2494 DEFAULT_wxUSE_MDI=yes
2495 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2496 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2497 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2498
2499 DEFAULT_wxUSE_RESOURCES=no
2500 DEFAULT_wxUSE_CONSTRAINTS=yes
2501 DEFAULT_wxUSE_IPC=yes
2502 DEFAULT_wxUSE_HELP=yes
2503 DEFAULT_wxUSE_MS_HTML_HELP=yes
2504 DEFAULT_wxUSE_WXHTML_HELP=yes
2505 DEFAULT_wxUSE_TREELAYOUT=yes
2506 DEFAULT_wxUSE_METAFILE=yes
2507 DEFAULT_wxUSE_MIMETYPE=yes
2508 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2509 DEFAULT_wxUSE_PROTOCOL=yes
2510 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2511 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2512 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2513 DEFAULT_wxUSE_URL=yes
2514 DEFAULT_wxUSE_VARIANT=yes
2515
2516 DEFAULT_wxUSE_ABOUTDLG=yes
2517 DEFAULT_wxUSE_COMMONDLGS=yes
2518 DEFAULT_wxUSE_CHOICEDLG=yes
2519 DEFAULT_wxUSE_COLOURDLG=yes
2520 DEFAULT_wxUSE_DIRDLG=yes
2521 DEFAULT_wxUSE_FILEDLG=yes
2522 DEFAULT_wxUSE_FINDREPLDLG=yes
2523 DEFAULT_wxUSE_FONTDLG=yes
2524 DEFAULT_wxUSE_MSGDLG=yes
2525 DEFAULT_wxUSE_NUMBERDLG=yes
2526 DEFAULT_wxUSE_TEXTDLG=yes
2527 DEFAULT_wxUSE_SPLASH=yes
2528 DEFAULT_wxUSE_STARTUP_TIPS=yes
2529 DEFAULT_wxUSE_PROGRESSDLG=yes
2530 DEFAULT_wxUSE_WIZARDDLG=yes
2531
2532 DEFAULT_wxUSE_MENUS=yes
2533 DEFAULT_wxUSE_MINIFRAME=yes
2534 DEFAULT_wxUSE_HTML=yes
2535 DEFAULT_wxUSE_RICHTEXT=yes
2536 DEFAULT_wxUSE_XRC=yes
2537 DEFAULT_wxUSE_AUI=yes
2538 DEFAULT_wxUSE_WEBKIT=yes
2539 DEFAULT_wxUSE_FILESYSTEM=yes
2540 DEFAULT_wxUSE_FS_INET=yes
2541 DEFAULT_wxUSE_FS_ZIP=yes
2542 DEFAULT_wxUSE_FS_ARCHIVE=yes
2543 DEFAULT_wxUSE_BUSYINFO=yes
2544 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2545 DEFAULT_wxUSE_ZIPSTREAM=yes
2546 DEFAULT_wxUSE_TARSTREAM=yes
2547 DEFAULT_wxUSE_VALIDATORS=yes
2548
2549 DEFAULT_wxUSE_ACCEL=yes
2550 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2551 DEFAULT_wxUSE_BUTTON=yes
2552 DEFAULT_wxUSE_BMPBUTTON=yes
2553 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2554 DEFAULT_wxUSE_CALCTRL=yes
2555 DEFAULT_wxUSE_CARET=yes
2556 DEFAULT_wxUSE_CHECKBOX=yes
2557 DEFAULT_wxUSE_CHECKLST=yes
2558 DEFAULT_wxUSE_CHOICE=yes
2559 DEFAULT_wxUSE_CHOICEBOOK=yes
2560 DEFAULT_wxUSE_COLLPANE=yes
2561 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2562 DEFAULT_wxUSE_COMBOBOX=yes
2563 DEFAULT_wxUSE_COMBOCTRL=yes
2564 DEFAULT_wxUSE_DATEPICKCTRL=yes
2565 DEFAULT_wxUSE_DISPLAY=yes
2566 DEFAULT_wxUSE_DETECT_SM=yes
2567 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2568 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2569 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2570 DEFAULT_wxUSE_GAUGE=yes
2571 DEFAULT_wxUSE_GRID=yes
2572 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2573 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2574 DEFAULT_wxUSE_DATAVIEWCTRL=no
2575 DEFAULT_wxUSE_IMAGLIST=yes
2576 DEFAULT_wxUSE_LISTBOOK=yes
2577 DEFAULT_wxUSE_LISTBOX=yes
2578 DEFAULT_wxUSE_LISTCTRL=yes
2579 DEFAULT_wxUSE_NOTEBOOK=yes
2580 DEFAULT_wxUSE_ODCOMBOBOX=yes
2581 DEFAULT_wxUSE_RADIOBOX=yes
2582 DEFAULT_wxUSE_RADIOBTN=yes
2583 DEFAULT_wxUSE_SASH=yes
2584 DEFAULT_wxUSE_SCROLLBAR=yes
2585 DEFAULT_wxUSE_SLIDER=yes
2586 DEFAULT_wxUSE_SPINBTN=yes
2587 DEFAULT_wxUSE_SPINCTRL=yes
2588 DEFAULT_wxUSE_SPLITTER=yes
2589 DEFAULT_wxUSE_STATBMP=yes
2590 DEFAULT_wxUSE_STATBOX=yes
2591 DEFAULT_wxUSE_STATLINE=yes
2592 DEFAULT_wxUSE_STATTEXT=yes
2593 DEFAULT_wxUSE_STATUSBAR=yes
2594 DEFAULT_wxUSE_TAB_DIALOG=no
2595 DEFAULT_wxUSE_TEXTCTRL=yes
2596 DEFAULT_wxUSE_TOGGLEBTN=yes
2597 DEFAULT_wxUSE_TOOLBAR=yes
2598 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2599 DEFAULT_wxUSE_TREEBOOK=yes
2600 DEFAULT_wxUSE_TOOLBOOK=yes
2601 DEFAULT_wxUSE_TREECTRL=yes
2602 DEFAULT_wxUSE_POPUPWIN=yes
2603 DEFAULT_wxUSE_TIPWINDOW=yes
2604
2605 DEFAULT_wxUSE_UNICODE=no
2606 DEFAULT_wxUSE_UNICODE_MSLU=yes
2607 DEFAULT_wxUSE_WCSRTOMBS=no
2608
2609 DEFAULT_wxUSE_PALETTE=yes
2610 DEFAULT_wxUSE_IMAGE=yes
2611 DEFAULT_wxUSE_GIF=yes
2612 DEFAULT_wxUSE_PCX=yes
2613 DEFAULT_wxUSE_TGA=yes
2614 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2615 DEFAULT_wxUSE_XPM=yes
2616 DEFAULT_wxUSE_ICO_CUR=yes
2617 DEFAULT_wxUSE_ACCESSIBILITY=no
2618
2619 DEFAULT_wxUSE_MONOLITHIC=no
2620 DEFAULT_wxUSE_PLUGINS=no
2621 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2622
2623 DEFAULT_wxUSE_GTK2=yes
2624 fi
2625
2626
2627
2628
2629 for toolkit in `echo $ALL_TOOLKITS`; do
2630 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2631 if test "x$LINE" != "x" ; then
2632 has_toolkit_in_cache=1
2633 eval "DEFAULT_$LINE"
2634 eval "CACHE_$toolkit=1"
2635
2636 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 eval "DEFAULT_$LINE"
2639 fi
2640 fi
2641 done
2642
2643
2644
2645 enablestring=
2646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2647 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2648 no_cache=0
2649 # Check whether --enable-gui or --disable-gui was given.
2650 if test "${enable_gui+set}" = set; then
2651 enableval="$enable_gui"
2652
2653 if test "$enableval" = yes; then
2654 ac_cv_use_gui='wxUSE_GUI=yes'
2655 else
2656 ac_cv_use_gui='wxUSE_GUI=no'
2657 fi
2658
2659 else
2660
2661 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x ; then
2663 eval "DEFAULT_$LINE"
2664 else
2665 no_cache=1
2666 fi
2667
2668 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2669
2670 fi;
2671
2672 eval "$ac_cv_use_gui"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2675 fi
2676
2677 if test "$wxUSE_GUI" = yes; then
2678 echo "$as_me:$LINENO: result: yes" >&5
2679 echo "${ECHO_T}yes" >&6
2680 else
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2683 fi
2684
2685
2686 enablestring=
2687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2688 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2689 no_cache=0
2690 # Check whether --enable-monolithic or --disable-monolithic was given.
2691 if test "${enable_monolithic+set}" = set; then
2692 enableval="$enable_monolithic"
2693
2694 if test "$enableval" = yes; then
2695 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2696 else
2697 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2698 fi
2699
2700 else
2701
2702 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x ; then
2704 eval "DEFAULT_$LINE"
2705 else
2706 no_cache=1
2707 fi
2708
2709 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2710
2711 fi;
2712
2713 eval "$ac_cv_use_monolithic"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2716 fi
2717
2718 if test "$wxUSE_MONOLITHIC" = yes; then
2719 echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6
2721 else
2722 echo "$as_me:$LINENO: result: no" >&5
2723 echo "${ECHO_T}no" >&6
2724 fi
2725
2726
2727 enablestring=
2728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2729 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2730 no_cache=0
2731 # Check whether --enable-plugins or --disable-plugins was given.
2732 if test "${enable_plugins+set}" = set; then
2733 enableval="$enable_plugins"
2734
2735 if test "$enableval" = yes; then
2736 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2737 else
2738 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2739 fi
2740
2741 else
2742
2743 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2746 else
2747 no_cache=1
2748 fi
2749
2750 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2751
2752 fi;
2753
2754 eval "$ac_cv_use_plugins"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2757 fi
2758
2759 if test "$wxUSE_PLUGINS" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2762 else
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2765 fi
2766
2767
2768 withstring=without
2769 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2770 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2771 no_cache=0
2772
2773 # Check whether --with-subdirs or --without-subdirs was given.
2774 if test "${with_subdirs+set}" = set; then
2775 withval="$with_subdirs"
2776
2777 if test "$withval" = yes; then
2778 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2779 else
2780 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2781 fi
2782
2783 else
2784
2785 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x ; then
2787 eval "DEFAULT_$LINE"
2788 else
2789 no_cache=1
2790 fi
2791
2792 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2793
2794 fi;
2795
2796 eval "$ac_cv_use_subdirs"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2799 fi
2800
2801 if test "$wxWITH_SUBDIRS" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 else
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 fi
2808
2809
2810 if test "$wxUSE_GUI" = "yes"; then
2811
2812
2813 enablestring=
2814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2815 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2816 no_cache=0
2817 # Check whether --enable-universal or --disable-universal was given.
2818 if test "${enable_universal+set}" = set; then
2819 enableval="$enable_universal"
2820
2821 if test "$enableval" = yes; then
2822 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2823 else
2824 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2825 fi
2826
2827 else
2828
2829 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x ; then
2831 eval "DEFAULT_$LINE"
2832 else
2833 no_cache=1
2834 fi
2835
2836 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2837
2838 fi;
2839
2840 eval "$ac_cv_use_universal"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2843 fi
2844
2845 if test "$wxUSE_UNIVERSAL" = yes; then
2846 echo "$as_me:$LINENO: result: yes" >&5
2847 echo "${ECHO_T}yes" >&6
2848 else
2849 echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6
2851 fi
2852
2853
2854 # Check whether --with-gtk or --without-gtk was given.
2855 if test "${with_gtk+set}" = set; then
2856 withval="$with_gtk"
2857 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2858 fi;
2859
2860 # Check whether --with-motif or --without-motif was given.
2861 if test "${with_motif+set}" = set; then
2862 withval="$with_motif"
2863 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2864 fi;
2865
2866 # Check whether --with-mac or --without-mac was given.
2867 if test "${with_mac+set}" = set; then
2868 withval="$with_mac"
2869 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2870 fi;
2871
2872 # Check whether --with-cocoa or --without-cocoa was given.
2873 if test "${with_cocoa+set}" = set; then
2874 withval="$with_cocoa"
2875 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2876 fi;
2877
2878 # Check whether --with-wine or --without-wine was given.
2879 if test "${with_wine+set}" = set; then
2880 withval="$with_wine"
2881 wxUSE_WINE="$withval" CACHE_WINE=1
2882 fi;
2883
2884 # Check whether --with-msw or --without-msw was given.
2885 if test "${with_msw+set}" = set; then
2886 withval="$with_msw"
2887 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2888 fi;
2889
2890 # Check whether --with-pm or --without-pm was given.
2891 if test "${with_pm+set}" = set; then
2892 withval="$with_pm"
2893 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2894 fi;
2895
2896 # Check whether --with-mgl or --without-mgl was given.
2897 if test "${with_mgl+set}" = set; then
2898 withval="$with_mgl"
2899 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2900 fi;
2901
2902 # Check whether --with-directfb or --without-directfb was given.
2903 if test "${with_directfb+set}" = set; then
2904 withval="$with_directfb"
2905 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2906 fi;
2907
2908 # Check whether --with-microwin or --without-microwin was given.
2909 if test "${with_microwin+set}" = set; then
2910 withval="$with_microwin"
2911 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2912 fi;
2913
2914 # Check whether --with-x11 or --without-x11 was given.
2915 if test "${with_x11+set}" = set; then
2916 withval="$with_x11"
2917 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2918 fi;
2919
2920 enablestring=
2921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2922 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2923 no_cache=0
2924 # Check whether --enable-nanox or --disable-nanox was given.
2925 if test "${enable_nanox+set}" = set; then
2926 enableval="$enable_nanox"
2927
2928 if test "$enableval" = yes; then
2929 ac_cv_use_nanox='wxUSE_NANOX=yes'
2930 else
2931 ac_cv_use_nanox='wxUSE_NANOX=no'
2932 fi
2933
2934 else
2935
2936 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x ; then
2938 eval "DEFAULT_$LINE"
2939 else
2940 no_cache=1
2941 fi
2942
2943 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2944
2945 fi;
2946
2947 eval "$ac_cv_use_nanox"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2950 fi
2951
2952 if test "$wxUSE_NANOX" = yes; then
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2955 else
2956 echo "$as_me:$LINENO: result: no" >&5
2957 echo "${ECHO_T}no" >&6
2958 fi
2959
2960
2961 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2962 if test "${enable_gtk2+set}" = set; then
2963 enableval="$enable_gtk2"
2964 wxUSE_GTK2="$enableval"
2965 fi;
2966
2967 enablestring=
2968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2970 no_cache=0
2971 # Check whether --enable-gpe or --disable-gpe was given.
2972 if test "${enable_gpe+set}" = set; then
2973 enableval="$enable_gpe"
2974
2975 if test "$enableval" = yes; then
2976 ac_cv_use_gpe='wxUSE_GPE=yes'
2977 else
2978 ac_cv_use_gpe='wxUSE_GPE=no'
2979 fi
2980
2981 else
2982
2983 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x ; then
2985 eval "DEFAULT_$LINE"
2986 else
2987 no_cache=1
2988 fi
2989
2990 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2991
2992 fi;
2993
2994 eval "$ac_cv_use_gpe"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2997 fi
2998
2999 if test "$wxUSE_GPE" = yes; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3002 else
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3005 fi
3006
3007
3008
3009 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3010 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3011 no_cache=0
3012
3013 # Check whether --with-libpng or --without-libpng was given.
3014 if test "${with_libpng+set}" = set; then
3015 withval="$with_libpng"
3016
3017 if test "$withval" = yes; then
3018 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3019 elif test "$withval" = no; then
3020 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3021 elif test "$withval" = sys; then
3022 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3023 elif test "$withval" = builtin; then
3024 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3025 else
3026 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3027 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3028 { (exit 1); exit 1; }; }
3029 fi
3030
3031 else
3032
3033 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x ; then
3035 eval "DEFAULT_$LINE"
3036 else
3037 no_cache=1
3038 fi
3039
3040 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3041
3042 fi;
3043
3044 eval "$ac_cv_use_libpng"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3047 fi
3048
3049 if test "$wxUSE_LIBPNG" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3052 elif test "$wxUSE_LIBPNG" = no; then
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 elif test "$wxUSE_LIBPNG" = sys; then
3056 echo "$as_me:$LINENO: result: system version" >&5
3057 echo "${ECHO_T}system version" >&6
3058 elif test "$wxUSE_LIBPNG" = builtin; then
3059 echo "$as_me:$LINENO: result: builtin version" >&5
3060 echo "${ECHO_T}builtin version" >&6
3061 else
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3065 fi
3066
3067
3068 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3069 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3070 no_cache=0
3071
3072 # Check whether --with-libjpeg or --without-libjpeg was given.
3073 if test "${with_libjpeg+set}" = set; then
3074 withval="$with_libjpeg"
3075
3076 if test "$withval" = yes; then
3077 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3078 elif test "$withval" = no; then
3079 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3080 elif test "$withval" = sys; then
3081 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3082 elif test "$withval" = builtin; then
3083 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3084 else
3085 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3086 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3087 { (exit 1); exit 1; }; }
3088 fi
3089
3090 else
3091
3092 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x ; then
3094 eval "DEFAULT_$LINE"
3095 else
3096 no_cache=1
3097 fi
3098
3099 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3100
3101 fi;
3102
3103 eval "$ac_cv_use_libjpeg"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3106 fi
3107
3108 if test "$wxUSE_LIBJPEG" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3111 elif test "$wxUSE_LIBJPEG" = no; then
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3114 elif test "$wxUSE_LIBJPEG" = sys; then
3115 echo "$as_me:$LINENO: result: system version" >&5
3116 echo "${ECHO_T}system version" >&6
3117 elif test "$wxUSE_LIBJPEG" = builtin; then
3118 echo "$as_me:$LINENO: result: builtin version" >&5
3119 echo "${ECHO_T}builtin version" >&6
3120 else
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3124 fi
3125
3126
3127 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3128 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3129 no_cache=0
3130
3131 # Check whether --with-libtiff or --without-libtiff was given.
3132 if test "${with_libtiff+set}" = set; then
3133 withval="$with_libtiff"
3134
3135 if test "$withval" = yes; then
3136 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3137 elif test "$withval" = no; then
3138 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3139 elif test "$withval" = sys; then
3140 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3141 elif test "$withval" = builtin; then
3142 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3143 else
3144 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3145 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3146 { (exit 1); exit 1; }; }
3147 fi
3148
3149 else
3150
3151 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 else
3155 no_cache=1
3156 fi
3157
3158 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3159
3160 fi;
3161
3162 eval "$ac_cv_use_libtiff"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_LIBTIFF" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 elif test "$wxUSE_LIBTIFF" = no; then
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 elif test "$wxUSE_LIBTIFF" = sys; then
3174 echo "$as_me:$LINENO: result: system version" >&5
3175 echo "${ECHO_T}system version" >&6
3176 elif test "$wxUSE_LIBTIFF" = builtin; then
3177 echo "$as_me:$LINENO: result: builtin version" >&5
3178 echo "${ECHO_T}builtin version" >&6
3179 else
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3183 fi
3184
3185
3186 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3187 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3188 no_cache=0
3189
3190 # Check whether --with-libxpm or --without-libxpm was given.
3191 if test "${with_libxpm+set}" = set; then
3192 withval="$with_libxpm"
3193
3194 if test "$withval" = yes; then
3195 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3196 elif test "$withval" = no; then
3197 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3198 elif test "$withval" = sys; then
3199 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3200 elif test "$withval" = builtin; then
3201 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3202 else
3203 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3204 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3205 { (exit 1); exit 1; }; }
3206 fi
3207
3208 else
3209
3210 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 else
3214 no_cache=1
3215 fi
3216
3217 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3218
3219 fi;
3220
3221 eval "$ac_cv_use_libxpm"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test "$wxUSE_LIBXPM" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 elif test "$wxUSE_LIBXPM" = no; then
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 elif test "$wxUSE_LIBXPM" = sys; then
3233 echo "$as_me:$LINENO: result: system version" >&5
3234 echo "${ECHO_T}system version" >&6
3235 elif test "$wxUSE_LIBXPM" = builtin; then
3236 echo "$as_me:$LINENO: result: builtin version" >&5
3237 echo "${ECHO_T}builtin version" >&6
3238 else
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3242 fi
3243
3244
3245 withstring=
3246 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3247 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3248 no_cache=0
3249
3250 # Check whether --with-libmspack or --without-libmspack was given.
3251 if test "${with_libmspack+set}" = set; then
3252 withval="$with_libmspack"
3253
3254 if test "$withval" = yes; then
3255 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3256 else
3257 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3258 fi
3259
3260 else
3261
3262 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x ; then
3264 eval "DEFAULT_$LINE"
3265 else
3266 no_cache=1
3267 fi
3268
3269 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3270
3271 fi;
3272
3273 eval "$ac_cv_use_libmspack"
3274 if test "$no_cache" != 1; then
3275 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3276 fi
3277
3278 if test "$wxUSE_LIBMSPACK" = yes; then
3279 echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6
3281 else
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3284 fi
3285
3286
3287 withstring=
3288 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3289 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-sdl or --without-sdl was given.
3293 if test "${with_sdl+set}" = set; then
3294 withval="$with_sdl"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3298 else
3299 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3300 fi
3301
3302 else
3303
3304 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x ; then
3306 eval "DEFAULT_$LINE"
3307 else
3308 no_cache=1
3309 fi
3310
3311 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3312
3313 fi;
3314
3315 eval "$ac_cv_use_sdl"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3318 fi
3319
3320 if test "$wxUSE_LIBSDL" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 else
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 fi
3327
3328
3329 withstring=
3330 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3331 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3332 no_cache=0
3333
3334 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3335 if test "${with_gnomeprint+set}" = set; then
3336 withval="$with_gnomeprint"
3337
3338 if test "$withval" = yes; then
3339 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3340 else
3341 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3342 fi
3343
3344 else
3345
3346 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3349 else
3350 no_cache=1
3351 fi
3352
3353 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3354
3355 fi;
3356
3357 eval "$ac_cv_use_gnomeprint"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3360 fi
3361
3362 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3365 else
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3368 fi
3369
3370
3371 withstring=
3372 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3373 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3374 no_cache=0
3375
3376 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3377 if test "${with_gnomevfs+set}" = set; then
3378 withval="$with_gnomevfs"
3379
3380 if test "$withval" = yes; then
3381 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3382 else
3383 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3384 fi
3385
3386 else
3387
3388 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x ; then
3390 eval "DEFAULT_$LINE"
3391 else
3392 no_cache=1
3393 fi
3394
3395 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3396
3397 fi;
3398
3399 eval "$ac_cv_use_gnomevfs"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3402 fi
3403
3404 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3405 echo "$as_me:$LINENO: result: yes" >&5
3406 echo "${ECHO_T}yes" >&6
3407 else
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3410 fi
3411
3412
3413 withstring=
3414 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3415 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3416 no_cache=0
3417
3418 # Check whether --with-hildon or --without-hildon was given.
3419 if test "${with_hildon+set}" = set; then
3420 withval="$with_hildon"
3421
3422 if test "$withval" = yes; then
3423 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3424 else
3425 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3438
3439 fi;
3440
3441 eval "$ac_cv_use_hildon"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_LIBHILDON" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 else
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 fi
3453
3454
3455 withstring=
3456 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3457 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3458 no_cache=0
3459
3460 # Check whether --with-opengl or --without-opengl was given.
3461 if test "${with_opengl+set}" = set; then
3462 withval="$with_opengl"
3463
3464 if test "$withval" = yes; then
3465 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3466 else
3467 ac_cv_use_opengl='wxUSE_OPENGL=no'
3468 fi
3469
3470 else
3471
3472 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x ; then
3474 eval "DEFAULT_$LINE"
3475 else
3476 no_cache=1
3477 fi
3478
3479 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3480
3481 fi;
3482
3483 eval "$ac_cv_use_opengl"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3486 fi
3487
3488 if test "$wxUSE_OPENGL" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3491 else
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3494 fi
3495
3496
3497 if test "$wxUSE_UNIVERSAL" = "yes"; then
3498
3499 # Check whether --with-themes or --without-themes was given.
3500 if test "${with_themes+set}" = set; then
3501 withval="$with_themes"
3502 wxUNIV_THEMES="$withval"
3503 fi;
3504 fi
3505
3506 fi
3507
3508
3509 withstring=
3510 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3511 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3512 no_cache=0
3513
3514 # Check whether --with-dmalloc or --without-dmalloc was given.
3515 if test "${with_dmalloc+set}" = set; then
3516 withval="$with_dmalloc"
3517
3518 if test "$withval" = yes; then
3519 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3520 else
3521 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3522 fi
3523
3524 else
3525
3526 LINE=`grep "wxUSE_DMALLOC" ${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_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3534
3535 fi;
3536
3537 eval "$ac_cv_use_dmalloc"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test "$wxUSE_DMALLOC" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 else
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 fi
3549
3550
3551 echo "$as_me:$LINENO: checking for --with-regex" >&5
3552 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3553 no_cache=0
3554
3555 # Check whether --with-regex or --without-regex was given.
3556 if test "${with_regex+set}" = set; then
3557 withval="$with_regex"
3558
3559 if test "$withval" = yes; then
3560 ac_cv_use_regex='wxUSE_REGEX=yes'
3561 elif test "$withval" = no; then
3562 ac_cv_use_regex='wxUSE_REGEX=no'
3563 elif test "$withval" = sys; then
3564 ac_cv_use_regex='wxUSE_REGEX=sys'
3565 elif test "$withval" = builtin; then
3566 ac_cv_use_regex='wxUSE_REGEX=builtin'
3567 else
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3571 fi
3572
3573 else
3574
3575 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x ; then
3577 eval "DEFAULT_$LINE"
3578 else
3579 no_cache=1
3580 fi
3581
3582 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3583
3584 fi;
3585
3586 eval "$ac_cv_use_regex"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3589 fi
3590
3591 if test "$wxUSE_REGEX" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3594 elif test "$wxUSE_REGEX" = no; then
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3597 elif test "$wxUSE_REGEX" = sys; then
3598 echo "$as_me:$LINENO: result: system version" >&5
3599 echo "${ECHO_T}system version" >&6
3600 elif test "$wxUSE_REGEX" = builtin; then
3601 echo "$as_me:$LINENO: result: builtin version" >&5
3602 echo "${ECHO_T}builtin version" >&6
3603 else
3604 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3605 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3606 { (exit 1); exit 1; }; }
3607 fi
3608
3609
3610 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3611 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3612 no_cache=0
3613
3614 # Check whether --with-zlib or --without-zlib was given.
3615 if test "${with_zlib+set}" = set; then
3616 withval="$with_zlib"
3617
3618 if test "$withval" = yes; then
3619 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3620 elif test "$withval" = no; then
3621 ac_cv_use_zlib='wxUSE_ZLIB=no'
3622 elif test "$withval" = sys; then
3623 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3624 elif test "$withval" = builtin; then
3625 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3626 else
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3630 fi
3631
3632 else
3633
3634 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x ; then
3636 eval "DEFAULT_$LINE"
3637 else
3638 no_cache=1
3639 fi
3640
3641 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3642
3643 fi;
3644
3645 eval "$ac_cv_use_zlib"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3648 fi
3649
3650 if test "$wxUSE_ZLIB" = yes; then
3651 echo "$as_me:$LINENO: result: yes" >&5
3652 echo "${ECHO_T}yes" >&6
3653 elif test "$wxUSE_ZLIB" = no; then
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3656 elif test "$wxUSE_ZLIB" = sys; then
3657 echo "$as_me:$LINENO: result: system version" >&5
3658 echo "${ECHO_T}system version" >&6
3659 elif test "$wxUSE_ZLIB" = builtin; then
3660 echo "$as_me:$LINENO: result: builtin version" >&5
3661 echo "${ECHO_T}builtin version" >&6
3662 else
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3666 fi
3667
3668
3669 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3670 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3671 no_cache=0
3672
3673 # Check whether --with-odbc or --without-odbc was given.
3674 if test "${with_odbc+set}" = set; then
3675 withval="$with_odbc"
3676
3677 if test "$withval" = yes; then
3678 ac_cv_use_odbc='wxUSE_ODBC=yes'
3679 elif test "$withval" = no; then
3680 ac_cv_use_odbc='wxUSE_ODBC=no'
3681 elif test "$withval" = sys; then
3682 ac_cv_use_odbc='wxUSE_ODBC=sys'
3683 elif test "$withval" = builtin; then
3684 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691 else
3692
3693 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3701
3702 fi;
3703
3704 eval "$ac_cv_use_odbc"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3707 fi
3708
3709 if test "$wxUSE_ODBC" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 elif test "$wxUSE_ODBC" = no; then
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 elif test "$wxUSE_ODBC" = sys; then
3716 echo "$as_me:$LINENO: result: system version" >&5
3717 echo "${ECHO_T}system version" >&6
3718 elif test "$wxUSE_ODBC" = builtin; then
3719 echo "$as_me:$LINENO: result: builtin version" >&5
3720 echo "${ECHO_T}builtin version" >&6
3721 else
3722 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3723 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3724 { (exit 1); exit 1; }; }
3725 fi
3726
3727
3728 echo "$as_me:$LINENO: checking for --with-expat" >&5
3729 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3730 no_cache=0
3731
3732 # Check whether --with-expat or --without-expat was given.
3733 if test "${with_expat+set}" = set; then
3734 withval="$with_expat"
3735
3736 if test "$withval" = yes; then
3737 ac_cv_use_expat='wxUSE_EXPAT=yes'
3738 elif test "$withval" = no; then
3739 ac_cv_use_expat='wxUSE_EXPAT=no'
3740 elif test "$withval" = sys; then
3741 ac_cv_use_expat='wxUSE_EXPAT=sys'
3742 elif test "$withval" = builtin; then
3743 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3744 else
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3748 fi
3749
3750 else
3751
3752 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x ; then
3754 eval "DEFAULT_$LINE"
3755 else
3756 no_cache=1
3757 fi
3758
3759 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3760
3761 fi;
3762
3763 eval "$ac_cv_use_expat"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3766 fi
3767
3768 if test "$wxUSE_EXPAT" = yes; then
3769 echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3771 elif test "$wxUSE_EXPAT" = no; then
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3774 elif test "$wxUSE_EXPAT" = sys; then
3775 echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6
3777 elif test "$wxUSE_EXPAT" = builtin; then
3778 echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6
3780 else
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3784 fi
3785
3786
3787
3788
3789 enablestring=
3790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3791 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3792 no_cache=0
3793 # Check whether --enable-shared or --disable-shared was given.
3794 if test "${enable_shared+set}" = set; then
3795 enableval="$enable_shared"
3796
3797 if test "$enableval" = yes; then
3798 ac_cv_use_shared='wxUSE_SHARED=yes'
3799 else
3800 ac_cv_use_shared='wxUSE_SHARED=no'
3801 fi
3802
3803 else
3804
3805 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3808 else
3809 no_cache=1
3810 fi
3811
3812 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3813
3814 fi;
3815
3816 eval "$ac_cv_use_shared"
3817 if test "$no_cache" != 1; then
3818 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3819 fi
3820
3821 if test "$wxUSE_SHARED" = yes; then
3822 echo "$as_me:$LINENO: result: yes" >&5
3823 echo "${ECHO_T}yes" >&6
3824 else
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3827 fi
3828
3829
3830 enablestring=
3831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3832 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3833 no_cache=0
3834 # Check whether --enable-optimise or --disable-optimise was given.
3835 if test "${enable_optimise+set}" = set; then
3836 enableval="$enable_optimise"
3837
3838 if test "$enableval" = yes; then
3839 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3840 else
3841 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3842 fi
3843
3844 else
3845
3846 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x ; then
3848 eval "DEFAULT_$LINE"
3849 else
3850 no_cache=1
3851 fi
3852
3853 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3854
3855 fi;
3856
3857 eval "$ac_cv_use_optimise"
3858 if test "$no_cache" != 1; then
3859 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3860 fi
3861
3862 if test "$wxUSE_OPTIMISE" = yes; then
3863 echo "$as_me:$LINENO: result: yes" >&5
3864 echo "${ECHO_T}yes" >&6
3865 else
3866 echo "$as_me:$LINENO: result: no" >&5
3867 echo "${ECHO_T}no" >&6
3868 fi
3869
3870
3871 enablestring=
3872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3873 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3874 no_cache=0
3875 # Check whether --enable-debug or --disable-debug was given.
3876 if test "${enable_debug+set}" = set; then
3877 enableval="$enable_debug"
3878
3879 if test "$enableval" = yes; then
3880 ac_cv_use_debug='wxUSE_DEBUG=yes'
3881 else
3882 ac_cv_use_debug='wxUSE_DEBUG=no'
3883 fi
3884
3885 else
3886
3887 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x ; then
3889 eval "DEFAULT_$LINE"
3890 else
3891 no_cache=1
3892 fi
3893
3894 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3895
3896 fi;
3897
3898 eval "$ac_cv_use_debug"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3901 fi
3902
3903 if test "$wxUSE_DEBUG" = yes; then
3904 echo "$as_me:$LINENO: result: yes" >&5
3905 echo "${ECHO_T}yes" >&6
3906 else
3907 echo "$as_me:$LINENO: result: no" >&5
3908 echo "${ECHO_T}no" >&6
3909 fi
3910
3911
3912 enablestring=
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3915 no_cache=0
3916 # Check whether --enable-stl or --disable-stl was given.
3917 if test "${enable_stl+set}" = set; then
3918 enableval="$enable_stl"
3919
3920 if test "$enableval" = yes; then
3921 ac_cv_use_stl='wxUSE_STL=yes'
3922 else
3923 ac_cv_use_stl='wxUSE_STL=no'
3924 fi
3925
3926 else
3927
3928 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x ; then
3930 eval "DEFAULT_$LINE"
3931 else
3932 no_cache=1
3933 fi
3934
3935 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3936
3937 fi;
3938
3939 eval "$ac_cv_use_stl"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3942 fi
3943
3944 if test "$wxUSE_STL" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3947 else
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3950 fi
3951
3952 if test "$USE_OS2" = "1"; then
3953 DEFAULT_wxUSE_OMF=no
3954
3955 enablestring=
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3958 no_cache=0
3959 # Check whether --enable-omf or --disable-omf was given.
3960 if test "${enable_omf+set}" = set; then
3961 enableval="$enable_omf"
3962
3963 if test "$enableval" = yes; then
3964 ac_cv_use_omf='wxUSE_OMF=yes'
3965 else
3966 ac_cv_use_omf='wxUSE_OMF=no'
3967 fi
3968
3969 else
3970
3971 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x ; then
3973 eval "DEFAULT_$LINE"
3974 else
3975 no_cache=1
3976 fi
3977
3978 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3979
3980 fi;
3981
3982 eval "$ac_cv_use_omf"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3985 fi
3986
3987 if test "$wxUSE_OMF" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3990 else
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3993 fi
3994
3995 fi
3996
3997 if test "$wxUSE_DEBUG" = "yes"; then
3998 DEFAULT_wxUSE_DEBUG_FLAG=yes
3999 DEFAULT_wxUSE_DEBUG_INFO=yes
4000 BUILD=debug
4001 elif test "$wxUSE_DEBUG" = "no"; then
4002 DEFAULT_wxUSE_DEBUG_FLAG=no
4003 DEFAULT_wxUSE_DEBUG_INFO=no
4004 BUILD=release
4005 fi
4006
4007
4008 enablestring=
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4011 no_cache=0
4012 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4013 if test "${enable_debug_flag+set}" = set; then
4014 enableval="$enable_debug_flag"
4015
4016 if test "$enableval" = yes; then
4017 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4018 else
4019 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4020 fi
4021
4022 else
4023
4024 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 else
4028 no_cache=1
4029 fi
4030
4031 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4032
4033 fi;
4034
4035 eval "$ac_cv_use_debug_flag"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4038 fi
4039
4040 if test "$wxUSE_DEBUG_FLAG" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4043 else
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4046 fi
4047
4048
4049 enablestring=
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4052 no_cache=0
4053 # Check whether --enable-debug_info or --disable-debug_info was given.
4054 if test "${enable_debug_info+set}" = set; then
4055 enableval="$enable_debug_info"
4056
4057 if test "$enableval" = yes; then
4058 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4059 else
4060 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4061 fi
4062
4063 else
4064
4065 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x ; then
4067 eval "DEFAULT_$LINE"
4068 else
4069 no_cache=1
4070 fi
4071
4072 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4073
4074 fi;
4075
4076 eval "$ac_cv_use_debug_info"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4079 fi
4080
4081 if test "$wxUSE_DEBUG_INFO" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4084 else
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4087 fi
4088
4089
4090 enablestring=
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4093 no_cache=0
4094 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4095 if test "${enable_debug_gdb+set}" = set; then
4096 enableval="$enable_debug_gdb"
4097
4098 if test "$enableval" = yes; then
4099 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4100 else
4101 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4102 fi
4103
4104 else
4105
4106 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x ; then
4108 eval "DEFAULT_$LINE"
4109 else
4110 no_cache=1
4111 fi
4112
4113 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4114
4115 fi;
4116
4117 eval "$ac_cv_use_debug_gdb"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4120 fi
4121
4122 if test "$wxUSE_DEBUG_GDB" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4125 else
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4128 fi
4129
4130
4131 enablestring=
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4134 no_cache=0
4135 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4136 if test "${enable_debug_cntxt+set}" = set; then
4137 enableval="$enable_debug_cntxt"
4138
4139 if test "$enableval" = yes; then
4140 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4141 else
4142 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4143 fi
4144
4145 else
4146
4147 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x ; then
4149 eval "DEFAULT_$LINE"
4150 else
4151 no_cache=1
4152 fi
4153
4154 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4155
4156 fi;
4157
4158 eval "$ac_cv_use_debug_cntxt"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4166 else
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4169 fi
4170
4171
4172 enablestring=
4173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4174 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4175 no_cache=0
4176 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4177 if test "${enable_mem_tracing+set}" = set; then
4178 enableval="$enable_mem_tracing"
4179
4180 if test "$enableval" = yes; then
4181 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4182 else
4183 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4184 fi
4185
4186 else
4187
4188 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x ; then
4190 eval "DEFAULT_$LINE"
4191 else
4192 no_cache=1
4193 fi
4194
4195 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4196
4197 fi;
4198
4199 eval "$ac_cv_use_mem_tracing"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4202 fi
4203
4204 if test "$wxUSE_MEM_TRACING" = yes; then
4205 echo "$as_me:$LINENO: result: yes" >&5
4206 echo "${ECHO_T}yes" >&6
4207 else
4208 echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6
4210 fi
4211
4212
4213 enablestring=
4214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4215 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4216 no_cache=0
4217 # Check whether --enable-profile or --disable-profile was given.
4218 if test "${enable_profile+set}" = set; then
4219 enableval="$enable_profile"
4220
4221 if test "$enableval" = yes; then
4222 ac_cv_use_profile='wxUSE_PROFILE=yes'
4223 else
4224 ac_cv_use_profile='wxUSE_PROFILE=no'
4225 fi
4226
4227 else
4228
4229 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x ; then
4231 eval "DEFAULT_$LINE"
4232 else
4233 no_cache=1
4234 fi
4235
4236 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4237
4238 fi;
4239
4240 eval "$ac_cv_use_profile"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4243 fi
4244
4245 if test "$wxUSE_PROFILE" = yes; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4248 else
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4251 fi
4252
4253
4254 enablestring=
4255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4256 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4257 no_cache=0
4258 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4259 if test "${enable_no_rtti+set}" = set; then
4260 enableval="$enable_no_rtti"
4261
4262 if test "$enableval" = yes; then
4263 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4264 else
4265 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4266 fi
4267
4268 else
4269
4270 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x ; then
4272 eval "DEFAULT_$LINE"
4273 else
4274 no_cache=1
4275 fi
4276
4277 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4278
4279 fi;
4280
4281 eval "$ac_cv_use_no_rtti"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4284 fi
4285
4286 if test "$wxUSE_NO_RTTI" = yes; then
4287 echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6
4289 else
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4292 fi
4293
4294
4295 enablestring=
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4298 no_cache=0
4299 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4300 if test "${enable_no_exceptions+set}" = set; then
4301 enableval="$enable_no_exceptions"
4302
4303 if test "$enableval" = yes; then
4304 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4305 else
4306 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4307 fi
4308
4309 else
4310
4311 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 else
4315 no_cache=1
4316 fi
4317
4318 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4319
4320 fi;
4321
4322 eval "$ac_cv_use_no_exceptions"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4325 fi
4326
4327 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4330 else
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4333 fi
4334
4335
4336 enablestring=
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4339 no_cache=0
4340 # Check whether --enable-permissive or --disable-permissive was given.
4341 if test "${enable_permissive+set}" = set; then
4342 enableval="$enable_permissive"
4343
4344 if test "$enableval" = yes; then
4345 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4346 else
4347 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4348 fi
4349
4350 else
4351
4352 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4355 else
4356 no_cache=1
4357 fi
4358
4359 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4360
4361 fi;
4362
4363 eval "$ac_cv_use_permissive"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4366 fi
4367
4368 if test "$wxUSE_PERMISSIVE" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4371 else
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4374 fi
4375
4376
4377 enablestring=
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4380 no_cache=0
4381 # Check whether --enable-no_deps or --disable-no_deps was given.
4382 if test "${enable_no_deps+set}" = set; then
4383 enableval="$enable_no_deps"
4384
4385 if test "$enableval" = yes; then
4386 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4387 else
4388 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4389 fi
4390
4391 else
4392
4393 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4396 else
4397 no_cache=1
4398 fi
4399
4400 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4401
4402 fi;
4403
4404 eval "$ac_cv_use_no_deps"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_NO_DEPS" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4412 else
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4415 fi
4416
4417
4418 enablestring=
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4421 no_cache=0
4422 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4423 if test "${enable_universal_binary+set}" = set; then
4424 enableval="$enable_universal_binary"
4425
4426 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4427
4428 else
4429
4430 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x ; then
4432 eval "DEFAULT_$LINE"
4433 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4434 else
4435 no_cache=1
4436 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4437 fi
4438
4439 fi;
4440
4441 eval "$wx_cv_use_universal_binary"
4442 if test "$no_cache" != 1; then
4443 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4444 fi
4445
4446 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4447 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4448
4449
4450
4451 enablestring=enable
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4454 no_cache=0
4455 # Check whether --enable-compat24 or --disable-compat24 was given.
4456 if test "${enable_compat24+set}" = set; then
4457 enableval="$enable_compat24"
4458
4459 if test "$enableval" = yes; then
4460 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4461 else
4462 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4463 fi
4464
4465 else
4466
4467 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x ; then
4469 eval "DEFAULT_$LINE"
4470 else
4471 no_cache=1
4472 fi
4473
4474 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4475
4476 fi;
4477
4478 eval "$ac_cv_use_compat24"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4481 fi
4482
4483 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4484 echo "$as_me:$LINENO: result: yes" >&5
4485 echo "${ECHO_T}yes" >&6
4486 else
4487 echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6
4489 fi
4490
4491
4492 enablestring=disable
4493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4494 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4495 no_cache=0
4496 # Check whether --enable-compat26 or --disable-compat26 was given.
4497 if test "${enable_compat26+set}" = set; then
4498 enableval="$enable_compat26"
4499
4500 if test "$enableval" = yes; then
4501 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4502 else
4503 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4504 fi
4505
4506 else
4507
4508 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x ; then
4510 eval "DEFAULT_$LINE"
4511 else
4512 no_cache=1
4513 fi
4514
4515 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4516
4517 fi;
4518
4519 eval "$ac_cv_use_compat26"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4522 fi
4523
4524 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4527 else
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4530 fi
4531
4532
4533
4534 enablestring=
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4537 no_cache=0
4538 # Check whether --enable-rpath or --disable-rpath was given.
4539 if test "${enable_rpath+set}" = set; then
4540 enableval="$enable_rpath"
4541
4542 if test "$enableval" = yes; then
4543 ac_cv_use_rpath='wxUSE_RPATH=yes'
4544 else
4545 ac_cv_use_rpath='wxUSE_RPATH=no'
4546 fi
4547
4548 else
4549
4550 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4553 else
4554 no_cache=1
4555 fi
4556
4557 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4558
4559 fi;
4560
4561 eval "$ac_cv_use_rpath"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_RPATH" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4569 else
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4572 fi
4573
4574
4575
4576
4577
4578 enablestring=
4579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4581 no_cache=0
4582 # Check whether --enable-intl or --disable-intl was given.
4583 if test "${enable_intl+set}" = set; then
4584 enableval="$enable_intl"
4585
4586 if test "$enableval" = yes; then
4587 ac_cv_use_intl='wxUSE_INTL=yes'
4588 else
4589 ac_cv_use_intl='wxUSE_INTL=no'
4590 fi
4591
4592 else
4593
4594 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 else
4598 no_cache=1
4599 fi
4600
4601 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4602
4603 fi;
4604
4605 eval "$ac_cv_use_intl"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4608 fi
4609
4610 if test "$wxUSE_INTL" = yes; then
4611 echo "$as_me:$LINENO: result: yes" >&5
4612 echo "${ECHO_T}yes" >&6
4613 else
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4616 fi
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-config or --disable-config was given.
4624 if test "${enable_config+set}" = set; then
4625 enableval="$enable_config"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_config='wxUSE_CONFIG=yes'
4629 else
4630 ac_cv_use_config='wxUSE_CONFIG=no'
4631 fi
4632
4633 else
4634
4635 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4643
4644 fi;
4645
4646 eval "$ac_cv_use_config"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_CONFIG" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660
4661 enablestring=
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4664 no_cache=0
4665 # Check whether --enable-protocols or --disable-protocols was given.
4666 if test "${enable_protocols+set}" = set; then
4667 enableval="$enable_protocols"
4668
4669 if test "$enableval" = yes; then
4670 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4671 else
4672 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4673 fi
4674
4675 else
4676
4677 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x ; then
4679 eval "DEFAULT_$LINE"
4680 else
4681 no_cache=1
4682 fi
4683
4684 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4685
4686 fi;
4687
4688 eval "$ac_cv_use_protocols"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4691 fi
4692
4693 if test "$wxUSE_PROTOCOL" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4696 else
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4699 fi
4700
4701
4702 enablestring=
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4705 no_cache=0
4706 # Check whether --enable-ftp or --disable-ftp was given.
4707 if test "${enable_ftp+set}" = set; then
4708 enableval="$enable_ftp"
4709
4710 if test "$enableval" = yes; then
4711 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4712 else
4713 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4714 fi
4715
4716 else
4717
4718 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4721 else
4722 no_cache=1
4723 fi
4724
4725 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4726
4727 fi;
4728
4729 eval "$ac_cv_use_ftp"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4732 fi
4733
4734 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4737 else
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4740 fi
4741
4742
4743 enablestring=
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4746 no_cache=0
4747 # Check whether --enable-http or --disable-http was given.
4748 if test "${enable_http+set}" = set; then
4749 enableval="$enable_http"
4750
4751 if test "$enableval" = yes; then
4752 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4753 else
4754 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4755 fi
4756
4757 else
4758
4759 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 else
4763 no_cache=1
4764 fi
4765
4766 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4767
4768 fi;
4769
4770 eval "$ac_cv_use_http"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4773 fi
4774
4775 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4778 else
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4781 fi
4782
4783
4784 enablestring=
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4787 no_cache=0
4788 # Check whether --enable-fileproto or --disable-fileproto was given.
4789 if test "${enable_fileproto+set}" = set; then
4790 enableval="$enable_fileproto"
4791
4792 if test "$enableval" = yes; then
4793 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4794 else
4795 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4796 fi
4797
4798 else
4799
4800 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x ; then
4802 eval "DEFAULT_$LINE"
4803 else
4804 no_cache=1
4805 fi
4806
4807 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4808
4809 fi;
4810
4811 eval "$ac_cv_use_fileproto"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4814 fi
4815
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4819 else
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4822 fi
4823
4824
4825 enablestring=
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4828 no_cache=0
4829 # Check whether --enable-sockets or --disable-sockets was given.
4830 if test "${enable_sockets+set}" = set; then
4831 enableval="$enable_sockets"
4832
4833 if test "$enableval" = yes; then
4834 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4835 else
4836 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4837 fi
4838
4839 else
4840
4841 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4844 else
4845 no_cache=1
4846 fi
4847
4848 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4849
4850 fi;
4851
4852 eval "$ac_cv_use_sockets"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4855 fi
4856
4857 if test "$wxUSE_SOCKETS" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4860 else
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4863 fi
4864
4865
4866 enablestring=
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4869 no_cache=0
4870 # Check whether --enable-ole or --disable-ole was given.
4871 if test "${enable_ole+set}" = set; then
4872 enableval="$enable_ole"
4873
4874 if test "$enableval" = yes; then
4875 ac_cv_use_ole='wxUSE_OLE=yes'
4876 else
4877 ac_cv_use_ole='wxUSE_OLE=no'
4878 fi
4879
4880 else
4881
4882 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4885 else
4886 no_cache=1
4887 fi
4888
4889 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4890
4891 fi;
4892
4893 eval "$ac_cv_use_ole"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4896 fi
4897
4898 if test "$wxUSE_OLE" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4901 else
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4904 fi
4905
4906
4907 enablestring=
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4910 no_cache=0
4911 # Check whether --enable-dataobj or --disable-dataobj was given.
4912 if test "${enable_dataobj+set}" = set; then
4913 enableval="$enable_dataobj"
4914
4915 if test "$enableval" = yes; then
4916 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4917 else
4918 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4919 fi
4920
4921 else
4922
4923 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4926 else
4927 no_cache=1
4928 fi
4929
4930 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4931
4932 fi;
4933
4934 eval "$ac_cv_use_dataobj"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4937 fi
4938
4939 if test "$wxUSE_DATAOBJ" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4942 else
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4945 fi
4946
4947
4948
4949 enablestring=
4950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4952 no_cache=0
4953 # Check whether --enable-ipc or --disable-ipc was given.
4954 if test "${enable_ipc+set}" = set; then
4955 enableval="$enable_ipc"
4956
4957 if test "$enableval" = yes; then
4958 ac_cv_use_ipc='wxUSE_IPC=yes'
4959 else
4960 ac_cv_use_ipc='wxUSE_IPC=no'
4961 fi
4962
4963 else
4964
4965 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x ; then
4967 eval "DEFAULT_$LINE"
4968 else
4969 no_cache=1
4970 fi
4971
4972 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4973
4974 fi;
4975
4976 eval "$ac_cv_use_ipc"
4977 if test "$no_cache" != 1; then
4978 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4979 fi
4980
4981 if test "$wxUSE_IPC" = yes; then
4982 echo "$as_me:$LINENO: result: yes" >&5
4983 echo "${ECHO_T}yes" >&6
4984 else
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4987 fi
4988
4989
4990
4991 enablestring=
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4994 no_cache=0
4995 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4996 if test "${enable_apple_ieee+set}" = set; then
4997 enableval="$enable_apple_ieee"
4998
4999 if test "$enableval" = yes; then
5000 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5001 else
5002 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5003 fi
5004
5005 else
5006
5007 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x ; then
5009 eval "DEFAULT_$LINE"
5010 else
5011 no_cache=1
5012 fi
5013
5014 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5015
5016 fi;
5017
5018 eval "$ac_cv_use_apple_ieee"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5021 fi
5022
5023 if test "$wxUSE_APPLE_IEEE" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5026 else
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5029 fi
5030
5031
5032 enablestring=
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5035 no_cache=0
5036 # Check whether --enable-arcstream or --disable-arcstream was given.
5037 if test "${enable_arcstream+set}" = set; then
5038 enableval="$enable_arcstream"
5039
5040 if test "$enableval" = yes; then
5041 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5042 else
5043 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5044 fi
5045
5046 else
5047
5048 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x ; then
5050 eval "DEFAULT_$LINE"
5051 else
5052 no_cache=1
5053 fi
5054
5055 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5056
5057 fi;
5058
5059 eval "$ac_cv_use_arcstream"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5062 fi
5063
5064 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5067 else
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5070 fi
5071
5072
5073 enablestring=
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5076 no_cache=0
5077 # Check whether --enable-backtrace or --disable-backtrace was given.
5078 if test "${enable_backtrace+set}" = set; then
5079 enableval="$enable_backtrace"
5080
5081 if test "$enableval" = yes; then
5082 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5083 else
5084 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5085 fi
5086
5087 else
5088
5089 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x ; then
5091 eval "DEFAULT_$LINE"
5092 else
5093 no_cache=1
5094 fi
5095
5096 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5097
5098 fi;
5099
5100 eval "$ac_cv_use_backtrace"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5103 fi
5104
5105 if test "$wxUSE_STACKWALKER" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5108 else
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5111 fi
5112
5113
5114 enablestring=
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5117 no_cache=0
5118 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5119 if test "${enable_catch_segvs+set}" = set; then
5120 enableval="$enable_catch_segvs"
5121
5122 if test "$enableval" = yes; then
5123 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5124 else
5125 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5126 fi
5127
5128 else
5129
5130 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5133 else
5134 no_cache=1
5135 fi
5136
5137 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5138
5139 fi;
5140
5141 eval "$ac_cv_use_catch_segvs"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5144 fi
5145
5146 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5149 else
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5152 fi
5153
5154
5155 enablestring=
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5158 no_cache=0
5159 # Check whether --enable-cmdline or --disable-cmdline was given.
5160 if test "${enable_cmdline+set}" = set; then
5161 enableval="$enable_cmdline"
5162
5163 if test "$enableval" = yes; then
5164 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5165 else
5166 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5167 fi
5168
5169 else
5170
5171 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x ; then
5173 eval "DEFAULT_$LINE"
5174 else
5175 no_cache=1
5176 fi
5177
5178 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5179
5180 fi;
5181
5182 eval "$ac_cv_use_cmdline"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5185 fi
5186
5187 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5190 else
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5193 fi
5194
5195
5196 enablestring=
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5199 no_cache=0
5200 # Check whether --enable-datetime or --disable-datetime was given.
5201 if test "${enable_datetime+set}" = set; then
5202 enableval="$enable_datetime"
5203
5204 if test "$enableval" = yes; then
5205 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5206 else
5207 ac_cv_use_datetime='wxUSE_DATETIME=no'
5208 fi
5209
5210 else
5211
5212 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x ; then
5214 eval "DEFAULT_$LINE"
5215 else
5216 no_cache=1
5217 fi
5218
5219 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5220
5221 fi;
5222
5223 eval "$ac_cv_use_datetime"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5226 fi
5227
5228 if test "$wxUSE_DATETIME" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5231 else
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5234 fi
5235
5236
5237 enablestring=
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5240 no_cache=0
5241 # Check whether --enable-debugreport or --disable-debugreport was given.
5242 if test "${enable_debugreport+set}" = set; then
5243 enableval="$enable_debugreport"
5244
5245 if test "$enableval" = yes; then
5246 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5247 else
5248 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5249 fi
5250
5251 else
5252
5253 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5261
5262 fi;
5263
5264 eval "$ac_cv_use_debugreport"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5267 fi
5268
5269 if test "$wxUSE_DEBUGREPORT" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5272 else
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5275 fi
5276
5277
5278 enablestring=
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5281 no_cache=0
5282 # Check whether --enable-dialupman or --disable-dialupman was given.
5283 if test "${enable_dialupman+set}" = set; then
5284 enableval="$enable_dialupman"
5285
5286 if test "$enableval" = yes; then
5287 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5288 else
5289 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5290 fi
5291
5292 else
5293
5294 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x ; then
5296 eval "DEFAULT_$LINE"
5297 else
5298 no_cache=1
5299 fi
5300
5301 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5302
5303 fi;
5304
5305 eval "$ac_cv_use_dialupman"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5308 fi
5309
5310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5313 else
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5316 fi
5317
5318
5319 enablestring=
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5322 no_cache=0
5323 # Check whether --enable-dynlib or --disable-dynlib was given.
5324 if test "${enable_dynlib+set}" = set; then
5325 enableval="$enable_dynlib"
5326
5327 if test "$enableval" = yes; then
5328 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5329 else
5330 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5331 fi
5332
5333 else
5334
5335 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x ; then
5337 eval "DEFAULT_$LINE"
5338 else
5339 no_cache=1
5340 fi
5341
5342 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5343
5344 fi;
5345
5346 eval "$ac_cv_use_dynlib"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5349 fi
5350
5351 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5354 else
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5357 fi
5358
5359
5360 enablestring=
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5363 no_cache=0
5364 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5365 if test "${enable_dynamicloader+set}" = set; then
5366 enableval="$enable_dynamicloader"
5367
5368 if test "$enableval" = yes; then
5369 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5370 else
5371 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5372 fi
5373
5374 else
5375
5376 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5379 else
5380 no_cache=1
5381 fi
5382
5383 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5384
5385 fi;
5386
5387 eval "$ac_cv_use_dynamicloader"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5390 fi
5391
5392 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5395 else
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5398 fi
5399
5400
5401 enablestring=
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5404 no_cache=0
5405 # Check whether --enable-exceptions or --disable-exceptions was given.
5406 if test "${enable_exceptions+set}" = set; then
5407 enableval="$enable_exceptions"
5408
5409 if test "$enableval" = yes; then
5410 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5411 else
5412 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5413 fi
5414
5415 else
5416
5417 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5420 else
5421 no_cache=1
5422 fi
5423
5424 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5425
5426 fi;
5427
5428 eval "$ac_cv_use_exceptions"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5431 fi
5432
5433 if test "$wxUSE_EXCEPTIONS" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5436 else
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5439 fi
5440
5441
5442 enablestring=
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5445 no_cache=0
5446 # Check whether --enable-ffile or --disable-ffile was given.
5447 if test "${enable_ffile+set}" = set; then
5448 enableval="$enable_ffile"
5449
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ffile='wxUSE_FFILE=yes'
5452 else
5453 ac_cv_use_ffile='wxUSE_FFILE=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5466
5467 fi;
5468
5469 eval "$ac_cv_use_ffile"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5472 fi
5473
5474 if test "$wxUSE_FFILE" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5477 else
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5480 fi
5481
5482
5483 enablestring=
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5486 no_cache=0
5487 # Check whether --enable-file or --disable-file was given.
5488 if test "${enable_file+set}" = set; then
5489 enableval="$enable_file"
5490
5491 if test "$enableval" = yes; then
5492 ac_cv_use_file='wxUSE_FILE=yes'
5493 else
5494 ac_cv_use_file='wxUSE_FILE=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5507
5508 fi;
5509
5510 eval "$ac_cv_use_file"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5513 fi
5514
5515 if test "$wxUSE_FILE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5518 else
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5521 fi
5522
5523
5524 enablestring=
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5527 no_cache=0
5528 # Check whether --enable-filesystem or --disable-filesystem was given.
5529 if test "${enable_filesystem+set}" = set; then
5530 enableval="$enable_filesystem"
5531
5532 if test "$enableval" = yes; then
5533 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5534 else
5535 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5536 fi
5537
5538 else
5539
5540 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5548
5549 fi;
5550
5551 eval "$ac_cv_use_filesystem"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5554 fi
5555
5556 if test "$wxUSE_FILESYSTEM" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5559 else
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5562 fi
5563
5564
5565 enablestring=
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5568 no_cache=0
5569 # Check whether --enable-fontmap or --disable-fontmap was given.
5570 if test "${enable_fontmap+set}" = set; then
5571 enableval="$enable_fontmap"
5572
5573 if test "$enableval" = yes; then
5574 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5575 else
5576 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5577 fi
5578
5579 else
5580
5581 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5584 else
5585 no_cache=1
5586 fi
5587
5588 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5589
5590 fi;
5591
5592 eval "$ac_cv_use_fontmap"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5595 fi
5596
5597 if test "$wxUSE_FONTMAP" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5600 else
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5603 fi
5604
5605
5606 enablestring=
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5609 no_cache=0
5610 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5611 if test "${enable_fs_archive+set}" = set; then
5612 enableval="$enable_fs_archive"
5613
5614 if test "$enableval" = yes; then
5615 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5616 else
5617 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5618 fi
5619
5620 else
5621
5622 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5630
5631 fi;
5632
5633 eval "$ac_cv_use_fs_archive"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5636 fi
5637
5638 if test "$wxUSE_FS_ARCHIVE" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5641 else
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5644 fi
5645
5646
5647 enablestring=
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5650 no_cache=0
5651 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5652 if test "${enable_fs_inet+set}" = set; then
5653 enableval="$enable_fs_inet"
5654
5655 if test "$enableval" = yes; then
5656 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5657 else
5658 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5659 fi
5660
5661 else
5662
5663 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5666 else
5667 no_cache=1
5668 fi
5669
5670 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5671
5672 fi;
5673
5674 eval "$ac_cv_use_fs_inet"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5677 fi
5678
5679 if test "$wxUSE_FS_INET" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5682 else
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5685 fi
5686
5687
5688 enablestring=
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5691 no_cache=0
5692 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5693 if test "${enable_fs_zip+set}" = set; then
5694 enableval="$enable_fs_zip"
5695
5696 if test "$enableval" = yes; then
5697 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5698 else
5699 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5700 fi
5701
5702 else
5703
5704 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x ; then
5706 eval "DEFAULT_$LINE"
5707 else
5708 no_cache=1
5709 fi
5710
5711 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5712
5713 fi;
5714
5715 eval "$ac_cv_use_fs_zip"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5718 fi
5719
5720 if test "$wxUSE_FS_ZIP" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5723 else
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5726 fi
5727
5728
5729 enablestring=
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5732 no_cache=0
5733 # Check whether --enable-geometry or --disable-geometry was given.
5734 if test "${enable_geometry+set}" = set; then
5735 enableval="$enable_geometry"
5736
5737 if test "$enableval" = yes; then
5738 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5739 else
5740 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5741 fi
5742
5743 else
5744
5745 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5748 else
5749 no_cache=1
5750 fi
5751
5752 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5753
5754 fi;
5755
5756 eval "$ac_cv_use_geometry"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5759 fi
5760
5761 if test "$wxUSE_GEOMETRY" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5764 else
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5767 fi
5768
5769
5770 enablestring=
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5773 no_cache=0
5774 # Check whether --enable-log or --disable-log was given.
5775 if test "${enable_log+set}" = set; then
5776 enableval="$enable_log"
5777
5778 if test "$enableval" = yes; then
5779 ac_cv_use_log='wxUSE_LOG=yes'
5780 else
5781 ac_cv_use_log='wxUSE_LOG=no'
5782 fi
5783
5784 else
5785
5786 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5789 else
5790 no_cache=1
5791 fi
5792
5793 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5794
5795 fi;
5796
5797 eval "$ac_cv_use_log"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_LOG" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5805 else
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5808 fi
5809
5810
5811 enablestring=
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5814 no_cache=0
5815 # Check whether --enable-longlong or --disable-longlong was given.
5816 if test "${enable_longlong+set}" = set; then
5817 enableval="$enable_longlong"
5818
5819 if test "$enableval" = yes; then
5820 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5821 else
5822 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5835
5836 fi;
5837
5838 eval "$ac_cv_use_longlong"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test "$wxUSE_LONGLONG" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5846 else
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5849 fi
5850
5851
5852 enablestring=
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5855 no_cache=0
5856 # Check whether --enable-mimetype or --disable-mimetype was given.
5857 if test "${enable_mimetype+set}" = set; then
5858 enableval="$enable_mimetype"
5859
5860 if test "$enableval" = yes; then
5861 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5862 else
5863 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5876
5877 fi;
5878
5879 eval "$ac_cv_use_mimetype"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5882 fi
5883
5884 if test "$wxUSE_MIMETYPE" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5887 else
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5890 fi
5891
5892
5893 enablestring=
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5896 no_cache=0
5897 # Check whether --enable-mslu or --disable-mslu was given.
5898 if test "${enable_mslu+set}" = set; then
5899 enableval="$enable_mslu"
5900
5901 if test "$enableval" = yes; then
5902 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5903 else
5904 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5917
5918 fi;
5919
5920 eval "$ac_cv_use_mslu"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5923 fi
5924
5925 if test "$wxUSE_UNICODE_MSLU" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5928 else
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5931 fi
5932
5933
5934 enablestring=
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5937 no_cache=0
5938 # Check whether --enable-snglinst or --disable-snglinst was given.
5939 if test "${enable_snglinst+set}" = set; then
5940 enableval="$enable_snglinst"
5941
5942 if test "$enableval" = yes; then
5943 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5944 else
5945 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5958
5959 fi;
5960
5961 eval "$ac_cv_use_snglinst"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5964 fi
5965
5966 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5969 else
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5972 fi
5973
5974
5975 enablestring=
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5978 no_cache=0
5979 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then
5981 enableval="$enable_std_iostreams"
5982
5983 if test "$enableval" = yes; then
5984 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5985 else
5986 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5999
6000 fi;
6001
6002 eval "$ac_cv_use_std_iostreams"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6005 fi
6006
6007 if test "$wxUSE_STD_IOSTREAM" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6010 else
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6013 fi
6014
6015
6016 enablestring=
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6019 no_cache=0
6020 # Check whether --enable-std_string or --disable-std_string was given.
6021 if test "${enable_std_string+set}" = set; then
6022 enableval="$enable_std_string"
6023
6024 if test "$enableval" = yes; then
6025 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6026 else
6027 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6040
6041 fi;
6042
6043 eval "$ac_cv_use_std_string"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6046 fi
6047
6048 if test "$wxUSE_STD_STRING" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6051 else
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6054 fi
6055
6056
6057 enablestring=
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6060 no_cache=0
6061 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6062 if test "${enable_stdpaths+set}" = set; then
6063 enableval="$enable_stdpaths"
6064
6065 if test "$enableval" = yes; then
6066 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6067 else
6068 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6081
6082 fi;
6083
6084 eval "$ac_cv_use_stdpaths"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6087 fi
6088
6089 if test "$wxUSE_STDPATHS" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6092 else
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6095 fi
6096
6097
6098 enablestring=
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6101 no_cache=0
6102 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6103 if test "${enable_stopwatch+set}" = set; then
6104 enableval="$enable_stopwatch"
6105
6106 if test "$enableval" = yes; then
6107 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6108 else
6109 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6122
6123 fi;
6124
6125 eval "$ac_cv_use_stopwatch"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6128 fi
6129
6130 if test "$wxUSE_STOPWATCH" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6133 else
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6136 fi
6137
6138
6139 enablestring=
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6142 no_cache=0
6143 # Check whether --enable-streams or --disable-streams was given.
6144 if test "${enable_streams+set}" = set; then
6145 enableval="$enable_streams"
6146
6147 if test "$enableval" = yes; then
6148 ac_cv_use_streams='wxUSE_STREAMS=yes'
6149 else
6150 ac_cv_use_streams='wxUSE_STREAMS=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6163
6164 fi;
6165
6166 eval "$ac_cv_use_streams"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6169 fi
6170
6171 if test "$wxUSE_STREAMS" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6174 else
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6177 fi
6178
6179
6180 enablestring=
6181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6183 no_cache=0
6184 # Check whether --enable-system_options or --disable-system_options was given.
6185 if test "${enable_system_options+set}" = set; then
6186 enableval="$enable_system_options"
6187
6188 if test "$enableval" = yes; then
6189 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6190 else
6191 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6192 fi
6193
6194 else
6195
6196 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6204
6205 fi;
6206
6207 eval "$ac_cv_use_system_options"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6210 fi
6211
6212 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6213 echo "$as_me:$LINENO: result: yes" >&5
6214 echo "${ECHO_T}yes" >&6
6215 else
6216 echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6
6218 fi
6219
6220
6221 enablestring=
6222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6224 no_cache=0
6225 # Check whether --enable-tarstream or --disable-tarstream was given.
6226 if test "${enable_tarstream+set}" = set; then
6227 enableval="$enable_tarstream"
6228
6229 if test "$enableval" = yes; then
6230 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6231 else
6232 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6245
6246 fi;
6247
6248 eval "$ac_cv_use_tarstream"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6251 fi
6252
6253 if test "$wxUSE_TARSTREAM" = yes; then
6254 echo "$as_me:$LINENO: result: yes" >&5
6255 echo "${ECHO_T}yes" >&6
6256 else
6257 echo "$as_me:$LINENO: result: no" >&5
6258 echo "${ECHO_T}no" >&6
6259 fi
6260
6261
6262 enablestring=
6263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6265 no_cache=0
6266 # Check whether --enable-textbuf or --disable-textbuf was given.
6267 if test "${enable_textbuf+set}" = set; then
6268 enableval="$enable_textbuf"
6269
6270 if test "$enableval" = yes; then
6271 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6272 else
6273 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6274 fi
6275
6276 else
6277
6278 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6286
6287 fi;
6288
6289 eval "$ac_cv_use_textbuf"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6292 fi
6293
6294 if test "$wxUSE_TEXTBUFFER" = yes; then
6295 echo "$as_me:$LINENO: result: yes" >&5
6296 echo "${ECHO_T}yes" >&6
6297 else
6298 echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6
6300 fi
6301
6302
6303 enablestring=
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6306 no_cache=0
6307 # Check whether --enable-textfile or --disable-textfile was given.
6308 if test "${enable_textfile+set}" = set; then
6309 enableval="$enable_textfile"
6310
6311 if test "$enableval" = yes; then
6312 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6313 else
6314 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6315 fi
6316
6317 else
6318
6319 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6327
6328 fi;
6329
6330 eval "$ac_cv_use_textfile"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6333 fi
6334
6335 if test "$wxUSE_TEXTFILE" = yes; then
6336 echo "$as_me:$LINENO: result: yes" >&5
6337 echo "${ECHO_T}yes" >&6
6338 else
6339 echo "$as_me:$LINENO: result: no" >&5
6340 echo "${ECHO_T}no" >&6
6341 fi
6342
6343
6344 enablestring=
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6347 no_cache=0
6348 # Check whether --enable-timer or --disable-timer was given.
6349 if test "${enable_timer+set}" = set; then
6350 enableval="$enable_timer"
6351
6352 if test "$enableval" = yes; then
6353 ac_cv_use_timer='wxUSE_TIMER=yes'
6354 else
6355 ac_cv_use_timer='wxUSE_TIMER=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6368
6369 fi;
6370
6371 eval "$ac_cv_use_timer"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test "$wxUSE_TIMER" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6379 else
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6382 fi
6383
6384
6385 enablestring=
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6388 no_cache=0
6389 # Check whether --enable-unicode or --disable-unicode was given.
6390 if test "${enable_unicode+set}" = set; then
6391 enableval="$enable_unicode"
6392
6393 if test "$enableval" = yes; then
6394 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6395 else
6396 ac_cv_use_unicode='wxUSE_UNICODE=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6409
6410 fi;
6411
6412 eval "$ac_cv_use_unicode"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6415 fi
6416
6417 if test "$wxUSE_UNICODE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6420 else
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6423 fi
6424
6425
6426 enablestring=
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6429 no_cache=0
6430 # Check whether --enable-sound or --disable-sound was given.
6431 if test "${enable_sound+set}" = set; then
6432 enableval="$enable_sound"
6433
6434 if test "$enableval" = yes; then
6435 ac_cv_use_sound='wxUSE_SOUND=yes'
6436 else
6437 ac_cv_use_sound='wxUSE_SOUND=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6450
6451 fi;
6452
6453 eval "$ac_cv_use_sound"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6456 fi
6457
6458 if test "$wxUSE_SOUND" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6461 else
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6464 fi
6465
6466
6467 enablestring=
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6470 no_cache=0
6471 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6472 if test "${enable_mediactrl+set}" = set; then
6473 enableval="$enable_mediactrl"
6474
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6477 else
6478 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6491
6492 fi;
6493
6494 eval "$ac_cv_use_mediactrl"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6497 fi
6498
6499 if test "$wxUSE_MEDIACTRL" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6502 else
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6505 fi
6506
6507
6508 enablestring=
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6511 no_cache=0
6512 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6513 if test "${enable_gstreamer8+set}" = set; then
6514 enableval="$enable_gstreamer8"
6515
6516 if test "$enableval" = yes; then
6517 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6518 else
6519 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6532
6533 fi;
6534
6535 eval "$ac_cv_use_gstreamer8"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6538 fi
6539
6540 if test "$wxUSE_GSTREAMER8" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6543 else
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6546 fi
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6554 if test "${enable_printfposparam+set}" = set; then
6555 enableval="$enable_printfposparam"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6559 else
6560 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6573
6574 fi;
6575
6576 eval "$ac_cv_use_printfposparam"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-zipstream or --disable-zipstream was given.
6595 if test "${enable_zipstream+set}" = set; then
6596 enableval="$enable_zipstream"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6600 else
6601 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6614
6615 fi;
6616
6617 eval "$ac_cv_use_zipstream"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_ZIPSTREAM" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631
6632 enablestring=
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6635 no_cache=0
6636 # Check whether --enable-url or --disable-url was given.
6637 if test "${enable_url+set}" = set; then
6638 enableval="$enable_url"
6639
6640 if test "$enableval" = yes; then
6641 ac_cv_use_url='wxUSE_URL=yes'
6642 else
6643 ac_cv_use_url='wxUSE_URL=no'
6644 fi
6645
6646 else
6647
6648 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 else
6652 no_cache=1
6653 fi
6654
6655 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6656
6657 fi;
6658
6659 eval "$ac_cv_use_url"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_URL" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6667 else
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6670 fi
6671
6672
6673 enablestring=
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6676 no_cache=0
6677 # Check whether --enable-variant or --disable-variant was given.
6678 if test "${enable_variant+set}" = set; then
6679 enableval="$enable_variant"
6680
6681 if test "$enableval" = yes; then
6682 ac_cv_use_variant='wxUSE_VARIANT=yes'
6683 else
6684 ac_cv_use_variant='wxUSE_VARIANT=no'
6685 fi
6686
6687 else
6688
6689 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6692 else
6693 no_cache=1
6694 fi
6695
6696 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6697
6698 fi;
6699
6700 eval "$ac_cv_use_variant"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_VARIANT" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6708 else
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6711 fi
6712
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-protocol or --disable-protocol was given.
6719 if test "${enable_protocol+set}" = set; then
6720 enableval="$enable_protocol"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6724 else
6725 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6726 fi
6727
6728 else
6729
6730 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6738
6739 fi;
6740
6741 eval "$ac_cv_use_protocol"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_PROTOCOL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6749 else
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6752 fi
6753
6754
6755 enablestring=
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6758 no_cache=0
6759 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6760 if test "${enable_protocol_http+set}" = set; then
6761 enableval="$enable_protocol_http"
6762
6763 if test "$enableval" = yes; then
6764 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6765 else
6766 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6767 fi
6768
6769 else
6770
6771 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x ; then
6773 eval "DEFAULT_$LINE"
6774 else
6775 no_cache=1
6776 fi
6777
6778 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6779
6780 fi;
6781
6782 eval "$ac_cv_use_protocol_http"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6785 fi
6786
6787 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6790 else
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6793 fi
6794
6795
6796 enablestring=
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6799 no_cache=0
6800 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6801 if test "${enable_protocol_ftp+set}" = set; then
6802 enableval="$enable_protocol_ftp"
6803
6804 if test "$enableval" = yes; then
6805 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6806 else
6807 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6808 fi
6809
6810 else
6811
6812 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6815 else
6816 no_cache=1
6817 fi
6818
6819 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6820
6821 fi;
6822
6823 eval "$ac_cv_use_protocol_ftp"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6826 fi
6827
6828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6831 else
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6834 fi
6835
6836
6837 enablestring=
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6840 no_cache=0
6841 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6842 if test "${enable_protocol_file+set}" = set; then
6843 enableval="$enable_protocol_file"
6844
6845 if test "$enableval" = yes; then
6846 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6847 else
6848 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6849 fi
6850
6851 else
6852
6853 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x ; then
6855 eval "DEFAULT_$LINE"
6856 else
6857 no_cache=1
6858 fi
6859
6860 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6861
6862 fi;
6863
6864 eval "$ac_cv_use_protocol_file"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6867 fi
6868
6869 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6872 else
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6875 fi
6876
6877
6878
6879
6880
6881 enablestring=
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6884 no_cache=0
6885 # Check whether --enable-threads or --disable-threads was given.
6886 if test "${enable_threads+set}" = set; then
6887 enableval="$enable_threads"
6888
6889 if test "$enableval" = yes; then
6890 ac_cv_use_threads='wxUSE_THREADS=yes'
6891 else
6892 ac_cv_use_threads='wxUSE_THREADS=no'
6893 fi
6894
6895 else
6896
6897 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x ; then
6899 eval "DEFAULT_$LINE"
6900 else
6901 no_cache=1
6902 fi
6903
6904 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6905
6906 fi;
6907
6908 eval "$ac_cv_use_threads"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6911 fi
6912
6913 if test "$wxUSE_THREADS" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6916 else
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6919 fi
6920
6921
6922 if test "$wxUSE_GUI" = "yes"; then
6923
6924
6925
6926 enablestring=
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6929 no_cache=0
6930 # Check whether --enable-docview or --disable-docview was given.
6931 if test "${enable_docview+set}" = set; then
6932 enableval="$enable_docview"
6933
6934 if test "$enableval" = yes; then
6935 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6936 else
6937 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6938 fi
6939
6940 else
6941
6942 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6945 else
6946 no_cache=1
6947 fi
6948
6949 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6950
6951 fi;
6952
6953 eval "$ac_cv_use_docview"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6956 fi
6957
6958 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6961 else
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6964 fi
6965
6966
6967 enablestring=
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6970 no_cache=0
6971 # Check whether --enable-help or --disable-help was given.
6972 if test "${enable_help+set}" = set; then
6973 enableval="$enable_help"
6974
6975 if test "$enableval" = yes; then
6976 ac_cv_use_help='wxUSE_HELP=yes'
6977 else
6978 ac_cv_use_help='wxUSE_HELP=no'
6979 fi
6980
6981 else
6982
6983 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6991
6992 fi;
6993
6994 eval "$ac_cv_use_help"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6997 fi
6998
6999 if test "$wxUSE_HELP" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7002 else
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7005 fi
7006
7007
7008 enablestring=
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7011 no_cache=0
7012 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7013 if test "${enable_mshtmlhelp+set}" = set; then
7014 enableval="$enable_mshtmlhelp"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7018 else
7019 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7020 fi
7021
7022 else
7023
7024 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7032
7033 fi;
7034
7035 eval "$ac_cv_use_mshtmlhelp"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7038 fi
7039
7040 if test "$wxUSE_MS_HTML_HELP" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7043 else
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7046 fi
7047
7048
7049 enablestring=
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7052 no_cache=0
7053 # Check whether --enable-html or --disable-html was given.
7054 if test "${enable_html+set}" = set; then
7055 enableval="$enable_html"
7056
7057 if test "$enableval" = yes; then
7058 ac_cv_use_html='wxUSE_HTML=yes'
7059 else
7060 ac_cv_use_html='wxUSE_HTML=no'
7061 fi
7062
7063 else
7064
7065 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7073
7074 fi;
7075
7076 eval "$ac_cv_use_html"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7079 fi
7080
7081 if test "$wxUSE_HTML" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7084 else
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7087 fi
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7095 if test "${enable_htmlhelp+set}" = set; then
7096 enableval="$enable_htmlhelp"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7100 else
7101 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7114
7115 fi;
7116
7117 eval "$ac_cv_use_htmlhelp"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_WXHTML_HELP" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-xrc or --disable-xrc was given.
7136 if test "${enable_xrc+set}" = set; then
7137 enableval="$enable_xrc"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_xrc='wxUSE_XRC=yes'
7141 else
7142 ac_cv_use_xrc='wxUSE_XRC=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7155
7156 fi;
7157
7158 eval "$ac_cv_use_xrc"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_XRC" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-aui or --disable-aui was given.
7177 if test "${enable_aui+set}" = set; then
7178 enableval="$enable_aui"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_aui='wxUSE_AUI=yes'
7182 else
7183 ac_cv_use_aui='wxUSE_AUI=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7196
7197 fi;
7198
7199 eval "$ac_cv_use_aui"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_AUI" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213 enablestring=
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7216 no_cache=0
7217 # Check whether --enable-constraints or --disable-constraints was given.
7218 if test "${enable_constraints+set}" = set; then
7219 enableval="$enable_constraints"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7223 else
7224 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7237
7238 fi;
7239
7240 eval "$ac_cv_use_constraints"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7243 fi
7244
7245 if test "$wxUSE_CONSTRAINTS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7248 else
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7251 fi
7252
7253
7254 enablestring=
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7257 no_cache=0
7258 # Check whether --enable-printarch or --disable-printarch was given.
7259 if test "${enable_printarch+set}" = set; then
7260 enableval="$enable_printarch"
7261
7262 if test "$enableval" = yes; then
7263 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7264 else
7265 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7266 fi
7267
7268 else
7269
7270 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 else
7274 no_cache=1
7275 fi
7276
7277 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7278
7279 fi;
7280
7281 eval "$ac_cv_use_printarch"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7284 fi
7285
7286 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7289 else
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7292 fi
7293
7294
7295 enablestring=
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7298 no_cache=0
7299 # Check whether --enable-mdi or --disable-mdi was given.
7300 if test "${enable_mdi+set}" = set; then
7301 enableval="$enable_mdi"
7302
7303 if test "$enableval" = yes; then
7304 ac_cv_use_mdi='wxUSE_MDI=yes'
7305 else
7306 ac_cv_use_mdi='wxUSE_MDI=no'
7307 fi
7308
7309 else
7310
7311 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7314 else
7315 no_cache=1
7316 fi
7317
7318 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7319
7320 fi;
7321
7322 eval "$ac_cv_use_mdi"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7325 fi
7326
7327 if test "$wxUSE_MDI" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7330 else
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7333 fi
7334
7335
7336 enablestring=
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7339 no_cache=0
7340 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7341 if test "${enable_mdidoc+set}" = set; then
7342 enableval="$enable_mdidoc"
7343
7344 if test "$enableval" = yes; then
7345 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7346 else
7347 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7348 fi
7349
7350 else
7351
7352 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7360
7361 fi;
7362
7363 eval "$ac_cv_use_mdidoc"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7366 fi
7367
7368 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7371 else
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7374 fi
7375
7376
7377 enablestring=
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7380 no_cache=0
7381 # Check whether --enable-loggui or --disable-loggui was given.
7382 if test "${enable_loggui+set}" = set; then
7383 enableval="$enable_loggui"
7384
7385 if test "$enableval" = yes; then
7386 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7387 else
7388 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7389 fi
7390
7391 else
7392
7393 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x ; then
7395 eval "DEFAULT_$LINE"
7396 else
7397 no_cache=1
7398 fi
7399
7400 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7401
7402 fi;
7403
7404 eval "$ac_cv_use_loggui"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7407 fi
7408
7409 if test "$wxUSE_LOGGUI" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7412 else
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7415 fi
7416
7417
7418 enablestring=
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7421 no_cache=0
7422 # Check whether --enable-logwin or --disable-logwin was given.
7423 if test "${enable_logwin+set}" = set; then
7424 enableval="$enable_logwin"
7425
7426 if test "$enableval" = yes; then
7427 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7428 else
7429 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7430 fi
7431
7432 else
7433
7434 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7442
7443 fi;
7444
7445 eval "$ac_cv_use_logwin"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7448 fi
7449
7450 if test "$wxUSE_LOGWINDOW" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7453 else
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7456 fi
7457
7458
7459 enablestring=
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7462 no_cache=0
7463 # Check whether --enable-logdialog or --disable-logdialog was given.
7464 if test "${enable_logdialog+set}" = set; then
7465 enableval="$enable_logdialog"
7466
7467 if test "$enableval" = yes; then
7468 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7469 else
7470 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7471 fi
7472
7473 else
7474
7475 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x ; then
7477 eval "DEFAULT_$LINE"
7478 else
7479 no_cache=1
7480 fi
7481
7482 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7483
7484 fi;
7485
7486 eval "$ac_cv_use_logdialog"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7489 fi
7490
7491 if test "$wxUSE_LOGDIALOG" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7494 else
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7497 fi
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-webkit or --disable-webkit was given.
7505 if test "${enable_webkit+set}" = set; then
7506 enableval="$enable_webkit"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7510 else
7511 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7512 fi
7513
7514 else
7515
7516 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7524
7525 fi;
7526
7527 eval "$ac_cv_use_webkit"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_WEBKIT" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 enablestring=
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-html or --disable-html was given.
7546 if test "${enable_html+set}" = set; then
7547 enableval="$enable_html"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7551 else
7552 ac_cv_use_html='wxUSE_RICHTEXT=no'
7553 fi
7554
7555 else
7556
7557 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x ; then
7559 eval "DEFAULT_$LINE"
7560 else
7561 no_cache=1
7562 fi
7563
7564 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7565
7566 fi;
7567
7568 eval "$ac_cv_use_html"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7571 fi
7572
7573 if test "$wxUSE_RICHTEXT" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7576 else
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7579 fi
7580
7581
7582 enablestring=
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7585 no_cache=0
7586 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7587 if test "${enable_graphics_ctx+set}" = set; then
7588 enableval="$enable_graphics_ctx"
7589
7590 if test "$enableval" = yes; then
7591 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7592 else
7593 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7594 fi
7595
7596 else
7597
7598 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7601 else
7602 no_cache=1
7603 fi
7604
7605 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7606
7607 fi;
7608
7609 eval "$ac_cv_use_graphics_ctx"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7617 else
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7620 fi
7621
7622
7623
7624 enablestring=
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7627 no_cache=0
7628 # Check whether --enable-postscript or --disable-postscript was given.
7629 if test "${enable_postscript+set}" = set; then
7630 enableval="$enable_postscript"
7631
7632 if test "$enableval" = yes; then
7633 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7634 else
7635 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7636 fi
7637
7638 else
7639
7640 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x ; then
7642 eval "DEFAULT_$LINE"
7643 else
7644 no_cache=1
7645 fi
7646
7647 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7648
7649 fi;
7650
7651 eval "$ac_cv_use_postscript"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7654 fi
7655
7656 if test "$wxUSE_POSTSCRIPT" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7659 else
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7662 fi
7663
7664
7665
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-prologio or --disable-prologio was given.
7673 if test "${enable_prologio+set}" = set; then
7674 enableval="$enable_prologio"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7678 else
7679 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7692
7693 fi;
7694
7695 eval "$ac_cv_use_prologio"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_PROLOGIO" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-resources or --disable-resources was given.
7714 if test "${enable_resources+set}" = set; then
7715 enableval="$enable_resources"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7719 else
7720 ac_cv_use_resources='wxUSE_RESOURCES=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7733
7734 fi;
7735
7736 eval "$ac_cv_use_resources"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_RESOURCES" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750
7751
7752 enablestring=
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7755 no_cache=0
7756 # Check whether --enable-clipboard or --disable-clipboard was given.
7757 if test "${enable_clipboard+set}" = set; then
7758 enableval="$enable_clipboard"
7759
7760 if test "$enableval" = yes; then
7761 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7762 else
7763 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7764 fi
7765
7766 else
7767
7768 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7771 else
7772 no_cache=1
7773 fi
7774
7775 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7776
7777 fi;
7778
7779 eval "$ac_cv_use_clipboard"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7782 fi
7783
7784 if test "$wxUSE_CLIPBOARD" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7787 else
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7790 fi
7791
7792
7793 enablestring=
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7796 no_cache=0
7797 # Check whether --enable-dnd or --disable-dnd was given.
7798 if test "${enable_dnd+set}" = set; then
7799 enableval="$enable_dnd"
7800
7801 if test "$enableval" = yes; then
7802 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7803 else
7804 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7805 fi
7806
7807 else
7808
7809 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 else
7813 no_cache=1
7814 fi
7815
7816 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7817
7818 fi;
7819
7820 eval "$ac_cv_use_dnd"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7828 else
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7831 fi
7832
7833
7834 enablestring=
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7837 no_cache=0
7838 # Check whether --enable-metafile or --disable-metafile was given.
7839 if test "${enable_metafile+set}" = set; then
7840 enableval="$enable_metafile"
7841
7842 if test "$enableval" = yes; then
7843 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7844 else
7845 ac_cv_use_metafile='wxUSE_METAFILE=no'
7846 fi
7847
7848 else
7849
7850 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x ; then
7852 eval "DEFAULT_$LINE"
7853 else
7854 no_cache=1
7855 fi
7856
7857 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7858
7859 fi;
7860
7861 eval "$ac_cv_use_metafile"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7864 fi
7865
7866 if test "$wxUSE_METAFILE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7869 else
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7872 fi
7873
7874
7875
7876
7877
7878 enablestring=
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7881 no_cache=0
7882 # Check whether --enable-controls or --disable-controls was given.
7883 if test "${enable_controls+set}" = set; then
7884 enableval="$enable_controls"
7885
7886 if test "$enableval" = yes; then
7887 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7888 else
7889 ac_cv_use_controls='wxUSE_CONTROLS=no'
7890 fi
7891
7892 else
7893
7894 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x ; then
7896 eval "DEFAULT_$LINE"
7897 else
7898 no_cache=1
7899 fi
7900
7901 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7902
7903 fi;
7904
7905 eval "$ac_cv_use_controls"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7908 fi
7909
7910 if test "$wxUSE_CONTROLS" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7913 else
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7916 fi
7917
7918
7919 if test "$wxUSE_CONTROLS" = "yes"; then
7920 DEFAULT_wxUSE_ACCEL=yes
7921 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7922 DEFAULT_wxUSE_BMPBUTTON=yes
7923 DEFAULT_wxUSE_BUTTON=yes
7924 DEFAULT_wxUSE_CALCTRL=yes
7925 DEFAULT_wxUSE_CARET=yes
7926 DEFAULT_wxUSE_COMBOBOX=yes
7927 DEFAULT_wxUSE_CHECKBOX=yes
7928 DEFAULT_wxUSE_CHECKLISTBOX=yes
7929 DEFAULT_wxUSE_CHOICE=yes
7930 DEFAULT_wxUSE_CHOICEBOOK=yes
7931 DEFAULT_wxUSE_COLLPANE=yes
7932 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7933 DEFAULT_wxUSE_COMBOBOX=yes
7934 DEFAULT_wxUSE_DATEPICKCTRL=yes
7935 DEFAULT_wxUSE_DISPLAY=yes
7936 DEFAULT_wxUSE_DETECT_SM=yes
7937 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7938 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7939 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7940 DEFAULT_wxUSE_GAUGE=yes
7941 DEFAULT_wxUSE_GRID=yes
7942 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7943 DEFAULT_wxUSE_DATAVIEWCTRL=no
7944 DEFAULT_wxUSE_IMAGLIST=yes
7945 DEFAULT_wxUSE_LISTBOOK=yes
7946 DEFAULT_wxUSE_LISTBOX=yes
7947 DEFAULT_wxUSE_LISTCTRL=yes
7948 DEFAULT_wxUSE_NOTEBOOK=yes
7949 DEFAULT_wxUSE_RADIOBOX=yes
7950 DEFAULT_wxUSE_RADIOBTN=yes
7951 DEFAULT_wxUSE_SASH=yes
7952 DEFAULT_wxUSE_SCROLLBAR=yes
7953 DEFAULT_wxUSE_SLIDER=yes
7954 DEFAULT_wxUSE_SPINBTN=yes
7955 DEFAULT_wxUSE_SPINCTRL=yes
7956 DEFAULT_wxUSE_SPLITTER=yes
7957 DEFAULT_wxUSE_STATBMP=yes
7958 DEFAULT_wxUSE_STATBOX=yes
7959 DEFAULT_wxUSE_STATLINE=yes
7960 DEFAULT_wxUSE_STATUSBAR=yes
7961 DEFAULT_wxUSE_TAB_DIALOG=yes
7962 DEFAULT_wxUSE_TOGGLEBTN=yes
7963 DEFAULT_wxUSE_TOOLBAR=yes
7964 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7965 DEFAULT_wxUSE_TOOLTIPS=yes
7966 DEFAULT_wxUSE_TREEBOOK=yes
7967 DEFAULT_wxUSE_TOOLBOOK=yes
7968 DEFAULT_wxUSE_TREECTRL=yes
7969 DEFAULT_wxUSE_POPUPWIN=yes
7970 DEFAULT_wxUSE_TIPWINDOW=yes
7971 elif test "$wxUSE_CONTROLS" = "no"; then
7972 DEFAULT_wxUSE_ACCEL=no
7973 DEFAULT_wxUSE_ANIMATIONCTRL=no
7974 DEFAULT_wxUSE_BMPBUTTON=no
7975 DEFAULT_wxUSE_BUTTON=no
7976 DEFAULT_wxUSE_CALCTRL=no
7977 DEFAULT_wxUSE_CARET=no
7978 DEFAULT_wxUSE_COLLPANE=no
7979 DEFAULT_wxUSE_COMBOBOX=no
7980 DEFAULT_wxUSE_CHECKBOX=no
7981 DEFAULT_wxUSE_CHECKLISTBOX=no
7982 DEFAULT_wxUSE_CHOICE=no
7983 DEFAULT_wxUSE_CHOICEBOOK=no
7984 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7985 DEFAULT_wxUSE_COMBOBOX=no
7986 DEFAULT_wxUSE_DATEPICKCTRL=no
7987 DEFAULT_wxUSE_DISPLAY=no
7988 DEFAULT_wxUSE_DETECT_SM=no
7989 DEFAULT_wxUSE_DIRPICKERCTRL=no
7990 DEFAULT_wxUSE_FILEPICKERCTRL=no
7991 DEFAULT_wxUSE_FONTPICKERCTRL=no
7992 DEFAULT_wxUSE_GAUGE=no
7993 DEFAULT_wxUSE_GRID=no
7994 DEFAULT_wxUSE_HYPERLINKCTRL=no
7995 DEFAULT_wxUSE_DATAVIEWCTRL=no
7996 DEFAULT_wxUSE_IMAGLIST=no
7997 DEFAULT_wxUSE_LISTBOOK=no
7998 DEFAULT_wxUSE_LISTBOX=no
7999 DEFAULT_wxUSE_LISTCTRL=no
8000 DEFAULT_wxUSE_NOTEBOOK=no
8001 DEFAULT_wxUSE_RADIOBOX=no
8002 DEFAULT_wxUSE_RADIOBTN=no
8003 DEFAULT_wxUSE_SASH=no
8004 DEFAULT_wxUSE_SCROLLBAR=no
8005 DEFAULT_wxUSE_SLIDER=no
8006 DEFAULT_wxUSE_SPINBTN=no
8007 DEFAULT_wxUSE_SPINCTRL=no
8008 DEFAULT_wxUSE_SPLITTER=no
8009 DEFAULT_wxUSE_STATBMP=no
8010 DEFAULT_wxUSE_STATBOX=no
8011 DEFAULT_wxUSE_STATLINE=no
8012 DEFAULT_wxUSE_STATUSBAR=no
8013 DEFAULT_wxUSE_TAB_DIALOG=no
8014 DEFAULT_wxUSE_TOGGLEBTN=no
8015 DEFAULT_wxUSE_TOOLBAR=no
8016 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8017 DEFAULT_wxUSE_TOOLTIPS=no
8018 DEFAULT_wxUSE_TREEBOOK=no
8019 DEFAULT_wxUSE_TOOLBOOK=no
8020 DEFAULT_wxUSE_TREECTRL=no
8021 DEFAULT_wxUSE_POPUPWIN=no
8022 DEFAULT_wxUSE_TIPWINDOW=no
8023 fi
8024
8025
8026 enablestring=
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8029 no_cache=0
8030 # Check whether --enable-accel or --disable-accel was given.
8031 if test "${enable_accel+set}" = set; then
8032 enableval="$enable_accel"
8033
8034 if test "$enableval" = yes; then
8035 ac_cv_use_accel='wxUSE_ACCEL=yes'
8036 else
8037 ac_cv_use_accel='wxUSE_ACCEL=no'
8038 fi
8039
8040 else
8041
8042 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8045 else
8046 no_cache=1
8047 fi
8048
8049 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8050
8051 fi;
8052
8053 eval "$ac_cv_use_accel"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8056 fi
8057
8058 if test "$wxUSE_ACCEL" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8061 else
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8064 fi
8065
8066
8067 enablestring=
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8070 no_cache=0
8071 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8072 if test "${enable_animatectrl+set}" = set; then
8073 enableval="$enable_animatectrl"
8074
8075 if test "$enableval" = yes; then
8076 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8077 else
8078 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8079 fi
8080
8081 else
8082
8083 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8086 else
8087 no_cache=1
8088 fi
8089
8090 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8091
8092 fi;
8093
8094 eval "$ac_cv_use_animatectrl"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8097 fi
8098
8099 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8102 else
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8105 fi
8106
8107
8108 enablestring=
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8111 no_cache=0
8112 # Check whether --enable-button or --disable-button was given.
8113 if test "${enable_button+set}" = set; then
8114 enableval="$enable_button"
8115
8116 if test "$enableval" = yes; then
8117 ac_cv_use_button='wxUSE_BUTTON=yes'
8118 else
8119 ac_cv_use_button='wxUSE_BUTTON=no'
8120 fi
8121
8122 else
8123
8124 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8127 else
8128 no_cache=1
8129 fi
8130
8131 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8132
8133 fi;
8134
8135 eval "$ac_cv_use_button"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8138 fi
8139
8140 if test "$wxUSE_BUTTON" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8143 else
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8146 fi
8147
8148
8149 enablestring=
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8152 no_cache=0
8153 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8154 if test "${enable_bmpbutton+set}" = set; then
8155 enableval="$enable_bmpbutton"
8156
8157 if test "$enableval" = yes; then
8158 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8159 else
8160 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8161 fi
8162
8163 else
8164
8165 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8168 else
8169 no_cache=1
8170 fi
8171
8172 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8173
8174 fi;
8175
8176 eval "$ac_cv_use_bmpbutton"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8179 fi
8180
8181 if test "$wxUSE_BMPBUTTON" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8184 else
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8187 fi
8188
8189
8190 enablestring=
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8193 no_cache=0
8194 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8195 if test "${enable_bmpcombobox+set}" = set; then
8196 enableval="$enable_bmpcombobox"
8197
8198 if test "$enableval" = yes; then
8199 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8200 else
8201 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8202 fi
8203
8204 else
8205
8206 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8209 else
8210 no_cache=1
8211 fi
8212
8213 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8214
8215 fi;
8216
8217 eval "$ac_cv_use_bmpcombobox"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8220 fi
8221
8222 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8225 else
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8228 fi
8229
8230
8231 enablestring=
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8234 no_cache=0
8235 # Check whether --enable-calendar or --disable-calendar was given.
8236 if test "${enable_calendar+set}" = set; then
8237 enableval="$enable_calendar"
8238
8239 if test "$enableval" = yes; then
8240 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8241 else
8242 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8243 fi
8244
8245 else
8246
8247 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8250 else
8251 no_cache=1
8252 fi
8253
8254 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8255
8256 fi;
8257
8258 eval "$ac_cv_use_calendar"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8261 fi
8262
8263 if test "$wxUSE_CALCTRL" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8266 else
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8269 fi
8270
8271
8272 enablestring=
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8275 no_cache=0
8276 # Check whether --enable-caret or --disable-caret was given.
8277 if test "${enable_caret+set}" = set; then
8278 enableval="$enable_caret"
8279
8280 if test "$enableval" = yes; then
8281 ac_cv_use_caret='wxUSE_CARET=yes'
8282 else
8283 ac_cv_use_caret='wxUSE_CARET=no'
8284 fi
8285
8286 else
8287
8288 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x ; then
8290 eval "DEFAULT_$LINE"
8291 else
8292 no_cache=1
8293 fi
8294
8295 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8296
8297 fi;
8298
8299 eval "$ac_cv_use_caret"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8302 fi
8303
8304 if test "$wxUSE_CARET" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8307 else
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8310 fi
8311
8312
8313 enablestring=
8314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8316 no_cache=0
8317 # Check whether --enable-checkbox or --disable-checkbox was given.
8318 if test "${enable_checkbox+set}" = set; then
8319 enableval="$enable_checkbox"
8320
8321 if test "$enableval" = yes; then
8322 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8323 else
8324 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8325 fi
8326
8327 else
8328
8329 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x ; then
8331 eval "DEFAULT_$LINE"
8332 else
8333 no_cache=1
8334 fi
8335
8336 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8337
8338 fi;
8339
8340 eval "$ac_cv_use_checkbox"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8343 fi
8344
8345 if test "$wxUSE_CHECKBOX" = yes; then
8346 echo "$as_me:$LINENO: result: yes" >&5
8347 echo "${ECHO_T}yes" >&6
8348 else
8349 echo "$as_me:$LINENO: result: no" >&5
8350 echo "${ECHO_T}no" >&6
8351 fi
8352
8353
8354 enablestring=
8355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8356 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8357 no_cache=0
8358 # Check whether --enable-checklst or --disable-checklst was given.
8359 if test "${enable_checklst+set}" = set; then
8360 enableval="$enable_checklst"
8361
8362 if test "$enableval" = yes; then
8363 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8364 else
8365 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8366 fi
8367
8368 else
8369
8370 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x ; then
8372 eval "DEFAULT_$LINE"
8373 else
8374 no_cache=1
8375 fi
8376
8377 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8378
8379 fi;
8380
8381 eval "$ac_cv_use_checklst"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8384 fi
8385
8386 if test "$wxUSE_CHECKLST" = yes; then
8387 echo "$as_me:$LINENO: result: yes" >&5
8388 echo "${ECHO_T}yes" >&6
8389 else
8390 echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6
8392 fi
8393
8394
8395 enablestring=
8396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8398 no_cache=0
8399 # Check whether --enable-choice or --disable-choice was given.
8400 if test "${enable_choice+set}" = set; then
8401 enableval="$enable_choice"
8402
8403 if test "$enableval" = yes; then
8404 ac_cv_use_choice='wxUSE_CHOICE=yes'
8405 else
8406 ac_cv_use_choice='wxUSE_CHOICE=no'
8407 fi
8408
8409 else
8410
8411 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x ; then
8413 eval "DEFAULT_$LINE"
8414 else
8415 no_cache=1
8416 fi
8417
8418 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8419
8420 fi;
8421
8422 eval "$ac_cv_use_choice"
8423 if test "$no_cache" != 1; then
8424 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8425 fi
8426
8427 if test "$wxUSE_CHOICE" = yes; then
8428 echo "$as_me:$LINENO: result: yes" >&5
8429 echo "${ECHO_T}yes" >&6
8430 else
8431 echo "$as_me:$LINENO: result: no" >&5
8432 echo "${ECHO_T}no" >&6
8433 fi
8434
8435
8436 enablestring=
8437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8438 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8439 no_cache=0
8440 # Check whether --enable-choicebook or --disable-choicebook was given.
8441 if test "${enable_choicebook+set}" = set; then
8442 enableval="$enable_choicebook"
8443
8444 if test "$enableval" = yes; then
8445 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8446 else
8447 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8448 fi
8449
8450 else
8451
8452 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x ; then
8454 eval "DEFAULT_$LINE"
8455 else
8456 no_cache=1
8457 fi
8458
8459 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8460
8461 fi;
8462
8463 eval "$ac_cv_use_choicebook"
8464 if test "$no_cache" != 1; then
8465 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8466 fi
8467
8468 if test "$wxUSE_CHOICEBOOK" = yes; then
8469 echo "$as_me:$LINENO: result: yes" >&5
8470 echo "${ECHO_T}yes" >&6
8471 else
8472 echo "$as_me:$LINENO: result: no" >&5
8473 echo "${ECHO_T}no" >&6
8474 fi
8475
8476
8477 enablestring=
8478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8480 no_cache=0
8481 # Check whether --enable-collpane or --disable-collpane was given.
8482 if test "${enable_collpane+set}" = set; then
8483 enableval="$enable_collpane"
8484
8485 if test "$enableval" = yes; then
8486 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8487 else
8488 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8489 fi
8490
8491 else
8492
8493 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x ; then
8495 eval "DEFAULT_$LINE"
8496 else
8497 no_cache=1
8498 fi
8499
8500 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8501
8502 fi;
8503
8504 eval "$ac_cv_use_collpane"
8505 if test "$no_cache" != 1; then
8506 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8507 fi
8508
8509 if test "$wxUSE_COLLPANE" = yes; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8512 else
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8515 fi
8516
8517
8518 enablestring=
8519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8520 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8521 no_cache=0
8522 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8523 if test "${enable_colourpicker+set}" = set; then
8524 enableval="$enable_colourpicker"
8525
8526 if test "$enableval" = yes; then
8527 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8528 else
8529 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8530 fi
8531
8532 else
8533
8534 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8535 if test "x$LINE" != x ; then
8536 eval "DEFAULT_$LINE"
8537 else
8538 no_cache=1
8539 fi
8540
8541 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8542
8543 fi;
8544
8545 eval "$ac_cv_use_colourpicker"
8546 if test "$no_cache" != 1; then
8547 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8548 fi
8549
8550 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8551 echo "$as_me:$LINENO: result: yes" >&5
8552 echo "${ECHO_T}yes" >&6
8553 else
8554 echo "$as_me:$LINENO: result: no" >&5
8555 echo "${ECHO_T}no" >&6
8556 fi
8557
8558
8559 enablestring=
8560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8562 no_cache=0
8563 # Check whether --enable-combobox or --disable-combobox was given.
8564 if test "${enable_combobox+set}" = set; then
8565 enableval="$enable_combobox"
8566
8567 if test "$enableval" = yes; then
8568 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8569 else
8570 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8571 fi
8572
8573 else
8574
8575 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8576 if test "x$LINE" != x ; then
8577 eval "DEFAULT_$LINE"
8578 else
8579 no_cache=1
8580 fi
8581
8582 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8583
8584 fi;
8585
8586 eval "$ac_cv_use_combobox"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8589 fi
8590
8591 if test "$wxUSE_COMBOBOX" = yes; then
8592 echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6
8594 else
8595 echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6
8597 fi
8598
8599
8600 enablestring=
8601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8603 no_cache=0
8604 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8605 if test "${enable_comboctrl+set}" = set; then
8606 enableval="$enable_comboctrl"
8607
8608 if test "$enableval" = yes; then
8609 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8610 else
8611 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8612 fi
8613
8614 else
8615
8616 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x ; then
8618 eval "DEFAULT_$LINE"
8619 else
8620 no_cache=1
8621 fi
8622
8623 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8624
8625 fi;
8626
8627 eval "$ac_cv_use_comboctrl"
8628 if test "$no_cache" != 1; then
8629 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8630 fi
8631
8632 if test "$wxUSE_COMBOCTRL" = yes; then
8633 echo "$as_me:$LINENO: result: yes" >&5
8634 echo "${ECHO_T}yes" >&6
8635 else
8636 echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6
8638 fi
8639
8640
8641 enablestring=
8642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8644 no_cache=0
8645 # Check whether --enable-datepick or --disable-datepick was given.
8646 if test "${enable_datepick+set}" = set; then
8647 enableval="$enable_datepick"
8648
8649 if test "$enableval" = yes; then
8650 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8651 else
8652 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8653 fi
8654
8655 else
8656
8657 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8660 else
8661 no_cache=1
8662 fi
8663
8664 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8665
8666 fi;
8667
8668 eval "$ac_cv_use_datepick"
8669 if test "$no_cache" != 1; then
8670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8671 fi
8672
8673 if test "$wxUSE_DATEPICKCTRL" = yes; then
8674 echo "$as_me:$LINENO: result: yes" >&5
8675 echo "${ECHO_T}yes" >&6
8676 else
8677 echo "$as_me:$LINENO: result: no" >&5
8678 echo "${ECHO_T}no" >&6
8679 fi
8680
8681
8682 enablestring=
8683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8684 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8685 no_cache=0
8686 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8687 if test "${enable_dirpicker+set}" = set; then
8688 enableval="$enable_dirpicker"
8689
8690 if test "$enableval" = yes; then
8691 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8692 else
8693 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8694 fi
8695
8696 else
8697
8698 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8699 if test "x$LINE" != x ; then
8700 eval "DEFAULT_$LINE"
8701 else
8702 no_cache=1
8703 fi
8704
8705 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8706
8707 fi;
8708
8709 eval "$ac_cv_use_dirpicker"
8710 if test "$no_cache" != 1; then
8711 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8712 fi
8713
8714 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8715 echo "$as_me:$LINENO: result: yes" >&5
8716 echo "${ECHO_T}yes" >&6
8717 else
8718 echo "$as_me:$LINENO: result: no" >&5
8719 echo "${ECHO_T}no" >&6
8720 fi
8721
8722
8723 enablestring=
8724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8726 no_cache=0
8727 # Check whether --enable-display or --disable-display was given.
8728 if test "${enable_display+set}" = set; then
8729 enableval="$enable_display"
8730
8731 if test "$enableval" = yes; then
8732 ac_cv_use_display='wxUSE_DISPLAY=yes'
8733 else
8734 ac_cv_use_display='wxUSE_DISPLAY=no'
8735 fi
8736
8737 else
8738
8739 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8740 if test "x$LINE" != x ; then
8741 eval "DEFAULT_$LINE"
8742 else
8743 no_cache=1
8744 fi
8745
8746 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8747
8748 fi;
8749
8750 eval "$ac_cv_use_display"
8751 if test "$no_cache" != 1; then
8752 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8753 fi
8754
8755 if test "$wxUSE_DISPLAY" = yes; then
8756 echo "$as_me:$LINENO: result: yes" >&5
8757 echo "${ECHO_T}yes" >&6
8758 else
8759 echo "$as_me:$LINENO: result: no" >&5
8760 echo "${ECHO_T}no" >&6
8761 fi
8762
8763
8764 enablestring=
8765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8767 no_cache=0
8768 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8769 if test "${enable_detect_sm+set}" = set; then
8770 enableval="$enable_detect_sm"
8771
8772 if test "$enableval" = yes; then
8773 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8774 else
8775 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8776 fi
8777
8778 else
8779
8780 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8783 else
8784 no_cache=1
8785 fi
8786
8787 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8788
8789 fi;
8790
8791 eval "$ac_cv_use_detect_sm"
8792 if test "$no_cache" != 1; then
8793 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8794 fi
8795
8796 if test "$wxUSE_DETECT_SM" = yes; then
8797 echo "$as_me:$LINENO: result: yes" >&5
8798 echo "${ECHO_T}yes" >&6
8799 else
8800 echo "$as_me:$LINENO: result: no" >&5
8801 echo "${ECHO_T}no" >&6
8802 fi
8803
8804
8805 enablestring=
8806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8807 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8808 no_cache=0
8809 # Check whether --enable-filepicker or --disable-filepicker was given.
8810 if test "${enable_filepicker+set}" = set; then
8811 enableval="$enable_filepicker"
8812
8813 if test "$enableval" = yes; then
8814 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8815 else
8816 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8817 fi
8818
8819 else
8820
8821 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8822 if test "x$LINE" != x ; then
8823 eval "DEFAULT_$LINE"
8824 else
8825 no_cache=1
8826 fi
8827
8828 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8829
8830 fi;
8831
8832 eval "$ac_cv_use_filepicker"
8833 if test "$no_cache" != 1; then
8834 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8835 fi
8836
8837 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8838 echo "$as_me:$LINENO: result: yes" >&5
8839 echo "${ECHO_T}yes" >&6
8840 else
8841 echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6
8843 fi
8844
8845
8846 enablestring=
8847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8849 no_cache=0
8850 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8851 if test "${enable_fontpicker+set}" = set; then
8852 enableval="$enable_fontpicker"
8853
8854 if test "$enableval" = yes; then
8855 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8856 else
8857 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8858 fi
8859
8860 else
8861
8862 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8863 if test "x$LINE" != x ; then
8864 eval "DEFAULT_$LINE"
8865 else
8866 no_cache=1
8867 fi
8868
8869 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8870
8871 fi;
8872
8873 eval "$ac_cv_use_fontpicker"
8874 if test "$no_cache" != 1; then
8875 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8876 fi
8877
8878 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8879 echo "$as_me:$LINENO: result: yes" >&5
8880 echo "${ECHO_T}yes" >&6
8881 else
8882 echo "$as_me:$LINENO: result: no" >&5
8883 echo "${ECHO_T}no" >&6
8884 fi
8885
8886
8887 enablestring=
8888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8890 no_cache=0
8891 # Check whether --enable-gauge or --disable-gauge was given.
8892 if test "${enable_gauge+set}" = set; then
8893 enableval="$enable_gauge"
8894
8895 if test "$enableval" = yes; then
8896 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8897 else
8898 ac_cv_use_gauge='wxUSE_GAUGE=no'
8899 fi
8900
8901 else
8902
8903 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8904 if test "x$LINE" != x ; then
8905 eval "DEFAULT_$LINE"
8906 else
8907 no_cache=1
8908 fi
8909
8910 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8911
8912 fi;
8913
8914 eval "$ac_cv_use_gauge"
8915 if test "$no_cache" != 1; then
8916 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8917 fi
8918
8919 if test "$wxUSE_GAUGE" = yes; then
8920 echo "$as_me:$LINENO: result: yes" >&5
8921 echo "${ECHO_T}yes" >&6
8922 else
8923 echo "$as_me:$LINENO: result: no" >&5
8924 echo "${ECHO_T}no" >&6
8925 fi
8926
8927
8928 enablestring=
8929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8931 no_cache=0
8932 # Check whether --enable-grid or --disable-grid was given.
8933 if test "${enable_grid+set}" = set; then
8934 enableval="$enable_grid"
8935
8936 if test "$enableval" = yes; then
8937 ac_cv_use_grid='wxUSE_GRID=yes'
8938 else
8939 ac_cv_use_grid='wxUSE_GRID=no'
8940 fi
8941
8942 else
8943
8944 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8945 if test "x$LINE" != x ; then
8946 eval "DEFAULT_$LINE"
8947 else
8948 no_cache=1
8949 fi
8950
8951 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8952
8953 fi;
8954
8955 eval "$ac_cv_use_grid"
8956 if test "$no_cache" != 1; then
8957 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8958 fi
8959
8960 if test "$wxUSE_GRID" = yes; then
8961 echo "$as_me:$LINENO: result: yes" >&5
8962 echo "${ECHO_T}yes" >&6
8963 else
8964 echo "$as_me:$LINENO: result: no" >&5
8965 echo "${ECHO_T}no" >&6
8966 fi
8967
8968
8969 enablestring=
8970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8972 no_cache=0
8973 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8974 if test "${enable_dataviewctrl+set}" = set; then
8975 enableval="$enable_dataviewctrl"
8976
8977 if test "$enableval" = yes; then
8978 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8979 else
8980 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8981 fi
8982
8983 else
8984
8985 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8986 if test "x$LINE" != x ; then
8987 eval "DEFAULT_$LINE"
8988 else
8989 no_cache=1
8990 fi
8991
8992 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8993
8994 fi;
8995
8996 eval "$ac_cv_use_dataviewctrl"
8997 if test "$no_cache" != 1; then
8998 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8999 fi
9000
9001 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9002 echo "$as_me:$LINENO: result: yes" >&5
9003 echo "${ECHO_T}yes" >&6
9004 else
9005 echo "$as_me:$LINENO: result: no" >&5
9006 echo "${ECHO_T}no" >&6
9007 fi
9008
9009
9010 enablestring=
9011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9013 no_cache=0
9014 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9015 if test "${enable_hyperlink+set}" = set; then
9016 enableval="$enable_hyperlink"
9017
9018 if test "$enableval" = yes; then
9019 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9020 else
9021 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9022 fi
9023
9024 else
9025
9026 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9027 if test "x$LINE" != x ; then
9028 eval "DEFAULT_$LINE"
9029 else
9030 no_cache=1
9031 fi
9032
9033 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9034
9035 fi;
9036
9037 eval "$ac_cv_use_hyperlink"
9038 if test "$no_cache" != 1; then
9039 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9040 fi
9041
9042 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9043 echo "$as_me:$LINENO: result: yes" >&5
9044 echo "${ECHO_T}yes" >&6
9045 else
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9048 fi
9049
9050
9051 enablestring=
9052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9054 no_cache=0
9055 # Check whether --enable-imaglist or --disable-imaglist was given.
9056 if test "${enable_imaglist+set}" = set; then
9057 enableval="$enable_imaglist"
9058
9059 if test "$enableval" = yes; then
9060 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9061 else
9062 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9063 fi
9064
9065 else
9066
9067 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9068 if test "x$LINE" != x ; then
9069 eval "DEFAULT_$LINE"
9070 else
9071 no_cache=1
9072 fi
9073
9074 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9075
9076 fi;
9077
9078 eval "$ac_cv_use_imaglist"
9079 if test "$no_cache" != 1; then
9080 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9081 fi
9082
9083 if test "$wxUSE_IMAGLIST" = yes; then
9084 echo "$as_me:$LINENO: result: yes" >&5
9085 echo "${ECHO_T}yes" >&6
9086 else
9087 echo "$as_me:$LINENO: result: no" >&5
9088 echo "${ECHO_T}no" >&6
9089 fi
9090
9091
9092 enablestring=
9093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9094 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9095 no_cache=0
9096 # Check whether --enable-listbook or --disable-listbook was given.
9097 if test "${enable_listbook+set}" = set; then
9098 enableval="$enable_listbook"
9099
9100 if test "$enableval" = yes; then
9101 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9102 else
9103 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9104 fi
9105
9106 else
9107
9108 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9109 if test "x$LINE" != x ; then
9110 eval "DEFAULT_$LINE"
9111 else
9112 no_cache=1
9113 fi
9114
9115 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9116
9117 fi;
9118
9119 eval "$ac_cv_use_listbook"
9120 if test "$no_cache" != 1; then
9121 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9122 fi
9123
9124 if test "$wxUSE_LISTBOOK" = yes; then
9125 echo "$as_me:$LINENO: result: yes" >&5
9126 echo "${ECHO_T}yes" >&6
9127 else
9128 echo "$as_me:$LINENO: result: no" >&5
9129 echo "${ECHO_T}no" >&6
9130 fi
9131
9132
9133 enablestring=
9134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9135 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9136 no_cache=0
9137 # Check whether --enable-listbox or --disable-listbox was given.
9138 if test "${enable_listbox+set}" = set; then
9139 enableval="$enable_listbox"
9140
9141 if test "$enableval" = yes; then
9142 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9143 else
9144 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9145 fi
9146
9147 else
9148
9149 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9150 if test "x$LINE" != x ; then
9151 eval "DEFAULT_$LINE"
9152 else
9153 no_cache=1
9154 fi
9155
9156 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9157
9158 fi;
9159
9160 eval "$ac_cv_use_listbox"
9161 if test "$no_cache" != 1; then
9162 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9163 fi
9164
9165 if test "$wxUSE_LISTBOX" = yes; then
9166 echo "$as_me:$LINENO: result: yes" >&5
9167 echo "${ECHO_T}yes" >&6
9168 else
9169 echo "$as_me:$LINENO: result: no" >&5
9170 echo "${ECHO_T}no" >&6
9171 fi
9172
9173
9174 enablestring=
9175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9176 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9177 no_cache=0
9178 # Check whether --enable-listctrl or --disable-listctrl was given.
9179 if test "${enable_listctrl+set}" = set; then
9180 enableval="$enable_listctrl"
9181
9182 if test "$enableval" = yes; then
9183 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9184 else
9185 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9186 fi
9187
9188 else
9189
9190 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9191 if test "x$LINE" != x ; then
9192 eval "DEFAULT_$LINE"
9193 else
9194 no_cache=1
9195 fi
9196
9197 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9198
9199 fi;
9200
9201 eval "$ac_cv_use_listctrl"
9202 if test "$no_cache" != 1; then
9203 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9204 fi
9205
9206 if test "$wxUSE_LISTCTRL" = yes; then
9207 echo "$as_me:$LINENO: result: yes" >&5
9208 echo "${ECHO_T}yes" >&6
9209 else
9210 echo "$as_me:$LINENO: result: no" >&5
9211 echo "${ECHO_T}no" >&6
9212 fi
9213
9214
9215 enablestring=
9216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9218 no_cache=0
9219 # Check whether --enable-notebook or --disable-notebook was given.
9220 if test "${enable_notebook+set}" = set; then
9221 enableval="$enable_notebook"
9222
9223 if test "$enableval" = yes; then
9224 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9225 else
9226 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9227 fi
9228
9229 else
9230
9231 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9232 if test "x$LINE" != x ; then
9233 eval "DEFAULT_$LINE"
9234 else
9235 no_cache=1
9236 fi
9237
9238 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9239
9240 fi;
9241
9242 eval "$ac_cv_use_notebook"
9243 if test "$no_cache" != 1; then
9244 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9245 fi
9246
9247 if test "$wxUSE_NOTEBOOK" = yes; then
9248 echo "$as_me:$LINENO: result: yes" >&5
9249 echo "${ECHO_T}yes" >&6
9250 else
9251 echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6
9253 fi
9254
9255
9256 enablestring=
9257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9259 no_cache=0
9260 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9261 if test "${enable_odcombobox+set}" = set; then
9262 enableval="$enable_odcombobox"
9263
9264 if test "$enableval" = yes; then
9265 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9266 else
9267 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9268 fi
9269
9270 else
9271
9272 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9273 if test "x$LINE" != x ; then
9274 eval "DEFAULT_$LINE"
9275 else
9276 no_cache=1
9277 fi
9278
9279 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9280
9281 fi;
9282
9283 eval "$ac_cv_use_odcombobox"
9284 if test "$no_cache" != 1; then
9285 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9286 fi
9287
9288 if test "$wxUSE_ODCOMBOBOX" = yes; then
9289 echo "$as_me:$LINENO: result: yes" >&5
9290 echo "${ECHO_T}yes" >&6
9291 else
9292 echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6
9294 fi
9295
9296
9297 enablestring=
9298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9300 no_cache=0
9301 # Check whether --enable-radiobox or --disable-radiobox was given.
9302 if test "${enable_radiobox+set}" = set; then
9303 enableval="$enable_radiobox"
9304
9305 if test "$enableval" = yes; then
9306 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9307 else
9308 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9309 fi
9310
9311 else
9312
9313 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9314 if test "x$LINE" != x ; then
9315 eval "DEFAULT_$LINE"
9316 else
9317 no_cache=1
9318 fi
9319
9320 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9321
9322 fi;
9323
9324 eval "$ac_cv_use_radiobox"
9325 if test "$no_cache" != 1; then
9326 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9327 fi
9328
9329 if test "$wxUSE_RADIOBOX" = yes; then
9330 echo "$as_me:$LINENO: result: yes" >&5
9331 echo "${ECHO_T}yes" >&6
9332 else
9333 echo "$as_me:$LINENO: result: no" >&5
9334 echo "${ECHO_T}no" >&6
9335 fi
9336
9337
9338 enablestring=
9339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9341 no_cache=0
9342 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9343 if test "${enable_radiobtn+set}" = set; then
9344 enableval="$enable_radiobtn"
9345
9346 if test "$enableval" = yes; then
9347 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9348 else
9349 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9350 fi
9351
9352 else
9353
9354 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9355 if test "x$LINE" != x ; then
9356 eval "DEFAULT_$LINE"
9357 else
9358 no_cache=1
9359 fi
9360
9361 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9362
9363 fi;
9364
9365 eval "$ac_cv_use_radiobtn"
9366 if test "$no_cache" != 1; then
9367 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9368 fi
9369
9370 if test "$wxUSE_RADIOBTN" = yes; then
9371 echo "$as_me:$LINENO: result: yes" >&5
9372 echo "${ECHO_T}yes" >&6
9373 else
9374 echo "$as_me:$LINENO: result: no" >&5
9375 echo "${ECHO_T}no" >&6
9376 fi
9377
9378
9379 enablestring=
9380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9382 no_cache=0
9383 # Check whether --enable-sash or --disable-sash was given.
9384 if test "${enable_sash+set}" = set; then
9385 enableval="$enable_sash"
9386
9387 if test "$enableval" = yes; then
9388 ac_cv_use_sash='wxUSE_SASH=yes'
9389 else
9390 ac_cv_use_sash='wxUSE_SASH=no'
9391 fi
9392
9393 else
9394
9395 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9396 if test "x$LINE" != x ; then
9397 eval "DEFAULT_$LINE"
9398 else
9399 no_cache=1
9400 fi
9401
9402 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9403
9404 fi;
9405
9406 eval "$ac_cv_use_sash"
9407 if test "$no_cache" != 1; then
9408 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9409 fi
9410
9411 if test "$wxUSE_SASH" = yes; then
9412 echo "$as_me:$LINENO: result: yes" >&5
9413 echo "${ECHO_T}yes" >&6
9414 else
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9417 fi
9418
9419
9420 enablestring=
9421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9423 no_cache=0
9424 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9425 if test "${enable_scrollbar+set}" = set; then
9426 enableval="$enable_scrollbar"
9427
9428 if test "$enableval" = yes; then
9429 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9430 else
9431 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9432 fi
9433
9434 else
9435
9436 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9439 else
9440 no_cache=1
9441 fi
9442
9443 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9444
9445 fi;
9446
9447 eval "$ac_cv_use_scrollbar"
9448 if test "$no_cache" != 1; then
9449 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9450 fi
9451
9452 if test "$wxUSE_SCROLLBAR" = yes; then
9453 echo "$as_me:$LINENO: result: yes" >&5
9454 echo "${ECHO_T}yes" >&6
9455 else
9456 echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6
9458 fi
9459
9460
9461 enablestring=
9462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9464 no_cache=0
9465 # Check whether --enable-slider or --disable-slider was given.
9466 if test "${enable_slider+set}" = set; then
9467 enableval="$enable_slider"
9468
9469 if test "$enableval" = yes; then
9470 ac_cv_use_slider='wxUSE_SLIDER=yes'
9471 else
9472 ac_cv_use_slider='wxUSE_SLIDER=no'
9473 fi
9474
9475 else
9476
9477 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9480 else
9481 no_cache=1
9482 fi
9483
9484 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9485
9486 fi;
9487
9488 eval "$ac_cv_use_slider"
9489 if test "$no_cache" != 1; then
9490 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9491 fi
9492
9493 if test "$wxUSE_SLIDER" = yes; then
9494 echo "$as_me:$LINENO: result: yes" >&5
9495 echo "${ECHO_T}yes" >&6
9496 else
9497 echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6
9499 fi
9500
9501
9502 enablestring=
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9505 no_cache=0
9506 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9507 if test "${enable_spinbtn+set}" = set; then
9508 enableval="$enable_spinbtn"
9509
9510 if test "$enableval" = yes; then
9511 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9512 else
9513 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9514 fi
9515
9516 else
9517
9518 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x ; then
9520 eval "DEFAULT_$LINE"
9521 else
9522 no_cache=1
9523 fi
9524
9525 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9526
9527 fi;
9528
9529 eval "$ac_cv_use_spinbtn"
9530 if test "$no_cache" != 1; then
9531 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9532 fi
9533
9534 if test "$wxUSE_SPINBTN" = yes; then
9535 echo "$as_me:$LINENO: result: yes" >&5
9536 echo "${ECHO_T}yes" >&6
9537 else
9538 echo "$as_me:$LINENO: result: no" >&5
9539 echo "${ECHO_T}no" >&6
9540 fi
9541
9542
9543 enablestring=
9544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9545 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9546 no_cache=0
9547 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9548 if test "${enable_spinctrl+set}" = set; then
9549 enableval="$enable_spinctrl"
9550
9551 if test "$enableval" = yes; then
9552 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9553 else
9554 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9555 fi
9556
9557 else
9558
9559 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x ; then
9561 eval "DEFAULT_$LINE"
9562 else
9563 no_cache=1
9564 fi
9565
9566 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9567
9568 fi;
9569
9570 eval "$ac_cv_use_spinctrl"
9571 if test "$no_cache" != 1; then
9572 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9573 fi
9574
9575 if test "$wxUSE_SPINCTRL" = yes; then
9576 echo "$as_me:$LINENO: result: yes" >&5
9577 echo "${ECHO_T}yes" >&6
9578 else
9579 echo "$as_me:$LINENO: result: no" >&5
9580 echo "${ECHO_T}no" >&6
9581 fi
9582
9583
9584 enablestring=
9585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9587 no_cache=0
9588 # Check whether --enable-splitter or --disable-splitter was given.
9589 if test "${enable_splitter+set}" = set; then
9590 enableval="$enable_splitter"
9591
9592 if test "$enableval" = yes; then
9593 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9594 else
9595 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9596 fi
9597
9598 else
9599
9600 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x ; then
9602 eval "DEFAULT_$LINE"
9603 else
9604 no_cache=1
9605 fi
9606
9607 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9608
9609 fi;
9610
9611 eval "$ac_cv_use_splitter"
9612 if test "$no_cache" != 1; then
9613 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9614 fi
9615
9616 if test "$wxUSE_SPLITTER" = yes; then
9617 echo "$as_me:$LINENO: result: yes" >&5
9618 echo "${ECHO_T}yes" >&6
9619 else
9620 echo "$as_me:$LINENO: result: no" >&5
9621 echo "${ECHO_T}no" >&6
9622 fi
9623
9624
9625 enablestring=
9626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9628 no_cache=0
9629 # Check whether --enable-statbmp or --disable-statbmp was given.
9630 if test "${enable_statbmp+set}" = set; then
9631 enableval="$enable_statbmp"
9632
9633 if test "$enableval" = yes; then
9634 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9635 else
9636 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9637 fi
9638
9639 else
9640
9641 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9642 if test "x$LINE" != x ; then
9643 eval "DEFAULT_$LINE"
9644 else
9645 no_cache=1
9646 fi
9647
9648 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9649
9650 fi;
9651
9652 eval "$ac_cv_use_statbmp"
9653 if test "$no_cache" != 1; then
9654 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9655 fi
9656
9657 if test "$wxUSE_STATBMP" = yes; then
9658 echo "$as_me:$LINENO: result: yes" >&5
9659 echo "${ECHO_T}yes" >&6
9660 else
9661 echo "$as_me:$LINENO: result: no" >&5
9662 echo "${ECHO_T}no" >&6
9663 fi
9664
9665
9666 enablestring=
9667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9669 no_cache=0
9670 # Check whether --enable-statbox or --disable-statbox was given.
9671 if test "${enable_statbox+set}" = set; then
9672 enableval="$enable_statbox"
9673
9674 if test "$enableval" = yes; then
9675 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9676 else
9677 ac_cv_use_statbox='wxUSE_STATBOX=no'
9678 fi
9679
9680 else
9681
9682 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9683 if test "x$LINE" != x ; then
9684 eval "DEFAULT_$LINE"
9685 else
9686 no_cache=1
9687 fi
9688
9689 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9690
9691 fi;
9692
9693 eval "$ac_cv_use_statbox"
9694 if test "$no_cache" != 1; then
9695 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9696 fi
9697
9698 if test "$wxUSE_STATBOX" = yes; then
9699 echo "$as_me:$LINENO: result: yes" >&5
9700 echo "${ECHO_T}yes" >&6
9701 else
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9704 fi
9705
9706
9707 enablestring=
9708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9709 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9710 no_cache=0
9711 # Check whether --enable-statline or --disable-statline was given.
9712 if test "${enable_statline+set}" = set; then
9713 enableval="$enable_statline"
9714
9715 if test "$enableval" = yes; then
9716 ac_cv_use_statline='wxUSE_STATLINE=yes'
9717 else
9718 ac_cv_use_statline='wxUSE_STATLINE=no'
9719 fi
9720
9721 else
9722
9723 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9724 if test "x$LINE" != x ; then
9725 eval "DEFAULT_$LINE"
9726 else
9727 no_cache=1
9728 fi
9729
9730 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9731
9732 fi;
9733
9734 eval "$ac_cv_use_statline"
9735 if test "$no_cache" != 1; then
9736 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9737 fi
9738
9739 if test "$wxUSE_STATLINE" = yes; then
9740 echo "$as_me:$LINENO: result: yes" >&5
9741 echo "${ECHO_T}yes" >&6
9742 else
9743 echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6
9745 fi
9746
9747
9748 enablestring=
9749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9751 no_cache=0
9752 # Check whether --enable-stattext or --disable-stattext was given.
9753 if test "${enable_stattext+set}" = set; then
9754 enableval="$enable_stattext"
9755
9756 if test "$enableval" = yes; then
9757 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9758 else
9759 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9760 fi
9761
9762 else
9763
9764 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9765 if test "x$LINE" != x ; then
9766 eval "DEFAULT_$LINE"
9767 else
9768 no_cache=1
9769 fi
9770
9771 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9772
9773 fi;
9774
9775 eval "$ac_cv_use_stattext"
9776 if test "$no_cache" != 1; then
9777 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9778 fi
9779
9780 if test "$wxUSE_STATTEXT" = yes; then
9781 echo "$as_me:$LINENO: result: yes" >&5
9782 echo "${ECHO_T}yes" >&6
9783 else
9784 echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6
9786 fi
9787
9788
9789 enablestring=
9790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9791 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9792 no_cache=0
9793 # Check whether --enable-statusbar or --disable-statusbar was given.
9794 if test "${enable_statusbar+set}" = set; then
9795 enableval="$enable_statusbar"
9796
9797 if test "$enableval" = yes; then
9798 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9799 else
9800 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9801 fi
9802
9803 else
9804
9805 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9806 if test "x$LINE" != x ; then
9807 eval "DEFAULT_$LINE"
9808 else
9809 no_cache=1
9810 fi
9811
9812 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9813
9814 fi;
9815
9816 eval "$ac_cv_use_statusbar"
9817 if test "$no_cache" != 1; then
9818 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9819 fi
9820
9821 if test "$wxUSE_STATUSBAR" = yes; then
9822 echo "$as_me:$LINENO: result: yes" >&5
9823 echo "${ECHO_T}yes" >&6
9824 else
9825 echo "$as_me:$LINENO: result: no" >&5
9826 echo "${ECHO_T}no" >&6
9827 fi
9828
9829
9830 enablestring=
9831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9833 no_cache=0
9834 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9835 if test "${enable_tabdialog+set}" = set; then
9836 enableval="$enable_tabdialog"
9837
9838 if test "$enableval" = yes; then
9839 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9840 else
9841 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9842 fi
9843
9844 else
9845
9846 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x ; then
9848 eval "DEFAULT_$LINE"
9849 else
9850 no_cache=1
9851 fi
9852
9853 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9854
9855 fi;
9856
9857 eval "$ac_cv_use_tabdialog"
9858 if test "$no_cache" != 1; then
9859 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9860 fi
9861
9862 if test "$wxUSE_TAB_DIALOG" = yes; then
9863 echo "$as_me:$LINENO: result: yes" >&5
9864 echo "${ECHO_T}yes" >&6
9865 else
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9868 fi
9869
9870
9871 enablestring=
9872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9874 no_cache=0
9875 # Check whether --enable-textctrl or --disable-textctrl was given.
9876 if test "${enable_textctrl+set}" = set; then
9877 enableval="$enable_textctrl"
9878
9879 if test "$enableval" = yes; then
9880 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9881 else
9882 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9883 fi
9884
9885 else
9886
9887 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9888 if test "x$LINE" != x ; then
9889 eval "DEFAULT_$LINE"
9890 else
9891 no_cache=1
9892 fi
9893
9894 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9895
9896 fi;
9897
9898 eval "$ac_cv_use_textctrl"
9899 if test "$no_cache" != 1; then
9900 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9901 fi
9902
9903 if test "$wxUSE_TEXTCTRL" = yes; then
9904 echo "$as_me:$LINENO: result: yes" >&5
9905 echo "${ECHO_T}yes" >&6
9906 else
9907 echo "$as_me:$LINENO: result: no" >&5
9908 echo "${ECHO_T}no" >&6
9909 fi
9910
9911
9912 enablestring=
9913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9915 no_cache=0
9916 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9917 if test "${enable_togglebtn+set}" = set; then
9918 enableval="$enable_togglebtn"
9919
9920 if test "$enableval" = yes; then
9921 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9922 else
9923 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9924 fi
9925
9926 else
9927
9928 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9929 if test "x$LINE" != x ; then
9930 eval "DEFAULT_$LINE"
9931 else
9932 no_cache=1
9933 fi
9934
9935 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9936
9937 fi;
9938
9939 eval "$ac_cv_use_togglebtn"
9940 if test "$no_cache" != 1; then
9941 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9942 fi
9943
9944 if test "$wxUSE_TOGGLEBTN" = yes; then
9945 echo "$as_me:$LINENO: result: yes" >&5
9946 echo "${ECHO_T}yes" >&6
9947 else
9948 echo "$as_me:$LINENO: result: no" >&5
9949 echo "${ECHO_T}no" >&6
9950 fi
9951
9952
9953 enablestring=
9954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9955 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9956 no_cache=0
9957 # Check whether --enable-toolbar or --disable-toolbar was given.
9958 if test "${enable_toolbar+set}" = set; then
9959 enableval="$enable_toolbar"
9960
9961 if test "$enableval" = yes; then
9962 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9963 else
9964 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9965 fi
9966
9967 else
9968
9969 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9970 if test "x$LINE" != x ; then
9971 eval "DEFAULT_$LINE"
9972 else
9973 no_cache=1
9974 fi
9975
9976 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9977
9978 fi;
9979
9980 eval "$ac_cv_use_toolbar"
9981 if test "$no_cache" != 1; then
9982 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9983 fi
9984
9985 if test "$wxUSE_TOOLBAR" = yes; then
9986 echo "$as_me:$LINENO: result: yes" >&5
9987 echo "${ECHO_T}yes" >&6
9988 else
9989 echo "$as_me:$LINENO: result: no" >&5
9990 echo "${ECHO_T}no" >&6
9991 fi
9992
9993
9994 enablestring=
9995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9996 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9997 no_cache=0
9998 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9999 if test "${enable_tbarnative+set}" = set; then
10000 enableval="$enable_tbarnative"
10001
10002 if test "$enableval" = yes; then
10003 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10004 else
10005 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10006 fi
10007
10008 else
10009
10010 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10011 if test "x$LINE" != x ; then
10012 eval "DEFAULT_$LINE"
10013 else
10014 no_cache=1
10015 fi
10016
10017 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10018
10019 fi;
10020
10021 eval "$ac_cv_use_tbarnative"
10022 if test "$no_cache" != 1; then
10023 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10024 fi
10025
10026 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10027 echo "$as_me:$LINENO: result: yes" >&5
10028 echo "${ECHO_T}yes" >&6
10029 else
10030 echo "$as_me:$LINENO: result: no" >&5
10031 echo "${ECHO_T}no" >&6
10032 fi
10033
10034
10035 enablestring=
10036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10037 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10038 no_cache=0
10039 # Check whether --enable-treebook or --disable-treebook was given.
10040 if test "${enable_treebook+set}" = set; then
10041 enableval="$enable_treebook"
10042
10043 if test "$enableval" = yes; then
10044 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10045 else
10046 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10047 fi
10048
10049 else
10050
10051 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x ; then
10053 eval "DEFAULT_$LINE"
10054 else
10055 no_cache=1
10056 fi
10057
10058 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10059
10060 fi;
10061
10062 eval "$ac_cv_use_treebook"
10063 if test "$no_cache" != 1; then
10064 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10065 fi
10066
10067 if test "$wxUSE_TREEBOOK" = yes; then
10068 echo "$as_me:$LINENO: result: yes" >&5
10069 echo "${ECHO_T}yes" >&6
10070 else
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10073 fi
10074
10075
10076 enablestring=
10077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10078 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10079 no_cache=0
10080 # Check whether --enable-toolbook or --disable-toolbook was given.
10081 if test "${enable_toolbook+set}" = set; then
10082 enableval="$enable_toolbook"
10083
10084 if test "$enableval" = yes; then
10085 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10086 else
10087 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10088 fi
10089
10090 else
10091
10092 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10093 if test "x$LINE" != x ; then
10094 eval "DEFAULT_$LINE"
10095 else
10096 no_cache=1
10097 fi
10098
10099 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10100
10101 fi;
10102
10103 eval "$ac_cv_use_toolbook"
10104 if test "$no_cache" != 1; then
10105 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10106 fi
10107
10108 if test "$wxUSE_TOOLBOOK" = yes; then
10109 echo "$as_me:$LINENO: result: yes" >&5
10110 echo "${ECHO_T}yes" >&6
10111 else
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10114 fi
10115
10116
10117 enablestring=
10118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10120 no_cache=0
10121 # Check whether --enable-treectrl or --disable-treectrl was given.
10122 if test "${enable_treectrl+set}" = set; then
10123 enableval="$enable_treectrl"
10124
10125 if test "$enableval" = yes; then
10126 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10127 else
10128 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10129 fi
10130
10131 else
10132
10133 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10134 if test "x$LINE" != x ; then
10135 eval "DEFAULT_$LINE"
10136 else
10137 no_cache=1
10138 fi
10139
10140 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10141
10142 fi;
10143
10144 eval "$ac_cv_use_treectrl"
10145 if test "$no_cache" != 1; then
10146 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10147 fi
10148
10149 if test "$wxUSE_TREECTRL" = yes; then
10150 echo "$as_me:$LINENO: result: yes" >&5
10151 echo "${ECHO_T}yes" >&6
10152 else
10153 echo "$as_me:$LINENO: result: no" >&5
10154 echo "${ECHO_T}no" >&6
10155 fi
10156
10157
10158 enablestring=
10159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10161 no_cache=0
10162 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10163 if test "${enable_tipwindow+set}" = set; then
10164 enableval="$enable_tipwindow"
10165
10166 if test "$enableval" = yes; then
10167 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10168 else
10169 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10170 fi
10171
10172 else
10173
10174 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10175 if test "x$LINE" != x ; then
10176 eval "DEFAULT_$LINE"
10177 else
10178 no_cache=1
10179 fi
10180
10181 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10182
10183 fi;
10184
10185 eval "$ac_cv_use_tipwindow"
10186 if test "$no_cache" != 1; then
10187 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10188 fi
10189
10190 if test "$wxUSE_TIPWINDOW" = yes; then
10191 echo "$as_me:$LINENO: result: yes" >&5
10192 echo "${ECHO_T}yes" >&6
10193 else
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10196 fi
10197
10198
10199 enablestring=
10200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10202 no_cache=0
10203 # Check whether --enable-popupwin or --disable-popupwin was given.
10204 if test "${enable_popupwin+set}" = set; then
10205 enableval="$enable_popupwin"
10206
10207 if test "$enableval" = yes; then
10208 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10209 else
10210 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10211 fi
10212
10213 else
10214
10215 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10216 if test "x$LINE" != x ; then
10217 eval "DEFAULT_$LINE"
10218 else
10219 no_cache=1
10220 fi
10221
10222 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10223
10224 fi;
10225
10226 eval "$ac_cv_use_popupwin"
10227 if test "$no_cache" != 1; then
10228 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10229 fi
10230
10231 if test "$wxUSE_POPUPWIN" = yes; then
10232 echo "$as_me:$LINENO: result: yes" >&5
10233 echo "${ECHO_T}yes" >&6
10234 else
10235 echo "$as_me:$LINENO: result: no" >&5
10236 echo "${ECHO_T}no" >&6
10237 fi
10238
10239
10240
10241
10242 enablestring=
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10245 no_cache=0
10246 # Check whether --enable-commondlg or --disable-commondlg was given.
10247 if test "${enable_commondlg+set}" = set; then
10248 enableval="$enable_commondlg"
10249
10250 if test "$enableval" = yes; then
10251 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10252 else
10253 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10254 fi
10255
10256 else
10257
10258 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x ; then
10260 eval "DEFAULT_$LINE"
10261 else
10262 no_cache=1
10263 fi
10264
10265 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10266
10267 fi;
10268
10269 eval "$ac_cv_use_commondlg"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10272 fi
10273
10274 if test "$wxUSE_COMMONDLGS" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10277 else
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10280 fi
10281
10282
10283 enablestring=
10284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10286 no_cache=0
10287 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10288 if test "${enable_aboutdlg+set}" = set; then
10289 enableval="$enable_aboutdlg"
10290
10291 if test "$enableval" = yes; then
10292 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10293 else
10294 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10295 fi
10296
10297 else
10298
10299 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10300 if test "x$LINE" != x ; then
10301 eval "DEFAULT_$LINE"
10302 else
10303 no_cache=1
10304 fi
10305
10306 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10307
10308 fi;
10309
10310 eval "$ac_cv_use_aboutdlg"
10311 if test "$no_cache" != 1; then
10312 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10313 fi
10314
10315 if test "$wxUSE_ABOUTDLG" = yes; then
10316 echo "$as_me:$LINENO: result: yes" >&5
10317 echo "${ECHO_T}yes" >&6
10318 else
10319 echo "$as_me:$LINENO: result: no" >&5
10320 echo "${ECHO_T}no" >&6
10321 fi
10322
10323
10324 enablestring=
10325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10327 no_cache=0
10328 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10329 if test "${enable_choicedlg+set}" = set; then
10330 enableval="$enable_choicedlg"
10331
10332 if test "$enableval" = yes; then
10333 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10334 else
10335 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10336 fi
10337
10338 else
10339
10340 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10341 if test "x$LINE" != x ; then
10342 eval "DEFAULT_$LINE"
10343 else
10344 no_cache=1
10345 fi
10346
10347 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10348
10349 fi;
10350
10351 eval "$ac_cv_use_choicedlg"
10352 if test "$no_cache" != 1; then
10353 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10354 fi
10355
10356 if test "$wxUSE_CHOICEDLG" = yes; then
10357 echo "$as_me:$LINENO: result: yes" >&5
10358 echo "${ECHO_T}yes" >&6
10359 else
10360 echo "$as_me:$LINENO: result: no" >&5
10361 echo "${ECHO_T}no" >&6
10362 fi
10363
10364
10365 enablestring=
10366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10368 no_cache=0
10369 # Check whether --enable-coldlg or --disable-coldlg was given.
10370 if test "${enable_coldlg+set}" = set; then
10371 enableval="$enable_coldlg"
10372
10373 if test "$enableval" = yes; then
10374 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10375 else
10376 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10377 fi
10378
10379 else
10380
10381 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10382 if test "x$LINE" != x ; then
10383 eval "DEFAULT_$LINE"
10384 else
10385 no_cache=1
10386 fi
10387
10388 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10389
10390 fi;
10391
10392 eval "$ac_cv_use_coldlg"
10393 if test "$no_cache" != 1; then
10394 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10395 fi
10396
10397 if test "$wxUSE_COLOURDLG" = yes; then
10398 echo "$as_me:$LINENO: result: yes" >&5
10399 echo "${ECHO_T}yes" >&6
10400 else
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10403 fi
10404
10405
10406 enablestring=
10407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10409 no_cache=0
10410 # Check whether --enable-filedlg or --disable-filedlg was given.
10411 if test "${enable_filedlg+set}" = set; then
10412 enableval="$enable_filedlg"
10413
10414 if test "$enableval" = yes; then
10415 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10416 else
10417 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10418 fi
10419
10420 else
10421
10422 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10423 if test "x$LINE" != x ; then
10424 eval "DEFAULT_$LINE"
10425 else
10426 no_cache=1
10427 fi
10428
10429 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10430
10431 fi;
10432
10433 eval "$ac_cv_use_filedlg"
10434 if test "$no_cache" != 1; then
10435 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10436 fi
10437
10438 if test "$wxUSE_FILEDLG" = yes; then
10439 echo "$as_me:$LINENO: result: yes" >&5
10440 echo "${ECHO_T}yes" >&6
10441 else
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10444 fi
10445
10446
10447 enablestring=
10448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10450 no_cache=0
10451 # Check whether --enable-finddlg or --disable-finddlg was given.
10452 if test "${enable_finddlg+set}" = set; then
10453 enableval="$enable_finddlg"
10454
10455 if test "$enableval" = yes; then
10456 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10457 else
10458 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10459 fi
10460
10461 else
10462
10463 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10464 if test "x$LINE" != x ; then
10465 eval "DEFAULT_$LINE"
10466 else
10467 no_cache=1
10468 fi
10469
10470 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10471
10472 fi;
10473
10474 eval "$ac_cv_use_finddlg"
10475 if test "$no_cache" != 1; then
10476 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10477 fi
10478
10479 if test "$wxUSE_FINDREPLDLG" = yes; then
10480 echo "$as_me:$LINENO: result: yes" >&5
10481 echo "${ECHO_T}yes" >&6
10482 else
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10485 fi
10486
10487
10488 enablestring=
10489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10491 no_cache=0
10492 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10493 if test "${enable_fontdlg+set}" = set; then
10494 enableval="$enable_fontdlg"
10495
10496 if test "$enableval" = yes; then
10497 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10498 else
10499 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10500 fi
10501
10502 else
10503
10504 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x ; then
10506 eval "DEFAULT_$LINE"
10507 else
10508 no_cache=1
10509 fi
10510
10511 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10512
10513 fi;
10514
10515 eval "$ac_cv_use_fontdlg"
10516 if test "$no_cache" != 1; then
10517 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10518 fi
10519
10520 if test "$wxUSE_FONTDLG" = yes; then
10521 echo "$as_me:$LINENO: result: yes" >&5
10522 echo "${ECHO_T}yes" >&6
10523 else
10524 echo "$as_me:$LINENO: result: no" >&5
10525 echo "${ECHO_T}no" >&6
10526 fi
10527
10528
10529 enablestring=
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10532 no_cache=0
10533 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10534 if test "${enable_dirdlg+set}" = set; then
10535 enableval="$enable_dirdlg"
10536
10537 if test "$enableval" = yes; then
10538 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10539 else
10540 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10541 fi
10542
10543 else
10544
10545 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x ; then
10547 eval "DEFAULT_$LINE"
10548 else
10549 no_cache=1
10550 fi
10551
10552 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10553
10554 fi;
10555
10556 eval "$ac_cv_use_dirdlg"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10559 fi
10560
10561 if test "$wxUSE_DIRDLG" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10564 else
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10567 fi
10568
10569
10570 enablestring=
10571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10573 no_cache=0
10574 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10575 if test "${enable_msgdlg+set}" = set; then
10576 enableval="$enable_msgdlg"
10577
10578 if test "$enableval" = yes; then
10579 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10580 else
10581 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10582 fi
10583
10584 else
10585
10586 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10587 if test "x$LINE" != x ; then
10588 eval "DEFAULT_$LINE"
10589 else
10590 no_cache=1
10591 fi
10592
10593 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10594
10595 fi;
10596
10597 eval "$ac_cv_use_msgdlg"
10598 if test "$no_cache" != 1; then
10599 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10600 fi
10601
10602 if test "$wxUSE_MSGDLG" = yes; then
10603 echo "$as_me:$LINENO: result: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10605 else
10606 echo "$as_me:$LINENO: result: no" >&5
10607 echo "${ECHO_T}no" >&6
10608 fi
10609
10610
10611 enablestring=
10612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10614 no_cache=0
10615 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10616 if test "${enable_numberdlg+set}" = set; then
10617 enableval="$enable_numberdlg"
10618
10619 if test "$enableval" = yes; then
10620 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10621 else
10622 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10623 fi
10624
10625 else
10626
10627 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10628 if test "x$LINE" != x ; then
10629 eval "DEFAULT_$LINE"
10630 else
10631 no_cache=1
10632 fi
10633
10634 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10635
10636 fi;
10637
10638 eval "$ac_cv_use_numberdlg"
10639 if test "$no_cache" != 1; then
10640 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10641 fi
10642
10643 if test "$wxUSE_NUMBERDLG" = yes; then
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10646 else
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10649 fi
10650
10651
10652 enablestring=
10653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10654 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10655 no_cache=0
10656 # Check whether --enable-splash or --disable-splash was given.
10657 if test "${enable_splash+set}" = set; then
10658 enableval="$enable_splash"
10659
10660 if test "$enableval" = yes; then
10661 ac_cv_use_splash='wxUSE_SPLASH=yes'
10662 else
10663 ac_cv_use_splash='wxUSE_SPLASH=no'
10664 fi
10665
10666 else
10667
10668 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10669 if test "x$LINE" != x ; then
10670 eval "DEFAULT_$LINE"
10671 else
10672 no_cache=1
10673 fi
10674
10675 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10676
10677 fi;
10678
10679 eval "$ac_cv_use_splash"
10680 if test "$no_cache" != 1; then
10681 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10682 fi
10683
10684 if test "$wxUSE_SPLASH" = yes; then
10685 echo "$as_me:$LINENO: result: yes" >&5
10686 echo "${ECHO_T}yes" >&6
10687 else
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10690 fi
10691
10692
10693 enablestring=
10694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10695 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10696 no_cache=0
10697 # Check whether --enable-textdlg or --disable-textdlg was given.
10698 if test "${enable_textdlg+set}" = set; then
10699 enableval="$enable_textdlg"
10700
10701 if test "$enableval" = yes; then
10702 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10703 else
10704 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10705 fi
10706
10707 else
10708
10709 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10710 if test "x$LINE" != x ; then
10711 eval "DEFAULT_$LINE"
10712 else
10713 no_cache=1
10714 fi
10715
10716 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10717
10718 fi;
10719
10720 eval "$ac_cv_use_textdlg"
10721 if test "$no_cache" != 1; then
10722 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10723 fi
10724
10725 if test "$wxUSE_TEXTDLG" = yes; then
10726 echo "$as_me:$LINENO: result: yes" >&5
10727 echo "${ECHO_T}yes" >&6
10728 else
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10731 fi
10732
10733
10734 enablestring=
10735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10736 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10737 no_cache=0
10738 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10739 if test "${enable_tipdlg+set}" = set; then
10740 enableval="$enable_tipdlg"
10741
10742 if test "$enableval" = yes; then
10743 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10744 else
10745 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10746 fi
10747
10748 else
10749
10750 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x ; then
10752 eval "DEFAULT_$LINE"
10753 else
10754 no_cache=1
10755 fi
10756
10757 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10758
10759 fi;
10760
10761 eval "$ac_cv_use_tipdlg"
10762 if test "$no_cache" != 1; then
10763 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10764 fi
10765
10766 if test "$wxUSE_STARTUP_TIPS" = yes; then
10767 echo "$as_me:$LINENO: result: yes" >&5
10768 echo "${ECHO_T}yes" >&6
10769 else
10770 echo "$as_me:$LINENO: result: no" >&5
10771 echo "${ECHO_T}no" >&6
10772 fi
10773
10774
10775 enablestring=
10776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10778 no_cache=0
10779 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10780 if test "${enable_progressdlg+set}" = set; then
10781 enableval="$enable_progressdlg"
10782
10783 if test "$enableval" = yes; then
10784 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10785 else
10786 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10787 fi
10788
10789 else
10790
10791 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10792 if test "x$LINE" != x ; then
10793 eval "DEFAULT_$LINE"
10794 else
10795 no_cache=1
10796 fi
10797
10798 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10799
10800 fi;
10801
10802 eval "$ac_cv_use_progressdlg"
10803 if test "$no_cache" != 1; then
10804 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10805 fi
10806
10807 if test "$wxUSE_PROGRESSDLG" = yes; then
10808 echo "$as_me:$LINENO: result: yes" >&5
10809 echo "${ECHO_T}yes" >&6
10810 else
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10813 fi
10814
10815
10816 enablestring=
10817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10819 no_cache=0
10820 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10821 if test "${enable_wizarddlg+set}" = set; then
10822 enableval="$enable_wizarddlg"
10823
10824 if test "$enableval" = yes; then
10825 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10826 else
10827 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10828 fi
10829
10830 else
10831
10832 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10833 if test "x$LINE" != x ; then
10834 eval "DEFAULT_$LINE"
10835 else
10836 no_cache=1
10837 fi
10838
10839 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10840
10841 fi;
10842
10843 eval "$ac_cv_use_wizarddlg"
10844 if test "$no_cache" != 1; then
10845 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10846 fi
10847
10848 if test "$wxUSE_WIZARDDLG" = yes; then
10849 echo "$as_me:$LINENO: result: yes" >&5
10850 echo "${ECHO_T}yes" >&6
10851 else
10852 echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6
10854 fi
10855
10856
10857
10858
10859 enablestring=
10860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10862 no_cache=0
10863 # Check whether --enable-menus or --disable-menus was given.
10864 if test "${enable_menus+set}" = set; then
10865 enableval="$enable_menus"
10866
10867 if test "$enableval" = yes; then
10868 ac_cv_use_menus='wxUSE_MENUS=yes'
10869 else
10870 ac_cv_use_menus='wxUSE_MENUS=no'
10871 fi
10872
10873 else
10874
10875 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x ; then
10877 eval "DEFAULT_$LINE"
10878 else
10879 no_cache=1
10880 fi
10881
10882 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10883
10884 fi;
10885
10886 eval "$ac_cv_use_menus"
10887 if test "$no_cache" != 1; then
10888 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10889 fi
10890
10891 if test "$wxUSE_MENUS" = yes; then
10892 echo "$as_me:$LINENO: result: yes" >&5
10893 echo "${ECHO_T}yes" >&6
10894 else
10895 echo "$as_me:$LINENO: result: no" >&5
10896 echo "${ECHO_T}no" >&6
10897 fi
10898
10899
10900 enablestring=
10901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10903 no_cache=0
10904 # Check whether --enable-miniframe or --disable-miniframe was given.
10905 if test "${enable_miniframe+set}" = set; then
10906 enableval="$enable_miniframe"
10907
10908 if test "$enableval" = yes; then
10909 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10910 else
10911 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10912 fi
10913
10914 else
10915
10916 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10919 else
10920 no_cache=1
10921 fi
10922
10923 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10924
10925 fi;
10926
10927 eval "$ac_cv_use_miniframe"
10928 if test "$no_cache" != 1; then
10929 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10930 fi
10931
10932 if test "$wxUSE_MINIFRAME" = yes; then
10933 echo "$as_me:$LINENO: result: yes" >&5
10934 echo "${ECHO_T}yes" >&6
10935 else
10936 echo "$as_me:$LINENO: result: no" >&5
10937 echo "${ECHO_T}no" >&6
10938 fi
10939
10940
10941 enablestring=
10942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10944 no_cache=0
10945 # Check whether --enable-tooltips or --disable-tooltips was given.
10946 if test "${enable_tooltips+set}" = set; then
10947 enableval="$enable_tooltips"
10948
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10951 else
10952 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10953 fi
10954
10955 else
10956
10957 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x ; then
10959 eval "DEFAULT_$LINE"
10960 else
10961 no_cache=1
10962 fi
10963
10964 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10965
10966 fi;
10967
10968 eval "$ac_cv_use_tooltips"
10969 if test "$no_cache" != 1; then
10970 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10971 fi
10972
10973 if test "$wxUSE_TOOLTIPS" = yes; then
10974 echo "$as_me:$LINENO: result: yes" >&5
10975 echo "${ECHO_T}yes" >&6
10976 else
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10979 fi
10980
10981
10982 enablestring=
10983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10985 no_cache=0
10986 # Check whether --enable-splines or --disable-splines was given.
10987 if test "${enable_splines+set}" = set; then
10988 enableval="$enable_splines"
10989
10990 if test "$enableval" = yes; then
10991 ac_cv_use_splines='wxUSE_SPLINES=yes'
10992 else
10993 ac_cv_use_splines='wxUSE_SPLINES=no'
10994 fi
10995
10996 else
10997
10998 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x ; then
11000 eval "DEFAULT_$LINE"
11001 else
11002 no_cache=1
11003 fi
11004
11005 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11006
11007 fi;
11008
11009 eval "$ac_cv_use_splines"
11010 if test "$no_cache" != 1; then
11011 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11012 fi
11013
11014 if test "$wxUSE_SPLINES" = yes; then
11015 echo "$as_me:$LINENO: result: yes" >&5
11016 echo "${ECHO_T}yes" >&6
11017 else
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11020 fi
11021
11022
11023 enablestring=
11024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11025 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11026 no_cache=0
11027 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11028 if test "${enable_mousewheel+set}" = set; then
11029 enableval="$enable_mousewheel"
11030
11031 if test "$enableval" = yes; then
11032 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11033 else
11034 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11035 fi
11036
11037 else
11038
11039 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11040 if test "x$LINE" != x ; then
11041 eval "DEFAULT_$LINE"
11042 else
11043 no_cache=1
11044 fi
11045
11046 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11047
11048 fi;
11049
11050 eval "$ac_cv_use_mousewheel"
11051 if test "$no_cache" != 1; then
11052 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11053 fi
11054
11055 if test "$wxUSE_MOUSEWHEEL" = yes; then
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11058 else
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11061 fi
11062
11063
11064 enablestring=
11065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11067 no_cache=0
11068 # Check whether --enable-validators or --disable-validators was given.
11069 if test "${enable_validators+set}" = set; then
11070 enableval="$enable_validators"
11071
11072 if test "$enableval" = yes; then
11073 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11074 else
11075 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11076 fi
11077
11078 else
11079
11080 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11081 if test "x$LINE" != x ; then
11082 eval "DEFAULT_$LINE"
11083 else
11084 no_cache=1
11085 fi
11086
11087 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11088
11089 fi;
11090
11091 eval "$ac_cv_use_validators"
11092 if test "$no_cache" != 1; then
11093 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11094 fi
11095
11096 if test "$wxUSE_VALIDATORS" = yes; then
11097 echo "$as_me:$LINENO: result: yes" >&5
11098 echo "${ECHO_T}yes" >&6
11099 else
11100 echo "$as_me:$LINENO: result: no" >&5
11101 echo "${ECHO_T}no" >&6
11102 fi
11103
11104
11105 enablestring=
11106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11108 no_cache=0
11109 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11110 if test "${enable_busyinfo+set}" = set; then
11111 enableval="$enable_busyinfo"
11112
11113 if test "$enableval" = yes; then
11114 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11115 else
11116 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11117 fi
11118
11119 else
11120
11121 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11122 if test "x$LINE" != x ; then
11123 eval "DEFAULT_$LINE"
11124 else
11125 no_cache=1
11126 fi
11127
11128 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11129
11130 fi;
11131
11132 eval "$ac_cv_use_busyinfo"
11133 if test "$no_cache" != 1; then
11134 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11135 fi
11136
11137 if test "$wxUSE_BUSYINFO" = yes; then
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11140 else
11141 echo "$as_me:$LINENO: result: no" >&5
11142 echo "${ECHO_T}no" >&6
11143 fi
11144
11145
11146 enablestring=
11147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11148 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11149 no_cache=0
11150 # Check whether --enable-joystick or --disable-joystick was given.
11151 if test "${enable_joystick+set}" = set; then
11152 enableval="$enable_joystick"
11153
11154 if test "$enableval" = yes; then
11155 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11156 else
11157 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11158 fi
11159
11160 else
11161
11162 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11163 if test "x$LINE" != x ; then
11164 eval "DEFAULT_$LINE"
11165 else
11166 no_cache=1
11167 fi
11168
11169 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11170
11171 fi;
11172
11173 eval "$ac_cv_use_joystick"
11174 if test "$no_cache" != 1; then
11175 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11176 fi
11177
11178 if test "$wxUSE_JOYSTICK" = yes; then
11179 echo "$as_me:$LINENO: result: yes" >&5
11180 echo "${ECHO_T}yes" >&6
11181 else
11182 echo "$as_me:$LINENO: result: no" >&5
11183 echo "${ECHO_T}no" >&6
11184 fi
11185
11186
11187 enablestring=
11188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11190 no_cache=0
11191 # Check whether --enable-metafile or --disable-metafile was given.
11192 if test "${enable_metafile+set}" = set; then
11193 enableval="$enable_metafile"
11194
11195 if test "$enableval" = yes; then
11196 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11197 else
11198 ac_cv_use_metafile='wxUSE_METAFILE=no'
11199 fi
11200
11201 else
11202
11203 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11204 if test "x$LINE" != x ; then
11205 eval "DEFAULT_$LINE"
11206 else
11207 no_cache=1
11208 fi
11209
11210 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11211
11212 fi;
11213
11214 eval "$ac_cv_use_metafile"
11215 if test "$no_cache" != 1; then
11216 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11217 fi
11218
11219 if test "$wxUSE_METAFILE" = yes; then
11220 echo "$as_me:$LINENO: result: yes" >&5
11221 echo "${ECHO_T}yes" >&6
11222 else
11223 echo "$as_me:$LINENO: result: no" >&5
11224 echo "${ECHO_T}no" >&6
11225 fi
11226
11227
11228 enablestring=
11229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11230 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11231 no_cache=0
11232 # Check whether --enable-dragimage or --disable-dragimage was given.
11233 if test "${enable_dragimage+set}" = set; then
11234 enableval="$enable_dragimage"
11235
11236 if test "$enableval" = yes; then
11237 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11238 else
11239 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11240 fi
11241
11242 else
11243
11244 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11245 if test "x$LINE" != x ; then
11246 eval "DEFAULT_$LINE"
11247 else
11248 no_cache=1
11249 fi
11250
11251 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11252
11253 fi;
11254
11255 eval "$ac_cv_use_dragimage"
11256 if test "$no_cache" != 1; then
11257 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11258 fi
11259
11260 if test "$wxUSE_DRAGIMAGE" = yes; then
11261 echo "$as_me:$LINENO: result: yes" >&5
11262 echo "${ECHO_T}yes" >&6
11263 else
11264 echo "$as_me:$LINENO: result: no" >&5
11265 echo "${ECHO_T}no" >&6
11266 fi
11267
11268
11269 enablestring=
11270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11272 no_cache=0
11273 # Check whether --enable-accessibility or --disable-accessibility was given.
11274 if test "${enable_accessibility+set}" = set; then
11275 enableval="$enable_accessibility"
11276
11277 if test "$enableval" = yes; then
11278 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11279 else
11280 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11281 fi
11282
11283 else
11284
11285 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x ; then
11287 eval "DEFAULT_$LINE"
11288 else
11289 no_cache=1
11290 fi
11291
11292 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11293
11294 fi;
11295
11296 eval "$ac_cv_use_accessibility"
11297 if test "$no_cache" != 1; then
11298 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11299 fi
11300
11301 if test "$wxUSE_ACCESSIBILITY" = yes; then
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11304 else
11305 echo "$as_me:$LINENO: result: no" >&5
11306 echo "${ECHO_T}no" >&6
11307 fi
11308
11309
11310 if test "$wxUSE_MSW" = "1"; then
11311
11312 enablestring=
11313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11314 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11315 no_cache=0
11316 # Check whether --enable-dccache or --disable-dccache was given.
11317 if test "${enable_dccache+set}" = set; then
11318 enableval="$enable_dccache"
11319
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11322 else
11323 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11324 fi
11325
11326 else
11327
11328 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x ; then
11330 eval "DEFAULT_$LINE"
11331 else
11332 no_cache=1
11333 fi
11334
11335 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11336
11337 fi;
11338
11339 eval "$ac_cv_use_dccache"
11340 if test "$no_cache" != 1; then
11341 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11342 fi
11343
11344 if test "$wxUSE_DC_CACHEING" = yes; then
11345 echo "$as_me:$LINENO: result: yes" >&5
11346 echo "${ECHO_T}yes" >&6
11347 else
11348 echo "$as_me:$LINENO: result: no" >&5
11349 echo "${ECHO_T}no" >&6
11350 fi
11351
11352 fi
11353
11354
11355
11356 enablestring=
11357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11358 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11359 no_cache=0
11360 # Check whether --enable-palette or --disable-palette was given.
11361 if test "${enable_palette+set}" = set; then
11362 enableval="$enable_palette"
11363
11364 if test "$enableval" = yes; then
11365 ac_cv_use_palette='wxUSE_PALETTE=yes'
11366 else
11367 ac_cv_use_palette='wxUSE_PALETTE=no'
11368 fi
11369
11370 else
11371
11372 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11373 if test "x$LINE" != x ; then
11374 eval "DEFAULT_$LINE"
11375 else
11376 no_cache=1
11377 fi
11378
11379 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11380
11381 fi;
11382
11383 eval "$ac_cv_use_palette"
11384 if test "$no_cache" != 1; then
11385 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11386 fi
11387
11388 if test "$wxUSE_PALETTE" = yes; then
11389 echo "$as_me:$LINENO: result: yes" >&5
11390 echo "${ECHO_T}yes" >&6
11391 else
11392 echo "$as_me:$LINENO: result: no" >&5
11393 echo "${ECHO_T}no" >&6
11394 fi
11395
11396
11397 enablestring=
11398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11399 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11400 no_cache=0
11401 # Check whether --enable-image or --disable-image was given.
11402 if test "${enable_image+set}" = set; then
11403 enableval="$enable_image"
11404
11405 if test "$enableval" = yes; then
11406 ac_cv_use_image='wxUSE_IMAGE=yes'
11407 else
11408 ac_cv_use_image='wxUSE_IMAGE=no'
11409 fi
11410
11411 else
11412
11413 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11414 if test "x$LINE" != x ; then
11415 eval "DEFAULT_$LINE"
11416 else
11417 no_cache=1
11418 fi
11419
11420 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11421
11422 fi;
11423
11424 eval "$ac_cv_use_image"
11425 if test "$no_cache" != 1; then
11426 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11427 fi
11428
11429 if test "$wxUSE_IMAGE" = yes; then
11430 echo "$as_me:$LINENO: result: yes" >&5
11431 echo "${ECHO_T}yes" >&6
11432 else
11433 echo "$as_me:$LINENO: result: no" >&5
11434 echo "${ECHO_T}no" >&6
11435 fi
11436
11437
11438 enablestring=
11439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11440 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11441 no_cache=0
11442 # Check whether --enable-gif or --disable-gif was given.
11443 if test "${enable_gif+set}" = set; then
11444 enableval="$enable_gif"
11445
11446 if test "$enableval" = yes; then
11447 ac_cv_use_gif='wxUSE_GIF=yes'
11448 else
11449 ac_cv_use_gif='wxUSE_GIF=no'
11450 fi
11451
11452 else
11453
11454 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11455 if test "x$LINE" != x ; then
11456 eval "DEFAULT_$LINE"
11457 else
11458 no_cache=1
11459 fi
11460
11461 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11462
11463 fi;
11464
11465 eval "$ac_cv_use_gif"
11466 if test "$no_cache" != 1; then
11467 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11468 fi
11469
11470 if test "$wxUSE_GIF" = yes; then
11471 echo "$as_me:$LINENO: result: yes" >&5
11472 echo "${ECHO_T}yes" >&6
11473 else
11474 echo "$as_me:$LINENO: result: no" >&5
11475 echo "${ECHO_T}no" >&6
11476 fi
11477
11478
11479 enablestring=
11480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11482 no_cache=0
11483 # Check whether --enable-pcx or --disable-pcx was given.
11484 if test "${enable_pcx+set}" = set; then
11485 enableval="$enable_pcx"
11486
11487 if test "$enableval" = yes; then
11488 ac_cv_use_pcx='wxUSE_PCX=yes'
11489 else
11490 ac_cv_use_pcx='wxUSE_PCX=no'
11491 fi
11492
11493 else
11494
11495 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11496 if test "x$LINE" != x ; then
11497 eval "DEFAULT_$LINE"
11498 else
11499 no_cache=1
11500 fi
11501
11502 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11503
11504 fi;
11505
11506 eval "$ac_cv_use_pcx"
11507 if test "$no_cache" != 1; then
11508 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11509 fi
11510
11511 if test "$wxUSE_PCX" = yes; then
11512 echo "$as_me:$LINENO: result: yes" >&5
11513 echo "${ECHO_T}yes" >&6
11514 else
11515 echo "$as_me:$LINENO: result: no" >&5
11516 echo "${ECHO_T}no" >&6
11517 fi
11518
11519
11520 enablestring=
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11523 no_cache=0
11524 # Check whether --enable-tga or --disable-tga was given.
11525 if test "${enable_tga+set}" = set; then
11526 enableval="$enable_tga"
11527
11528 if test "$enableval" = yes; then
11529 ac_cv_use_tga='wxUSE_TGA=yes'
11530 else
11531 ac_cv_use_tga='wxUSE_TGA=no'
11532 fi
11533
11534 else
11535
11536 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x ; then
11538 eval "DEFAULT_$LINE"
11539 else
11540 no_cache=1
11541 fi
11542
11543 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11544
11545 fi;
11546
11547 eval "$ac_cv_use_tga"
11548 if test "$no_cache" != 1; then
11549 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11550 fi
11551
11552 if test "$wxUSE_TGA" = yes; then
11553 echo "$as_me:$LINENO: result: yes" >&5
11554 echo "${ECHO_T}yes" >&6
11555 else
11556 echo "$as_me:$LINENO: result: no" >&5
11557 echo "${ECHO_T}no" >&6
11558 fi
11559
11560
11561 enablestring=
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11564 no_cache=0
11565 # Check whether --enable-iff or --disable-iff was given.
11566 if test "${enable_iff+set}" = set; then
11567 enableval="$enable_iff"
11568
11569 if test "$enableval" = yes; then
11570 ac_cv_use_iff='wxUSE_IFF=yes'
11571 else
11572 ac_cv_use_iff='wxUSE_IFF=no'
11573 fi
11574
11575 else
11576
11577 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11580 else
11581 no_cache=1
11582 fi
11583
11584 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11585
11586 fi;
11587
11588 eval "$ac_cv_use_iff"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11591 fi
11592
11593 if test "$wxUSE_IFF" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11596 else
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11599 fi
11600
11601
11602 enablestring=
11603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11605 no_cache=0
11606 # Check whether --enable-pnm or --disable-pnm was given.
11607 if test "${enable_pnm+set}" = set; then
11608 enableval="$enable_pnm"
11609
11610 if test "$enableval" = yes; then
11611 ac_cv_use_pnm='wxUSE_PNM=yes'
11612 else
11613 ac_cv_use_pnm='wxUSE_PNM=no'
11614 fi
11615
11616 else
11617
11618 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11619 if test "x$LINE" != x ; then
11620 eval "DEFAULT_$LINE"
11621 else
11622 no_cache=1
11623 fi
11624
11625 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11626
11627 fi;
11628
11629 eval "$ac_cv_use_pnm"
11630 if test "$no_cache" != 1; then
11631 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11632 fi
11633
11634 if test "$wxUSE_PNM" = yes; then
11635 echo "$as_me:$LINENO: result: yes" >&5
11636 echo "${ECHO_T}yes" >&6
11637 else
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11640 fi
11641
11642
11643 enablestring=
11644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11646 no_cache=0
11647 # Check whether --enable-xpm or --disable-xpm was given.
11648 if test "${enable_xpm+set}" = set; then
11649 enableval="$enable_xpm"
11650
11651 if test "$enableval" = yes; then
11652 ac_cv_use_xpm='wxUSE_XPM=yes'
11653 else
11654 ac_cv_use_xpm='wxUSE_XPM=no'
11655 fi
11656
11657 else
11658
11659 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11660 if test "x$LINE" != x ; then
11661 eval "DEFAULT_$LINE"
11662 else
11663 no_cache=1
11664 fi
11665
11666 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11667
11668 fi;
11669
11670 eval "$ac_cv_use_xpm"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11673 fi
11674
11675 if test "$wxUSE_XPM" = yes; then
11676 echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6
11678 else
11679 echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6
11681 fi
11682
11683
11684 enablestring=
11685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11687 no_cache=0
11688 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11689 if test "${enable_ico_cur+set}" = set; then
11690 enableval="$enable_ico_cur"
11691
11692 if test "$enableval" = yes; then
11693 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11694 else
11695 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11696 fi
11697
11698 else
11699
11700 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11701 if test "x$LINE" != x ; then
11702 eval "DEFAULT_$LINE"
11703 else
11704 no_cache=1
11705 fi
11706
11707 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11708
11709 fi;
11710
11711 eval "$ac_cv_use_ico_cur"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11714 fi
11715
11716 if test "$wxUSE_ICO_CUR" = yes; then
11717 echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6
11719 else
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11722 fi
11723
11724
11725 fi
11726
11727
11728
11729 # Check whether --with-flavour or --without-flavour was given.
11730 if test "${with_flavour+set}" = set; then
11731 withval="$with_flavour"
11732 WX_FLAVOUR="$withval"
11733 fi;
11734
11735
11736
11737 enablestring=
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11740 no_cache=0
11741 # Check whether --enable-official_build or --disable-official_build was given.
11742 if test "${enable_official_build+set}" = set; then
11743 enableval="$enable_official_build"
11744
11745 if test "$enableval" = yes; then
11746 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11747 else
11748 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11749 fi
11750
11751 else
11752
11753 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x ; then
11755 eval "DEFAULT_$LINE"
11756 else
11757 no_cache=1
11758 fi
11759
11760 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11761
11762 fi;
11763
11764 eval "$ac_cv_use_official_build"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11772 else
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11775 fi
11776
11777 # Check whether --enable-vendor or --disable-vendor was given.
11778 if test "${enable_vendor+set}" = set; then
11779 enableval="$enable_vendor"
11780 VENDOR="$enableval"
11781 fi;
11782 if test "x$VENDOR" = "x"; then
11783 VENDOR="custom"
11784 fi
11785
11786
11787
11788
11789 echo "saving argument cache $wx_arg_cache_file"
11790 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11791
11792
11793
11794 echo "$as_me:$LINENO: checking for toolkit" >&5
11795 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11796
11797 # In Wine, we need to default to MSW, not GTK or MOTIF
11798 if test "$wxUSE_WINE" = "yes"; then
11799 DEFAULT_DEFAULT_wxUSE_GTK=0
11800 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11801 DEFAULT_DEFAULT_wxUSE_MSW=1
11802 wxUSE_SHARED=no
11803 fi
11804
11805
11806 if test "$wxUSE_GUI" = "yes"; then
11807
11808 if test "$USE_BEOS" = 1; then
11809 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11810 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11811 { (exit 1); exit 1; }; }
11812 fi
11813
11814 if test "$TOOLKIT_GIVEN" = 1; then
11815 for toolkit in `echo $ALL_TOOLKITS`; do
11816 var=wxUSE_$toolkit
11817 eval "value=\$${var}"
11818 if test "x$value" = "xno"; then
11819 eval "$var=0"
11820 elif test "x$value" != "x"; then
11821 eval "$var=1"
11822 fi
11823
11824 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11825 eval "wx${toolkit}_VERSION=$value"
11826 fi
11827 done
11828 else
11829 for toolkit in `echo $ALL_TOOLKITS`; do
11830 if test "$has_toolkit_in_cache" != 1; then
11831 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11832 else
11833 var=DEFAULT_wxUSE_$toolkit
11834
11835 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11836 if test "x$version" != "x"; then
11837 eval "wx${toolkit}_VERSION=$version"
11838 fi
11839 fi
11840 eval "wxUSE_$toolkit=\$${var}"
11841 done
11842 fi
11843
11844 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11845 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11846 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11847
11848 case "${host}" in
11849 *-pc-os2_emx | *-pc-os2-emx )
11850 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11851 esac
11852
11853 case "$NUM_TOOLKITS" in
11854 1)
11855 ;;
11856 0)
11857 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11858 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11859 { (exit 1); exit 1; }; }
11860 ;;
11861 *)
11862 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11863 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11864 { (exit 1); exit 1; }; }
11865 esac
11866
11867 # to be removed when --disable-gtk2 isn't needed
11868 if test "x$wxUSE_GTK2" = "xyes"; then
11869 wxGTK_VERSION=2
11870 elif test "x$wxUSE_GTK2" = "xno"; then
11871 wxGTK_VERSION=1
11872 fi
11873
11874 for toolkit in `echo $ALL_TOOLKITS`; do
11875 var=wxUSE_$toolkit
11876 eval "value=\$${var}"
11877 if test "x$value" != x; then
11878 cache_var=CACHE_$toolkit
11879 eval "cache=\$${cache_var}"
11880 if test "$cache" = 1; then
11881 echo "$var=$value" >> ${wx_arg_cache_file}
11882 eval "version=\$wx${toolkit}_VERSION"
11883 if test "x$version" != "x"; then
11884 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11885 fi
11886 fi
11887 if test "$value" = 1; then
11888 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11889 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11890 echo "${ECHO_T}$toolkit_echo" >&6
11891 fi
11892 fi
11893 done
11894 else
11895 if test "x$host_alias" != "x"; then
11896 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11897 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11898 else
11899 echo "$as_me:$LINENO: result: base only" >&5
11900 echo "${ECHO_T}base only" >&6
11901 fi
11902 fi
11903
11904 wants_win32=0
11905 doesnt_want_win32=0
11906 case "${host}" in
11907 *-*-cygwin*)
11908 if test "$wxUSE_MSW" = 1 ; then
11909 wants_win32=1
11910 BAKEFILE_FORCE_PLATFORM=win32
11911 else
11912 doesnt_want_win32=1
11913 fi
11914 ;;
11915 *-*-mingw*)
11916 wants_win32=1
11917 ;;
11918 esac
11919
11920 if test "$wxUSE_WINE" = "yes"; then
11921 wants_win32=1
11922 CC=winegcc
11923 CXX=wineg++
11924 LDFLAGS_GUI="-mwindows"
11925 fi
11926
11927 if test "$wants_win32" = 1 ; then
11928 USE_UNIX=0
11929 USE_WIN32=1
11930 cat >>confdefs.h <<\_ACEOF
11931 #define __WIN32__ 1
11932 _ACEOF
11933
11934 cat >>confdefs.h <<\_ACEOF
11935 #define __WIN95__ 1
11936 _ACEOF
11937
11938 cat >>confdefs.h <<\_ACEOF
11939 #define __WINDOWS__ 1
11940 _ACEOF
11941
11942 cat >>confdefs.h <<\_ACEOF
11943 #define __GNUWIN32__ 1
11944 _ACEOF
11945
11946 cat >>confdefs.h <<\_ACEOF
11947 #define STRICT 1
11948 _ACEOF
11949
11950 fi
11951 if test "$doesnt_want_win32" = 1 ; then
11952 USE_UNIX=1
11953 USE_WIN32=0
11954 fi
11955
11956 if test "$USE_UNIX" = 1 ; then
11957 wxUSE_UNIX=yes
11958 cat >>confdefs.h <<\_ACEOF
11959 #define __UNIX__ 1
11960 _ACEOF
11961
11962 fi
11963
11964
11965 cat >confcache <<\_ACEOF
11966 # This file is a shell script that caches the results of configure
11967 # tests run on this system so they can be shared between configure
11968 # scripts and configure runs, see configure's option --config-cache.
11969 # It is not useful on other systems. If it contains results you don't
11970 # want to keep, you may remove or edit it.
11971 #
11972 # config.status only pays attention to the cache file if you give it
11973 # the --recheck option to rerun configure.
11974 #
11975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11977 # following values.
11978
11979 _ACEOF
11980
11981 # The following way of writing the cache mishandles newlines in values,
11982 # but we know of no workaround that is simple, portable, and efficient.
11983 # So, don't put newlines in cache variables' values.
11984 # Ultrix sh set writes to stderr and can't be redirected directly,
11985 # and sets the high bit in the cache file unless we assign to the vars.
11986 {
11987 (set) 2>&1 |
11988 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11989 *ac_space=\ *)
11990 # `set' does not quote correctly, so add quotes (double-quote
11991 # substitution turns \\\\ into \\, and sed turns \\ into \).
11992 sed -n \
11993 "s/'/'\\\\''/g;
11994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11995 ;;
11996 *)
11997 # `set' quotes correctly as required by POSIX, so do not add quotes.
11998 sed -n \
11999 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12000 ;;
12001 esac;
12002 } |
12003 sed '
12004 t clear
12005 : clear
12006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12007 t end
12008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12009 : end' >>confcache
12010 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12011 if test -w $cache_file; then
12012 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12013 cat confcache >$cache_file
12014 else
12015 echo "not updating unwritable cache $cache_file"
12016 fi
12017 fi
12018 rm -f confcache
12019
12020 CFLAGS=${CFLAGS:=}
12021
12022
12023
12024 ac_ext=c
12025 ac_cpp='$CPP $CPPFLAGS'
12026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12029 if test -n "$ac_tool_prefix"; then
12030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12032 echo "$as_me:$LINENO: checking for $ac_word" >&5
12033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12034 if test "${ac_cv_prog_CC+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 else
12037 if test -n "$CC"; then
12038 ac_cv_prog_CC="$CC" # Let the user override the test.
12039 else
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12042 do
12043 IFS=$as_save_IFS
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12049 break 2
12050 fi
12051 done
12052 done
12053
12054 fi
12055 fi
12056 CC=$ac_cv_prog_CC
12057 if test -n "$CC"; then
12058 echo "$as_me:$LINENO: result: $CC" >&5
12059 echo "${ECHO_T}$CC" >&6
12060 else
12061 echo "$as_me:$LINENO: result: no" >&5
12062 echo "${ECHO_T}no" >&6
12063 fi
12064
12065 fi
12066 if test -z "$ac_cv_prog_CC"; then
12067 ac_ct_CC=$CC
12068 # Extract the first word of "gcc", so it can be a program name with args.
12069 set dummy gcc; ac_word=$2
12070 echo "$as_me:$LINENO: checking for $ac_word" >&5
12071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 else
12075 if test -n "$ac_ct_CC"; then
12076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12077 else
12078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12079 for as_dir in $PATH
12080 do
12081 IFS=$as_save_IFS
12082 test -z "$as_dir" && as_dir=.
12083 for ac_exec_ext in '' $ac_executable_extensions; do
12084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12085 ac_cv_prog_ac_ct_CC="gcc"
12086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12087 break 2
12088 fi
12089 done
12090 done
12091
12092 fi
12093 fi
12094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12095 if test -n "$ac_ct_CC"; then
12096 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12097 echo "${ECHO_T}$ac_ct_CC" >&6
12098 else
12099 echo "$as_me:$LINENO: result: no" >&5
12100 echo "${ECHO_T}no" >&6
12101 fi
12102
12103 CC=$ac_ct_CC
12104 else
12105 CC="$ac_cv_prog_CC"
12106 fi
12107
12108 if test -z "$CC"; then
12109 if test -n "$ac_tool_prefix"; then
12110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12111 set dummy ${ac_tool_prefix}cc; ac_word=$2
12112 echo "$as_me:$LINENO: checking for $ac_word" >&5
12113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12114 if test "${ac_cv_prog_CC+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 else
12117 if test -n "$CC"; then
12118 ac_cv_prog_CC="$CC" # Let the user override the test.
12119 else
12120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12121 for as_dir in $PATH
12122 do
12123 IFS=$as_save_IFS
12124 test -z "$as_dir" && as_dir=.
12125 for ac_exec_ext in '' $ac_executable_extensions; do
12126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12127 ac_cv_prog_CC="${ac_tool_prefix}cc"
12128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 break 2
12130 fi
12131 done
12132 done
12133
12134 fi
12135 fi
12136 CC=$ac_cv_prog_CC
12137 if test -n "$CC"; then
12138 echo "$as_me:$LINENO: result: $CC" >&5
12139 echo "${ECHO_T}$CC" >&6
12140 else
12141 echo "$as_me:$LINENO: result: no" >&5
12142 echo "${ECHO_T}no" >&6
12143 fi
12144
12145 fi
12146 if test -z "$ac_cv_prog_CC"; then
12147 ac_ct_CC=$CC
12148 # Extract the first word of "cc", so it can be a program name with args.
12149 set dummy cc; ac_word=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 else
12155 if test -n "$ac_ct_CC"; then
12156 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12157 else
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12160 do
12161 IFS=$as_save_IFS
12162 test -z "$as_dir" && as_dir=.
12163 for ac_exec_ext in '' $ac_executable_extensions; do
12164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12165 ac_cv_prog_ac_ct_CC="cc"
12166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12167 break 2
12168 fi
12169 done
12170 done
12171
12172 fi
12173 fi
12174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12175 if test -n "$ac_ct_CC"; then
12176 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12177 echo "${ECHO_T}$ac_ct_CC" >&6
12178 else
12179 echo "$as_me:$LINENO: result: no" >&5
12180 echo "${ECHO_T}no" >&6
12181 fi
12182
12183 CC=$ac_ct_CC
12184 else
12185 CC="$ac_cv_prog_CC"
12186 fi
12187
12188 fi
12189 if test -z "$CC"; then
12190 # Extract the first word of "cc", so it can be a program name with args.
12191 set dummy cc; ac_word=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC="$CC" # Let the user override the test.
12199 else
12200 ac_prog_rejected=no
12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12202 for as_dir in $PATH
12203 do
12204 IFS=$as_save_IFS
12205 test -z "$as_dir" && as_dir=.
12206 for ac_exec_ext in '' $ac_executable_extensions; do
12207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12209 ac_prog_rejected=yes
12210 continue
12211 fi
12212 ac_cv_prog_CC="cc"
12213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12214 break 2
12215 fi
12216 done
12217 done
12218
12219 if test $ac_prog_rejected = yes; then
12220 # We found a bogon in the path, so make sure we never use it.
12221 set dummy $ac_cv_prog_CC
12222 shift
12223 if test $# != 0; then
12224 # We chose a different compiler from the bogus one.
12225 # However, it has the same basename, so the bogon will be chosen
12226 # first if we set CC to just the basename; use the full file name.
12227 shift
12228 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12229 fi
12230 fi
12231 fi
12232 fi
12233 CC=$ac_cv_prog_CC
12234 if test -n "$CC"; then
12235 echo "$as_me:$LINENO: result: $CC" >&5
12236 echo "${ECHO_T}$CC" >&6
12237 else
12238 echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6
12240 fi
12241
12242 fi
12243 if test -z "$CC"; then
12244 if test -n "$ac_tool_prefix"; then
12245 for ac_prog in cl
12246 do
12247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12249 echo "$as_me:$LINENO: checking for $ac_word" >&5
12250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12251 if test "${ac_cv_prog_CC+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 else
12254 if test -n "$CC"; then
12255 ac_cv_prog_CC="$CC" # Let the user override the test.
12256 else
12257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12258 for as_dir in $PATH
12259 do
12260 IFS=$as_save_IFS
12261 test -z "$as_dir" && as_dir=.
12262 for ac_exec_ext in '' $ac_executable_extensions; do
12263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 break 2
12267 fi
12268 done
12269 done
12270
12271 fi
12272 fi
12273 CC=$ac_cv_prog_CC
12274 if test -n "$CC"; then
12275 echo "$as_me:$LINENO: result: $CC" >&5
12276 echo "${ECHO_T}$CC" >&6
12277 else
12278 echo "$as_me:$LINENO: result: no" >&5
12279 echo "${ECHO_T}no" >&6
12280 fi
12281
12282 test -n "$CC" && break
12283 done
12284 fi
12285 if test -z "$CC"; then
12286 ac_ct_CC=$CC
12287 for ac_prog in cl
12288 do
12289 # Extract the first word of "$ac_prog", so it can be a program name with args.
12290 set dummy $ac_prog; ac_word=$2
12291 echo "$as_me:$LINENO: checking for $ac_word" >&5
12292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 else
12296 if test -n "$ac_ct_CC"; then
12297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12298 else
12299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12300 for as_dir in $PATH
12301 do
12302 IFS=$as_save_IFS
12303 test -z "$as_dir" && as_dir=.
12304 for ac_exec_ext in '' $ac_executable_extensions; do
12305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12306 ac_cv_prog_ac_ct_CC="$ac_prog"
12307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12308 break 2
12309 fi
12310 done
12311 done
12312
12313 fi
12314 fi
12315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12316 if test -n "$ac_ct_CC"; then
12317 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12318 echo "${ECHO_T}$ac_ct_CC" >&6
12319 else
12320 echo "$as_me:$LINENO: result: no" >&5
12321 echo "${ECHO_T}no" >&6
12322 fi
12323
12324 test -n "$ac_ct_CC" && break
12325 done
12326
12327 CC=$ac_ct_CC
12328 fi
12329
12330 fi
12331
12332
12333 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12334 See \`config.log' for more details." >&5
12335 echo "$as_me: error: no acceptable C compiler found in \$PATH
12336 See \`config.log' for more details." >&2;}
12337 { (exit 1); exit 1; }; }
12338
12339 # Provide some information about the compiler.
12340 echo "$as_me:$LINENO:" \
12341 "checking for C compiler version" >&5
12342 ac_compiler=`set X $ac_compile; echo $2`
12343 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12344 (eval $ac_compiler --version </dev/null >&5) 2>&5
12345 ac_status=$?
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }
12348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12349 (eval $ac_compiler -v </dev/null >&5) 2>&5
12350 ac_status=$?
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }
12353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12354 (eval $ac_compiler -V </dev/null >&5) 2>&5
12355 ac_status=$?
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }
12358
12359 cat >conftest.$ac_ext <<_ACEOF
12360 /* confdefs.h. */
12361 _ACEOF
12362 cat confdefs.h >>conftest.$ac_ext
12363 cat >>conftest.$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365
12366 int
12367 main ()
12368 {
12369
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 ac_clean_files_save=$ac_clean_files
12375 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12376 # Try to create an executable without -o first, disregard a.out.
12377 # It will help us diagnose broken compilers, and finding out an intuition
12378 # of exeext.
12379 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12380 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12381 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12382 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12383 (eval $ac_link_default) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; then
12387 # Find the output, starting from the most likely. This scheme is
12388 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12389 # resort.
12390
12391 # Be careful to initialize this variable, since it used to be cached.
12392 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12393 ac_cv_exeext=
12394 # b.out is created by i960 compilers.
12395 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12396 do
12397 test -f "$ac_file" || continue
12398 case $ac_file in
12399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12400 ;;
12401 conftest.$ac_ext )
12402 # This is the source file.
12403 ;;
12404 [ab].out )
12405 # We found the default executable, but exeext='' is most
12406 # certainly right.
12407 break;;
12408 *.* )
12409 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12410 # FIXME: I believe we export ac_cv_exeext for Libtool,
12411 # but it would be cool to find out if it's true. Does anybody
12412 # maintain Libtool? --akim.
12413 export ac_cv_exeext
12414 break;;
12415 * )
12416 break;;
12417 esac
12418 done
12419 else
12420 echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.$ac_ext >&5
12422
12423 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12424 See \`config.log' for more details." >&5
12425 echo "$as_me: error: C compiler cannot create executables
12426 See \`config.log' for more details." >&2;}
12427 { (exit 77); exit 77; }; }
12428 fi
12429
12430 ac_exeext=$ac_cv_exeext
12431 echo "$as_me:$LINENO: result: $ac_file" >&5
12432 echo "${ECHO_T}$ac_file" >&6
12433
12434 # Check the compiler produces executables we can run. If not, either
12435 # the compiler is broken, or we cross compile.
12436 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12437 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12438 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12439 # If not cross compiling, check that we can run a simple program.
12440 if test "$cross_compiling" != yes; then
12441 if { ac_try='./$ac_file'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; }; then
12447 cross_compiling=no
12448 else
12449 if test "$cross_compiling" = maybe; then
12450 cross_compiling=yes
12451 else
12452 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12453 If you meant to cross compile, use \`--host'.
12454 See \`config.log' for more details." >&5
12455 echo "$as_me: error: cannot run C compiled programs.
12456 If you meant to cross compile, use \`--host'.
12457 See \`config.log' for more details." >&2;}
12458 { (exit 1); exit 1; }; }
12459 fi
12460 fi
12461 fi
12462 echo "$as_me:$LINENO: result: yes" >&5
12463 echo "${ECHO_T}yes" >&6
12464
12465 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12466 ac_clean_files=$ac_clean_files_save
12467 # Check the compiler produces executables we can run. If not, either
12468 # the compiler is broken, or we cross compile.
12469 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12470 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12471 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12472 echo "${ECHO_T}$cross_compiling" >&6
12473
12474 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12475 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12477 (eval $ac_link) 2>&5
12478 ac_status=$?
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; then
12481 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12482 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12483 # work properly (i.e., refer to `conftest.exe'), while it won't with
12484 # `rm'.
12485 for ac_file in conftest.exe conftest conftest.*; do
12486 test -f "$ac_file" || continue
12487 case $ac_file in
12488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12489 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12490 export ac_cv_exeext
12491 break;;
12492 * ) break;;
12493 esac
12494 done
12495 else
12496 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12497 See \`config.log' for more details." >&5
12498 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12499 See \`config.log' for more details." >&2;}
12500 { (exit 1); exit 1; }; }
12501 fi
12502
12503 rm -f conftest$ac_cv_exeext
12504 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12505 echo "${ECHO_T}$ac_cv_exeext" >&6
12506
12507 rm -f conftest.$ac_ext
12508 EXEEXT=$ac_cv_exeext
12509 ac_exeext=$EXEEXT
12510 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12511 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12512 if test "${ac_cv_objext+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12514 else
12515 cat >conftest.$ac_ext <<_ACEOF
12516 /* confdefs.h. */
12517 _ACEOF
12518 cat confdefs.h >>conftest.$ac_ext
12519 cat >>conftest.$ac_ext <<_ACEOF
12520 /* end confdefs.h. */
12521
12522 int
12523 main ()
12524 {
12525
12526 ;
12527 return 0;
12528 }
12529 _ACEOF
12530 rm -f conftest.o conftest.obj
12531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12532 (eval $ac_compile) 2>&5
12533 ac_status=$?
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; then
12536 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12537 case $ac_file in
12538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12539 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12540 break;;
12541 esac
12542 done
12543 else
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.$ac_ext >&5
12546
12547 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12548 See \`config.log' for more details." >&5
12549 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12550 See \`config.log' for more details." >&2;}
12551 { (exit 1); exit 1; }; }
12552 fi
12553
12554 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12555 fi
12556 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12557 echo "${ECHO_T}$ac_cv_objext" >&6
12558 OBJEXT=$ac_cv_objext
12559 ac_objext=$OBJEXT
12560 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12561 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12562 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12563 echo $ECHO_N "(cached) $ECHO_C" >&6
12564 else
12565 cat >conftest.$ac_ext <<_ACEOF
12566 /* confdefs.h. */
12567 _ACEOF
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12571
12572 int
12573 main ()
12574 {
12575 #ifndef __GNUC__
12576 choke me
12577 #endif
12578
12579 ;
12580 return 0;
12581 }
12582 _ACEOF
12583 rm -f conftest.$ac_objext
12584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12585 (eval $ac_compile) 2>conftest.er1
12586 ac_status=$?
12587 grep -v '^ *+' conftest.er1 >conftest.err
12588 rm -f conftest.er1
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } &&
12592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12595 ac_status=$?
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; } &&
12598 { ac_try='test -s conftest.$ac_objext'
12599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12600 (eval $ac_try) 2>&5
12601 ac_status=$?
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); }; }; then
12604 ac_compiler_gnu=yes
12605 else
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12608
12609 ac_compiler_gnu=no
12610 fi
12611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12612 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12613
12614 fi
12615 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12616 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12617 GCC=`test $ac_compiler_gnu = yes && echo yes`
12618 ac_test_CFLAGS=${CFLAGS+set}
12619 ac_save_CFLAGS=$CFLAGS
12620 CFLAGS="-g"
12621 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12622 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12623 if test "${ac_cv_prog_cc_g+set}" = set; then
12624 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 else
12626 cat >conftest.$ac_ext <<_ACEOF
12627 /* confdefs.h. */
12628 _ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12632
12633 int
12634 main ()
12635 {
12636
12637 ;
12638 return 0;
12639 }
12640 _ACEOF
12641 rm -f conftest.$ac_objext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12643 (eval $ac_compile) 2>conftest.er1
12644 ac_status=$?
12645 grep -v '^ *+' conftest.er1 >conftest.err
12646 rm -f conftest.er1
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12659 ac_status=$?
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_cv_prog_cc_g=yes
12663 else
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12666
12667 ac_cv_prog_cc_g=no
12668 fi
12669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12670 fi
12671 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12672 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12673 if test "$ac_test_CFLAGS" = set; then
12674 CFLAGS=$ac_save_CFLAGS
12675 elif test $ac_cv_prog_cc_g = yes; then
12676 if test "$GCC" = yes; then
12677 CFLAGS="-g -O2"
12678 else
12679 CFLAGS="-g"
12680 fi
12681 else
12682 if test "$GCC" = yes; then
12683 CFLAGS="-O2"
12684 else
12685 CFLAGS=
12686 fi
12687 fi
12688 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12689 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12690 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 else
12693 ac_cv_prog_cc_stdc=no
12694 ac_save_CC=$CC
12695 cat >conftest.$ac_ext <<_ACEOF
12696 /* confdefs.h. */
12697 _ACEOF
12698 cat confdefs.h >>conftest.$ac_ext
12699 cat >>conftest.$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 #include <stdarg.h>
12702 #include <stdio.h>
12703 #include <sys/types.h>
12704 #include <sys/stat.h>
12705 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12706 struct buf { int x; };
12707 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12708 static char *e (p, i)
12709 char **p;
12710 int i;
12711 {
12712 return p[i];
12713 }
12714 static char *f (char * (*g) (char **, int), char **p, ...)
12715 {
12716 char *s;
12717 va_list v;
12718 va_start (v,p);
12719 s = g (p, va_arg (v,int));
12720 va_end (v);
12721 return s;
12722 }
12723
12724 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12725 function prototypes and stuff, but not '\xHH' hex character constants.
12726 These don't provoke an error unfortunately, instead are silently treated
12727 as 'x'. The following induces an error, until -std1 is added to get
12728 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12729 array size at least. It's necessary to write '\x00'==0 to get something
12730 that's true only with -std1. */
12731 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12732
12733 int test (int i, double x);
12734 struct s1 {int (*f) (int a);};
12735 struct s2 {int (*f) (double a);};
12736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12737 int argc;
12738 char **argv;
12739 int
12740 main ()
12741 {
12742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12743 ;
12744 return 0;
12745 }
12746 _ACEOF
12747 # Don't try gcc -ansi; that turns off useful extensions and
12748 # breaks some systems' header files.
12749 # AIX -qlanglvl=ansi
12750 # Ultrix and OSF/1 -std1
12751 # HP-UX 10.20 and later -Ae
12752 # HP-UX older versions -Aa -D_HPUX_SOURCE
12753 # SVR4 -Xc -D__EXTENSIONS__
12754 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12755 do
12756 CC="$ac_save_CC $ac_arg"
12757 rm -f conftest.$ac_objext
12758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>conftest.er1
12760 ac_status=$?
12761 grep -v '^ *+' conftest.er1 >conftest.err
12762 rm -f conftest.er1
12763 cat conftest.err >&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); } &&
12766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12769 ac_status=$?
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; } &&
12772 { ac_try='test -s conftest.$ac_objext'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12775 ac_status=$?
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; }; then
12778 ac_cv_prog_cc_stdc=$ac_arg
12779 break
12780 else
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.$ac_ext >&5
12783
12784 fi
12785 rm -f conftest.err conftest.$ac_objext
12786 done
12787 rm -f conftest.$ac_ext conftest.$ac_objext
12788 CC=$ac_save_CC
12789
12790 fi
12791
12792 case "x$ac_cv_prog_cc_stdc" in
12793 x|xno)
12794 echo "$as_me:$LINENO: result: none needed" >&5
12795 echo "${ECHO_T}none needed" >&6 ;;
12796 *)
12797 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12798 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12799 CC="$CC $ac_cv_prog_cc_stdc" ;;
12800 esac
12801
12802 # Some people use a C++ compiler to compile C. Since we use `exit',
12803 # in C++ we need to declare it. In case someone uses the same compiler
12804 # for both compiling C and C++ we need to have the C++ compiler decide
12805 # the declaration of exit, since it's the most demanding environment.
12806 cat >conftest.$ac_ext <<_ACEOF
12807 #ifndef __cplusplus
12808 choke me
12809 #endif
12810 _ACEOF
12811 rm -f conftest.$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813 (eval $ac_compile) 2>conftest.er1
12814 ac_status=$?
12815 grep -v '^ *+' conftest.er1 >conftest.err
12816 rm -f conftest.er1
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } &&
12820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; } &&
12826 { ac_try='test -s conftest.$ac_objext'
12827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12828 (eval $ac_try) 2>&5
12829 ac_status=$?
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); }; }; then
12832 for ac_declaration in \
12833 '' \
12834 'extern "C" void std::exit (int) throw (); using std::exit;' \
12835 'extern "C" void std::exit (int); using std::exit;' \
12836 'extern "C" void exit (int) throw ();' \
12837 'extern "C" void exit (int);' \
12838 'void exit (int);'
12839 do
12840 cat >conftest.$ac_ext <<_ACEOF
12841 /* confdefs.h. */
12842 _ACEOF
12843 cat confdefs.h >>conftest.$ac_ext
12844 cat >>conftest.$ac_ext <<_ACEOF
12845 /* end confdefs.h. */
12846 $ac_declaration
12847 #include <stdlib.h>
12848 int
12849 main ()
12850 {
12851 exit (42);
12852 ;
12853 return 0;
12854 }
12855 _ACEOF
12856 rm -f conftest.$ac_objext
12857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12858 (eval $ac_compile) 2>conftest.er1
12859 ac_status=$?
12860 grep -v '^ *+' conftest.er1 >conftest.err
12861 rm -f conftest.er1
12862 cat conftest.err >&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } &&
12865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12867 (eval $ac_try) 2>&5
12868 ac_status=$?
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); }; } &&
12871 { ac_try='test -s conftest.$ac_objext'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12874 ac_status=$?
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; }; then
12877 :
12878 else
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.$ac_ext >&5
12881
12882 continue
12883 fi
12884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12885 cat >conftest.$ac_ext <<_ACEOF
12886 /* confdefs.h. */
12887 _ACEOF
12888 cat confdefs.h >>conftest.$ac_ext
12889 cat >>conftest.$ac_ext <<_ACEOF
12890 /* end confdefs.h. */
12891 $ac_declaration
12892 int
12893 main ()
12894 {
12895 exit (42);
12896 ;
12897 return 0;
12898 }
12899 _ACEOF
12900 rm -f conftest.$ac_objext
12901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12902 (eval $ac_compile) 2>conftest.er1
12903 ac_status=$?
12904 grep -v '^ *+' conftest.er1 >conftest.err
12905 rm -f conftest.er1
12906 cat conftest.err >&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } &&
12909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12912 ac_status=$?
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12918 ac_status=$?
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 break
12922 else
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.$ac_ext >&5
12925
12926 fi
12927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12928 done
12929 rm -f conftest*
12930 if test -n "$ac_declaration"; then
12931 echo '#ifdef __cplusplus' >>confdefs.h
12932 echo $ac_declaration >>confdefs.h
12933 echo '#endif' >>confdefs.h
12934 fi
12935
12936 else
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12939
12940 fi
12941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12942 ac_ext=c
12943 ac_cpp='$CPP $CPPFLAGS'
12944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12947
12948
12949
12950 ac_ext=c
12951 ac_cpp='$CPP $CPPFLAGS'
12952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12955
12956 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12957 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12958 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 else
12961 cat >conftest.$ac_ext <<_ACEOF
12962 /* confdefs.h. */
12963 _ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967
12968 int
12969 main ()
12970 {
12971
12972 #ifndef __INTEL_COMPILER
12973 choke me
12974 #endif
12975
12976 ;
12977 return 0;
12978 }
12979 _ACEOF
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13005
13006 bakefile_cv_c_compiler___INTEL_COMPILER=no
13007
13008 fi
13009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13010
13011
13012 fi
13013 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13014 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13015 ac_ext=c
13016 ac_cpp='$CPP $CPPFLAGS'
13017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13020
13021 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13022 :; INTELCC=yes
13023 else
13024 :;
13025 fi
13026
13027
13028 if test "x$GCC" != "xyes"; then
13029 if test "xCC" = "xC"; then
13030 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13031 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13032 if test "${bakefile_cv_c_exto+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 else
13035 cat >conftest.$ac_ext <<_ACEOF
13036 /* confdefs.h. */
13037 _ACEOF
13038 cat confdefs.h >>conftest.$ac_ext
13039 cat >>conftest.$ac_ext <<_ACEOF
13040 /* end confdefs.h. */
13041
13042 int
13043 main ()
13044 {
13045
13046 ;
13047 return 0;
13048 }
13049 _ACEOF
13050 rm -f conftest.$ac_objext conftest.$ac_ext.o
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052 (eval $ac_compile) 2>&5
13053 ac_status=$?
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; then
13056 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13057 case $ac_file in
13058 conftest.$ac_ext.o)
13059 bakefile_cv_c_exto="-ext o"
13060 ;;
13061 *)
13062 ;;
13063 esac
13064 done
13065 else
13066 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13067 See \`config.log' for more details." >&5
13068 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13069 See \`config.log' for more details." >&2;}
13070 { (exit 1); exit 1; }; }
13071
13072 fi
13073
13074 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13075
13076 fi
13077 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13078 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13079 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13080 if test "c" = "c"; then
13081 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13082 fi
13083 if test "c" = "cxx"; then
13084 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13085 fi
13086 fi
13087
13088 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13089 unset ac_cv_prog_cc_g
13090 ac_test_CFLAGS=${CFLAGS+set}
13091 ac_save_CFLAGS=$CFLAGS
13092 CFLAGS="-g"
13093 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13094 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13095 if test "${ac_cv_prog_cc_g+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else
13098 cat >conftest.$ac_ext <<_ACEOF
13099 /* confdefs.h. */
13100 _ACEOF
13101 cat confdefs.h >>conftest.$ac_ext
13102 cat >>conftest.$ac_ext <<_ACEOF
13103 /* end confdefs.h. */
13104
13105 int
13106 main ()
13107 {
13108
13109 ;
13110 return 0;
13111 }
13112 _ACEOF
13113 rm -f conftest.$ac_objext
13114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13115 (eval $ac_compile) 2>conftest.er1
13116 ac_status=$?
13117 grep -v '^ *+' conftest.er1 >conftest.err
13118 rm -f conftest.er1
13119 cat conftest.err >&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } &&
13122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13125 ac_status=$?
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; } &&
13128 { ac_try='test -s conftest.$ac_objext'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13131 ac_status=$?
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; }; then
13134 ac_cv_prog_cc_g=yes
13135 else
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.$ac_ext >&5
13138
13139 ac_cv_prog_cc_g=no
13140 fi
13141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13142 fi
13143 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13144 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13145 if test "$ac_test_CFLAGS" = set; then
13146 CFLAGS=$ac_save_CFLAGS
13147 elif test $ac_cv_prog_cc_g = yes; then
13148 if test "$GCC" = yes; then
13149 CFLAGS="-g -O2"
13150 else
13151 CFLAGS="-g"
13152 fi
13153 else
13154 if test "$GCC" = yes; then
13155 CFLAGS="-O2"
13156 else
13157 CFLAGS=
13158 fi
13159 fi
13160 fi
13161 fi
13162
13163 case `uname -s` in
13164 AIX*)
13165 ac_ext=c
13166 ac_cpp='$CPP $CPPFLAGS'
13167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13170
13171 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13172 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13173 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13174 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 else
13176 cat >conftest.$ac_ext <<_ACEOF
13177 /* confdefs.h. */
13178 _ACEOF
13179 cat confdefs.h >>conftest.$ac_ext
13180 cat >>conftest.$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182
13183 int
13184 main ()
13185 {
13186 #ifndef __xlC__
13187 choke me
13188 #endif
13189
13190 ;
13191 return 0;
13192 }
13193 _ACEOF
13194 rm -f conftest.$ac_objext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196 (eval $ac_compile) 2>conftest.er1
13197 ac_status=$?
13198 grep -v '^ *+' conftest.er1 >conftest.err
13199 rm -f conftest.er1
13200 cat conftest.err >&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } &&
13203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13206 ac_status=$?
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; } &&
13209 { ac_try='test -s conftest.$ac_objext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13212 ac_status=$?
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 bakefile_compiler_xlc=yes
13216 else
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.$ac_ext >&5
13219
13220 bakefile_compiler_xlc=no
13221 fi
13222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13223 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13224
13225 fi
13226 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13227 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13228
13229 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13230 ac_ext=c
13231 ac_cpp='$CPP $CPPFLAGS'
13232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13235
13236
13237 ;;
13238
13239 Darwin)
13240 ac_ext=c
13241 ac_cpp='$CPP $CPPFLAGS'
13242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13245
13246 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13247 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13248 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 else
13251 cat >conftest.$ac_ext <<_ACEOF
13252 /* confdefs.h. */
13253 _ACEOF
13254 cat confdefs.h >>conftest.$ac_ext
13255 cat >>conftest.$ac_ext <<_ACEOF
13256 /* end confdefs.h. */
13257
13258 int
13259 main ()
13260 {
13261 #ifndef __MWERKS__
13262 choke me
13263 #endif
13264
13265 ;
13266 return 0;
13267 }
13268 _ACEOF
13269 rm -f conftest.$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>conftest.er1
13272 ac_status=$?
13273 grep -v '^ *+' conftest.er1 >conftest.err
13274 rm -f conftest.er1
13275 cat conftest.err >&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); } &&
13278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280 (eval $ac_try) 2>&5
13281 ac_status=$?
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); }; } &&
13284 { ac_try='test -s conftest.$ac_objext'
13285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13286 (eval $ac_try) 2>&5
13287 ac_status=$?
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); }; }; then
13290 bakefile_compiler_mwerks=yes
13291 else
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.$ac_ext >&5
13294
13295 bakefile_compiler_mwerks=no
13296 fi
13297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13298 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13299
13300 fi
13301 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13302 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13303
13304 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13305 ac_ext=c
13306 ac_cpp='$CPP $CPPFLAGS'
13307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13310
13311
13312 ac_ext=c
13313 ac_cpp='$CPP $CPPFLAGS'
13314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13317
13318 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13319 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13320 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 else
13323 cat >conftest.$ac_ext <<_ACEOF
13324 /* confdefs.h. */
13325 _ACEOF
13326 cat confdefs.h >>conftest.$ac_ext
13327 cat >>conftest.$ac_ext <<_ACEOF
13328 /* end confdefs.h. */
13329
13330 int
13331 main ()
13332 {
13333 #ifndef __xlC__
13334 choke me
13335 #endif
13336
13337 ;
13338 return 0;
13339 }
13340 _ACEOF
13341 rm -f conftest.$ac_objext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13343 (eval $ac_compile) 2>conftest.er1
13344 ac_status=$?
13345 grep -v '^ *+' conftest.er1 >conftest.err
13346 rm -f conftest.er1
13347 cat conftest.err >&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13353 ac_status=$?
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; } &&
13356 { ac_try='test -s conftest.$ac_objext'
13357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13358 (eval $ac_try) 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; }; then
13362 bakefile_compiler_xlc=yes
13363 else
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13366
13367 bakefile_compiler_xlc=no
13368 fi
13369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13370 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13371
13372 fi
13373 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13374 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13375
13376 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13377 ac_ext=c
13378 ac_cpp='$CPP $CPPFLAGS'
13379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13382
13383
13384 ;;
13385
13386 IRIX*)
13387
13388
13389 ac_ext=c
13390 ac_cpp='$CPP $CPPFLAGS'
13391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13394
13395 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13396 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13397 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 else
13400 cat >conftest.$ac_ext <<_ACEOF
13401 /* confdefs.h. */
13402 _ACEOF
13403 cat confdefs.h >>conftest.$ac_ext
13404 cat >>conftest.$ac_ext <<_ACEOF
13405 /* end confdefs.h. */
13406
13407 int
13408 main ()
13409 {
13410
13411 #ifndef _SGI_COMPILER_VERSION
13412 choke me
13413 #endif
13414
13415 ;
13416 return 0;
13417 }
13418 _ACEOF
13419 rm -f conftest.$ac_objext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13421 (eval $ac_compile) 2>conftest.er1
13422 ac_status=$?
13423 grep -v '^ *+' conftest.er1 >conftest.err
13424 rm -f conftest.er1
13425 cat conftest.err >&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; } &&
13434 { ac_try='test -s conftest.$ac_objext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13437 ac_status=$?
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13441 else
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.$ac_ext >&5
13444
13445 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13446
13447 fi
13448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13449
13450
13451 fi
13452 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13453 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13454 ac_ext=c
13455 ac_cpp='$CPP $CPPFLAGS'
13456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13459
13460 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13461 :; SGICC=yes
13462 else
13463 :;
13464 fi
13465
13466
13467 ;;
13468
13469 HP-UX*)
13470
13471
13472 ac_ext=c
13473 ac_cpp='$CPP $CPPFLAGS'
13474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13477
13478 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13479 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13480 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 else
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489
13490 int
13491 main ()
13492 {
13493
13494 #ifndef __HP_cc
13495 choke me
13496 #endif
13497
13498 ;
13499 return 0;
13500 }
13501 _ACEOF
13502 rm -f conftest.$ac_objext
13503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13504 (eval $ac_compile) 2>conftest.er1
13505 ac_status=$?
13506 grep -v '^ *+' conftest.er1 >conftest.err
13507 rm -f conftest.er1
13508 cat conftest.err >&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } &&
13511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13514 ac_status=$?
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; } &&
13517 { ac_try='test -s conftest.$ac_objext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13520 ac_status=$?
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 bakefile_cv_c_compiler___HP_cc=yes
13524 else
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13527
13528 bakefile_cv_c_compiler___HP_cc=no
13529
13530 fi
13531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13532
13533
13534 fi
13535 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13536 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13537 ac_ext=c
13538 ac_cpp='$CPP $CPPFLAGS'
13539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13542
13543 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13544 :; HPCC=yes
13545 else
13546 :;
13547 fi
13548
13549
13550 ;;
13551
13552 OSF1)
13553
13554
13555 ac_ext=c
13556 ac_cpp='$CPP $CPPFLAGS'
13557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13560
13561 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13562 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13563 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13564 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 else
13566 cat >conftest.$ac_ext <<_ACEOF
13567 /* confdefs.h. */
13568 _ACEOF
13569 cat confdefs.h >>conftest.$ac_ext
13570 cat >>conftest.$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13572
13573 int
13574 main ()
13575 {
13576
13577 #ifndef __DECC
13578 choke me
13579 #endif
13580
13581 ;
13582 return 0;
13583 }
13584 _ACEOF
13585 rm -f conftest.$ac_objext
13586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13587 (eval $ac_compile) 2>conftest.er1
13588 ac_status=$?
13589 grep -v '^ *+' conftest.er1 >conftest.err
13590 rm -f conftest.er1
13591 cat conftest.err >&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13597 ac_status=$?
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; } &&
13600 { ac_try='test -s conftest.$ac_objext'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13603 ac_status=$?
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; }; then
13606 bakefile_cv_c_compiler___DECC=yes
13607 else
13608 echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.$ac_ext >&5
13610
13611 bakefile_cv_c_compiler___DECC=no
13612
13613 fi
13614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13615
13616
13617 fi
13618 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13619 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13620 ac_ext=c
13621 ac_cpp='$CPP $CPPFLAGS'
13622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13625
13626 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13627 :; COMPAQCC=yes
13628 else
13629 :;
13630 fi
13631
13632
13633 ;;
13634
13635 SunOS)
13636
13637
13638 ac_ext=c
13639 ac_cpp='$CPP $CPPFLAGS'
13640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13643
13644 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13645 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13646 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6
13648 else
13649 cat >conftest.$ac_ext <<_ACEOF
13650 /* confdefs.h. */
13651 _ACEOF
13652 cat confdefs.h >>conftest.$ac_ext
13653 cat >>conftest.$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655
13656 int
13657 main ()
13658 {
13659
13660 #ifndef __SUNPRO_C
13661 choke me
13662 #endif
13663
13664 ;
13665 return 0;
13666 }
13667 _ACEOF
13668 rm -f conftest.$ac_objext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>conftest.er1
13671 ac_status=$?
13672 grep -v '^ *+' conftest.er1 >conftest.err
13673 rm -f conftest.er1
13674 cat conftest.err >&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13686 ac_status=$?
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 bakefile_cv_c_compiler___SUNPRO_C=yes
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 bakefile_cv_c_compiler___SUNPRO_C=no
13695
13696 fi
13697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13698
13699
13700 fi
13701 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13702 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13703 ac_ext=c
13704 ac_cpp='$CPP $CPPFLAGS'
13705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708
13709 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13710 :; SUNCC=yes
13711 else
13712 :;
13713 fi
13714
13715
13716 ;;
13717 esac
13718 fi
13719
13720
13721
13722 ac_ext=c
13723 ac_cpp='$CPP $CPPFLAGS'
13724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13727 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13728 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13729 # On Suns, sometimes $CPP names a directory.
13730 if test -n "$CPP" && test -d "$CPP"; then
13731 CPP=
13732 fi
13733 if test -z "$CPP"; then
13734 if test "${ac_cv_prog_CPP+set}" = set; then
13735 echo $ECHO_N "(cached) $ECHO_C" >&6
13736 else
13737 # Double quotes because CPP needs to be expanded
13738 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13739 do
13740 ac_preproc_ok=false
13741 for ac_c_preproc_warn_flag in '' yes
13742 do
13743 # Use a header file that comes with gcc, so configuring glibc
13744 # with a fresh cross-compiler works.
13745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13746 # <limits.h> exists even on freestanding compilers.
13747 # On the NeXT, cc -E runs the code through the compiler's parser,
13748 # not just through cpp. "Syntax error" is here to catch this case.
13749 cat >conftest.$ac_ext <<_ACEOF
13750 /* confdefs.h. */
13751 _ACEOF
13752 cat confdefs.h >>conftest.$ac_ext
13753 cat >>conftest.$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 #ifdef __STDC__
13756 # include <limits.h>
13757 #else
13758 # include <assert.h>
13759 #endif
13760 Syntax error
13761 _ACEOF
13762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13764 ac_status=$?
13765 grep -v '^ *+' conftest.er1 >conftest.err
13766 rm -f conftest.er1
13767 cat conftest.err >&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } >/dev/null; then
13770 if test -s conftest.err; then
13771 ac_cpp_err=$ac_c_preproc_warn_flag
13772 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13773 else
13774 ac_cpp_err=
13775 fi
13776 else
13777 ac_cpp_err=yes
13778 fi
13779 if test -z "$ac_cpp_err"; then
13780 :
13781 else
13782 echo "$as_me: failed program was:" >&5
13783 sed 's/^/| /' conftest.$ac_ext >&5
13784
13785 # Broken: fails on valid input.
13786 continue
13787 fi
13788 rm -f conftest.err conftest.$ac_ext
13789
13790 # OK, works on sane cases. Now check whether non-existent headers
13791 # can be detected and how.
13792 cat >conftest.$ac_ext <<_ACEOF
13793 /* confdefs.h. */
13794 _ACEOF
13795 cat confdefs.h >>conftest.$ac_ext
13796 cat >>conftest.$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 #include <ac_nonexistent.h>
13799 _ACEOF
13800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13802 ac_status=$?
13803 grep -v '^ *+' conftest.er1 >conftest.err
13804 rm -f conftest.er1
13805 cat conftest.err >&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } >/dev/null; then
13808 if test -s conftest.err; then
13809 ac_cpp_err=$ac_c_preproc_warn_flag
13810 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13811 else
13812 ac_cpp_err=
13813 fi
13814 else
13815 ac_cpp_err=yes
13816 fi
13817 if test -z "$ac_cpp_err"; then
13818 # Broken: success on invalid input.
13819 continue
13820 else
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.$ac_ext >&5
13823
13824 # Passes both tests.
13825 ac_preproc_ok=:
13826 break
13827 fi
13828 rm -f conftest.err conftest.$ac_ext
13829
13830 done
13831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13832 rm -f conftest.err conftest.$ac_ext
13833 if $ac_preproc_ok; then
13834 break
13835 fi
13836
13837 done
13838 ac_cv_prog_CPP=$CPP
13839
13840 fi
13841 CPP=$ac_cv_prog_CPP
13842 else
13843 ac_cv_prog_CPP=$CPP
13844 fi
13845 echo "$as_me:$LINENO: result: $CPP" >&5
13846 echo "${ECHO_T}$CPP" >&6
13847 ac_preproc_ok=false
13848 for ac_c_preproc_warn_flag in '' yes
13849 do
13850 # Use a header file that comes with gcc, so configuring glibc
13851 # with a fresh cross-compiler works.
13852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13853 # <limits.h> exists even on freestanding compilers.
13854 # On the NeXT, cc -E runs the code through the compiler's parser,
13855 # not just through cpp. "Syntax error" is here to catch this case.
13856 cat >conftest.$ac_ext <<_ACEOF
13857 /* confdefs.h. */
13858 _ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862 #ifdef __STDC__
13863 # include <limits.h>
13864 #else
13865 # include <assert.h>
13866 #endif
13867 Syntax error
13868 _ACEOF
13869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13871 ac_status=$?
13872 grep -v '^ *+' conftest.er1 >conftest.err
13873 rm -f conftest.er1
13874 cat conftest.err >&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); } >/dev/null; then
13877 if test -s conftest.err; then
13878 ac_cpp_err=$ac_c_preproc_warn_flag
13879 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13880 else
13881 ac_cpp_err=
13882 fi
13883 else
13884 ac_cpp_err=yes
13885 fi
13886 if test -z "$ac_cpp_err"; then
13887 :
13888 else
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13891
13892 # Broken: fails on valid input.
13893 continue
13894 fi
13895 rm -f conftest.err conftest.$ac_ext
13896
13897 # OK, works on sane cases. Now check whether non-existent headers
13898 # can be detected and how.
13899 cat >conftest.$ac_ext <<_ACEOF
13900 /* confdefs.h. */
13901 _ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 #include <ac_nonexistent.h>
13906 _ACEOF
13907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13909 ac_status=$?
13910 grep -v '^ *+' conftest.er1 >conftest.err
13911 rm -f conftest.er1
13912 cat conftest.err >&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); } >/dev/null; then
13915 if test -s conftest.err; then
13916 ac_cpp_err=$ac_c_preproc_warn_flag
13917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13918 else
13919 ac_cpp_err=
13920 fi
13921 else
13922 ac_cpp_err=yes
13923 fi
13924 if test -z "$ac_cpp_err"; then
13925 # Broken: success on invalid input.
13926 continue
13927 else
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.$ac_ext >&5
13930
13931 # Passes both tests.
13932 ac_preproc_ok=:
13933 break
13934 fi
13935 rm -f conftest.err conftest.$ac_ext
13936
13937 done
13938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13939 rm -f conftest.err conftest.$ac_ext
13940 if $ac_preproc_ok; then
13941 :
13942 else
13943 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13944 See \`config.log' for more details." >&5
13945 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13946 See \`config.log' for more details." >&2;}
13947 { (exit 1); exit 1; }; }
13948 fi
13949
13950 ac_ext=c
13951 ac_cpp='$CPP $CPPFLAGS'
13952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13955
13956
13957 echo "$as_me:$LINENO: checking for egrep" >&5
13958 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13959 if test "${ac_cv_prog_egrep+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 else
13962 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13963 then ac_cv_prog_egrep='grep -E'
13964 else ac_cv_prog_egrep='egrep'
13965 fi
13966 fi
13967 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13968 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13969 EGREP=$ac_cv_prog_egrep
13970
13971
13972 if test $ac_cv_c_compiler_gnu = yes; then
13973 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13974 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13975 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 else
13978 ac_pattern="Autoconf.*'x'"
13979 cat >conftest.$ac_ext <<_ACEOF
13980 /* confdefs.h. */
13981 _ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985 #include <sgtty.h>
13986 Autoconf TIOCGETP
13987 _ACEOF
13988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13989 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13990 ac_cv_prog_gcc_traditional=yes
13991 else
13992 ac_cv_prog_gcc_traditional=no
13993 fi
13994 rm -f conftest*
13995
13996
13997 if test $ac_cv_prog_gcc_traditional = no; then
13998 cat >conftest.$ac_ext <<_ACEOF
13999 /* confdefs.h. */
14000 _ACEOF
14001 cat confdefs.h >>conftest.$ac_ext
14002 cat >>conftest.$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #include <termio.h>
14005 Autoconf TCGETA
14006 _ACEOF
14007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14008 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14009 ac_cv_prog_gcc_traditional=yes
14010 fi
14011 rm -f conftest*
14012
14013 fi
14014 fi
14015 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14016 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14017 if test $ac_cv_prog_gcc_traditional = yes; then
14018 CC="$CC -traditional"
14019 fi
14020 fi
14021
14022
14023 ac_ext=cc
14024 ac_cpp='$CXXCPP $CPPFLAGS'
14025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14028
14029
14030 CXXFLAGS=${CXXFLAGS:=}
14031
14032
14033
14034 ac_ext=cc
14035 ac_cpp='$CXXCPP $CPPFLAGS'
14036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14039 if test -n "$ac_tool_prefix"; then
14040 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14041 do
14042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14043 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14044 echo "$as_me:$LINENO: checking for $ac_word" >&5
14045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14046 if test "${ac_cv_prog_CXX+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 else
14049 if test -n "$CXX"; then
14050 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14051 else
14052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14053 for as_dir in $PATH
14054 do
14055 IFS=$as_save_IFS
14056 test -z "$as_dir" && as_dir=.
14057 for ac_exec_ext in '' $ac_executable_extensions; do
14058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14059 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 break 2
14062 fi
14063 done
14064 done
14065
14066 fi
14067 fi
14068 CXX=$ac_cv_prog_CXX
14069 if test -n "$CXX"; then
14070 echo "$as_me:$LINENO: result: $CXX" >&5
14071 echo "${ECHO_T}$CXX" >&6
14072 else
14073 echo "$as_me:$LINENO: result: no" >&5
14074 echo "${ECHO_T}no" >&6
14075 fi
14076
14077 test -n "$CXX" && break
14078 done
14079 fi
14080 if test -z "$CXX"; then
14081 ac_ct_CXX=$CXX
14082 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14083 do
14084 # Extract the first word of "$ac_prog", so it can be a program name with args.
14085 set dummy $ac_prog; ac_word=$2
14086 echo "$as_me:$LINENO: checking for $ac_word" >&5
14087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14088 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14090 else
14091 if test -n "$ac_ct_CXX"; then
14092 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14093 else
14094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14095 for as_dir in $PATH
14096 do
14097 IFS=$as_save_IFS
14098 test -z "$as_dir" && as_dir=.
14099 for ac_exec_ext in '' $ac_executable_extensions; do
14100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101 ac_cv_prog_ac_ct_CXX="$ac_prog"
14102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 break 2
14104 fi
14105 done
14106 done
14107
14108 fi
14109 fi
14110 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14111 if test -n "$ac_ct_CXX"; then
14112 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14113 echo "${ECHO_T}$ac_ct_CXX" >&6
14114 else
14115 echo "$as_me:$LINENO: result: no" >&5
14116 echo "${ECHO_T}no" >&6
14117 fi
14118
14119 test -n "$ac_ct_CXX" && break
14120 done
14121 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14122
14123 CXX=$ac_ct_CXX
14124 fi
14125
14126
14127 # Provide some information about the compiler.
14128 echo "$as_me:$LINENO:" \
14129 "checking for C++ compiler version" >&5
14130 ac_compiler=`set X $ac_compile; echo $2`
14131 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14132 (eval $ac_compiler --version </dev/null >&5) 2>&5
14133 ac_status=$?
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); }
14136 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14137 (eval $ac_compiler -v </dev/null >&5) 2>&5
14138 ac_status=$?
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }
14141 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14142 (eval $ac_compiler -V </dev/null >&5) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }
14146
14147 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14148 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14149 if test "${ac_cv_cxx_compiler_gnu+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 __GNUC__
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 ac_compiler_gnu=yes
14192 else
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14195
14196 ac_compiler_gnu=no
14197 fi
14198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14199 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14200
14201 fi
14202 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14203 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14204 GXX=`test $ac_compiler_gnu = yes && echo yes`
14205 ac_test_CXXFLAGS=${CXXFLAGS+set}
14206 ac_save_CXXFLAGS=$CXXFLAGS
14207 CXXFLAGS="-g"
14208 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14209 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14210 if test "${ac_cv_prog_cxx_g+set}" = set; then
14211 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 else
14213 cat >conftest.$ac_ext <<_ACEOF
14214 /* confdefs.h. */
14215 _ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219
14220 int
14221 main ()
14222 {
14223
14224 ;
14225 return 0;
14226 }
14227 _ACEOF
14228 rm -f conftest.$ac_objext
14229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14230 (eval $ac_compile) 2>conftest.er1
14231 ac_status=$?
14232 grep -v '^ *+' conftest.er1 >conftest.err
14233 rm -f conftest.er1
14234 cat conftest.err >&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14246 ac_status=$?
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 ac_cv_prog_cxx_g=yes
14250 else
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14253
14254 ac_cv_prog_cxx_g=no
14255 fi
14256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14257 fi
14258 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14259 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14260 if test "$ac_test_CXXFLAGS" = set; then
14261 CXXFLAGS=$ac_save_CXXFLAGS
14262 elif test $ac_cv_prog_cxx_g = yes; then
14263 if test "$GXX" = yes; then
14264 CXXFLAGS="-g -O2"
14265 else
14266 CXXFLAGS="-g"
14267 fi
14268 else
14269 if test "$GXX" = yes; then
14270 CXXFLAGS="-O2"
14271 else
14272 CXXFLAGS=
14273 fi
14274 fi
14275 for ac_declaration in \
14276 '' \
14277 'extern "C" void std::exit (int) throw (); using std::exit;' \
14278 'extern "C" void std::exit (int); using std::exit;' \
14279 'extern "C" void exit (int) throw ();' \
14280 'extern "C" void exit (int);' \
14281 'void exit (int);'
14282 do
14283 cat >conftest.$ac_ext <<_ACEOF
14284 /* confdefs.h. */
14285 _ACEOF
14286 cat confdefs.h >>conftest.$ac_ext
14287 cat >>conftest.$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14289 $ac_declaration
14290 #include <stdlib.h>
14291 int
14292 main ()
14293 {
14294 exit (42);
14295 ;
14296 return 0;
14297 }
14298 _ACEOF
14299 rm -f conftest.$ac_objext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14301 (eval $ac_compile) 2>conftest.er1
14302 ac_status=$?
14303 grep -v '^ *+' conftest.er1 >conftest.err
14304 rm -f conftest.er1
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14310 (eval $ac_try) 2>&5
14311 ac_status=$?
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }; } &&
14314 { ac_try='test -s conftest.$ac_objext'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14317 ac_status=$?
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; }; then
14320 :
14321 else
14322 echo "$as_me: failed program was:" >&5
14323 sed 's/^/| /' conftest.$ac_ext >&5
14324
14325 continue
14326 fi
14327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14328 cat >conftest.$ac_ext <<_ACEOF
14329 /* confdefs.h. */
14330 _ACEOF
14331 cat confdefs.h >>conftest.$ac_ext
14332 cat >>conftest.$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14334 $ac_declaration
14335 int
14336 main ()
14337 {
14338 exit (42);
14339 ;
14340 return 0;
14341 }
14342 _ACEOF
14343 rm -f conftest.$ac_objext
14344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14345 (eval $ac_compile) 2>conftest.er1
14346 ac_status=$?
14347 grep -v '^ *+' conftest.er1 >conftest.err
14348 rm -f conftest.er1
14349 cat conftest.err >&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } &&
14352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try='test -s conftest.$ac_objext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14361 ac_status=$?
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 break
14365 else
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14368
14369 fi
14370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14371 done
14372 rm -f conftest*
14373 if test -n "$ac_declaration"; then
14374 echo '#ifdef __cplusplus' >>confdefs.h
14375 echo $ac_declaration >>confdefs.h
14376 echo '#endif' >>confdefs.h
14377 fi
14378
14379 ac_ext=cc
14380 ac_cpp='$CXXCPP $CPPFLAGS'
14381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14384
14385
14386
14387 ac_ext=cc
14388 ac_cpp='$CXXCPP $CPPFLAGS'
14389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14392
14393 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14394 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14395 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14396 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 else
14398 cat >conftest.$ac_ext <<_ACEOF
14399 /* confdefs.h. */
14400 _ACEOF
14401 cat confdefs.h >>conftest.$ac_ext
14402 cat >>conftest.$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14404
14405 int
14406 main ()
14407 {
14408
14409 #ifndef __INTEL_COMPILER
14410 choke me
14411 #endif
14412
14413 ;
14414 return 0;
14415 }
14416 _ACEOF
14417 rm -f conftest.$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14420 ac_status=$?
14421 grep -v '^ *+' conftest.er1 >conftest.err
14422 rm -f conftest.er1
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14439 else
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14442
14443 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14444
14445 fi
14446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14447
14448
14449 fi
14450 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14451 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14452 ac_ext=cc
14453 ac_cpp='$CXXCPP $CPPFLAGS'
14454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14457
14458 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14459 :; INTELCXX=yes
14460 else
14461 :;
14462 fi
14463
14464
14465 if test "x$GCXX" != "xyes"; then
14466 if test "xCXX" = "xC"; then
14467 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14468 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14469 if test "${bakefile_cv_cxx_exto+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 else
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14478
14479 int
14480 main ()
14481 {
14482
14483 ;
14484 return 0;
14485 }
14486 _ACEOF
14487 rm -f conftest.$ac_objext conftest.$ac_ext.o
14488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489 (eval $ac_compile) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; then
14493 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14494 case $ac_file in
14495 conftest.$ac_ext.o)
14496 bakefile_cv_cxx_exto="-ext o"
14497 ;;
14498 *)
14499 ;;
14500 esac
14501 done
14502 else
14503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14504 See \`config.log' for more details." >&5
14505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14506 See \`config.log' for more details." >&2;}
14507 { (exit 1); exit 1; }; }
14508
14509 fi
14510
14511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14512
14513 fi
14514 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14515 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14516 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14517 if test "cxx" = "c"; then
14518 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14519 fi
14520 if test "cxx" = "cxx"; then
14521 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14522 fi
14523 fi
14524
14525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14526 unset ac_cv_prog_cc_g
14527 ac_test_CFLAGS=${CFLAGS+set}
14528 ac_save_CFLAGS=$CFLAGS
14529 CFLAGS="-g"
14530 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14531 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14532 if test "${ac_cv_prog_cc_g+set}" = set; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 else
14535 cat >conftest.$ac_ext <<_ACEOF
14536 /* confdefs.h. */
14537 _ACEOF
14538 cat confdefs.h >>conftest.$ac_ext
14539 cat >>conftest.$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14541
14542 int
14543 main ()
14544 {
14545
14546 ;
14547 return 0;
14548 }
14549 _ACEOF
14550 rm -f conftest.$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14553 ac_status=$?
14554 grep -v '^ *+' conftest.er1 >conftest.err
14555 rm -f conftest.er1
14556 cat conftest.err >&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14562 ac_status=$?
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; } &&
14565 { ac_try='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_cv_prog_cc_g=yes
14572 else
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14575
14576 ac_cv_prog_cc_g=no
14577 fi
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14579 fi
14580 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14581 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14582 if test "$ac_test_CFLAGS" = set; then
14583 CFLAGS=$ac_save_CFLAGS
14584 elif test $ac_cv_prog_cc_g = yes; then
14585 if test "$GCC" = yes; then
14586 CFLAGS="-g -O2"
14587 else
14588 CFLAGS="-g"
14589 fi
14590 else
14591 if test "$GCC" = yes; then
14592 CFLAGS="-O2"
14593 else
14594 CFLAGS=
14595 fi
14596 fi
14597 fi
14598 fi
14599
14600 case `uname -s` in
14601 AIX*)
14602 ac_ext=cc
14603 ac_cpp='$CXXCPP $CPPFLAGS'
14604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14607
14608 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14609 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14610 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 else
14613 cat >conftest.$ac_ext <<_ACEOF
14614 /* confdefs.h. */
14615 _ACEOF
14616 cat confdefs.h >>conftest.$ac_ext
14617 cat >>conftest.$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619
14620 int
14621 main ()
14622 {
14623 #ifndef __xlC__
14624 choke me
14625 #endif
14626
14627 ;
14628 return 0;
14629 }
14630 _ACEOF
14631 rm -f conftest.$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633 (eval $ac_compile) 2>conftest.er1
14634 ac_status=$?
14635 grep -v '^ *+' conftest.er1 >conftest.err
14636 rm -f conftest.er1
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14643 ac_status=$?
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; } &&
14646 { ac_try='test -s conftest.$ac_objext'
14647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5
14649 ac_status=$?
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; }; then
14652 bakefile_compiler_xlc=yes
14653 else
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.$ac_ext >&5
14656
14657 bakefile_compiler_xlc=no
14658 fi
14659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14660 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14661
14662 fi
14663 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14664 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14665
14666 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14667 ac_ext=cc
14668 ac_cpp='$CXXCPP $CPPFLAGS'
14669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14672
14673
14674 ;;
14675
14676 Darwin)
14677 ac_ext=cc
14678 ac_cpp='$CXXCPP $CPPFLAGS'
14679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14682
14683 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14684 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14685 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 else
14688 cat >conftest.$ac_ext <<_ACEOF
14689 /* confdefs.h. */
14690 _ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694
14695 int
14696 main ()
14697 {
14698 #ifndef __MWERKS__
14699 choke me
14700 #endif
14701
14702 ;
14703 return 0;
14704 }
14705 _ACEOF
14706 rm -f conftest.$ac_objext
14707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14708 (eval $ac_compile) 2>conftest.er1
14709 ac_status=$?
14710 grep -v '^ *+' conftest.er1 >conftest.err
14711 rm -f conftest.er1
14712 cat conftest.err >&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } &&
14715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14718 ac_status=$?
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14724 ac_status=$?
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14727 bakefile_compiler_mwerks=yes
14728 else
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14731
14732 bakefile_compiler_mwerks=no
14733 fi
14734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14735 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14736
14737 fi
14738 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14739 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14740
14741 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14742 ac_ext=cc
14743 ac_cpp='$CXXCPP $CPPFLAGS'
14744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14747
14748
14749 ac_ext=cc
14750 ac_cpp='$CXXCPP $CPPFLAGS'
14751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14754
14755 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14756 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14757 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 else
14760 cat >conftest.$ac_ext <<_ACEOF
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766
14767 int
14768 main ()
14769 {
14770 #ifndef __xlC__
14771 choke me
14772 #endif
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14780 (eval $ac_compile) 2>conftest.er1
14781 ac_status=$?
14782 grep -v '^ *+' conftest.er1 >conftest.err
14783 rm -f conftest.er1
14784 cat conftest.err >&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); } &&
14787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14789 (eval $ac_try) 2>&5
14790 ac_status=$?
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); }; } &&
14793 { ac_try='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14796 ac_status=$?
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14799 bakefile_compiler_xlc=yes
14800 else
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14803
14804 bakefile_compiler_xlc=no
14805 fi
14806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14807 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14808
14809 fi
14810 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14811 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14812
14813 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14814 ac_ext=cc
14815 ac_cpp='$CXXCPP $CPPFLAGS'
14816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14819
14820
14821 ;;
14822
14823 IRIX*)
14824
14825
14826 ac_ext=cc
14827 ac_cpp='$CXXCPP $CPPFLAGS'
14828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14831
14832 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14833 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14834 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14835 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 else
14837 cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h. */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14843
14844 int
14845 main ()
14846 {
14847
14848 #ifndef _SGI_COMPILER_VERSION
14849 choke me
14850 #endif
14851
14852 ;
14853 return 0;
14854 }
14855 _ACEOF
14856 rm -f conftest.$ac_objext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14858 (eval $ac_compile) 2>conftest.er1
14859 ac_status=$?
14860 grep -v '^ *+' conftest.er1 >conftest.err
14861 rm -f conftest.er1
14862 cat conftest.err >&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } &&
14865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14868 ac_status=$?
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; } &&
14871 { ac_try='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14874 ac_status=$?
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14878 else
14879 echo "$as_me: failed program was:" >&5
14880 sed 's/^/| /' conftest.$ac_ext >&5
14881
14882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14883
14884 fi
14885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14886
14887
14888 fi
14889 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14890 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14891 ac_ext=cc
14892 ac_cpp='$CXXCPP $CPPFLAGS'
14893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14896
14897 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14898 :; SGICXX=yes
14899 else
14900 :;
14901 fi
14902
14903
14904 ;;
14905
14906 HP-UX*)
14907
14908
14909 ac_ext=cc
14910 ac_cpp='$CXXCPP $CPPFLAGS'
14911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14914
14915 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14916 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14917 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14919 else
14920 cat >conftest.$ac_ext <<_ACEOF
14921 /* confdefs.h. */
14922 _ACEOF
14923 cat confdefs.h >>conftest.$ac_ext
14924 cat >>conftest.$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926
14927 int
14928 main ()
14929 {
14930
14931 #ifndef __HP_aCC
14932 choke me
14933 #endif
14934
14935 ;
14936 return 0;
14937 }
14938 _ACEOF
14939 rm -f conftest.$ac_objext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14941 (eval $ac_compile) 2>conftest.er1
14942 ac_status=$?
14943 grep -v '^ *+' conftest.er1 >conftest.err
14944 rm -f conftest.er1
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } &&
14948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; } &&
14954 { ac_try='test -s conftest.$ac_objext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 bakefile_cv_cxx_compiler___HP_aCC=yes
14961 else
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14964
14965 bakefile_cv_cxx_compiler___HP_aCC=no
14966
14967 fi
14968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14969
14970
14971 fi
14972 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14973 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14974 ac_ext=cc
14975 ac_cpp='$CXXCPP $CPPFLAGS'
14976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14979
14980 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14981 :; HPCXX=yes
14982 else
14983 :;
14984 fi
14985
14986
14987 ;;
14988
14989 OSF1)
14990
14991
14992 ac_ext=cc
14993 ac_cpp='$CXXCPP $CPPFLAGS'
14994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14997
14998 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14999 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15000 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15002 else
15003 cat >conftest.$ac_ext <<_ACEOF
15004 /* confdefs.h. */
15005 _ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15009
15010 int
15011 main ()
15012 {
15013
15014 #ifndef __DECCXX
15015 choke me
15016 #endif
15017
15018 ;
15019 return 0;
15020 }
15021 _ACEOF
15022 rm -f conftest.$ac_objext
15023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>conftest.er1
15025 ac_status=$?
15026 grep -v '^ *+' conftest.er1 >conftest.err
15027 rm -f conftest.er1
15028 cat conftest.err >&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } &&
15031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try='test -s conftest.$ac_objext'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15040 ac_status=$?
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15043 bakefile_cv_cxx_compiler___DECCXX=yes
15044 else
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15047
15048 bakefile_cv_cxx_compiler___DECCXX=no
15049
15050 fi
15051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15052
15053
15054 fi
15055 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15056 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15057 ac_ext=cc
15058 ac_cpp='$CXXCPP $CPPFLAGS'
15059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15062
15063 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15064 :; COMPAQCXX=yes
15065 else
15066 :;
15067 fi
15068
15069
15070 ;;
15071
15072 SunOS)
15073
15074
15075 ac_ext=cc
15076 ac_cpp='$CXXCPP $CPPFLAGS'
15077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15080
15081 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15082 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15083 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15084 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 else
15086 cat >conftest.$ac_ext <<_ACEOF
15087 /* confdefs.h. */
15088 _ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15092
15093 int
15094 main ()
15095 {
15096
15097 #ifndef __SUNPRO_CC
15098 choke me
15099 #endif
15100
15101 ;
15102 return 0;
15103 }
15104 _ACEOF
15105 rm -f conftest.$ac_objext
15106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15107 (eval $ac_compile) 2>conftest.er1
15108 ac_status=$?
15109 grep -v '^ *+' conftest.er1 >conftest.err
15110 rm -f conftest.er1
15111 cat conftest.err >&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); } &&
15114 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15117 ac_status=$?
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; } &&
15120 { ac_try='test -s conftest.$ac_objext'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15123 ac_status=$?
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; }; then
15126 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15127 else
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15130
15131 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15132
15133 fi
15134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15135
15136
15137 fi
15138 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15140 ac_ext=cc
15141 ac_cpp='$CXXCPP $CPPFLAGS'
15142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15145
15146 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15147 :; SUNCXX=yes
15148 else
15149 :;
15150 fi
15151
15152
15153 ;;
15154 esac
15155 fi
15156
15157
15158
15159 if test -n "$ac_tool_prefix"; then
15160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15161 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15162 echo "$as_me:$LINENO: checking for $ac_word" >&5
15163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15164 if test "${ac_cv_prog_RANLIB+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 else
15167 if test -n "$RANLIB"; then
15168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15169 else
15170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15171 for as_dir in $PATH
15172 do
15173 IFS=$as_save_IFS
15174 test -z "$as_dir" && as_dir=.
15175 for ac_exec_ext in '' $ac_executable_extensions; do
15176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15177 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15179 break 2
15180 fi
15181 done
15182 done
15183
15184 fi
15185 fi
15186 RANLIB=$ac_cv_prog_RANLIB
15187 if test -n "$RANLIB"; then
15188 echo "$as_me:$LINENO: result: $RANLIB" >&5
15189 echo "${ECHO_T}$RANLIB" >&6
15190 else
15191 echo "$as_me:$LINENO: result: no" >&5
15192 echo "${ECHO_T}no" >&6
15193 fi
15194
15195 fi
15196 if test -z "$ac_cv_prog_RANLIB"; then
15197 ac_ct_RANLIB=$RANLIB
15198 # Extract the first word of "ranlib", so it can be a program name with args.
15199 set dummy ranlib; ac_word=$2
15200 echo "$as_me:$LINENO: checking for $ac_word" >&5
15201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15202 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15203 echo $ECHO_N "(cached) $ECHO_C" >&6
15204 else
15205 if test -n "$ac_ct_RANLIB"; then
15206 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15207 else
15208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15209 for as_dir in $PATH
15210 do
15211 IFS=$as_save_IFS
15212 test -z "$as_dir" && as_dir=.
15213 for ac_exec_ext in '' $ac_executable_extensions; do
15214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15215 ac_cv_prog_ac_ct_RANLIB="ranlib"
15216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15217 break 2
15218 fi
15219 done
15220 done
15221
15222 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15223 fi
15224 fi
15225 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15226 if test -n "$ac_ct_RANLIB"; then
15227 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15228 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15229 else
15230 echo "$as_me:$LINENO: result: no" >&5
15231 echo "${ECHO_T}no" >&6
15232 fi
15233
15234 RANLIB=$ac_ct_RANLIB
15235 else
15236 RANLIB="$ac_cv_prog_RANLIB"
15237 fi
15238
15239
15240 if test -n "$ac_tool_prefix"; then
15241 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15242 set dummy ${ac_tool_prefix}ar; ac_word=$2
15243 echo "$as_me:$LINENO: checking for $ac_word" >&5
15244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15245 if test "${ac_cv_prog_AR+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 if test -n "$AR"; then
15249 ac_cv_prog_AR="$AR" # Let the user override the test.
15250 else
15251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15252 for as_dir in $PATH
15253 do
15254 IFS=$as_save_IFS
15255 test -z "$as_dir" && as_dir=.
15256 for ac_exec_ext in '' $ac_executable_extensions; do
15257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15258 ac_cv_prog_AR="${ac_tool_prefix}ar"
15259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15260 break 2
15261 fi
15262 done
15263 done
15264
15265 fi
15266 fi
15267 AR=$ac_cv_prog_AR
15268 if test -n "$AR"; then
15269 echo "$as_me:$LINENO: result: $AR" >&5
15270 echo "${ECHO_T}$AR" >&6
15271 else
15272 echo "$as_me:$LINENO: result: no" >&5
15273 echo "${ECHO_T}no" >&6
15274 fi
15275
15276 fi
15277 if test -z "$ac_cv_prog_AR"; then
15278 ac_ct_AR=$AR
15279 # Extract the first word of "ar", so it can be a program name with args.
15280 set dummy ar; ac_word=$2
15281 echo "$as_me:$LINENO: checking for $ac_word" >&5
15282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15283 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15284 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 else
15286 if test -n "$ac_ct_AR"; then
15287 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15288 else
15289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15290 for as_dir in $PATH
15291 do
15292 IFS=$as_save_IFS
15293 test -z "$as_dir" && as_dir=.
15294 for ac_exec_ext in '' $ac_executable_extensions; do
15295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15296 ac_cv_prog_ac_ct_AR="ar"
15297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15298 break 2
15299 fi
15300 done
15301 done
15302
15303 fi
15304 fi
15305 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15306 if test -n "$ac_ct_AR"; then
15307 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15308 echo "${ECHO_T}$ac_ct_AR" >&6
15309 else
15310 echo "$as_me:$LINENO: result: no" >&5
15311 echo "${ECHO_T}no" >&6
15312 fi
15313
15314 AR=$ac_ct_AR
15315 else
15316 AR="$ac_cv_prog_AR"
15317 fi
15318
15319 if test "x$AR" = "x" ; then
15320 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15321 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15322 { (exit 1); exit 1; }; }
15323 fi
15324
15325 # Find a good install program. We prefer a C program (faster),
15326 # so one script is as good as another. But avoid the broken or
15327 # incompatible versions:
15328 # SysV /etc/install, /usr/sbin/install
15329 # SunOS /usr/etc/install
15330 # IRIX /sbin/install
15331 # AIX /bin/install
15332 # AmigaOS /C/install, which installs bootblocks on floppy discs
15333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15336 # OS/2's system install, which has a completely different semantic
15337 # ./install, which can be erroneously created by make from ./install.sh.
15338 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15339 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15340 if test -z "$INSTALL"; then
15341 if test "${ac_cv_path_install+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 else
15344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15345 for as_dir in $PATH
15346 do
15347 IFS=$as_save_IFS
15348 test -z "$as_dir" && as_dir=.
15349 # Account for people who put trailing slashes in PATH elements.
15350 case $as_dir/ in
15351 ./ | .// | /cC/* | \
15352 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15353 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15354 /usr/ucb/* ) ;;
15355 *)
15356 # OSF1 and SCO ODT 3.0 have their own names for install.
15357 # Don't use installbsd from OSF since it installs stuff as root
15358 # by default.
15359 for ac_prog in ginstall scoinst install; do
15360 for ac_exec_ext in '' $ac_executable_extensions; do
15361 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15362 if test $ac_prog = install &&
15363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15364 # AIX install. It has an incompatible calling convention.
15365 :
15366 elif test $ac_prog = install &&
15367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15368 # program-specific install script used by HP pwplus--don't use.
15369 :
15370 else
15371 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15372 break 3
15373 fi
15374 fi
15375 done
15376 done
15377 ;;
15378 esac
15379 done
15380
15381
15382 fi
15383 if test "${ac_cv_path_install+set}" = set; then
15384 INSTALL=$ac_cv_path_install
15385 else
15386 # As a last resort, use the slow shell script. We don't cache a
15387 # path for INSTALL within a source directory, because that will
15388 # break other packages using the cache if that directory is
15389 # removed, or if the path is relative.
15390 INSTALL=$ac_install_sh
15391 fi
15392 fi
15393 echo "$as_me:$LINENO: result: $INSTALL" >&5
15394 echo "${ECHO_T}$INSTALL" >&6
15395
15396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15397 # It thinks the first close brace ends the variable substitution.
15398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15399
15400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15401
15402 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15403
15404
15405 case ${INSTALL} in
15406 /* ) # Absolute
15407 ;;
15408 ?:* ) # Drive letter, considered as absolute.
15409 ;;
15410 *)
15411 INSTALL=`pwd`/${INSTALL} ;;
15412 esac
15413
15414
15415 case "${host}" in
15416
15417 *-*-darwin* )
15418 INSTALL_PROGRAM="cp -fp"
15419 INSTALL_DATA="cp -fp"
15420 ;;
15421 *)
15422 ;;
15423 esac
15424
15425 if test -n "$ac_tool_prefix"; then
15426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15427 set dummy ${ac_tool_prefix}strip; ac_word=$2
15428 echo "$as_me:$LINENO: checking for $ac_word" >&5
15429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15430 if test "${ac_cv_prog_STRIP+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 else
15433 if test -n "$STRIP"; then
15434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15435 else
15436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15437 for as_dir in $PATH
15438 do
15439 IFS=$as_save_IFS
15440 test -z "$as_dir" && as_dir=.
15441 for ac_exec_ext in '' $ac_executable_extensions; do
15442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15445 break 2
15446 fi
15447 done
15448 done
15449
15450 fi
15451 fi
15452 STRIP=$ac_cv_prog_STRIP
15453 if test -n "$STRIP"; then
15454 echo "$as_me:$LINENO: result: $STRIP" >&5
15455 echo "${ECHO_T}$STRIP" >&6
15456 else
15457 echo "$as_me:$LINENO: result: no" >&5
15458 echo "${ECHO_T}no" >&6
15459 fi
15460
15461 fi
15462 if test -z "$ac_cv_prog_STRIP"; then
15463 ac_ct_STRIP=$STRIP
15464 # Extract the first word of "strip", so it can be a program name with args.
15465 set dummy strip; ac_word=$2
15466 echo "$as_me:$LINENO: checking for $ac_word" >&5
15467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15468 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15469 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 else
15471 if test -n "$ac_ct_STRIP"; then
15472 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15473 else
15474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15475 for as_dir in $PATH
15476 do
15477 IFS=$as_save_IFS
15478 test -z "$as_dir" && as_dir=.
15479 for ac_exec_ext in '' $ac_executable_extensions; do
15480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15481 ac_cv_prog_ac_ct_STRIP="strip"
15482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15483 break 2
15484 fi
15485 done
15486 done
15487
15488 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15489 fi
15490 fi
15491 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15492 if test -n "$ac_ct_STRIP"; then
15493 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15494 echo "${ECHO_T}$ac_ct_STRIP" >&6
15495 else
15496 echo "$as_me:$LINENO: result: no" >&5
15497 echo "${ECHO_T}no" >&6
15498 fi
15499
15500 STRIP=$ac_ct_STRIP
15501 else
15502 STRIP="$ac_cv_prog_STRIP"
15503 fi
15504
15505
15506 if test "$wxUSE_WINE" = "yes"; then
15507 if test -n "$ac_tool_prefix"; then
15508 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15509 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15510 echo "$as_me:$LINENO: checking for $ac_word" >&5
15511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15512 if test "${ac_cv_prog_WINDRES+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515 if test -n "$WINDRES"; then
15516 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15517 else
15518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15519 for as_dir in $PATH
15520 do
15521 IFS=$as_save_IFS
15522 test -z "$as_dir" && as_dir=.
15523 for ac_exec_ext in '' $ac_executable_extensions; do
15524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15525 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15527 break 2
15528 fi
15529 done
15530 done
15531
15532 fi
15533 fi
15534 WINDRES=$ac_cv_prog_WINDRES
15535 if test -n "$WINDRES"; then
15536 echo "$as_me:$LINENO: result: $WINDRES" >&5
15537 echo "${ECHO_T}$WINDRES" >&6
15538 else
15539 echo "$as_me:$LINENO: result: no" >&5
15540 echo "${ECHO_T}no" >&6
15541 fi
15542
15543 fi
15544 if test -z "$ac_cv_prog_WINDRES"; then
15545 ac_ct_WINDRES=$WINDRES
15546 # Extract the first word of "wrc", so it can be a program name with args.
15547 set dummy wrc; ac_word=$2
15548 echo "$as_me:$LINENO: checking for $ac_word" >&5
15549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15550 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 else
15553 if test -n "$ac_ct_WINDRES"; then
15554 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15555 else
15556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15557 for as_dir in $PATH
15558 do
15559 IFS=$as_save_IFS
15560 test -z "$as_dir" && as_dir=.
15561 for ac_exec_ext in '' $ac_executable_extensions; do
15562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15563 ac_cv_prog_ac_ct_WINDRES="wrc"
15564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15565 break 2
15566 fi
15567 done
15568 done
15569
15570 fi
15571 fi
15572 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15573 if test -n "$ac_ct_WINDRES"; then
15574 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15575 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15576 else
15577 echo "$as_me:$LINENO: result: no" >&5
15578 echo "${ECHO_T}no" >&6
15579 fi
15580
15581 WINDRES=$ac_ct_WINDRES
15582 else
15583 WINDRES="$ac_cv_prog_WINDRES"
15584 fi
15585
15586 RESCOMP="$WINDRES"
15587 else
15588 case "${host}" in
15589 *-*-cygwin* | *-*-mingw32* )
15590 if test -n "$ac_tool_prefix"; then
15591 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15592 set dummy ${ac_tool_prefix}windres; ac_word=$2
15593 echo "$as_me:$LINENO: checking for $ac_word" >&5
15594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15595 if test "${ac_cv_prog_WINDRES+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 else
15598 if test -n "$WINDRES"; then
15599 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15600 else
15601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15602 for as_dir in $PATH
15603 do
15604 IFS=$as_save_IFS
15605 test -z "$as_dir" && as_dir=.
15606 for ac_exec_ext in '' $ac_executable_extensions; do
15607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15608 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15610 break 2
15611 fi
15612 done
15613 done
15614
15615 fi
15616 fi
15617 WINDRES=$ac_cv_prog_WINDRES
15618 if test -n "$WINDRES"; then
15619 echo "$as_me:$LINENO: result: $WINDRES" >&5
15620 echo "${ECHO_T}$WINDRES" >&6
15621 else
15622 echo "$as_me:$LINENO: result: no" >&5
15623 echo "${ECHO_T}no" >&6
15624 fi
15625
15626 fi
15627 if test -z "$ac_cv_prog_WINDRES"; then
15628 ac_ct_WINDRES=$WINDRES
15629 # Extract the first word of "windres", so it can be a program name with args.
15630 set dummy windres; ac_word=$2
15631 echo "$as_me:$LINENO: checking for $ac_word" >&5
15632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15633 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15636 if test -n "$ac_ct_WINDRES"; then
15637 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15638 else
15639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15640 for as_dir in $PATH
15641 do
15642 IFS=$as_save_IFS
15643 test -z "$as_dir" && as_dir=.
15644 for ac_exec_ext in '' $ac_executable_extensions; do
15645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15646 ac_cv_prog_ac_ct_WINDRES="windres"
15647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15648 break 2
15649 fi
15650 done
15651 done
15652
15653 fi
15654 fi
15655 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15656 if test -n "$ac_ct_WINDRES"; then
15657 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15658 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15659 else
15660 echo "$as_me:$LINENO: result: no" >&5
15661 echo "${ECHO_T}no" >&6
15662 fi
15663
15664 WINDRES=$ac_ct_WINDRES
15665 else
15666 WINDRES="$ac_cv_prog_WINDRES"
15667 fi
15668
15669 RESCOMP="$WINDRES"
15670 if test -n "$ac_tool_prefix"; then
15671 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15672 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15673 echo "$as_me:$LINENO: checking for $ac_word" >&5
15674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15675 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 else
15678 if test -n "$DLLTOOL"; then
15679 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15680 else
15681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15682 for as_dir in $PATH
15683 do
15684 IFS=$as_save_IFS
15685 test -z "$as_dir" && as_dir=.
15686 for ac_exec_ext in '' $ac_executable_extensions; do
15687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15688 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15690 break 2
15691 fi
15692 done
15693 done
15694
15695 fi
15696 fi
15697 DLLTOOL=$ac_cv_prog_DLLTOOL
15698 if test -n "$DLLTOOL"; then
15699 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15700 echo "${ECHO_T}$DLLTOOL" >&6
15701 else
15702 echo "$as_me:$LINENO: result: no" >&5
15703 echo "${ECHO_T}no" >&6
15704 fi
15705
15706 fi
15707 if test -z "$ac_cv_prog_DLLTOOL"; then
15708 ac_ct_DLLTOOL=$DLLTOOL
15709 # Extract the first word of "dlltool", so it can be a program name with args.
15710 set dummy dlltool; ac_word=$2
15711 echo "$as_me:$LINENO: checking for $ac_word" >&5
15712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15713 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 else
15716 if test -n "$ac_ct_DLLTOOL"; then
15717 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15718 else
15719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15720 for as_dir in $PATH
15721 do
15722 IFS=$as_save_IFS
15723 test -z "$as_dir" && as_dir=.
15724 for ac_exec_ext in '' $ac_executable_extensions; do
15725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15726 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15728 break 2
15729 fi
15730 done
15731 done
15732
15733 fi
15734 fi
15735 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15736 if test -n "$ac_ct_DLLTOOL"; then
15737 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15738 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15739 else
15740 echo "$as_me:$LINENO: result: no" >&5
15741 echo "${ECHO_T}no" >&6
15742 fi
15743
15744 DLLTOOL=$ac_ct_DLLTOOL
15745 else
15746 DLLTOOL="$ac_cv_prog_DLLTOOL"
15747 fi
15748
15749 ;;
15750 esac
15751 fi
15752
15753 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15754 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15755 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15757 else
15758
15759 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15760 egrep -s GNU > /dev/null); then
15761 wx_cv_prog_makeisgnu="yes"
15762 else
15763 wx_cv_prog_makeisgnu="no"
15764 fi
15765
15766 fi
15767 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15768 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15769
15770 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15771 IF_GNU_MAKE=""
15772 else
15773 IF_GNU_MAKE="#"
15774 fi
15775
15776
15777
15778 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15779 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15780 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15781 if test "${wx_cv_prog_makevpath+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 else
15784
15785 cat - << EOF > confMake
15786 check : file
15787 cp \$? \$@
15788 cp \$? final_file
15789 EOF
15790
15791 if test ! -d sub ; then
15792 mkdir sub
15793 fi
15794 echo dummy > sub/file
15795 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15796 RESULT=$?
15797 rm -f sub/file check final_file confMake
15798 rmdir sub
15799 if test "$RESULT" = 0; then
15800 wx_cv_prog_makevpath="yes"
15801 else
15802 wx_cv_prog_makevpath="no"
15803 fi
15804
15805 fi
15806 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15807 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15808
15809 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15810 { { echo "$as_me:$LINENO: error:
15811 You need a make-utility that is able to use the variable
15812 VPATH correctly.
15813 If your version of make does not support VPATH correctly,
15814 please install GNU-make (possibly as gmake), and start
15815 configure with the following command:
15816 export MAKE=gmake; ./configure for sh-type shells
15817 setenv MAKE gmake; ./configure for csh-type shells
15818 Also please do remember to use gmake in this case every time
15819 you are trying to compile.
15820 " >&5
15821 echo "$as_me: error:
15822 You need a make-utility that is able to use the variable
15823 VPATH correctly.
15824 If your version of make does not support VPATH correctly,
15825 please install GNU-make (possibly as gmake), and start
15826 configure with the following command:
15827 export MAKE=gmake; ./configure for sh-type shells
15828 setenv MAKE gmake; ./configure for csh-type shells
15829 Also please do remember to use gmake in this case every time
15830 you are trying to compile.
15831 " >&2;}
15832 { (exit 1); exit 1; }; }
15833 fi fi
15834 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15835 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15836 LN_S=$as_ln_s
15837 if test "$LN_S" = "ln -s"; then
15838 echo "$as_me:$LINENO: result: yes" >&5
15839 echo "${ECHO_T}yes" >&6
15840 else
15841 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15842 echo "${ECHO_T}no, using $LN_S" >&6
15843 fi
15844
15845
15846
15847
15848 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15849 CXXFLAGS="-qunique $CXXFLAGS"
15850 fi
15851
15852 case "${host}" in
15853 powerpc-*-darwin* )
15854 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15855 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15856 cat >conftest.$ac_ext <<_ACEOF
15857 /* confdefs.h. */
15858 _ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862
15863 int
15864 main ()
15865 {
15866 #ifndef __POWERPC__
15867 choke me for lack of PowerPC
15868 #endif
15869
15870 ;
15871 return 0;
15872 }
15873 _ACEOF
15874 rm -f conftest.$ac_objext
15875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15876 (eval $ac_compile) 2>conftest.er1
15877 ac_status=$?
15878 grep -v '^ *+' conftest.er1 >conftest.err
15879 rm -f conftest.er1
15880 cat conftest.err >&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); } &&
15883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; } &&
15889 { ac_try='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 echo "$as_me:$LINENO: result: yes" >&5
15896 echo "${ECHO_T}yes" >&6
15897 else
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15900
15901 echo "$as_me:$LINENO: result: no" >&5
15902 echo "${ECHO_T}no" >&6
15903 cat >>confdefs.h <<\_ACEOF
15904 #define __POWERPC__ 1
15905 _ACEOF
15906
15907
15908 fi
15909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15910 ;;
15911 esac
15912
15913 case "${host}" in
15914 *-*-darwin* )
15915 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15916 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15917 cat >conftest.$ac_ext <<_ACEOF
15918 /* confdefs.h. */
15919 _ACEOF
15920 cat confdefs.h >>conftest.$ac_ext
15921 cat >>conftest.$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15923 #include <CoreFoundation/CFBase.h>
15924
15925 int
15926 main ()
15927 {
15928
15929 ;
15930 return 0;
15931 }
15932 _ACEOF
15933 rm -f conftest.$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 echo "$as_me:$LINENO: result: yes" >&5
15955 echo "${ECHO_T}yes" >&6
15956 else
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.$ac_ext >&5
15959
15960 echo "$as_me:$LINENO: result: no" >&5
15961 echo "${ECHO_T}no" >&6
15962 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15963 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15964 cat >conftest.$ac_ext <<_ACEOF
15965 /* confdefs.h. */
15966 _ACEOF
15967 cat confdefs.h >>conftest.$ac_ext
15968 cat >>conftest.$ac_ext <<_ACEOF
15969 /* end confdefs.h. */
15970 #define __CF_USE_FRAMEWORK_INCLUDES__
15971 #include <CoreFoundation/CFBase.h>
15972
15973 int
15974 main ()
15975 {
15976
15977 ;
15978 return 0;
15979 }
15980 _ACEOF
15981 rm -f conftest.$ac_objext
15982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15983 (eval $ac_compile) 2>conftest.er1
15984 ac_status=$?
15985 grep -v '^ *+' conftest.er1 >conftest.err
15986 rm -f conftest.er1
15987 cat conftest.err >&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } &&
15990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15993 ac_status=$?
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; } &&
15996 { ac_try='test -s conftest.$ac_objext'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
15999 ac_status=$?
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; }; then
16002 echo "$as_me:$LINENO: result: yes" >&5
16003 echo "${ECHO_T}yes" >&6
16004 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16005 else
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.$ac_ext >&5
16008
16009 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16010 See \`config.log' for more details." >&5
16011 echo "$as_me: error: no. CoreFoundation not available.
16012 See \`config.log' for more details." >&2;}
16013 { (exit 1); exit 1; }; }
16014
16015 fi
16016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16017
16018
16019 fi
16020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16021 ;;
16022 esac
16023
16024 case "${host}" in
16025 *-pc-os2_emx | *-pc-os2-emx )
16026 ac_ext=c
16027 ac_cpp='$CPP $CPPFLAGS'
16028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16031
16032 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16033 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16034 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16035 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 else
16038 ac_check_lib_save_LIBS=$LIBS
16039 LIBS="-lcExt $LIBS"
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046
16047 /* Override any gcc2 internal prototype to avoid an error. */
16048 #ifdef __cplusplus
16049 extern "C"
16050 #endif
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16053 char drand48 ();
16054 int
16055 main ()
16056 {
16057 drand48 ();
16058 ;
16059 return 0;
16060 }
16061 _ACEOF
16062 rm -f conftest.$ac_objext conftest$ac_exeext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16064 (eval $ac_link) 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try='test -s conftest$ac_exeext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_cv_lib_cExt_drand48=yes
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 ac_cv_lib_cExt_drand48=no
16089 fi
16090 rm -f conftest.err conftest.$ac_objext \
16091 conftest$ac_exeext conftest.$ac_ext
16092 LIBS=$ac_check_lib_save_LIBS
16093 fi
16094 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16095 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16096 if test $ac_cv_lib_cExt_drand48 = yes; then
16097 LIBS="$LIBS -lcExt"
16098 fi
16099
16100 else
16101 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16102 fi
16103 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16104 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16105 if test "${wx_cv_gccversion+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108
16109 if test "$cross_compiling" = yes; then
16110 wx_cv_gccversion="EMX2"
16111
16112 else
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119
16120 #include <stdio.h>
16121
16122 int main()
16123 {
16124 FILE *f=fopen("conftestval", "w");
16125 if (!f) exit(1);
16126 fprintf(f,
16127 #if (__GNUC__ < 3)
16128 "EMX2"
16129 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16130 "EMX3"
16131 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16132 "Innotek5"
16133 #else
16134 "Innotek6"
16135 #endif
16136 );
16137 exit(0);
16138 }
16139
16140 _ACEOF
16141 rm -f conftest$ac_exeext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16143 (eval $ac_link) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 wx_cv_gccversion=`cat conftestval`
16153 else
16154 echo "$as_me: program exited with status $ac_status" >&5
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16157
16158 ( exit $ac_status )
16159 wx_cv_gccversion="EMX2"
16160 fi
16161 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16162 fi
16163
16164 fi
16165 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16166 echo "${ECHO_T}$wx_cv_gccversion" >&6
16167 ac_ext=cc
16168 ac_cpp='$CXXCPP $CPPFLAGS'
16169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16172
16173 if test "$wx_cv_gccversion" = "EMX2"; then
16174 LIBS="$LIBS -lstdcpp"
16175 LDFLAGS="$LDFLAGS -Zsysv-signals"
16176 else
16177 if test "$wx_cv_gccversion" = "EMX3"; then
16178 LIBS="$LIBS -lstdcxx -lgcc"
16179 LDFLAGS="$LDFLAGS -Zsysv-signals"
16180 else
16181 LIBS="$LIBS -lstdc++"
16182 fi
16183 fi
16184 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16185 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16186 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16187 wxUSE_OMF=yes
16188 enable_omf=yes
16189 fi
16190 ;;
16191 *)
16192
16193 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16194 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16195 if test "${ac_cv_string_strcasecmp+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198
16199 cat >conftest.$ac_ext <<_ACEOF
16200 /* confdefs.h. */
16201 _ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205
16206 #include <string.h>
16207
16208 int
16209 main ()
16210 {
16211
16212 strcasecmp("foo", "bar");
16213
16214 ;
16215 return 0;
16216 }
16217 _ACEOF
16218 rm -f conftest.$ac_objext conftest$ac_exeext
16219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16220 (eval $ac_link) 2>conftest.er1
16221 ac_status=$?
16222 grep -v '^ *+' conftest.er1 >conftest.err
16223 rm -f conftest.er1
16224 cat conftest.err >&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); } &&
16227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229 (eval $ac_try) 2>&5
16230 ac_status=$?
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }; } &&
16233 { ac_try='test -s conftest$ac_exeext'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16236 ac_status=$?
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; }; then
16239 ac_cv_string_strcasecmp=yes
16240 else
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.$ac_ext >&5
16243
16244 ac_cv_string_strcasecmp=no
16245
16246 fi
16247 rm -f conftest.err conftest.$ac_objext \
16248 conftest$ac_exeext conftest.$ac_ext
16249
16250 fi
16251 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16252 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16253
16254 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16255 cat >>confdefs.h <<\_ACEOF
16256 #define HAVE_STRCASECMP_IN_STRING_H 1
16257 _ACEOF
16258
16259 else
16260 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16261 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16262 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272
16273 #include <strings.h>
16274
16275 int
16276 main ()
16277 {
16278
16279 strcasecmp("foo", "bar");
16280
16281 ;
16282 return 0;
16283 }
16284 _ACEOF
16285 rm -f conftest.$ac_objext conftest$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; } &&
16300 { ac_try='test -s conftest$ac_exeext'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; }; then
16306 ac_cv_strings_strcasecmp=yes
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 ac_cv_strings_strcasecmp=no
16312
16313 fi
16314 rm -f conftest.err conftest.$ac_objext \
16315 conftest$ac_exeext conftest.$ac_ext
16316
16317 fi
16318 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16319 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16320
16321 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16322 cat >>confdefs.h <<\_ACEOF
16323 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16324 _ACEOF
16325
16326 else
16327 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16328 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16329 { (exit 1); exit 1; }; }
16330 fi
16331 fi
16332
16333 ;;
16334 esac
16335
16336
16337 ac_ext=cc
16338 ac_cpp='$CXXCPP $CPPFLAGS'
16339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16343 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16344 if test -z "$CXXCPP"; then
16345 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348 # Double quotes because CXXCPP needs to be expanded
16349 for CXXCPP in "$CXX -E" "/lib/cpp"
16350 do
16351 ac_preproc_ok=false
16352 for ac_cxx_preproc_warn_flag in '' yes
16353 do
16354 # Use a header file that comes with gcc, so configuring glibc
16355 # with a fresh cross-compiler works.
16356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16357 # <limits.h> exists even on freestanding compilers.
16358 # On the NeXT, cc -E runs the code through the compiler's parser,
16359 # not just through cpp. "Syntax error" is here to catch this case.
16360 cat >conftest.$ac_ext <<_ACEOF
16361 /* confdefs.h. */
16362 _ACEOF
16363 cat confdefs.h >>conftest.$ac_ext
16364 cat >>conftest.$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 #ifdef __STDC__
16367 # include <limits.h>
16368 #else
16369 # include <assert.h>
16370 #endif
16371 Syntax error
16372 _ACEOF
16373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16375 ac_status=$?
16376 grep -v '^ *+' conftest.er1 >conftest.err
16377 rm -f conftest.er1
16378 cat conftest.err >&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } >/dev/null; then
16381 if test -s conftest.err; then
16382 ac_cpp_err=$ac_cxx_preproc_warn_flag
16383 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16384 else
16385 ac_cpp_err=
16386 fi
16387 else
16388 ac_cpp_err=yes
16389 fi
16390 if test -z "$ac_cpp_err"; then
16391 :
16392 else
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16395
16396 # Broken: fails on valid input.
16397 continue
16398 fi
16399 rm -f conftest.err conftest.$ac_ext
16400
16401 # OK, works on sane cases. Now check whether non-existent headers
16402 # can be detected and how.
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_nonexistent.h>
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 # Broken: success on invalid input.
16430 continue
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16434
16435 # Passes both tests.
16436 ac_preproc_ok=:
16437 break
16438 fi
16439 rm -f conftest.err conftest.$ac_ext
16440
16441 done
16442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16443 rm -f conftest.err conftest.$ac_ext
16444 if $ac_preproc_ok; then
16445 break
16446 fi
16447
16448 done
16449 ac_cv_prog_CXXCPP=$CXXCPP
16450
16451 fi
16452 CXXCPP=$ac_cv_prog_CXXCPP
16453 else
16454 ac_cv_prog_CXXCPP=$CXXCPP
16455 fi
16456 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16457 echo "${ECHO_T}$CXXCPP" >&6
16458 ac_preproc_ok=false
16459 for ac_cxx_preproc_warn_flag in '' yes
16460 do
16461 # Use a header file that comes with gcc, so configuring glibc
16462 # with a fresh cross-compiler works.
16463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16464 # <limits.h> exists even on freestanding compilers.
16465 # On the NeXT, cc -E runs the code through the compiler's parser,
16466 # not just through cpp. "Syntax error" is here to catch this case.
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 #ifdef __STDC__
16474 # include <limits.h>
16475 #else
16476 # include <assert.h>
16477 #endif
16478 Syntax error
16479 _ACEOF
16480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } >/dev/null; then
16488 if test -s conftest.err; then
16489 ac_cpp_err=$ac_cxx_preproc_warn_flag
16490 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16491 else
16492 ac_cpp_err=
16493 fi
16494 else
16495 ac_cpp_err=yes
16496 fi
16497 if test -z "$ac_cpp_err"; then
16498 :
16499 else
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16502
16503 # Broken: fails on valid input.
16504 continue
16505 fi
16506 rm -f conftest.err conftest.$ac_ext
16507
16508 # OK, works on sane cases. Now check whether non-existent headers
16509 # can be detected and how.
16510 cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h. */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 #include <ac_nonexistent.h>
16517 _ACEOF
16518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16519 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
16526 if test -s conftest.err; then
16527 ac_cpp_err=$ac_cxx_preproc_warn_flag
16528 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16529 else
16530 ac_cpp_err=
16531 fi
16532 else
16533 ac_cpp_err=yes
16534 fi
16535 if test -z "$ac_cpp_err"; then
16536 # Broken: success on invalid input.
16537 continue
16538 else
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16541
16542 # Passes both tests.
16543 ac_preproc_ok=:
16544 break
16545 fi
16546 rm -f conftest.err conftest.$ac_ext
16547
16548 done
16549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16550 rm -f conftest.err conftest.$ac_ext
16551 if $ac_preproc_ok; then
16552 :
16553 else
16554 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16555 See \`config.log' for more details." >&5
16556 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16557 See \`config.log' for more details." >&2;}
16558 { (exit 1); exit 1; }; }
16559 fi
16560
16561 ac_ext=cc
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16566
16567
16568 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16569 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16570 if test "${ac_cv_header_stdc+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 else
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 #include <stdlib.h>
16580 #include <stdarg.h>
16581 #include <string.h>
16582 #include <float.h>
16583
16584 int
16585 main ()
16586 {
16587
16588 ;
16589 return 0;
16590 }
16591 _ACEOF
16592 rm -f conftest.$ac_objext
16593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16594 (eval $ac_compile) 2>conftest.er1
16595 ac_status=$?
16596 grep -v '^ *+' conftest.er1 >conftest.err
16597 rm -f conftest.er1
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16604 ac_status=$?
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; } &&
16607 { ac_try='test -s conftest.$ac_objext'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16610 ac_status=$?
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; }; then
16613 ac_cv_header_stdc=yes
16614 else
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16617
16618 ac_cv_header_stdc=no
16619 fi
16620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16621
16622 if test $ac_cv_header_stdc = yes; then
16623 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16624 cat >conftest.$ac_ext <<_ACEOF
16625 /* confdefs.h. */
16626 _ACEOF
16627 cat confdefs.h >>conftest.$ac_ext
16628 cat >>conftest.$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 #include <string.h>
16631
16632 _ACEOF
16633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16634 $EGREP "memchr" >/dev/null 2>&1; then
16635 :
16636 else
16637 ac_cv_header_stdc=no
16638 fi
16639 rm -f conftest*
16640
16641 fi
16642
16643 if test $ac_cv_header_stdc = yes; then
16644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 #include <stdlib.h>
16652
16653 _ACEOF
16654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16655 $EGREP "free" >/dev/null 2>&1; then
16656 :
16657 else
16658 ac_cv_header_stdc=no
16659 fi
16660 rm -f conftest*
16661
16662 fi
16663
16664 if test $ac_cv_header_stdc = yes; then
16665 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16666 if test "$cross_compiling" = yes; then
16667 :
16668 else
16669 cat >conftest.$ac_ext <<_ACEOF
16670 /* confdefs.h. */
16671 _ACEOF
16672 cat confdefs.h >>conftest.$ac_ext
16673 cat >>conftest.$ac_ext <<_ACEOF
16674 /* end confdefs.h. */
16675 #include <ctype.h>
16676 #if ((' ' & 0x0FF) == 0x020)
16677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16679 #else
16680 # define ISLOWER(c) \
16681 (('a' <= (c) && (c) <= 'i') \
16682 || ('j' <= (c) && (c) <= 'r') \
16683 || ('s' <= (c) && (c) <= 'z'))
16684 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16685 #endif
16686
16687 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16688 int
16689 main ()
16690 {
16691 int i;
16692 for (i = 0; i < 256; i++)
16693 if (XOR (islower (i), ISLOWER (i))
16694 || toupper (i) != TOUPPER (i))
16695 exit(2);
16696 exit (0);
16697 }
16698 _ACEOF
16699 rm -f conftest$ac_exeext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16701 (eval $ac_link) 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16707 ac_status=$?
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; }; then
16710 :
16711 else
16712 echo "$as_me: program exited with status $ac_status" >&5
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16715
16716 ( exit $ac_status )
16717 ac_cv_header_stdc=no
16718 fi
16719 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16720 fi
16721 fi
16722 fi
16723 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16724 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16725 if test $ac_cv_header_stdc = yes; then
16726
16727 cat >>confdefs.h <<\_ACEOF
16728 #define STDC_HEADERS 1
16729 _ACEOF
16730
16731 fi
16732
16733 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16744 inttypes.h stdint.h unistd.h
16745 do
16746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16747 echo "$as_me:$LINENO: checking for $ac_header" >&5
16748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16750 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 else
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 $ac_includes_default
16759
16760 #include <$ac_header>
16761 _ACEOF
16762 rm -f conftest.$ac_objext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16764 (eval $ac_compile) 2>conftest.er1
16765 ac_status=$?
16766 grep -v '^ *+' conftest.er1 >conftest.err
16767 rm -f conftest.er1
16768 cat conftest.err >&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; } &&
16777 { ac_try='test -s conftest.$ac_objext'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16780 ac_status=$?
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; }; then
16783 eval "$as_ac_Header=yes"
16784 else
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16787
16788 eval "$as_ac_Header=no"
16789 fi
16790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16791 fi
16792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16795 cat >>confdefs.h <<_ACEOF
16796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16797 _ACEOF
16798
16799 fi
16800
16801 done
16802
16803
16804
16805 for ac_header in stdlib.h
16806 do
16807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16809 echo "$as_me:$LINENO: checking for $ac_header" >&5
16810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 fi
16814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16816 else
16817 # Is the header compilable?
16818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 #include <$ac_header>
16828 _ACEOF
16829 rm -f conftest.$ac_objext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16831 (eval $ac_compile) 2>conftest.er1
16832 ac_status=$?
16833 grep -v '^ *+' conftest.er1 >conftest.err
16834 rm -f conftest.er1
16835 cat conftest.err >&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16841 ac_status=$?
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_header_compiler=yes
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 ac_header_compiler=no
16856 fi
16857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16859 echo "${ECHO_T}$ac_header_compiler" >&6
16860
16861 # Is the header present?
16862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16864 cat >conftest.$ac_ext <<_ACEOF
16865 /* confdefs.h. */
16866 _ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 #include <$ac_header>
16871 _ACEOF
16872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16874 ac_status=$?
16875 grep -v '^ *+' conftest.er1 >conftest.err
16876 rm -f conftest.er1
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } >/dev/null; then
16880 if test -s conftest.err; then
16881 ac_cpp_err=$ac_cxx_preproc_warn_flag
16882 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16883 else
16884 ac_cpp_err=
16885 fi
16886 else
16887 ac_cpp_err=yes
16888 fi
16889 if test -z "$ac_cpp_err"; then
16890 ac_header_preproc=yes
16891 else
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16894
16895 ac_header_preproc=no
16896 fi
16897 rm -f conftest.err conftest.$ac_ext
16898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16899 echo "${ECHO_T}$ac_header_preproc" >&6
16900
16901 # So? What about this header?
16902 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16903 yes:no: )
16904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16908 ac_header_preproc=yes
16909 ;;
16910 no:yes:* )
16911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16918 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16923 (
16924 cat <<\_ASBOX
16925 ## ----------------------------------------- ##
16926 ## Report this to wx-dev@lists.wxwidgets.org ##
16927 ## ----------------------------------------- ##
16928 _ASBOX
16929 ) |
16930 sed "s/^/$as_me: WARNING: /" >&2
16931 ;;
16932 esac
16933 echo "$as_me:$LINENO: checking for $ac_header" >&5
16934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 else
16938 eval "$as_ac_Header=\$ac_header_preproc"
16939 fi
16940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16942
16943 fi
16944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16945 cat >>confdefs.h <<_ACEOF
16946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16947 _ACEOF
16948
16949 fi
16950
16951 done
16952
16953
16954 for ac_header in malloc.h
16955 do
16956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16958 echo "$as_me:$LINENO: checking for $ac_header" >&5
16959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16962 fi
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16965 else
16966 # Is the header compilable?
16967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h. */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16976 #include <$ac_header>
16977 _ACEOF
16978 rm -f conftest.$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16981 ac_status=$?
16982 grep -v '^ *+' conftest.er1 >conftest.err
16983 rm -f conftest.er1
16984 cat conftest.err >&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_header_compiler=yes
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 ac_header_compiler=no
17005 fi
17006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17008 echo "${ECHO_T}$ac_header_compiler" >&6
17009
17010 # Is the header present?
17011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17013 cat >conftest.$ac_ext <<_ACEOF
17014 /* confdefs.h. */
17015 _ACEOF
17016 cat confdefs.h >>conftest.$ac_ext
17017 cat >>conftest.$ac_ext <<_ACEOF
17018 /* end confdefs.h. */
17019 #include <$ac_header>
17020 _ACEOF
17021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17023 ac_status=$?
17024 grep -v '^ *+' conftest.er1 >conftest.err
17025 rm -f conftest.er1
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } >/dev/null; then
17029 if test -s conftest.err; then
17030 ac_cpp_err=$ac_cxx_preproc_warn_flag
17031 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17032 else
17033 ac_cpp_err=
17034 fi
17035 else
17036 ac_cpp_err=yes
17037 fi
17038 if test -z "$ac_cpp_err"; then
17039 ac_header_preproc=yes
17040 else
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.$ac_ext >&5
17043
17044 ac_header_preproc=no
17045 fi
17046 rm -f conftest.err conftest.$ac_ext
17047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17048 echo "${ECHO_T}$ac_header_preproc" >&6
17049
17050 # So? What about this header?
17051 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17052 yes:no: )
17053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17057 ac_header_preproc=yes
17058 ;;
17059 no:yes:* )
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17072 (
17073 cat <<\_ASBOX
17074 ## ----------------------------------------- ##
17075 ## Report this to wx-dev@lists.wxwidgets.org ##
17076 ## ----------------------------------------- ##
17077 _ASBOX
17078 ) |
17079 sed "s/^/$as_me: WARNING: /" >&2
17080 ;;
17081 esac
17082 echo "$as_me:$LINENO: checking for $ac_header" >&5
17083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087 eval "$as_ac_Header=\$ac_header_preproc"
17088 fi
17089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17091
17092 fi
17093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17094 cat >>confdefs.h <<_ACEOF
17095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17096 _ACEOF
17097
17098 fi
17099
17100 done
17101
17102
17103 for ac_header in unistd.h
17104 do
17105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17107 echo "$as_me:$LINENO: checking for $ac_header" >&5
17108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 fi
17112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17114 else
17115 # Is the header compilable?
17116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17118 cat >conftest.$ac_ext <<_ACEOF
17119 /* confdefs.h. */
17120 _ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17125 #include <$ac_header>
17126 _ACEOF
17127 rm -f conftest.$ac_objext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>conftest.er1
17130 ac_status=$?
17131 grep -v '^ *+' conftest.er1 >conftest.err
17132 rm -f conftest.er1
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } &&
17136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17139 ac_status=$?
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; } &&
17142 { ac_try='test -s conftest.$ac_objext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17145 ac_status=$?
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 ac_header_compiler=yes
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 ac_header_compiler=no
17154 fi
17155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17157 echo "${ECHO_T}$ac_header_compiler" >&6
17158
17159 # Is the header present?
17160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17162 cat >conftest.$ac_ext <<_ACEOF
17163 /* confdefs.h. */
17164 _ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168 #include <$ac_header>
17169 _ACEOF
17170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17172 ac_status=$?
17173 grep -v '^ *+' conftest.er1 >conftest.err
17174 rm -f conftest.er1
17175 cat conftest.err >&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); } >/dev/null; then
17178 if test -s conftest.err; then
17179 ac_cpp_err=$ac_cxx_preproc_warn_flag
17180 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17181 else
17182 ac_cpp_err=
17183 fi
17184 else
17185 ac_cpp_err=yes
17186 fi
17187 if test -z "$ac_cpp_err"; then
17188 ac_header_preproc=yes
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 ac_header_preproc=no
17194 fi
17195 rm -f conftest.err conftest.$ac_ext
17196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17197 echo "${ECHO_T}$ac_header_preproc" >&6
17198
17199 # So? What about this header?
17200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17201 yes:no: )
17202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17206 ac_header_preproc=yes
17207 ;;
17208 no:yes:* )
17209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17221 (
17222 cat <<\_ASBOX
17223 ## ----------------------------------------- ##
17224 ## Report this to wx-dev@lists.wxwidgets.org ##
17225 ## ----------------------------------------- ##
17226 _ASBOX
17227 ) |
17228 sed "s/^/$as_me: WARNING: /" >&2
17229 ;;
17230 esac
17231 echo "$as_me:$LINENO: checking for $ac_header" >&5
17232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo $ECHO_N "(cached) $ECHO_C" >&6
17235 else
17236 eval "$as_ac_Header=\$ac_header_preproc"
17237 fi
17238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17240
17241 fi
17242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17243 cat >>confdefs.h <<_ACEOF
17244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17245 _ACEOF
17246
17247 fi
17248
17249 done
17250
17251
17252 for ac_header in wchar.h
17253 do
17254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17256 echo "$as_me:$LINENO: checking for $ac_header" >&5
17257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 fi
17261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17263 else
17264 # Is the header compilable?
17265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17267 cat >conftest.$ac_ext <<_ACEOF
17268 /* confdefs.h. */
17269 _ACEOF
17270 cat confdefs.h >>conftest.$ac_ext
17271 cat >>conftest.$ac_ext <<_ACEOF
17272 /* end confdefs.h. */
17273 $ac_includes_default
17274 #include <$ac_header>
17275 _ACEOF
17276 rm -f conftest.$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278 (eval $ac_compile) 2>conftest.er1
17279 ac_status=$?
17280 grep -v '^ *+' conftest.er1 >conftest.err
17281 rm -f conftest.er1
17282 cat conftest.err >&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17288 ac_status=$?
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_header_compiler=yes
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 ac_header_compiler=no
17303 fi
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17306 echo "${ECHO_T}$ac_header_compiler" >&6
17307
17308 # Is the header present?
17309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17311 cat >conftest.$ac_ext <<_ACEOF
17312 /* confdefs.h. */
17313 _ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 #include <$ac_header>
17318 _ACEOF
17319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } >/dev/null; then
17327 if test -s conftest.err; then
17328 ac_cpp_err=$ac_cxx_preproc_warn_flag
17329 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17330 else
17331 ac_cpp_err=
17332 fi
17333 else
17334 ac_cpp_err=yes
17335 fi
17336 if test -z "$ac_cpp_err"; then
17337 ac_header_preproc=yes
17338 else
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17341
17342 ac_header_preproc=no
17343 fi
17344 rm -f conftest.err conftest.$ac_ext
17345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17346 echo "${ECHO_T}$ac_header_preproc" >&6
17347
17348 # So? What about this header?
17349 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17350 yes:no: )
17351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17355 ac_header_preproc=yes
17356 ;;
17357 no:yes:* )
17358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17370 (
17371 cat <<\_ASBOX
17372 ## ----------------------------------------- ##
17373 ## Report this to wx-dev@lists.wxwidgets.org ##
17374 ## ----------------------------------------- ##
17375 _ASBOX
17376 ) |
17377 sed "s/^/$as_me: WARNING: /" >&2
17378 ;;
17379 esac
17380 echo "$as_me:$LINENO: checking for $ac_header" >&5
17381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 else
17385 eval "$as_ac_Header=\$ac_header_preproc"
17386 fi
17387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17389
17390 fi
17391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17392 cat >>confdefs.h <<_ACEOF
17393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17394 _ACEOF
17395
17396 fi
17397
17398 done
17399
17400
17401 if test "$ac_cv_header_wchar_h" != "yes"; then
17402
17403 for ac_header in wcstr.h
17404 do
17405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17407 echo "$as_me:$LINENO: checking for $ac_header" >&5
17408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 fi
17412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17414 else
17415 # Is the header compilable?
17416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17418 cat >conftest.$ac_ext <<_ACEOF
17419 /* confdefs.h. */
17420 _ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 $ac_includes_default
17425 #include <$ac_header>
17426 _ACEOF
17427 rm -f conftest.$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } &&
17436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17445 ac_status=$?
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_header_compiler=yes
17449 else
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17452
17453 ac_header_compiler=no
17454 fi
17455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17457 echo "${ECHO_T}$ac_header_compiler" >&6
17458
17459 # Is the header present?
17460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17462 cat >conftest.$ac_ext <<_ACEOF
17463 /* confdefs.h. */
17464 _ACEOF
17465 cat confdefs.h >>conftest.$ac_ext
17466 cat >>conftest.$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468 #include <$ac_header>
17469 _ACEOF
17470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17472 ac_status=$?
17473 grep -v '^ *+' conftest.er1 >conftest.err
17474 rm -f conftest.er1
17475 cat conftest.err >&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } >/dev/null; then
17478 if test -s conftest.err; then
17479 ac_cpp_err=$ac_cxx_preproc_warn_flag
17480 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17481 else
17482 ac_cpp_err=
17483 fi
17484 else
17485 ac_cpp_err=yes
17486 fi
17487 if test -z "$ac_cpp_err"; then
17488 ac_header_preproc=yes
17489 else
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17492
17493 ac_header_preproc=no
17494 fi
17495 rm -f conftest.err conftest.$ac_ext
17496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17497 echo "${ECHO_T}$ac_header_preproc" >&6
17498
17499 # So? What about this header?
17500 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17501 yes:no: )
17502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17506 ac_header_preproc=yes
17507 ;;
17508 no:yes:* )
17509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17521 (
17522 cat <<\_ASBOX
17523 ## ----------------------------------------- ##
17524 ## Report this to wx-dev@lists.wxwidgets.org ##
17525 ## ----------------------------------------- ##
17526 _ASBOX
17527 ) |
17528 sed "s/^/$as_me: WARNING: /" >&2
17529 ;;
17530 esac
17531 echo "$as_me:$LINENO: checking for $ac_header" >&5
17532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 else
17536 eval "$as_ac_Header=\$ac_header_preproc"
17537 fi
17538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17540
17541 fi
17542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17543 cat >>confdefs.h <<_ACEOF
17544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17545 _ACEOF
17546
17547 fi
17548
17549 done
17550
17551 fi
17552
17553
17554 for ac_header in fnmatch.h
17555 do
17556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17558 echo "$as_me:$LINENO: checking for $ac_header" >&5
17559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 fi
17563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17565 else
17566 # Is the header compilable?
17567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17569 cat >conftest.$ac_ext <<_ACEOF
17570 /* confdefs.h. */
17571 _ACEOF
17572 cat confdefs.h >>conftest.$ac_ext
17573 cat >>conftest.$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 $ac_includes_default
17576 #include <$ac_header>
17577 _ACEOF
17578 rm -f conftest.$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 ac_header_compiler=yes
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 ac_header_compiler=no
17605 fi
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17608 echo "${ECHO_T}$ac_header_compiler" >&6
17609
17610 # Is the header present?
17611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17613 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h. */
17615 _ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 #include <$ac_header>
17620 _ACEOF
17621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17623 ac_status=$?
17624 grep -v '^ *+' conftest.er1 >conftest.err
17625 rm -f conftest.er1
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } >/dev/null; then
17629 if test -s conftest.err; then
17630 ac_cpp_err=$ac_cxx_preproc_warn_flag
17631 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17632 else
17633 ac_cpp_err=
17634 fi
17635 else
17636 ac_cpp_err=yes
17637 fi
17638 if test -z "$ac_cpp_err"; then
17639 ac_header_preproc=yes
17640 else
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 ac_header_preproc=no
17645 fi
17646 rm -f conftest.err conftest.$ac_ext
17647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17648 echo "${ECHO_T}$ac_header_preproc" >&6
17649
17650 # So? What about this header?
17651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17652 yes:no: )
17653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17657 ac_header_preproc=yes
17658 ;;
17659 no:yes:* )
17660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17672 (
17673 cat <<\_ASBOX
17674 ## ----------------------------------------- ##
17675 ## Report this to wx-dev@lists.wxwidgets.org ##
17676 ## ----------------------------------------- ##
17677 _ASBOX
17678 ) |
17679 sed "s/^/$as_me: WARNING: /" >&2
17680 ;;
17681 esac
17682 echo "$as_me:$LINENO: checking for $ac_header" >&5
17683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else
17687 eval "$as_ac_Header=\$ac_header_preproc"
17688 fi
17689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17691
17692 fi
17693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17694 cat >>confdefs.h <<_ACEOF
17695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17696 _ACEOF
17697
17698 fi
17699
17700 done
17701
17702
17703
17704 for ac_header in langinfo.h
17705 do
17706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17708 echo "$as_me:$LINENO: checking for $ac_header" >&5
17709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17712 fi
17713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17715 else
17716 # Is the header compilable?
17717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17719 cat >conftest.$ac_ext <<_ACEOF
17720 /* confdefs.h. */
17721 _ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17726 #include <$ac_header>
17727 _ACEOF
17728 rm -f conftest.$ac_objext
17729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17730 (eval $ac_compile) 2>conftest.er1
17731 ac_status=$?
17732 grep -v '^ *+' conftest.er1 >conftest.err
17733 rm -f conftest.er1
17734 cat conftest.err >&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } &&
17737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest.$ac_objext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 ac_header_compiler=yes
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17753
17754 ac_header_compiler=no
17755 fi
17756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17758 echo "${ECHO_T}$ac_header_compiler" >&6
17759
17760 # Is the header present?
17761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 #include <$ac_header>
17770 _ACEOF
17771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17773 ac_status=$?
17774 grep -v '^ *+' conftest.er1 >conftest.err
17775 rm -f conftest.er1
17776 cat conftest.err >&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } >/dev/null; then
17779 if test -s conftest.err; then
17780 ac_cpp_err=$ac_cxx_preproc_warn_flag
17781 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17782 else
17783 ac_cpp_err=
17784 fi
17785 else
17786 ac_cpp_err=yes
17787 fi
17788 if test -z "$ac_cpp_err"; then
17789 ac_header_preproc=yes
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17793
17794 ac_header_preproc=no
17795 fi
17796 rm -f conftest.err conftest.$ac_ext
17797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17798 echo "${ECHO_T}$ac_header_preproc" >&6
17799
17800 # So? What about this header?
17801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17802 yes:no: )
17803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17807 ac_header_preproc=yes
17808 ;;
17809 no:yes:* )
17810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17822 (
17823 cat <<\_ASBOX
17824 ## ----------------------------------------- ##
17825 ## Report this to wx-dev@lists.wxwidgets.org ##
17826 ## ----------------------------------------- ##
17827 _ASBOX
17828 ) |
17829 sed "s/^/$as_me: WARNING: /" >&2
17830 ;;
17831 esac
17832 echo "$as_me:$LINENO: checking for $ac_header" >&5
17833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17835 echo $ECHO_N "(cached) $ECHO_C" >&6
17836 else
17837 eval "$as_ac_Header=\$ac_header_preproc"
17838 fi
17839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17841
17842 fi
17843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17844 cat >>confdefs.h <<_ACEOF
17845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17846 _ACEOF
17847
17848 fi
17849
17850 done
17851
17852
17853 case "${host}" in
17854 *-pc-os2_emx | *-pc-os2-emx )
17855 if test $ac_cv_header_langinfo_h = "yes" \
17856 -a \( "$wx_cv_gccversion" = "EMX2" \
17857 -o "$wx_cv_gccversion" = "EMX3" \
17858 -o "$wx_cv_gccversion" = "Innotek5" \); then
17859 LIBS="$LIBS -lintl"
17860 fi
17861 ;;
17862 esac
17863
17864 if test "$USE_UNIX" = 1 ; then
17865
17866 for ac_header in sys/select.h
17867 do
17868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17870 echo "$as_me:$LINENO: checking for $ac_header" >&5
17871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17874 fi
17875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17877 else
17878 # Is the header compilable?
17879 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17881 cat >conftest.$ac_ext <<_ACEOF
17882 /* confdefs.h. */
17883 _ACEOF
17884 cat confdefs.h >>conftest.$ac_ext
17885 cat >>conftest.$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 #include <$ac_header>
17889 _ACEOF
17890 rm -f conftest.$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892 (eval $ac_compile) 2>conftest.er1
17893 ac_status=$?
17894 grep -v '^ *+' conftest.er1 >conftest.err
17895 rm -f conftest.er1
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17908 ac_status=$?
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 ac_header_compiler=yes
17912 else
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17915
17916 ac_header_compiler=no
17917 fi
17918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17920 echo "${ECHO_T}$ac_header_compiler" >&6
17921
17922 # Is the header present?
17923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17925 cat >conftest.$ac_ext <<_ACEOF
17926 /* confdefs.h. */
17927 _ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17931 #include <$ac_header>
17932 _ACEOF
17933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } >/dev/null; then
17941 if test -s conftest.err; then
17942 ac_cpp_err=$ac_cxx_preproc_warn_flag
17943 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17944 else
17945 ac_cpp_err=
17946 fi
17947 else
17948 ac_cpp_err=yes
17949 fi
17950 if test -z "$ac_cpp_err"; then
17951 ac_header_preproc=yes
17952 else
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 ac_header_preproc=no
17957 fi
17958 rm -f conftest.err conftest.$ac_ext
17959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17960 echo "${ECHO_T}$ac_header_preproc" >&6
17961
17962 # So? What about this header?
17963 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17964 yes:no: )
17965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17969 ac_header_preproc=yes
17970 ;;
17971 no:yes:* )
17972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17984 (
17985 cat <<\_ASBOX
17986 ## ----------------------------------------- ##
17987 ## Report this to wx-dev@lists.wxwidgets.org ##
17988 ## ----------------------------------------- ##
17989 _ASBOX
17990 ) |
17991 sed "s/^/$as_me: WARNING: /" >&2
17992 ;;
17993 esac
17994 echo "$as_me:$LINENO: checking for $ac_header" >&5
17995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999 eval "$as_ac_Header=\$ac_header_preproc"
18000 fi
18001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18003
18004 fi
18005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18006 cat >>confdefs.h <<_ACEOF
18007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18008 _ACEOF
18009
18010 fi
18011
18012 done
18013
18014 fi
18015
18016
18017 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18018 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18019 if test "${ac_cv_c_const+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 else
18022 cat >conftest.$ac_ext <<_ACEOF
18023 /* confdefs.h. */
18024 _ACEOF
18025 cat confdefs.h >>conftest.$ac_ext
18026 cat >>conftest.$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18028
18029 int
18030 main ()
18031 {
18032 /* FIXME: Include the comments suggested by Paul. */
18033 #ifndef __cplusplus
18034 /* Ultrix mips cc rejects this. */
18035 typedef int charset[2];
18036 const charset x;
18037 /* SunOS 4.1.1 cc rejects this. */
18038 char const *const *ccp;
18039 char **p;
18040 /* NEC SVR4.0.2 mips cc rejects this. */
18041 struct point {int x, y;};
18042 static struct point const zero = {0,0};
18043 /* AIX XL C 1.02.0.0 rejects this.
18044 It does not let you subtract one const X* pointer from another in
18045 an arm of an if-expression whose if-part is not a constant
18046 expression */
18047 const char *g = "string";
18048 ccp = &g + (g ? g-g : 0);
18049 /* HPUX 7.0 cc rejects these. */
18050 ++ccp;
18051 p = (char**) ccp;
18052 ccp = (char const *const *) p;
18053 { /* SCO 3.2v4 cc rejects this. */
18054 char *t;
18055 char const *s = 0 ? (char *) 0 : (char const *) 0;
18056
18057 *t++ = 0;
18058 }
18059 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18060 int x[] = {25, 17};
18061 const int *foo = &x[0];
18062 ++foo;
18063 }
18064 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18065 typedef const int *iptr;
18066 iptr p = 0;
18067 ++p;
18068 }
18069 { /* AIX XL C 1.02.0.0 rejects this saying
18070 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18071 struct s { int j; const int *ap[3]; };
18072 struct s *b; b->j = 5;
18073 }
18074 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18075 const int foo = 10;
18076 }
18077 #endif
18078
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 rm -f conftest.$ac_objext
18084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18085 (eval $ac_compile) 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } &&
18092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18101 ac_status=$?
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 ac_cv_c_const=yes
18105 else
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18108
18109 ac_cv_c_const=no
18110 fi
18111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18112 fi
18113 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18114 echo "${ECHO_T}$ac_cv_c_const" >&6
18115 if test $ac_cv_c_const = no; then
18116
18117 cat >>confdefs.h <<\_ACEOF
18118 #define const
18119 _ACEOF
18120
18121 fi
18122
18123 echo "$as_me:$LINENO: checking for inline" >&5
18124 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18125 if test "${ac_cv_c_inline+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128 ac_cv_c_inline=no
18129 for ac_kw in inline __inline__ __inline; do
18130 cat >conftest.$ac_ext <<_ACEOF
18131 /* confdefs.h. */
18132 _ACEOF
18133 cat confdefs.h >>conftest.$ac_ext
18134 cat >>conftest.$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18136 #ifndef __cplusplus
18137 typedef int foo_t;
18138 static $ac_kw foo_t static_foo () {return 0; }
18139 $ac_kw foo_t foo () {return 0; }
18140 #endif
18141
18142 _ACEOF
18143 rm -f conftest.$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18146 ac_status=$?
18147 grep -v '^ *+' conftest.er1 >conftest.err
18148 rm -f conftest.er1
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18155 ac_status=$?
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try='test -s conftest.$ac_objext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_cv_c_inline=$ac_kw; break
18165 else
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.$ac_ext >&5
18168
18169 fi
18170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18171 done
18172
18173 fi
18174 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18175 echo "${ECHO_T}$ac_cv_c_inline" >&6
18176
18177
18178 case $ac_cv_c_inline in
18179 inline | yes) ;;
18180 *)
18181 case $ac_cv_c_inline in
18182 no) ac_val=;;
18183 *) ac_val=$ac_cv_c_inline;;
18184 esac
18185 cat >>confdefs.h <<_ACEOF
18186 #ifndef __cplusplus
18187 #define inline $ac_val
18188 #endif
18189 _ACEOF
18190 ;;
18191 esac
18192
18193
18194 echo "$as_me:$LINENO: checking for char" >&5
18195 echo $ECHO_N "checking for char... $ECHO_C" >&6
18196 if test "${ac_cv_type_char+set}" = set; then
18197 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 else
18199 cat >conftest.$ac_ext <<_ACEOF
18200 /* confdefs.h. */
18201 _ACEOF
18202 cat confdefs.h >>conftest.$ac_ext
18203 cat >>conftest.$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 $ac_includes_default
18206 int
18207 main ()
18208 {
18209 if ((char *) 0)
18210 return 0;
18211 if (sizeof (char))
18212 return 0;
18213 ;
18214 return 0;
18215 }
18216 _ACEOF
18217 rm -f conftest.$ac_objext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18219 (eval $ac_compile) 2>conftest.er1
18220 ac_status=$?
18221 grep -v '^ *+' conftest.er1 >conftest.err
18222 rm -f conftest.er1
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 ac_cv_type_char=yes
18239 else
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18242
18243 ac_cv_type_char=no
18244 fi
18245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18246 fi
18247 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18248 echo "${ECHO_T}$ac_cv_type_char" >&6
18249
18250 echo "$as_me:$LINENO: checking size of char" >&5
18251 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18252 if test "${ac_cv_sizeof_char+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 if test "$ac_cv_type_char" = yes; then
18256 # The cast to unsigned long works around a bug in the HP C Compiler
18257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18259 # This bug is HP SR number 8606223364.
18260 if test "$cross_compiling" = yes; then
18261 # Depending upon the size, compute the lo and hi bounds.
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h. */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 $ac_includes_default
18269 int
18270 main ()
18271 {
18272 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18273 test_array [0] = 0
18274
18275 ;
18276 return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext
18280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18281 (eval $ac_compile) 2>conftest.er1
18282 ac_status=$?
18283 grep -v '^ *+' conftest.er1 >conftest.err
18284 rm -f conftest.er1
18285 cat conftest.err >&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } &&
18288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 ac_lo=0 ac_mid=0
18301 while :; do
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 $ac_includes_default
18309 int
18310 main ()
18311 {
18312 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18313 test_array [0] = 0
18314
18315 ;
18316 return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>conftest.er1
18322 ac_status=$?
18323 grep -v '^ *+' conftest.er1 >conftest.err
18324 rm -f conftest.er1
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } &&
18328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest.$ac_objext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 ac_hi=$ac_mid; break
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_lo=`expr $ac_mid + 1`
18346 if test $ac_lo -le $ac_mid; then
18347 ac_lo= ac_hi=
18348 break
18349 fi
18350 ac_mid=`expr 2 '*' $ac_mid + 1`
18351 fi
18352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18353 done
18354 else
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18357
18358 cat >conftest.$ac_ext <<_ACEOF
18359 /* confdefs.h. */
18360 _ACEOF
18361 cat confdefs.h >>conftest.$ac_ext
18362 cat >>conftest.$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18364 $ac_includes_default
18365 int
18366 main ()
18367 {
18368 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18369 test_array [0] = 0
18370
18371 ;
18372 return 0;
18373 }
18374 _ACEOF
18375 rm -f conftest.$ac_objext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18377 (eval $ac_compile) 2>conftest.er1
18378 ac_status=$?
18379 grep -v '^ *+' conftest.er1 >conftest.err
18380 rm -f conftest.er1
18381 cat conftest.err >&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } &&
18384 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; } &&
18390 { ac_try='test -s conftest.$ac_objext'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18393 ac_status=$?
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; }; then
18396 ac_hi=-1 ac_mid=-1
18397 while :; do
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 $ac_includes_default
18405 int
18406 main ()
18407 {
18408 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18409 test_array [0] = 0
18410
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_lo=$ac_mid; break
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441 ac_hi=`expr '(' $ac_mid ')' - 1`
18442 if test $ac_mid -le $ac_hi; then
18443 ac_lo= ac_hi=
18444 break
18445 fi
18446 ac_mid=`expr 2 '*' $ac_mid`
18447 fi
18448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18449 done
18450 else
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.$ac_ext >&5
18453
18454 ac_lo= ac_hi=
18455 fi
18456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18457 fi
18458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18459 # Binary search between lo and hi bounds.
18460 while test "x$ac_lo" != "x$ac_hi"; do
18461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h. */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 $ac_includes_default
18469 int
18470 main ()
18471 {
18472 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18473 test_array [0] = 0
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18491 ac_status=$?
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; } &&
18494 { ac_try='test -s conftest.$ac_objext'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18497 ac_status=$?
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; }; then
18500 ac_hi=$ac_mid
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18504
18505 ac_lo=`expr '(' $ac_mid ')' + 1`
18506 fi
18507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18508 done
18509 case $ac_lo in
18510 ?*) ac_cv_sizeof_char=$ac_lo;;
18511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18512 See \`config.log' for more details." >&5
18513 echo "$as_me: error: cannot compute sizeof (char), 77
18514 See \`config.log' for more details." >&2;}
18515 { (exit 1); exit 1; }; } ;;
18516 esac
18517 else
18518 if test "$cross_compiling" = yes; then
18519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18521 { (exit 1); exit 1; }; }
18522 else
18523 cat >conftest.$ac_ext <<_ACEOF
18524 /* confdefs.h. */
18525 _ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18529 $ac_includes_default
18530 long longval () { return (long) (sizeof (char)); }
18531 unsigned long ulongval () { return (long) (sizeof (char)); }
18532 #include <stdio.h>
18533 #include <stdlib.h>
18534 int
18535 main ()
18536 {
18537
18538 FILE *f = fopen ("conftest.val", "w");
18539 if (! f)
18540 exit (1);
18541 if (((long) (sizeof (char))) < 0)
18542 {
18543 long i = longval ();
18544 if (i != ((long) (sizeof (char))))
18545 exit (1);
18546 fprintf (f, "%ld\n", i);
18547 }
18548 else
18549 {
18550 unsigned long i = ulongval ();
18551 if (i != ((long) (sizeof (char))))
18552 exit (1);
18553 fprintf (f, "%lu\n", i);
18554 }
18555 exit (ferror (f) || fclose (f) != 0);
18556
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 rm -f conftest$ac_exeext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18563 (eval $ac_link) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 ac_cv_sizeof_char=`cat conftest.val`
18573 else
18574 echo "$as_me: program exited with status $ac_status" >&5
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18577
18578 ( exit $ac_status )
18579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18580 See \`config.log' for more details." >&5
18581 echo "$as_me: error: cannot compute sizeof (char), 77
18582 See \`config.log' for more details." >&2;}
18583 { (exit 1); exit 1; }; }
18584 fi
18585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18586 fi
18587 fi
18588 rm -f conftest.val
18589 else
18590 ac_cv_sizeof_char=0
18591 fi
18592 fi
18593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18594 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18595 cat >>confdefs.h <<_ACEOF
18596 #define SIZEOF_CHAR $ac_cv_sizeof_char
18597 _ACEOF
18598
18599
18600 echo "$as_me:$LINENO: checking for short" >&5
18601 echo $ECHO_N "checking for short... $ECHO_C" >&6
18602 if test "${ac_cv_type_short+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 else
18605 cat >conftest.$ac_ext <<_ACEOF
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18612 int
18613 main ()
18614 {
18615 if ((short *) 0)
18616 return 0;
18617 if (sizeof (short))
18618 return 0;
18619 ;
18620 return 0;
18621 }
18622 _ACEOF
18623 rm -f conftest.$ac_objext
18624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18625 (eval $ac_compile) 2>conftest.er1
18626 ac_status=$?
18627 grep -v '^ *+' conftest.er1 >conftest.err
18628 rm -f conftest.er1
18629 cat conftest.err >&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } &&
18632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18635 ac_status=$?
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_cv_type_short=yes
18645 else
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.$ac_ext >&5
18648
18649 ac_cv_type_short=no
18650 fi
18651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18652 fi
18653 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18654 echo "${ECHO_T}$ac_cv_type_short" >&6
18655
18656 echo "$as_me:$LINENO: checking size of short" >&5
18657 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18658 if test "${ac_cv_sizeof_short+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test "$ac_cv_type_short" = yes; then
18662 # The cast to unsigned long works around a bug in the HP C Compiler
18663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18665 # This bug is HP SR number 8606223364.
18666 if test "$cross_compiling" = yes; then
18667 # Depending upon the size, compute the lo and hi bounds.
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 $ac_includes_default
18675 int
18676 main ()
18677 {
18678 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18679 test_array [0] = 0
18680
18681 ;
18682 return 0;
18683 }
18684 _ACEOF
18685 rm -f conftest.$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18688 ac_status=$?
18689 grep -v '^ *+' conftest.er1 >conftest.err
18690 rm -f conftest.er1
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 ac_lo=0 ac_mid=0
18707 while :; do
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 int
18716 main ()
18717 {
18718 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18719 test_array [0] = 0
18720
18721 ;
18722 return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_hi=$ac_mid; break
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18750
18751 ac_lo=`expr $ac_mid + 1`
18752 if test $ac_lo -le $ac_mid; then
18753 ac_lo= ac_hi=
18754 break
18755 fi
18756 ac_mid=`expr 2 '*' $ac_mid + 1`
18757 fi
18758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18759 done
18760 else
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18763
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771 int
18772 main ()
18773 {
18774 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18775 test_array [0] = 0
18776
18777 ;
18778 return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_hi=-1 ac_mid=-1
18803 while :; do
18804 cat >conftest.$ac_ext <<_ACEOF
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 $ac_includes_default
18811 int
18812 main ()
18813 {
18814 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18815 test_array [0] = 0
18816
18817 ;
18818 return 0;
18819 }
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_lo=$ac_mid; break
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_hi=`expr '(' $ac_mid ')' - 1`
18848 if test $ac_mid -le $ac_hi; then
18849 ac_lo= ac_hi=
18850 break
18851 fi
18852 ac_mid=`expr 2 '*' $ac_mid`
18853 fi
18854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18855 done
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18859
18860 ac_lo= ac_hi=
18861 fi
18862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18863 fi
18864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18865 # Binary search between lo and hi bounds.
18866 while test "x$ac_lo" != "x$ac_hi"; do
18867 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18868 cat >conftest.$ac_ext <<_ACEOF
18869 /* confdefs.h. */
18870 _ACEOF
18871 cat confdefs.h >>conftest.$ac_ext
18872 cat >>conftest.$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 $ac_includes_default
18875 int
18876 main ()
18877 {
18878 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18879 test_array [0] = 0
18880
18881 ;
18882 return 0;
18883 }
18884 _ACEOF
18885 rm -f conftest.$ac_objext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18887 (eval $ac_compile) 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 ac_hi=$ac_mid
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18910
18911 ac_lo=`expr '(' $ac_mid ')' + 1`
18912 fi
18913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18914 done
18915 case $ac_lo in
18916 ?*) ac_cv_sizeof_short=$ac_lo;;
18917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18918 See \`config.log' for more details." >&5
18919 echo "$as_me: error: cannot compute sizeof (short), 77
18920 See \`config.log' for more details." >&2;}
18921 { (exit 1); exit 1; }; } ;;
18922 esac
18923 else
18924 if test "$cross_compiling" = yes; then
18925 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18926 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18927 { (exit 1); exit 1; }; }
18928 else
18929 cat >conftest.$ac_ext <<_ACEOF
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 $ac_includes_default
18936 long longval () { return (long) (sizeof (short)); }
18937 unsigned long ulongval () { return (long) (sizeof (short)); }
18938 #include <stdio.h>
18939 #include <stdlib.h>
18940 int
18941 main ()
18942 {
18943
18944 FILE *f = fopen ("conftest.val", "w");
18945 if (! f)
18946 exit (1);
18947 if (((long) (sizeof (short))) < 0)
18948 {
18949 long i = longval ();
18950 if (i != ((long) (sizeof (short))))
18951 exit (1);
18952 fprintf (f, "%ld\n", i);
18953 }
18954 else
18955 {
18956 unsigned long i = ulongval ();
18957 if (i != ((long) (sizeof (short))))
18958 exit (1);
18959 fprintf (f, "%lu\n", i);
18960 }
18961 exit (ferror (f) || fclose (f) != 0);
18962
18963 ;
18964 return 0;
18965 }
18966 _ACEOF
18967 rm -f conftest$ac_exeext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18969 (eval $ac_link) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_sizeof_short=`cat conftest.val`
18979 else
18980 echo "$as_me: program exited with status $ac_status" >&5
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 ( exit $ac_status )
18985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18986 See \`config.log' for more details." >&5
18987 echo "$as_me: error: cannot compute sizeof (short), 77
18988 See \`config.log' for more details." >&2;}
18989 { (exit 1); exit 1; }; }
18990 fi
18991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18992 fi
18993 fi
18994 rm -f conftest.val
18995 else
18996 ac_cv_sizeof_short=0
18997 fi
18998 fi
18999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19000 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19001 cat >>confdefs.h <<_ACEOF
19002 #define SIZEOF_SHORT $ac_cv_sizeof_short
19003 _ACEOF
19004
19005
19006 echo "$as_me:$LINENO: checking for void *" >&5
19007 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19008 if test "${ac_cv_type_void_p+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 else
19011 cat >conftest.$ac_ext <<_ACEOF
19012 /* confdefs.h. */
19013 _ACEOF
19014 cat confdefs.h >>conftest.$ac_ext
19015 cat >>conftest.$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19018 int
19019 main ()
19020 {
19021 if ((void * *) 0)
19022 return 0;
19023 if (sizeof (void *))
19024 return 0;
19025 ;
19026 return 0;
19027 }
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19031 (eval $ac_compile) 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } &&
19038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19041 ac_status=$?
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; } &&
19044 { ac_try='test -s conftest.$ac_objext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19047 ac_status=$?
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19050 ac_cv_type_void_p=yes
19051 else
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19054
19055 ac_cv_type_void_p=no
19056 fi
19057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19058 fi
19059 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19060 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19061
19062 echo "$as_me:$LINENO: checking size of void *" >&5
19063 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19064 if test "${ac_cv_sizeof_void_p+set}" = set; then
19065 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 else
19067 if test "$ac_cv_type_void_p" = yes; then
19068 # The cast to unsigned long works around a bug in the HP C Compiler
19069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19071 # This bug is HP SR number 8606223364.
19072 if test "$cross_compiling" = yes; then
19073 # Depending upon the size, compute the lo and hi bounds.
19074 cat >conftest.$ac_ext <<_ACEOF
19075 /* confdefs.h. */
19076 _ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 int
19082 main ()
19083 {
19084 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19085 test_array [0] = 0
19086
19087 ;
19088 return 0;
19089 }
19090 _ACEOF
19091 rm -f conftest.$ac_objext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19093 (eval $ac_compile) 2>conftest.er1
19094 ac_status=$?
19095 grep -v '^ *+' conftest.er1 >conftest.err
19096 rm -f conftest.er1
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19103 ac_status=$?
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; } &&
19106 { ac_try='test -s conftest.$ac_objext'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19109 ac_status=$?
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; }; then
19112 ac_lo=0 ac_mid=0
19113 while :; do
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19121 int
19122 main ()
19123 {
19124 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19125 test_array [0] = 0
19126
19127 ;
19128 return 0;
19129 }
19130 _ACEOF
19131 rm -f conftest.$ac_objext
19132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19133 (eval $ac_compile) 2>conftest.er1
19134 ac_status=$?
19135 grep -v '^ *+' conftest.er1 >conftest.err
19136 rm -f conftest.er1
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; } &&
19146 { ac_try='test -s conftest.$ac_objext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152 ac_hi=$ac_mid; break
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19156
19157 ac_lo=`expr $ac_mid + 1`
19158 if test $ac_lo -le $ac_mid; then
19159 ac_lo= ac_hi=
19160 break
19161 fi
19162 ac_mid=`expr 2 '*' $ac_mid + 1`
19163 fi
19164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19165 done
19166 else
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19169
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 int
19178 main ()
19179 {
19180 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19181 test_array [0] = 0
19182
19183 ;
19184 return 0;
19185 }
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_hi=-1 ac_mid=-1
19209 while :; do
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 $ac_includes_default
19217 int
19218 main ()
19219 {
19220 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19221 test_array [0] = 0
19222
19223 ;
19224 return 0;
19225 }
19226 _ACEOF
19227 rm -f conftest.$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19239 ac_status=$?
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; } &&
19242 { ac_try='test -s conftest.$ac_objext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19245 ac_status=$?
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_lo=$ac_mid; break
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 ac_hi=`expr '(' $ac_mid ')' - 1`
19254 if test $ac_mid -le $ac_hi; then
19255 ac_lo= ac_hi=
19256 break
19257 fi
19258 ac_mid=`expr 2 '*' $ac_mid`
19259 fi
19260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19261 done
19262 else
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19265
19266 ac_lo= ac_hi=
19267 fi
19268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19269 fi
19270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19271 # Binary search between lo and hi bounds.
19272 while test "x$ac_lo" != "x$ac_hi"; do
19273 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19274 cat >conftest.$ac_ext <<_ACEOF
19275 /* confdefs.h. */
19276 _ACEOF
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19280 $ac_includes_default
19281 int
19282 main ()
19283 {
19284 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19285 test_array [0] = 0
19286
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19294 ac_status=$?
19295 grep -v '^ *+' conftest.er1 >conftest.err
19296 rm -f conftest.er1
19297 cat conftest.err >&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try='test -s conftest.$ac_objext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_hi=$ac_mid
19313 else
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19316
19317 ac_lo=`expr '(' $ac_mid ')' + 1`
19318 fi
19319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19320 done
19321 case $ac_lo in
19322 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19324 See \`config.log' for more details." >&5
19325 echo "$as_me: error: cannot compute sizeof (void *), 77
19326 See \`config.log' for more details." >&2;}
19327 { (exit 1); exit 1; }; } ;;
19328 esac
19329 else
19330 if test "$cross_compiling" = yes; then
19331 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19332 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19333 { (exit 1); exit 1; }; }
19334 else
19335 cat >conftest.$ac_ext <<_ACEOF
19336 /* confdefs.h. */
19337 _ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 $ac_includes_default
19342 long longval () { return (long) (sizeof (void *)); }
19343 unsigned long ulongval () { return (long) (sizeof (void *)); }
19344 #include <stdio.h>
19345 #include <stdlib.h>
19346 int
19347 main ()
19348 {
19349
19350 FILE *f = fopen ("conftest.val", "w");
19351 if (! f)
19352 exit (1);
19353 if (((long) (sizeof (void *))) < 0)
19354 {
19355 long i = longval ();
19356 if (i != ((long) (sizeof (void *))))
19357 exit (1);
19358 fprintf (f, "%ld\n", i);
19359 }
19360 else
19361 {
19362 unsigned long i = ulongval ();
19363 if (i != ((long) (sizeof (void *))))
19364 exit (1);
19365 fprintf (f, "%lu\n", i);
19366 }
19367 exit (ferror (f) || fclose (f) != 0);
19368
19369 ;
19370 return 0;
19371 }
19372 _ACEOF
19373 rm -f conftest$ac_exeext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19375 (eval $ac_link) 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_cv_sizeof_void_p=`cat conftest.val`
19385 else
19386 echo "$as_me: program exited with status $ac_status" >&5
19387 echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19389
19390 ( exit $ac_status )
19391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19392 See \`config.log' for more details." >&5
19393 echo "$as_me: error: cannot compute sizeof (void *), 77
19394 See \`config.log' for more details." >&2;}
19395 { (exit 1); exit 1; }; }
19396 fi
19397 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19398 fi
19399 fi
19400 rm -f conftest.val
19401 else
19402 ac_cv_sizeof_void_p=0
19403 fi
19404 fi
19405 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19406 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19409 _ACEOF
19410
19411
19412 echo "$as_me:$LINENO: checking for int" >&5
19413 echo $ECHO_N "checking for int... $ECHO_C" >&6
19414 if test "${ac_cv_type_int+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 else
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 int
19425 main ()
19426 {
19427 if ((int *) 0)
19428 return 0;
19429 if (sizeof (int))
19430 return 0;
19431 ;
19432 return 0;
19433 }
19434 _ACEOF
19435 rm -f conftest.$ac_objext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19437 (eval $ac_compile) 2>conftest.er1
19438 ac_status=$?
19439 grep -v '^ *+' conftest.er1 >conftest.err
19440 rm -f conftest.er1
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19447 ac_status=$?
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; } &&
19450 { ac_try='test -s conftest.$ac_objext'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19453 ac_status=$?
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; }; then
19456 ac_cv_type_int=yes
19457 else
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19460
19461 ac_cv_type_int=no
19462 fi
19463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19464 fi
19465 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19466 echo "${ECHO_T}$ac_cv_type_int" >&6
19467
19468 echo "$as_me:$LINENO: checking size of int" >&5
19469 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19470 if test "${ac_cv_sizeof_int+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 else
19473 if test "$ac_cv_type_int" = yes; then
19474 # The cast to unsigned long works around a bug in the HP C Compiler
19475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19477 # This bug is HP SR number 8606223364.
19478 if test "$cross_compiling" = yes; then
19479 # Depending upon the size, compute the lo and hi bounds.
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h. */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 int
19488 main ()
19489 {
19490 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19491 test_array [0] = 0
19492
19493 ;
19494 return 0;
19495 }
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19499 (eval $ac_compile) 2>conftest.er1
19500 ac_status=$?
19501 grep -v '^ *+' conftest.er1 >conftest.err
19502 rm -f conftest.er1
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19509 ac_status=$?
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; } &&
19512 { ac_try='test -s conftest.$ac_objext'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19515 ac_status=$?
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; }; then
19518 ac_lo=0 ac_mid=0
19519 while :; do
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h. */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 $ac_includes_default
19527 int
19528 main ()
19529 {
19530 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19531 test_array [0] = 0
19532
19533 ;
19534 return 0;
19535 }
19536 _ACEOF
19537 rm -f conftest.$ac_objext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19539 (eval $ac_compile) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19549 ac_status=$?
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; } &&
19552 { ac_try='test -s conftest.$ac_objext'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19555 ac_status=$?
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; }; then
19558 ac_hi=$ac_mid; break
19559 else
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 ac_lo=`expr $ac_mid + 1`
19564 if test $ac_lo -le $ac_mid; then
19565 ac_lo= ac_hi=
19566 break
19567 fi
19568 ac_mid=`expr 2 '*' $ac_mid + 1`
19569 fi
19570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19571 done
19572 else
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19575
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 int
19584 main ()
19585 {
19586 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19587 test_array [0] = 0
19588
19589 ;
19590 return 0;
19591 }
19592 _ACEOF
19593 rm -f conftest.$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19605 ac_status=$?
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19611 ac_status=$?
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19614 ac_hi=-1 ac_mid=-1
19615 while :; do
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 int
19624 main ()
19625 {
19626 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19627 test_array [0] = 0
19628
19629 ;
19630 return 0;
19631 }
19632 _ACEOF
19633 rm -f conftest.$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19636 ac_status=$?
19637 grep -v '^ *+' conftest.er1 >conftest.err
19638 rm -f conftest.er1
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19645 ac_status=$?
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; } &&
19648 { ac_try='test -s conftest.$ac_objext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_lo=$ac_mid; break
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_hi=`expr '(' $ac_mid ')' - 1`
19660 if test $ac_mid -le $ac_hi; then
19661 ac_lo= ac_hi=
19662 break
19663 fi
19664 ac_mid=`expr 2 '*' $ac_mid`
19665 fi
19666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19667 done
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19671
19672 ac_lo= ac_hi=
19673 fi
19674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19675 fi
19676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19677 # Binary search between lo and hi bounds.
19678 while test "x$ac_lo" != "x$ac_hi"; do
19679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 int
19688 main ()
19689 {
19690 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19691 test_array [0] = 0
19692
19693 ;
19694 return 0;
19695 }
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19699 (eval $ac_compile) 2>conftest.er1
19700 ac_status=$?
19701 grep -v '^ *+' conftest.er1 >conftest.err
19702 rm -f conftest.er1
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; } &&
19712 { ac_try='test -s conftest.$ac_objext'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19715 ac_status=$?
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; }; then
19718 ac_hi=$ac_mid
19719 else
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19722
19723 ac_lo=`expr '(' $ac_mid ')' + 1`
19724 fi
19725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19726 done
19727 case $ac_lo in
19728 ?*) ac_cv_sizeof_int=$ac_lo;;
19729 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19730 See \`config.log' for more details." >&5
19731 echo "$as_me: error: cannot compute sizeof (int), 77
19732 See \`config.log' for more details." >&2;}
19733 { (exit 1); exit 1; }; } ;;
19734 esac
19735 else
19736 if test "$cross_compiling" = yes; then
19737 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19738 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19739 { (exit 1); exit 1; }; }
19740 else
19741 cat >conftest.$ac_ext <<_ACEOF
19742 /* confdefs.h. */
19743 _ACEOF
19744 cat confdefs.h >>conftest.$ac_ext
19745 cat >>conftest.$ac_ext <<_ACEOF
19746 /* end confdefs.h. */
19747 $ac_includes_default
19748 long longval () { return (long) (sizeof (int)); }
19749 unsigned long ulongval () { return (long) (sizeof (int)); }
19750 #include <stdio.h>
19751 #include <stdlib.h>
19752 int
19753 main ()
19754 {
19755
19756 FILE *f = fopen ("conftest.val", "w");
19757 if (! f)
19758 exit (1);
19759 if (((long) (sizeof (int))) < 0)
19760 {
19761 long i = longval ();
19762 if (i != ((long) (sizeof (int))))
19763 exit (1);
19764 fprintf (f, "%ld\n", i);
19765 }
19766 else
19767 {
19768 unsigned long i = ulongval ();
19769 if (i != ((long) (sizeof (int))))
19770 exit (1);
19771 fprintf (f, "%lu\n", i);
19772 }
19773 exit (ferror (f) || fclose (f) != 0);
19774
19775 ;
19776 return 0;
19777 }
19778 _ACEOF
19779 rm -f conftest$ac_exeext
19780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19781 (eval $ac_link) 2>&5
19782 ac_status=$?
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19787 ac_status=$?
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_cv_sizeof_int=`cat conftest.val`
19791 else
19792 echo "$as_me: program exited with status $ac_status" >&5
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.$ac_ext >&5
19795
19796 ( exit $ac_status )
19797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19798 See \`config.log' for more details." >&5
19799 echo "$as_me: error: cannot compute sizeof (int), 77
19800 See \`config.log' for more details." >&2;}
19801 { (exit 1); exit 1; }; }
19802 fi
19803 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19804 fi
19805 fi
19806 rm -f conftest.val
19807 else
19808 ac_cv_sizeof_int=0
19809 fi
19810 fi
19811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19812 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19813 cat >>confdefs.h <<_ACEOF
19814 #define SIZEOF_INT $ac_cv_sizeof_int
19815 _ACEOF
19816
19817
19818 echo "$as_me:$LINENO: checking for long" >&5
19819 echo $ECHO_N "checking for long... $ECHO_C" >&6
19820 if test "${ac_cv_type_long+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 else
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19830 int
19831 main ()
19832 {
19833 if ((long *) 0)
19834 return 0;
19835 if (sizeof (long))
19836 return 0;
19837 ;
19838 return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19843 (eval $ac_compile) 2>conftest.er1
19844 ac_status=$?
19845 grep -v '^ *+' conftest.er1 >conftest.err
19846 rm -f conftest.er1
19847 cat conftest.err >&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19853 ac_status=$?
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; } &&
19856 { ac_try='test -s conftest.$ac_objext'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19859 ac_status=$?
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 ac_cv_type_long=yes
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19866
19867 ac_cv_type_long=no
19868 fi
19869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19870 fi
19871 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19872 echo "${ECHO_T}$ac_cv_type_long" >&6
19873
19874 echo "$as_me:$LINENO: checking size of long" >&5
19875 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19876 if test "${ac_cv_sizeof_long+set}" = set; then
19877 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 else
19879 if test "$ac_cv_type_long" = yes; then
19880 # The cast to unsigned long works around a bug in the HP C Compiler
19881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19883 # This bug is HP SR number 8606223364.
19884 if test "$cross_compiling" = yes; then
19885 # Depending upon the size, compute the lo and hi bounds.
19886 cat >conftest.$ac_ext <<_ACEOF
19887 /* confdefs.h. */
19888 _ACEOF
19889 cat confdefs.h >>conftest.$ac_ext
19890 cat >>conftest.$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 $ac_includes_default
19893 int
19894 main ()
19895 {
19896 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19897 test_array [0] = 0
19898
19899 ;
19900 return 0;
19901 }
19902 _ACEOF
19903 rm -f conftest.$ac_objext
19904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19905 (eval $ac_compile) 2>conftest.er1
19906 ac_status=$?
19907 grep -v '^ *+' conftest.er1 >conftest.err
19908 rm -f conftest.er1
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } &&
19912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19915 ac_status=$?
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 ac_lo=0 ac_mid=0
19925 while :; do
19926 cat >conftest.$ac_ext <<_ACEOF
19927 /* confdefs.h. */
19928 _ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 int
19934 main ()
19935 {
19936 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19937 test_array [0] = 0
19938
19939 ;
19940 return 0;
19941 }
19942 _ACEOF
19943 rm -f conftest.$ac_objext
19944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19945 (eval $ac_compile) 2>conftest.er1
19946 ac_status=$?
19947 grep -v '^ *+' conftest.er1 >conftest.err
19948 rm -f conftest.er1
19949 cat conftest.err >&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } &&
19952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19954 (eval $ac_try) 2>&5
19955 ac_status=$?
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); }; } &&
19958 { ac_try='test -s conftest.$ac_objext'
19959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19960 (eval $ac_try) 2>&5
19961 ac_status=$?
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); }; }; then
19964 ac_hi=$ac_mid; break
19965 else
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19968
19969 ac_lo=`expr $ac_mid + 1`
19970 if test $ac_lo -le $ac_mid; then
19971 ac_lo= ac_hi=
19972 break
19973 fi
19974 ac_mid=`expr 2 '*' $ac_mid + 1`
19975 fi
19976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19977 done
19978 else
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.$ac_ext >&5
19981
19982 cat >conftest.$ac_ext <<_ACEOF
19983 /* confdefs.h. */
19984 _ACEOF
19985 cat confdefs.h >>conftest.$ac_ext
19986 cat >>conftest.$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 $ac_includes_default
19989 int
19990 main ()
19991 {
19992 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19993 test_array [0] = 0
19994
19995 ;
19996 return 0;
19997 }
19998 _ACEOF
19999 rm -f conftest.$ac_objext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20001 (eval $ac_compile) 2>conftest.er1
20002 ac_status=$?
20003 grep -v '^ *+' conftest.er1 >conftest.err
20004 rm -f conftest.er1
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20011 ac_status=$?
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try='test -s conftest.$ac_objext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20017 ac_status=$?
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_hi=-1 ac_mid=-1
20021 while :; do
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20029 int
20030 main ()
20031 {
20032 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20033 test_array [0] = 0
20034
20035 ;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest.$ac_objext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20041 (eval $ac_compile) 2>conftest.er1
20042 ac_status=$?
20043 grep -v '^ *+' conftest.er1 >conftest.err
20044 rm -f conftest.er1
20045 cat conftest.err >&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try='test -s conftest.$ac_objext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20057 ac_status=$?
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_lo=$ac_mid; break
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20064
20065 ac_hi=`expr '(' $ac_mid ')' - 1`
20066 if test $ac_mid -le $ac_hi; then
20067 ac_lo= ac_hi=
20068 break
20069 fi
20070 ac_mid=`expr 2 '*' $ac_mid`
20071 fi
20072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20073 done
20074 else
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.$ac_ext >&5
20077
20078 ac_lo= ac_hi=
20079 fi
20080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20081 fi
20082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20083 # Binary search between lo and hi bounds.
20084 while test "x$ac_lo" != "x$ac_hi"; do
20085 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 int
20094 main ()
20095 {
20096 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20097 test_array [0] = 0
20098
20099 ;
20100 return 0;
20101 }
20102 _ACEOF
20103 rm -f conftest.$ac_objext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20105 (eval $ac_compile) 2>conftest.er1
20106 ac_status=$?
20107 grep -v '^ *+' conftest.er1 >conftest.err
20108 rm -f conftest.er1
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20115 ac_status=$?
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; } &&
20118 { ac_try='test -s conftest.$ac_objext'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 ac_hi=$ac_mid
20125 else
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20128
20129 ac_lo=`expr '(' $ac_mid ')' + 1`
20130 fi
20131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20132 done
20133 case $ac_lo in
20134 ?*) ac_cv_sizeof_long=$ac_lo;;
20135 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20136 See \`config.log' for more details." >&5
20137 echo "$as_me: error: cannot compute sizeof (long), 77
20138 See \`config.log' for more details." >&2;}
20139 { (exit 1); exit 1; }; } ;;
20140 esac
20141 else
20142 if test "$cross_compiling" = yes; then
20143 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20144 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20145 { (exit 1); exit 1; }; }
20146 else
20147 cat >conftest.$ac_ext <<_ACEOF
20148 /* confdefs.h. */
20149 _ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 $ac_includes_default
20154 long longval () { return (long) (sizeof (long)); }
20155 unsigned long ulongval () { return (long) (sizeof (long)); }
20156 #include <stdio.h>
20157 #include <stdlib.h>
20158 int
20159 main ()
20160 {
20161
20162 FILE *f = fopen ("conftest.val", "w");
20163 if (! f)
20164 exit (1);
20165 if (((long) (sizeof (long))) < 0)
20166 {
20167 long i = longval ();
20168 if (i != ((long) (sizeof (long))))
20169 exit (1);
20170 fprintf (f, "%ld\n", i);
20171 }
20172 else
20173 {
20174 unsigned long i = ulongval ();
20175 if (i != ((long) (sizeof (long))))
20176 exit (1);
20177 fprintf (f, "%lu\n", i);
20178 }
20179 exit (ferror (f) || fclose (f) != 0);
20180
20181 ;
20182 return 0;
20183 }
20184 _ACEOF
20185 rm -f conftest$ac_exeext
20186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20187 (eval $ac_link) 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20193 ac_status=$?
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; }; then
20196 ac_cv_sizeof_long=`cat conftest.val`
20197 else
20198 echo "$as_me: program exited with status $ac_status" >&5
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20201
20202 ( exit $ac_status )
20203 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20204 See \`config.log' for more details." >&5
20205 echo "$as_me: error: cannot compute sizeof (long), 77
20206 See \`config.log' for more details." >&2;}
20207 { (exit 1); exit 1; }; }
20208 fi
20209 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20210 fi
20211 fi
20212 rm -f conftest.val
20213 else
20214 ac_cv_sizeof_long=0
20215 fi
20216 fi
20217 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20218 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20219 cat >>confdefs.h <<_ACEOF
20220 #define SIZEOF_LONG $ac_cv_sizeof_long
20221 _ACEOF
20222
20223
20224 echo "$as_me:$LINENO: checking for size_t" >&5
20225 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20226 if test "${ac_cv_type_size_t+set}" = set; then
20227 echo $ECHO_N "(cached) $ECHO_C" >&6
20228 else
20229 cat >conftest.$ac_ext <<_ACEOF
20230 /* confdefs.h. */
20231 _ACEOF
20232 cat confdefs.h >>conftest.$ac_ext
20233 cat >>conftest.$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20235 $ac_includes_default
20236 int
20237 main ()
20238 {
20239 if ((size_t *) 0)
20240 return 0;
20241 if (sizeof (size_t))
20242 return 0;
20243 ;
20244 return 0;
20245 }
20246 _ACEOF
20247 rm -f conftest.$ac_objext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20249 (eval $ac_compile) 2>conftest.er1
20250 ac_status=$?
20251 grep -v '^ *+' conftest.er1 >conftest.err
20252 rm -f conftest.er1
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20259 ac_status=$?
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; } &&
20262 { ac_try='test -s conftest.$ac_objext'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20265 ac_status=$?
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; }; then
20268 ac_cv_type_size_t=yes
20269 else
20270 echo "$as_me: failed program was:" >&5
20271 sed 's/^/| /' conftest.$ac_ext >&5
20272
20273 ac_cv_type_size_t=no
20274 fi
20275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20276 fi
20277 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20278 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20279
20280 echo "$as_me:$LINENO: checking size of size_t" >&5
20281 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20282 if test "${ac_cv_sizeof_size_t+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 else
20285 if test "$ac_cv_type_size_t" = yes; then
20286 # The cast to unsigned long works around a bug in the HP C Compiler
20287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20289 # This bug is HP SR number 8606223364.
20290 if test "$cross_compiling" = yes; then
20291 # Depending upon the size, compute the lo and hi bounds.
20292 cat >conftest.$ac_ext <<_ACEOF
20293 /* confdefs.h. */
20294 _ACEOF
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 $ac_includes_default
20299 int
20300 main ()
20301 {
20302 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20303 test_array [0] = 0
20304
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 rm -f conftest.$ac_objext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20311 (eval $ac_compile) 2>conftest.er1
20312 ac_status=$?
20313 grep -v '^ *+' conftest.er1 >conftest.err
20314 rm -f conftest.er1
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20321 ac_status=$?
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; } &&
20324 { ac_try='test -s conftest.$ac_objext'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20327 ac_status=$?
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20330 ac_lo=0 ac_mid=0
20331 while :; do
20332 cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h. */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 int
20340 main ()
20341 {
20342 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20343 test_array [0] = 0
20344
20345 ;
20346 return 0;
20347 }
20348 _ACEOF
20349 rm -f conftest.$ac_objext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20351 (eval $ac_compile) 2>conftest.er1
20352 ac_status=$?
20353 grep -v '^ *+' conftest.er1 >conftest.err
20354 rm -f conftest.er1
20355 cat conftest.err >&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try='test -s conftest.$ac_objext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_hi=$ac_mid; break
20371 else
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20374
20375 ac_lo=`expr $ac_mid + 1`
20376 if test $ac_lo -le $ac_mid; then
20377 ac_lo= ac_hi=
20378 break
20379 fi
20380 ac_mid=`expr 2 '*' $ac_mid + 1`
20381 fi
20382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20383 done
20384 else
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20387
20388 cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 $ac_includes_default
20395 int
20396 main ()
20397 {
20398 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20399 test_array [0] = 0
20400
20401 ;
20402 return 0;
20403 }
20404 _ACEOF
20405 rm -f conftest.$ac_objext
20406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20407 (eval $ac_compile) 2>conftest.er1
20408 ac_status=$?
20409 grep -v '^ *+' conftest.er1 >conftest.err
20410 rm -f conftest.er1
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } &&
20414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; } &&
20420 { ac_try='test -s conftest.$ac_objext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20423 ac_status=$?
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 ac_hi=-1 ac_mid=-1
20427 while :; do
20428 cat >conftest.$ac_ext <<_ACEOF
20429 /* confdefs.h. */
20430 _ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 $ac_includes_default
20435 int
20436 main ()
20437 {
20438 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20439 test_array [0] = 0
20440
20441 ;
20442 return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest.$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } &&
20454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20457 ac_status=$?
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; } &&
20460 { ac_try='test -s conftest.$ac_objext'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 ac_lo=$ac_mid; break
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20470
20471 ac_hi=`expr '(' $ac_mid ')' - 1`
20472 if test $ac_mid -le $ac_hi; then
20473 ac_lo= ac_hi=
20474 break
20475 fi
20476 ac_mid=`expr 2 '*' $ac_mid`
20477 fi
20478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20479 done
20480 else
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.$ac_ext >&5
20483
20484 ac_lo= ac_hi=
20485 fi
20486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20487 fi
20488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20489 # Binary search between lo and hi bounds.
20490 while test "x$ac_lo" != "x$ac_hi"; do
20491 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 int
20500 main ()
20501 {
20502 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20503 test_array [0] = 0
20504
20505 ;
20506 return 0;
20507 }
20508 _ACEOF
20509 rm -f conftest.$ac_objext
20510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20511 (eval $ac_compile) 2>conftest.er1
20512 ac_status=$?
20513 grep -v '^ *+' conftest.er1 >conftest.err
20514 rm -f conftest.er1
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } &&
20518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20521 ac_status=$?
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; } &&
20524 { ac_try='test -s conftest.$ac_objext'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20527 ac_status=$?
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; }; then
20530 ac_hi=$ac_mid
20531 else
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20534
20535 ac_lo=`expr '(' $ac_mid ')' + 1`
20536 fi
20537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20538 done
20539 case $ac_lo in
20540 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20541 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot compute sizeof (size_t), 77
20544 See \`config.log' for more details." >&2;}
20545 { (exit 1); exit 1; }; } ;;
20546 esac
20547 else
20548 if test "$cross_compiling" = yes; then
20549 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20550 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20551 { (exit 1); exit 1; }; }
20552 else
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h. */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20560 long longval () { return (long) (sizeof (size_t)); }
20561 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20562 #include <stdio.h>
20563 #include <stdlib.h>
20564 int
20565 main ()
20566 {
20567
20568 FILE *f = fopen ("conftest.val", "w");
20569 if (! f)
20570 exit (1);
20571 if (((long) (sizeof (size_t))) < 0)
20572 {
20573 long i = longval ();
20574 if (i != ((long) (sizeof (size_t))))
20575 exit (1);
20576 fprintf (f, "%ld\n", i);
20577 }
20578 else
20579 {
20580 unsigned long i = ulongval ();
20581 if (i != ((long) (sizeof (size_t))))
20582 exit (1);
20583 fprintf (f, "%lu\n", i);
20584 }
20585 exit (ferror (f) || fclose (f) != 0);
20586
20587 ;
20588 return 0;
20589 }
20590 _ACEOF
20591 rm -f conftest$ac_exeext
20592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20593 (eval $ac_link) 2>&5
20594 ac_status=$?
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20599 ac_status=$?
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 ac_cv_sizeof_size_t=`cat conftest.val`
20603 else
20604 echo "$as_me: program exited with status $ac_status" >&5
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20607
20608 ( exit $ac_status )
20609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20610 See \`config.log' for more details." >&5
20611 echo "$as_me: error: cannot compute sizeof (size_t), 77
20612 See \`config.log' for more details." >&2;}
20613 { (exit 1); exit 1; }; }
20614 fi
20615 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20616 fi
20617 fi
20618 rm -f conftest.val
20619 else
20620 ac_cv_sizeof_size_t=0
20621 fi
20622 fi
20623 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20624 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20625 cat >>confdefs.h <<_ACEOF
20626 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20627 _ACEOF
20628
20629
20630
20631 case "${host}" in
20632 arm-*-linux* )
20633 echo "$as_me:$LINENO: checking for long long" >&5
20634 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20635 if test "${ac_cv_type_long_long+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 else
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20645 int
20646 main ()
20647 {
20648 if ((long long *) 0)
20649 return 0;
20650 if (sizeof (long long))
20651 return 0;
20652 ;
20653 return 0;
20654 }
20655 _ACEOF
20656 rm -f conftest.$ac_objext
20657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20658 (eval $ac_compile) 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20668 ac_status=$?
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; } &&
20671 { ac_try='test -s conftest.$ac_objext'
20672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673 (eval $ac_try) 2>&5
20674 ac_status=$?
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; }; then
20677 ac_cv_type_long_long=yes
20678 else
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20681
20682 ac_cv_type_long_long=no
20683 fi
20684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20685 fi
20686 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20687 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20688
20689 echo "$as_me:$LINENO: checking size of long long" >&5
20690 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20691 if test "${ac_cv_sizeof_long_long+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20693 else
20694 if test "$ac_cv_type_long_long" = yes; then
20695 # The cast to unsigned long works around a bug in the HP C Compiler
20696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20698 # This bug is HP SR number 8606223364.
20699 if test "$cross_compiling" = yes; then
20700 # Depending upon the size, compute the lo and hi bounds.
20701 cat >conftest.$ac_ext <<_ACEOF
20702 /* confdefs.h. */
20703 _ACEOF
20704 cat confdefs.h >>conftest.$ac_ext
20705 cat >>conftest.$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 $ac_includes_default
20708 int
20709 main ()
20710 {
20711 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20712 test_array [0] = 0
20713
20714 ;
20715 return 0;
20716 }
20717 _ACEOF
20718 rm -f conftest.$ac_objext
20719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20720 (eval $ac_compile) 2>conftest.er1
20721 ac_status=$?
20722 grep -v '^ *+' conftest.er1 >conftest.err
20723 rm -f conftest.er1
20724 cat conftest.err >&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } &&
20727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20729 (eval $ac_try) 2>&5
20730 ac_status=$?
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); }; } &&
20733 { ac_try='test -s conftest.$ac_objext'
20734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735 (eval $ac_try) 2>&5
20736 ac_status=$?
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; }; then
20739 ac_lo=0 ac_mid=0
20740 while :; do
20741 cat >conftest.$ac_ext <<_ACEOF
20742 /* confdefs.h. */
20743 _ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 $ac_includes_default
20748 int
20749 main ()
20750 {
20751 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20752 test_array [0] = 0
20753
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20770 ac_status=$?
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; } &&
20773 { ac_try='test -s conftest.$ac_objext'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20776 ac_status=$?
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_hi=$ac_mid; break
20780 else
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20783
20784 ac_lo=`expr $ac_mid + 1`
20785 if test $ac_lo -le $ac_mid; then
20786 ac_lo= ac_hi=
20787 break
20788 fi
20789 ac_mid=`expr 2 '*' $ac_mid + 1`
20790 fi
20791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20792 done
20793 else
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20796
20797 cat >conftest.$ac_ext <<_ACEOF
20798 /* confdefs.h. */
20799 _ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20804 int
20805 main ()
20806 {
20807 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20808 test_array [0] = 0
20809
20810 ;
20811 return 0;
20812 }
20813 _ACEOF
20814 rm -f conftest.$ac_objext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20816 (eval $ac_compile) 2>conftest.er1
20817 ac_status=$?
20818 grep -v '^ *+' conftest.er1 >conftest.err
20819 rm -f conftest.er1
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } &&
20823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 ac_hi=-1 ac_mid=-1
20836 while :; do
20837 cat >conftest.$ac_ext <<_ACEOF
20838 /* confdefs.h. */
20839 _ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 $ac_includes_default
20844 int
20845 main ()
20846 {
20847 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20848 test_array [0] = 0
20849
20850 ;
20851 return 0;
20852 }
20853 _ACEOF
20854 rm -f conftest.$ac_objext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20856 (eval $ac_compile) 2>conftest.er1
20857 ac_status=$?
20858 grep -v '^ *+' conftest.er1 >conftest.err
20859 rm -f conftest.er1
20860 cat conftest.err >&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); } &&
20863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865 (eval $ac_try) 2>&5
20866 ac_status=$?
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); }; } &&
20869 { ac_try='test -s conftest.$ac_objext'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 ac_lo=$ac_mid; break
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20879
20880 ac_hi=`expr '(' $ac_mid ')' - 1`
20881 if test $ac_mid -le $ac_hi; then
20882 ac_lo= ac_hi=
20883 break
20884 fi
20885 ac_mid=`expr 2 '*' $ac_mid`
20886 fi
20887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20888 done
20889 else
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20892
20893 ac_lo= ac_hi=
20894 fi
20895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20896 fi
20897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20898 # Binary search between lo and hi bounds.
20899 while test "x$ac_lo" != "x$ac_hi"; do
20900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20901 cat >conftest.$ac_ext <<_ACEOF
20902 /* confdefs.h. */
20903 _ACEOF
20904 cat confdefs.h >>conftest.$ac_ext
20905 cat >>conftest.$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20907 $ac_includes_default
20908 int
20909 main ()
20910 {
20911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20912 test_array [0] = 0
20913
20914 ;
20915 return 0;
20916 }
20917 _ACEOF
20918 rm -f conftest.$ac_objext
20919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20920 (eval $ac_compile) 2>conftest.er1
20921 ac_status=$?
20922 grep -v '^ *+' conftest.er1 >conftest.err
20923 rm -f conftest.er1
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20930 ac_status=$?
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; } &&
20933 { ac_try='test -s conftest.$ac_objext'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; }; then
20939 ac_hi=$ac_mid
20940 else
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20943
20944 ac_lo=`expr '(' $ac_mid ')' + 1`
20945 fi
20946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20947 done
20948 case $ac_lo in
20949 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20950 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20951 See \`config.log' for more details." >&5
20952 echo "$as_me: error: cannot compute sizeof (long long), 77
20953 See \`config.log' for more details." >&2;}
20954 { (exit 1); exit 1; }; } ;;
20955 esac
20956 else
20957 if test "$cross_compiling" = yes; then
20958 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20959 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20960 { (exit 1); exit 1; }; }
20961 else
20962 cat >conftest.$ac_ext <<_ACEOF
20963 /* confdefs.h. */
20964 _ACEOF
20965 cat confdefs.h >>conftest.$ac_ext
20966 cat >>conftest.$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20968 $ac_includes_default
20969 long longval () { return (long) (sizeof (long long)); }
20970 unsigned long ulongval () { return (long) (sizeof (long long)); }
20971 #include <stdio.h>
20972 #include <stdlib.h>
20973 int
20974 main ()
20975 {
20976
20977 FILE *f = fopen ("conftest.val", "w");
20978 if (! f)
20979 exit (1);
20980 if (((long) (sizeof (long long))) < 0)
20981 {
20982 long i = longval ();
20983 if (i != ((long) (sizeof (long long))))
20984 exit (1);
20985 fprintf (f, "%ld\n", i);
20986 }
20987 else
20988 {
20989 unsigned long i = ulongval ();
20990 if (i != ((long) (sizeof (long long))))
20991 exit (1);
20992 fprintf (f, "%lu\n", i);
20993 }
20994 exit (ferror (f) || fclose (f) != 0);
20995
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest$ac_exeext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21002 (eval $ac_link) 2>&5
21003 ac_status=$?
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 ac_cv_sizeof_long_long=`cat conftest.val`
21012 else
21013 echo "$as_me: program exited with status $ac_status" >&5
21014 echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.$ac_ext >&5
21016
21017 ( exit $ac_status )
21018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21019 See \`config.log' for more details." >&5
21020 echo "$as_me: error: cannot compute sizeof (long long), 77
21021 See \`config.log' for more details." >&2;}
21022 { (exit 1); exit 1; }; }
21023 fi
21024 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21025 fi
21026 fi
21027 rm -f conftest.val
21028 else
21029 ac_cv_sizeof_long_long=0
21030 fi
21031 fi
21032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21033 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21034 cat >>confdefs.h <<_ACEOF
21035 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21036 _ACEOF
21037
21038
21039 ;;
21040 *-hp-hpux* )
21041 echo "$as_me:$LINENO: checking for long long" >&5
21042 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21043 if test "${ac_cv_type_long_long+set}" = set; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 else
21046 cat >conftest.$ac_ext <<_ACEOF
21047 /* confdefs.h. */
21048 _ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 $ac_includes_default
21053 int
21054 main ()
21055 {
21056 if ((long long *) 0)
21057 return 0;
21058 if (sizeof (long long))
21059 return 0;
21060 ;
21061 return 0;
21062 }
21063 _ACEOF
21064 rm -f conftest.$ac_objext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21066 (eval $ac_compile) 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } &&
21073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21076 ac_status=$?
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try='test -s conftest.$ac_objext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_type_long_long=yes
21086 else
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21089
21090 ac_cv_type_long_long=no
21091 fi
21092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21093 fi
21094 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21095 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21096
21097 echo "$as_me:$LINENO: checking size of long long" >&5
21098 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21099 if test "${ac_cv_sizeof_long_long+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21101 else
21102 if test "$ac_cv_type_long_long" = yes; then
21103 # The cast to unsigned long works around a bug in the HP C Compiler
21104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21106 # This bug is HP SR number 8606223364.
21107 if test "$cross_compiling" = yes; then
21108 # Depending upon the size, compute the lo and hi bounds.
21109 cat >conftest.$ac_ext <<_ACEOF
21110 /* confdefs.h. */
21111 _ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 int
21117 main ()
21118 {
21119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21120 test_array [0] = 0
21121
21122 ;
21123 return 0;
21124 }
21125 _ACEOF
21126 rm -f conftest.$ac_objext
21127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21128 (eval $ac_compile) 2>conftest.er1
21129 ac_status=$?
21130 grep -v '^ *+' conftest.er1 >conftest.err
21131 rm -f conftest.er1
21132 cat conftest.err >&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; } &&
21141 { ac_try='test -s conftest.$ac_objext'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21144 ac_status=$?
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; }; then
21147 ac_lo=0 ac_mid=0
21148 while :; do
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 int
21157 main ()
21158 {
21159 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21160 test_array [0] = 0
21161
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 rm -f conftest.$ac_objext
21167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21168 (eval $ac_compile) 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } &&
21175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21177 (eval $ac_try) 2>&5
21178 ac_status=$?
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); }; } &&
21181 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21187 ac_hi=$ac_mid; break
21188 else
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21191
21192 ac_lo=`expr $ac_mid + 1`
21193 if test $ac_lo -le $ac_mid; then
21194 ac_lo= ac_hi=
21195 break
21196 fi
21197 ac_mid=`expr 2 '*' $ac_mid + 1`
21198 fi
21199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21200 done
21201 else
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21204
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21212 int
21213 main ()
21214 {
21215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21216 test_array [0] = 0
21217
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21224 (eval $ac_compile) 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } &&
21231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233 (eval $ac_try) 2>&5
21234 ac_status=$?
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; } &&
21237 { ac_try='test -s conftest.$ac_objext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21240 ac_status=$?
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 ac_hi=-1 ac_mid=-1
21244 while :; do
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 int
21253 main ()
21254 {
21255 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21256 test_array [0] = 0
21257
21258 ;
21259 return 0;
21260 }
21261 _ACEOF
21262 rm -f conftest.$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21265 ac_status=$?
21266 grep -v '^ *+' conftest.er1 >conftest.err
21267 rm -f conftest.er1
21268 cat conftest.err >&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21280 ac_status=$?
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 ac_lo=$ac_mid; break
21284 else
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21287
21288 ac_hi=`expr '(' $ac_mid ')' - 1`
21289 if test $ac_mid -le $ac_hi; then
21290 ac_lo= ac_hi=
21291 break
21292 fi
21293 ac_mid=`expr 2 '*' $ac_mid`
21294 fi
21295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21296 done
21297 else
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.$ac_ext >&5
21300
21301 ac_lo= ac_hi=
21302 fi
21303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21304 fi
21305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21306 # Binary search between lo and hi bounds.
21307 while test "x$ac_lo" != "x$ac_hi"; do
21308 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21309 cat >conftest.$ac_ext <<_ACEOF
21310 /* confdefs.h. */
21311 _ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 $ac_includes_default
21316 int
21317 main ()
21318 {
21319 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21320 test_array [0] = 0
21321
21322 ;
21323 return 0;
21324 }
21325 _ACEOF
21326 rm -f conftest.$ac_objext
21327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21328 (eval $ac_compile) 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; } &&
21341 { ac_try='test -s conftest.$ac_objext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_hi=$ac_mid
21348 else
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21351
21352 ac_lo=`expr '(' $ac_mid ')' + 1`
21353 fi
21354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21355 done
21356 case $ac_lo in
21357 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21358 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21359 See \`config.log' for more details." >&5
21360 echo "$as_me: error: cannot compute sizeof (long long), 77
21361 See \`config.log' for more details." >&2;}
21362 { (exit 1); exit 1; }; } ;;
21363 esac
21364 else
21365 if test "$cross_compiling" = yes; then
21366 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21367 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21368 { (exit 1); exit 1; }; }
21369 else
21370 cat >conftest.$ac_ext <<_ACEOF
21371 /* confdefs.h. */
21372 _ACEOF
21373 cat confdefs.h >>conftest.$ac_ext
21374 cat >>conftest.$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 $ac_includes_default
21377 long longval () { return (long) (sizeof (long long)); }
21378 unsigned long ulongval () { return (long) (sizeof (long long)); }
21379 #include <stdio.h>
21380 #include <stdlib.h>
21381 int
21382 main ()
21383 {
21384
21385 FILE *f = fopen ("conftest.val", "w");
21386 if (! f)
21387 exit (1);
21388 if (((long) (sizeof (long long))) < 0)
21389 {
21390 long i = longval ();
21391 if (i != ((long) (sizeof (long long))))
21392 exit (1);
21393 fprintf (f, "%ld\n", i);
21394 }
21395 else
21396 {
21397 unsigned long i = ulongval ();
21398 if (i != ((long) (sizeof (long long))))
21399 exit (1);
21400 fprintf (f, "%lu\n", i);
21401 }
21402 exit (ferror (f) || fclose (f) != 0);
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest$ac_exeext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21410 (eval $ac_link) 2>&5
21411 ac_status=$?
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21416 ac_status=$?
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 ac_cv_sizeof_long_long=`cat conftest.val`
21420 else
21421 echo "$as_me: program exited with status $ac_status" >&5
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ( exit $ac_status )
21426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21427 See \`config.log' for more details." >&5
21428 echo "$as_me: error: cannot compute sizeof (long long), 77
21429 See \`config.log' for more details." >&2;}
21430 { (exit 1); exit 1; }; }
21431 fi
21432 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21433 fi
21434 fi
21435 rm -f conftest.val
21436 else
21437 ac_cv_sizeof_long_long=0
21438 fi
21439 fi
21440 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21441 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21442 cat >>confdefs.h <<_ACEOF
21443 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21444 _ACEOF
21445
21446
21447 if test "$ac_cv_sizeof_long_long" != "0"; then
21448 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21449 fi
21450 ;;
21451 * )
21452 echo "$as_me:$LINENO: checking for long long" >&5
21453 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21454 if test "${ac_cv_type_long_long+set}" = set; then
21455 echo $ECHO_N "(cached) $ECHO_C" >&6
21456 else
21457 cat >conftest.$ac_ext <<_ACEOF
21458 /* confdefs.h. */
21459 _ACEOF
21460 cat confdefs.h >>conftest.$ac_ext
21461 cat >>conftest.$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21464 int
21465 main ()
21466 {
21467 if ((long long *) 0)
21468 return 0;
21469 if (sizeof (long long))
21470 return 0;
21471 ;
21472 return 0;
21473 }
21474 _ACEOF
21475 rm -f conftest.$ac_objext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21477 (eval $ac_compile) 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest.$ac_objext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_type_long_long=yes
21497 else
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.$ac_ext >&5
21500
21501 ac_cv_type_long_long=no
21502 fi
21503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21504 fi
21505 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21506 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21507
21508 echo "$as_me:$LINENO: checking size of long long" >&5
21509 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21510 if test "${ac_cv_sizeof_long_long+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21512 else
21513 if test "$ac_cv_type_long_long" = yes; then
21514 # The cast to unsigned long works around a bug in the HP C Compiler
21515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21517 # This bug is HP SR number 8606223364.
21518 if test "$cross_compiling" = yes; then
21519 # Depending upon the size, compute the lo and hi bounds.
21520 cat >conftest.$ac_ext <<_ACEOF
21521 /* confdefs.h. */
21522 _ACEOF
21523 cat confdefs.h >>conftest.$ac_ext
21524 cat >>conftest.$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21526 $ac_includes_default
21527 int
21528 main ()
21529 {
21530 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21531 test_array [0] = 0
21532
21533 ;
21534 return 0;
21535 }
21536 _ACEOF
21537 rm -f conftest.$ac_objext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21539 (eval $ac_compile) 2>conftest.er1
21540 ac_status=$?
21541 grep -v '^ *+' conftest.er1 >conftest.err
21542 rm -f conftest.er1
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } &&
21546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548 (eval $ac_try) 2>&5
21549 ac_status=$?
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; } &&
21552 { ac_try='test -s conftest.$ac_objext'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; }; then
21558 ac_lo=0 ac_mid=0
21559 while :; do
21560 cat >conftest.$ac_ext <<_ACEOF
21561 /* confdefs.h. */
21562 _ACEOF
21563 cat confdefs.h >>conftest.$ac_ext
21564 cat >>conftest.$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 $ac_includes_default
21567 int
21568 main ()
21569 {
21570 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21571 test_array [0] = 0
21572
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21589 ac_status=$?
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try='test -s conftest.$ac_objext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21595 ac_status=$?
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 ac_hi=$ac_mid; break
21599 else
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21602
21603 ac_lo=`expr $ac_mid + 1`
21604 if test $ac_lo -le $ac_mid; then
21605 ac_lo= ac_hi=
21606 break
21607 fi
21608 ac_mid=`expr 2 '*' $ac_mid + 1`
21609 fi
21610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21611 done
21612 else
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21615
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 $ac_includes_default
21623 int
21624 main ()
21625 {
21626 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21627 test_array [0] = 0
21628
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21636 ac_status=$?
21637 grep -v '^ *+' conftest.er1 >conftest.err
21638 rm -f conftest.er1
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 ac_hi=-1 ac_mid=-1
21655 while :; do
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 int
21664 main ()
21665 {
21666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21667 test_array [0] = 0
21668
21669 ;
21670 return 0;
21671 }
21672 _ACEOF
21673 rm -f conftest.$ac_objext
21674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21675 (eval $ac_compile) 2>conftest.er1
21676 ac_status=$?
21677 grep -v '^ *+' conftest.er1 >conftest.err
21678 rm -f conftest.er1
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21685 ac_status=$?
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); }; } &&
21688 { ac_try='test -s conftest.$ac_objext'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; }; then
21694 ac_lo=$ac_mid; break
21695 else
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.$ac_ext >&5
21698
21699 ac_hi=`expr '(' $ac_mid ')' - 1`
21700 if test $ac_mid -le $ac_hi; then
21701 ac_lo= ac_hi=
21702 break
21703 fi
21704 ac_mid=`expr 2 '*' $ac_mid`
21705 fi
21706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21707 done
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21711
21712 ac_lo= ac_hi=
21713 fi
21714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21715 fi
21716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21717 # Binary search between lo and hi bounds.
21718 while test "x$ac_lo" != "x$ac_hi"; do
21719 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21720 cat >conftest.$ac_ext <<_ACEOF
21721 /* confdefs.h. */
21722 _ACEOF
21723 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 $ac_includes_default
21727 int
21728 main ()
21729 {
21730 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21731 test_array [0] = 0
21732
21733 ;
21734 return 0;
21735 }
21736 _ACEOF
21737 rm -f conftest.$ac_objext
21738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21739 (eval $ac_compile) 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21749 ac_status=$?
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; } &&
21752 { ac_try='test -s conftest.$ac_objext'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21755 ac_status=$?
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 ac_hi=$ac_mid
21759 else
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21762
21763 ac_lo=`expr '(' $ac_mid ')' + 1`
21764 fi
21765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21766 done
21767 case $ac_lo in
21768 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21770 See \`config.log' for more details." >&5
21771 echo "$as_me: error: cannot compute sizeof (long long), 77
21772 See \`config.log' for more details." >&2;}
21773 { (exit 1); exit 1; }; } ;;
21774 esac
21775 else
21776 if test "$cross_compiling" = yes; then
21777 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21778 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21779 { (exit 1); exit 1; }; }
21780 else
21781 cat >conftest.$ac_ext <<_ACEOF
21782 /* confdefs.h. */
21783 _ACEOF
21784 cat confdefs.h >>conftest.$ac_ext
21785 cat >>conftest.$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21787 $ac_includes_default
21788 long longval () { return (long) (sizeof (long long)); }
21789 unsigned long ulongval () { return (long) (sizeof (long long)); }
21790 #include <stdio.h>
21791 #include <stdlib.h>
21792 int
21793 main ()
21794 {
21795
21796 FILE *f = fopen ("conftest.val", "w");
21797 if (! f)
21798 exit (1);
21799 if (((long) (sizeof (long long))) < 0)
21800 {
21801 long i = longval ();
21802 if (i != ((long) (sizeof (long long))))
21803 exit (1);
21804 fprintf (f, "%ld\n", i);
21805 }
21806 else
21807 {
21808 unsigned long i = ulongval ();
21809 if (i != ((long) (sizeof (long long))))
21810 exit (1);
21811 fprintf (f, "%lu\n", i);
21812 }
21813 exit (ferror (f) || fclose (f) != 0);
21814
21815 ;
21816 return 0;
21817 }
21818 _ACEOF
21819 rm -f conftest$ac_exeext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21821 (eval $ac_link) 2>&5
21822 ac_status=$?
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21827 ac_status=$?
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 ac_cv_sizeof_long_long=`cat conftest.val`
21831 else
21832 echo "$as_me: program exited with status $ac_status" >&5
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.$ac_ext >&5
21835
21836 ( exit $ac_status )
21837 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21838 See \`config.log' for more details." >&5
21839 echo "$as_me: error: cannot compute sizeof (long long), 77
21840 See \`config.log' for more details." >&2;}
21841 { (exit 1); exit 1; }; }
21842 fi
21843 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21844 fi
21845 fi
21846 rm -f conftest.val
21847 else
21848 ac_cv_sizeof_long_long=0
21849 fi
21850 fi
21851 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21852 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21853 cat >>confdefs.h <<_ACEOF
21854 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21855 _ACEOF
21856
21857
21858 esac
21859
21860 echo "$as_me:$LINENO: checking for wchar_t" >&5
21861 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21862 if test "${ac_cv_type_wchar_t+set}" = set; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21864 else
21865 cat >conftest.$ac_ext <<_ACEOF
21866 /* confdefs.h. */
21867 _ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871
21872 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21873 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21874 # error "fake wchar_t"
21875 #endif
21876 #ifdef HAVE_WCHAR_H
21877 # ifdef __CYGWIN__
21878 # include <stddef.h>
21879 # endif
21880 # include <wchar.h>
21881 #endif
21882 #ifdef HAVE_STDLIB_H
21883 # include <stdlib.h>
21884 #endif
21885 #include <stdio.h>
21886
21887
21888
21889 int
21890 main ()
21891 {
21892 if ((wchar_t *) 0)
21893 return 0;
21894 if (sizeof (wchar_t))
21895 return 0;
21896 ;
21897 return 0;
21898 }
21899 _ACEOF
21900 rm -f conftest.$ac_objext
21901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21902 (eval $ac_compile) 2>conftest.er1
21903 ac_status=$?
21904 grep -v '^ *+' conftest.er1 >conftest.err
21905 rm -f conftest.er1
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21912 ac_status=$?
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; } &&
21915 { ac_try='test -s conftest.$ac_objext'
21916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21917 (eval $ac_try) 2>&5
21918 ac_status=$?
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); }; }; then
21921 ac_cv_type_wchar_t=yes
21922 else
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21925
21926 ac_cv_type_wchar_t=no
21927 fi
21928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21929 fi
21930 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21931 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21932
21933 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21934 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21935 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21937 else
21938 if test "$ac_cv_type_wchar_t" = yes; then
21939 # The cast to unsigned long works around a bug in the HP C Compiler
21940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21942 # This bug is HP SR number 8606223364.
21943 if test "$cross_compiling" = yes; then
21944 # Depending upon the size, compute the lo and hi bounds.
21945 cat >conftest.$ac_ext <<_ACEOF
21946 /* confdefs.h. */
21947 _ACEOF
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951
21952 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21953 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21954 # error "fake wchar_t"
21955 #endif
21956 #ifdef HAVE_WCHAR_H
21957 # ifdef __CYGWIN__
21958 # include <stddef.h>
21959 # endif
21960 # include <wchar.h>
21961 #endif
21962 #ifdef HAVE_STDLIB_H
21963 # include <stdlib.h>
21964 #endif
21965 #include <stdio.h>
21966
21967
21968
21969 int
21970 main ()
21971 {
21972 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21973 test_array [0] = 0
21974
21975 ;
21976 return 0;
21977 }
21978 _ACEOF
21979 rm -f conftest.$ac_objext
21980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21981 (eval $ac_compile) 2>conftest.er1
21982 ac_status=$?
21983 grep -v '^ *+' conftest.er1 >conftest.err
21984 rm -f conftest.er1
21985 cat conftest.err >&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; } &&
21994 { ac_try='test -s conftest.$ac_objext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 ac_lo=0 ac_mid=0
22001 while :; do
22002 cat >conftest.$ac_ext <<_ACEOF
22003 /* confdefs.h. */
22004 _ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008
22009 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22010 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22011 # error "fake wchar_t"
22012 #endif
22013 #ifdef HAVE_WCHAR_H
22014 # ifdef __CYGWIN__
22015 # include <stddef.h>
22016 # endif
22017 # include <wchar.h>
22018 #endif
22019 #ifdef HAVE_STDLIB_H
22020 # include <stdlib.h>
22021 #endif
22022 #include <stdio.h>
22023
22024
22025
22026 int
22027 main ()
22028 {
22029 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22030 test_array [0] = 0
22031
22032 ;
22033 return 0;
22034 }
22035 _ACEOF
22036 rm -f conftest.$ac_objext
22037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22038 (eval $ac_compile) 2>conftest.er1
22039 ac_status=$?
22040 grep -v '^ *+' conftest.er1 >conftest.err
22041 rm -f conftest.er1
22042 cat conftest.err >&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22048 ac_status=$?
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; } &&
22051 { ac_try='test -s conftest.$ac_objext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_hi=$ac_mid; break
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_lo=`expr $ac_mid + 1`
22063 if test $ac_lo -le $ac_mid; then
22064 ac_lo= ac_hi=
22065 break
22066 fi
22067 ac_mid=`expr 2 '*' $ac_mid + 1`
22068 fi
22069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22070 done
22071 else
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.$ac_ext >&5
22074
22075 cat >conftest.$ac_ext <<_ACEOF
22076 /* confdefs.h. */
22077 _ACEOF
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081
22082 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22083 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22084 # error "fake wchar_t"
22085 #endif
22086 #ifdef HAVE_WCHAR_H
22087 # ifdef __CYGWIN__
22088 # include <stddef.h>
22089 # endif
22090 # include <wchar.h>
22091 #endif
22092 #ifdef HAVE_STDLIB_H
22093 # include <stdlib.h>
22094 #endif
22095 #include <stdio.h>
22096
22097
22098
22099 int
22100 main ()
22101 {
22102 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22103 test_array [0] = 0
22104
22105 ;
22106 return 0;
22107 }
22108 _ACEOF
22109 rm -f conftest.$ac_objext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22111 (eval $ac_compile) 2>conftest.er1
22112 ac_status=$?
22113 grep -v '^ *+' conftest.er1 >conftest.err
22114 rm -f conftest.er1
22115 cat conftest.err >&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; } &&
22124 { ac_try='test -s conftest.$ac_objext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22127 ac_status=$?
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_hi=-1 ac_mid=-1
22131 while :; do
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138
22139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22141 # error "fake wchar_t"
22142 #endif
22143 #ifdef HAVE_WCHAR_H
22144 # ifdef __CYGWIN__
22145 # include <stddef.h>
22146 # endif
22147 # include <wchar.h>
22148 #endif
22149 #ifdef HAVE_STDLIB_H
22150 # include <stdlib.h>
22151 #endif
22152 #include <stdio.h>
22153
22154
22155
22156 int
22157 main ()
22158 {
22159 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22160 test_array [0] = 0
22161
22162 ;
22163 return 0;
22164 }
22165 _ACEOF
22166 rm -f conftest.$ac_objext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22168 (eval $ac_compile) 2>conftest.er1
22169 ac_status=$?
22170 grep -v '^ *+' conftest.er1 >conftest.err
22171 rm -f conftest.er1
22172 cat conftest.err >&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } &&
22175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22177 (eval $ac_try) 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; } &&
22181 { ac_try='test -s conftest.$ac_objext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_lo=$ac_mid; break
22188 else
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.$ac_ext >&5
22191
22192 ac_hi=`expr '(' $ac_mid ')' - 1`
22193 if test $ac_mid -le $ac_hi; then
22194 ac_lo= ac_hi=
22195 break
22196 fi
22197 ac_mid=`expr 2 '*' $ac_mid`
22198 fi
22199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22200 done
22201 else
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22204
22205 ac_lo= ac_hi=
22206 fi
22207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22208 fi
22209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22210 # Binary search between lo and hi bounds.
22211 while test "x$ac_lo" != "x$ac_hi"; do
22212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22213 cat >conftest.$ac_ext <<_ACEOF
22214 /* confdefs.h. */
22215 _ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219
22220 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22221 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22222 # error "fake wchar_t"
22223 #endif
22224 #ifdef HAVE_WCHAR_H
22225 # ifdef __CYGWIN__
22226 # include <stddef.h>
22227 # endif
22228 # include <wchar.h>
22229 #endif
22230 #ifdef HAVE_STDLIB_H
22231 # include <stdlib.h>
22232 #endif
22233 #include <stdio.h>
22234
22235
22236
22237 int
22238 main ()
22239 {
22240 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22241 test_array [0] = 0
22242
22243 ;
22244 return 0;
22245 }
22246 _ACEOF
22247 rm -f conftest.$ac_objext
22248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22249 (eval $ac_compile) 2>conftest.er1
22250 ac_status=$?
22251 grep -v '^ *+' conftest.er1 >conftest.err
22252 rm -f conftest.er1
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } &&
22256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22259 ac_status=$?
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; } &&
22262 { ac_try='test -s conftest.$ac_objext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_hi=$ac_mid
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22272
22273 ac_lo=`expr '(' $ac_mid ')' + 1`
22274 fi
22275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22276 done
22277 case $ac_lo in
22278 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22279 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22280 See \`config.log' for more details." >&5
22281 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22282 See \`config.log' for more details." >&2;}
22283 { (exit 1); exit 1; }; } ;;
22284 esac
22285 else
22286 if test "$cross_compiling" = yes; then
22287 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22288 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22289 { (exit 1); exit 1; }; }
22290 else
22291 cat >conftest.$ac_ext <<_ACEOF
22292 /* confdefs.h. */
22293 _ACEOF
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297
22298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22300 # error "fake wchar_t"
22301 #endif
22302 #ifdef HAVE_WCHAR_H
22303 # ifdef __CYGWIN__
22304 # include <stddef.h>
22305 # endif
22306 # include <wchar.h>
22307 #endif
22308 #ifdef HAVE_STDLIB_H
22309 # include <stdlib.h>
22310 #endif
22311 #include <stdio.h>
22312
22313
22314
22315 long longval () { return (long) (sizeof (wchar_t)); }
22316 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22317 #include <stdio.h>
22318 #include <stdlib.h>
22319 int
22320 main ()
22321 {
22322
22323 FILE *f = fopen ("conftest.val", "w");
22324 if (! f)
22325 exit (1);
22326 if (((long) (sizeof (wchar_t))) < 0)
22327 {
22328 long i = longval ();
22329 if (i != ((long) (sizeof (wchar_t))))
22330 exit (1);
22331 fprintf (f, "%ld\n", i);
22332 }
22333 else
22334 {
22335 unsigned long i = ulongval ();
22336 if (i != ((long) (sizeof (wchar_t))))
22337 exit (1);
22338 fprintf (f, "%lu\n", i);
22339 }
22340 exit (ferror (f) || fclose (f) != 0);
22341
22342 ;
22343 return 0;
22344 }
22345 _ACEOF
22346 rm -f conftest$ac_exeext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22353 (eval $ac_try) 2>&5
22354 ac_status=$?
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); }; }; then
22357 ac_cv_sizeof_wchar_t=`cat conftest.val`
22358 else
22359 echo "$as_me: program exited with status $ac_status" >&5
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ( exit $ac_status )
22364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22365 See \`config.log' for more details." >&5
22366 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22367 See \`config.log' for more details." >&2;}
22368 { (exit 1); exit 1; }; }
22369 fi
22370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22371 fi
22372 fi
22373 rm -f conftest.val
22374 else
22375 ac_cv_sizeof_wchar_t=0
22376 fi
22377 fi
22378 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22379 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22380 cat >>confdefs.h <<_ACEOF
22381 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22382 _ACEOF
22383
22384
22385 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22386 wxUSE_WCHAR_T=yes
22387 else
22388 wxUSE_WCHAR_T=no
22389 fi
22390
22391 echo "$as_me:$LINENO: checking for va_copy" >&5
22392 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22393 if test "${wx_cv_func_va_copy+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22395 else
22396
22397 cat >conftest.$ac_ext <<_ACEOF
22398
22399 #include <stdarg.h>
22400 void foo(char *f, ...)
22401 {
22402 va_list ap1, ap2;
22403 va_start(ap1, f);
22404 va_copy(ap2, ap1);
22405 va_end(ap2);
22406 va_end(ap1);
22407 }
22408 int main()
22409 {
22410 foo("hi", 17);
22411 return 0;
22412 }
22413 _ACEOF
22414 rm -f conftest.$ac_objext conftest$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22426 ac_status=$?
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try='test -s conftest$ac_exeext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 wx_cv_func_va_copy=yes
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22439
22440 wx_cv_func_va_copy=no
22441
22442 fi
22443 rm -f conftest.err conftest.$ac_objext \
22444 conftest$ac_exeext conftest.$ac_ext
22445
22446
22447 fi
22448 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22449 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22450
22451 if test $wx_cv_func_va_copy = "yes"; then
22452 cat >>confdefs.h <<\_ACEOF
22453 #define HAVE_VA_COPY 1
22454 _ACEOF
22455
22456 else
22457 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22458 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22459 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22460 echo $ECHO_N "(cached) $ECHO_C" >&6
22461 else
22462
22463 if test "$cross_compiling" = yes; then
22464 wx_cv_type_va_list_lvalue=yes
22465
22466 else
22467 cat >conftest.$ac_ext <<_ACEOF
22468
22469 #include <stdarg.h>
22470 int foo(char *f, ...)
22471 {
22472 va_list ap1, ap2;
22473 va_start(ap1, f);
22474 ap2 = ap1;
22475 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22476 return 1;
22477 va_end(ap2);
22478 va_end(ap1);
22479 return 0;
22480 }
22481 int main()
22482 {
22483 return foo("hi", 17);
22484 }
22485 _ACEOF
22486 rm -f conftest$ac_exeext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22488 (eval $ac_link) 2>&5
22489 ac_status=$?
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 wx_cv_type_va_list_lvalue=yes
22498 else
22499 echo "$as_me: program exited with status $ac_status" >&5
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503 ( exit $ac_status )
22504 wx_cv_type_va_list_lvalue=no
22505 fi
22506 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22507 fi
22508
22509
22510 fi
22511 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22512 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22513
22514 if test $wx_cv_type_va_list_lvalue != "yes"; then
22515 cat >>confdefs.h <<\_ACEOF
22516 #define VA_LIST_IS_ARRAY 1
22517 _ACEOF
22518
22519 fi
22520 fi
22521
22522 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22523 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22524 if test "${wx_cv_have_variadic_macros+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 else
22527
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534
22535 #include <stdio.h>
22536 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22537
22538 int
22539 main ()
22540 {
22541
22542 test("%s %d %p", "test", 1, 0);
22543
22544
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551 (eval $ac_compile) 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; } &&
22564 { ac_try='test -s conftest.$ac_objext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22567 ac_status=$?
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 wx_cv_have_variadic_macros=yes
22571 else
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.$ac_ext >&5
22574
22575 wx_cv_have_variadic_macros=no
22576
22577 fi
22578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22579
22580
22581 fi
22582 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22583 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22584
22585 if test $wx_cv_have_variadic_macros = "yes"; then
22586 cat >>confdefs.h <<\_ACEOF
22587 #define HAVE_VARIADIC_MACROS 1
22588 _ACEOF
22589
22590 fi
22591
22592 # Check whether --enable-largefile or --disable-largefile was given.
22593 if test "${enable_largefile+set}" = set; then
22594 enableval="$enable_largefile"
22595
22596 fi;
22597 if test "$enable_largefile" != no; then
22598 wx_largefile=no
22599
22600 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22601 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22602 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22603 echo $ECHO_N "(cached) $ECHO_C" >&6
22604 else
22605
22606 cat >conftest.$ac_ext <<_ACEOF
22607 /* confdefs.h. */
22608 _ACEOF
22609 cat confdefs.h >>conftest.$ac_ext
22610 cat >>conftest.$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22612 #define _FILE_OFFSET_BITS 64
22613 #include <sys/types.h>
22614 int
22615 main ()
22616 {
22617 typedef struct {
22618 unsigned int field: sizeof(off_t) == 8;
22619 } wxlf;
22620
22621 ;
22622 return 0;
22623 }
22624 _ACEOF
22625 rm -f conftest.$ac_objext
22626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22627 (eval $ac_compile) 2>conftest.er1
22628 ac_status=$?
22629 grep -v '^ *+' conftest.er1 >conftest.err
22630 rm -f conftest.er1
22631 cat conftest.err >&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); } &&
22634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22637 ac_status=$?
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; } &&
22640 { ac_try='test -s conftest.$ac_objext'
22641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642 (eval $ac_try) 2>&5
22643 ac_status=$?
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); }; }; then
22646 ac_cv_sys_file_offset_bits=64
22647 else
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22650
22651 ac_cv_sys_file_offset_bits=no
22652 fi
22653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22654
22655
22656 fi
22657 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22658 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22659
22660 if test "$ac_cv_sys_file_offset_bits" != no; then
22661 wx_largefile=yes
22662 cat >>confdefs.h <<_ACEOF
22663 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22664 _ACEOF
22665
22666 fi
22667
22668 if test "x$wx_largefile" != "xyes"; then
22669
22670 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22671 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22672 if test "${ac_cv_sys_large_files+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 else
22675
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682 #define _LARGE_FILES 1
22683 #include <sys/types.h>
22684 int
22685 main ()
22686 {
22687 typedef struct {
22688 unsigned int field: sizeof(off_t) == 8;
22689 } wxlf;
22690
22691 ;
22692 return 0;
22693 }
22694 _ACEOF
22695 rm -f conftest.$ac_objext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697 (eval $ac_compile) 2>conftest.er1
22698 ac_status=$?
22699 grep -v '^ *+' conftest.er1 >conftest.err
22700 rm -f conftest.er1
22701 cat conftest.err >&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22707 ac_status=$?
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; } &&
22710 { ac_try='test -s conftest.$ac_objext'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sys_large_files=1
22717 else
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.$ac_ext >&5
22720
22721 ac_cv_sys_large_files=no
22722 fi
22723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22724
22725
22726 fi
22727 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22728 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22729
22730 if test "$ac_cv_sys_large_files" != no; then
22731 wx_largefile=yes
22732 cat >>confdefs.h <<_ACEOF
22733 #define _LARGE_FILES $ac_cv_sys_large_files
22734 _ACEOF
22735
22736 fi
22737
22738 fi
22739
22740 echo "$as_me:$LINENO: checking if large file support is available" >&5
22741 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22742 if test "x$wx_largefile" = "xyes"; then
22743 cat >>confdefs.h <<\_ACEOF
22744 #define HAVE_LARGEFILE_SUPPORT 1
22745 _ACEOF
22746
22747 fi
22748 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22749 echo "${ECHO_T}$wx_largefile" >&6
22750 fi
22751
22752
22753 if test "x$wx_largefile" = "xyes"; then
22754 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22755 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22756
22757 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22758 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22759 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22760 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22761 echo $ECHO_N "(cached) $ECHO_C" >&6
22762 else
22763
22764 cat >conftest.$ac_ext <<_ACEOF
22765 /* confdefs.h. */
22766 _ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770
22771 int
22772 main ()
22773 {
22774
22775 #ifndef __STDC_EXT__
22776 choke me
22777 #endif
22778
22779 ;
22780 return 0;
22781 }
22782 _ACEOF
22783 rm -f conftest.$ac_objext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22785 (eval $ac_compile) 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try='test -s conftest.$ac_objext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 wx_cv_STDC_EXT_required=no
22805 else
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22808
22809 wx_cv_STDC_EXT_required=yes
22810
22811 fi
22812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22813
22814
22815 fi
22816 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22817 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22818 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22819 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22820 fi
22821 fi
22822 else
22823 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22824 fi
22825 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22826 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22827 if test "${ac_cv_sys_largefile_source+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 else
22830 while :; do
22831 ac_cv_sys_largefile_source=no
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 #include <stdio.h>
22839 int
22840 main ()
22841 {
22842 return !fseeko;
22843 ;
22844 return 0;
22845 }
22846 _ACEOF
22847 rm -f conftest.$ac_objext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22849 (eval $ac_compile) 2>conftest.er1
22850 ac_status=$?
22851 grep -v '^ *+' conftest.er1 >conftest.err
22852 rm -f conftest.er1
22853 cat conftest.err >&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } &&
22856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; } &&
22862 { ac_try='test -s conftest.$ac_objext'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868 break
22869 else
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22872
22873 fi
22874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 #define _LARGEFILE_SOURCE 1
22882 #include <stdio.h>
22883 int
22884 main ()
22885 {
22886 return !fseeko;
22887 ;
22888 return 0;
22889 }
22890 _ACEOF
22891 rm -f conftest.$ac_objext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22893 (eval $ac_compile) 2>conftest.er1
22894 ac_status=$?
22895 grep -v '^ *+' conftest.er1 >conftest.err
22896 rm -f conftest.er1
22897 cat conftest.err >&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try='test -s conftest.$ac_objext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 ac_cv_sys_largefile_source=1; break
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22916
22917 fi
22918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22919 break
22920 done
22921 fi
22922 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22923 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22924 if test "$ac_cv_sys_largefile_source" != no; then
22925
22926 cat >>confdefs.h <<_ACEOF
22927 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22928 _ACEOF
22929
22930 fi
22931 rm -f conftest*
22932
22933 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22934 # in glibc 2.1.3, but that breaks too many other things.
22935 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22936 echo "$as_me:$LINENO: checking for fseeko" >&5
22937 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22938 if test "${ac_cv_func_fseeko+set}" = set; then
22939 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 else
22941 cat >conftest.$ac_ext <<_ACEOF
22942 /* confdefs.h. */
22943 _ACEOF
22944 cat confdefs.h >>conftest.$ac_ext
22945 cat >>conftest.$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22947 #include <stdio.h>
22948 int
22949 main ()
22950 {
22951 return fseeko && fseeko (stdin, 0, 0);
22952 ;
22953 return 0;
22954 }
22955 _ACEOF
22956 rm -f conftest.$ac_objext conftest$ac_exeext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22958 (eval $ac_link) 2>conftest.er1
22959 ac_status=$?
22960 grep -v '^ *+' conftest.er1 >conftest.err
22961 rm -f conftest.er1
22962 cat conftest.err >&5
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); } &&
22965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try='test -s conftest$ac_exeext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_func_fseeko=yes
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 ac_cv_func_fseeko=no
22983 fi
22984 rm -f conftest.err conftest.$ac_objext \
22985 conftest$ac_exeext conftest.$ac_ext
22986 fi
22987 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22988 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22989 if test $ac_cv_func_fseeko = yes; then
22990
22991 cat >>confdefs.h <<\_ACEOF
22992 #define HAVE_FSEEKO 1
22993 _ACEOF
22994
22995 fi
22996
22997 if test "$ac_cv_sys_largefile_source" != no; then
22998 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22999 fi
23000 fi
23001
23002 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23003 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23004 if test "${ac_cv_c_bigendian+set}" = set; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23006 else
23007 ac_cv_c_bigendian=unknown
23008 # See if sys/param.h defines the BYTE_ORDER macro.
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <sys/types.h>
23016 #include <sys/param.h>
23017 int
23018 main ()
23019 {
23020
23021 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23022 bogus endian macros
23023 #endif
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; } &&
23043 { ac_try='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 # It does; now see whether it defined to BIG_ENDIAN or not.
23050 cat >conftest.$ac_ext <<_ACEOF
23051 /* confdefs.h. */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 #include <sys/types.h>
23057 #include <sys/param.h>
23058 int
23059 main ()
23060 {
23061
23062 #if BYTE_ORDER != BIG_ENDIAN
23063 not big endian
23064 #endif
23065 ;
23066 return 0;
23067 }
23068 _ACEOF
23069 rm -f conftest.$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; } &&
23084 { ac_try='test -s conftest.$ac_objext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_cv_c_bigendian=yes
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 ac_cv_c_bigendian=no
23096 fi
23097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23101
23102 fi
23103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23104 if test $ac_cv_c_bigendian = unknown; then
23105 if test "$cross_compiling" = yes; then
23106 ac_cv_c_bigendian=unknown
23107 else
23108 cat >conftest.$ac_ext <<_ACEOF
23109 /* confdefs.h. */
23110 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 main () {
23115 /* Are we little or big endian? From Harbison&Steele. */
23116 union
23117 {
23118 long l;
23119 char c[sizeof (long)];
23120 } u;
23121 u.l = 1;
23122 exit (u.c[sizeof (long) - 1] == 1);
23123 }
23124 _ACEOF
23125 rm -f conftest$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 ac_cv_c_bigendian=no
23137 else
23138 echo "$as_me: program exited with status $ac_status" >&5
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.$ac_ext >&5
23141
23142 ( exit $ac_status )
23143 ac_cv_c_bigendian=yes
23144 fi
23145 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23146 fi
23147 fi
23148 fi
23149 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23150 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23151 if test $ac_cv_c_bigendian = unknown; then
23152 { 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
23153 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;}
23154 fi
23155 if test $ac_cv_c_bigendian = yes; then
23156 cat >>confdefs.h <<\_ACEOF
23157 #define WORDS_BIGENDIAN 1
23158 _ACEOF
23159
23160 fi
23161
23162
23163
23164
23165
23166 ac_ext=cc
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23171
23172
23173
23174 for ac_header in iostream
23175 do
23176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23178 echo "$as_me:$LINENO: checking for $ac_header" >&5
23179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23181 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 fi
23183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23185 else
23186 # Is the header compilable?
23187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23189 cat >conftest.$ac_ext <<_ACEOF
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 $ac_includes_default
23196 #include <$ac_header>
23197 _ACEOF
23198 rm -f conftest.$ac_objext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23200 (eval $ac_compile) 2>conftest.er1
23201 ac_status=$?
23202 grep -v '^ *+' conftest.er1 >conftest.err
23203 rm -f conftest.er1
23204 cat conftest.err >&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23210 ac_status=$?
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try='test -s conftest.$ac_objext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 ac_header_compiler=yes
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 ac_header_compiler=no
23225 fi
23226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23228 echo "${ECHO_T}$ac_header_compiler" >&6
23229
23230 # Is the header present?
23231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23233 cat >conftest.$ac_ext <<_ACEOF
23234 /* confdefs.h. */
23235 _ACEOF
23236 cat confdefs.h >>conftest.$ac_ext
23237 cat >>conftest.$ac_ext <<_ACEOF
23238 /* end confdefs.h. */
23239 #include <$ac_header>
23240 _ACEOF
23241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23243 ac_status=$?
23244 grep -v '^ *+' conftest.er1 >conftest.err
23245 rm -f conftest.er1
23246 cat conftest.err >&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); } >/dev/null; then
23249 if test -s conftest.err; then
23250 ac_cpp_err=$ac_cxx_preproc_warn_flag
23251 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23252 else
23253 ac_cpp_err=
23254 fi
23255 else
23256 ac_cpp_err=yes
23257 fi
23258 if test -z "$ac_cpp_err"; then
23259 ac_header_preproc=yes
23260 else
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23263
23264 ac_header_preproc=no
23265 fi
23266 rm -f conftest.err conftest.$ac_ext
23267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23268 echo "${ECHO_T}$ac_header_preproc" >&6
23269
23270 # So? What about this header?
23271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23272 yes:no: )
23273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23277 ac_header_preproc=yes
23278 ;;
23279 no:yes:* )
23280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23292 (
23293 cat <<\_ASBOX
23294 ## ----------------------------------------- ##
23295 ## Report this to wx-dev@lists.wxwidgets.org ##
23296 ## ----------------------------------------- ##
23297 _ASBOX
23298 ) |
23299 sed "s/^/$as_me: WARNING: /" >&2
23300 ;;
23301 esac
23302 echo "$as_me:$LINENO: checking for $ac_header" >&5
23303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23306 else
23307 eval "$as_ac_Header=\$ac_header_preproc"
23308 fi
23309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23311
23312 fi
23313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23314 cat >>confdefs.h <<_ACEOF
23315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23316 _ACEOF
23317
23318 fi
23319
23320 done
23321
23322
23323 if test "$ac_cv_header_iostream" = "yes" ; then
23324 :
23325 else
23326 cat >>confdefs.h <<\_ACEOF
23327 #define wxUSE_IOSTREAMH 1
23328 _ACEOF
23329
23330 fi
23331
23332 ac_ext=cc
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23337
23338
23339
23340
23341 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23342 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23343 if test "${wx_cv_cpp_bool+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23345 else
23346
23347
23348
23349 ac_ext=cc
23350 ac_cpp='$CXXCPP $CPPFLAGS'
23351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23354
23355
23356 cat >conftest.$ac_ext <<_ACEOF
23357 /* confdefs.h. */
23358 _ACEOF
23359 cat confdefs.h >>conftest.$ac_ext
23360 cat >>conftest.$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23362
23363
23364 int
23365 main ()
23366 {
23367
23368 bool b = true;
23369
23370 return 0;
23371
23372 ;
23373 return 0;
23374 }
23375 _ACEOF
23376 rm -f conftest.$ac_objext
23377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23378 (eval $ac_compile) 2>conftest.er1
23379 ac_status=$?
23380 grep -v '^ *+' conftest.er1 >conftest.err
23381 rm -f conftest.er1
23382 cat conftest.err >&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } &&
23385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23388 ac_status=$?
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try='test -s conftest.$ac_objext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397
23398 wx_cv_cpp_bool=yes
23399
23400 else
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23403
23404
23405 wx_cv_cpp_bool=no
23406
23407
23408 fi
23409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23410
23411 ac_ext=cc
23412 ac_cpp='$CXXCPP $CPPFLAGS'
23413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23416
23417
23418 fi
23419 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23420 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23421
23422 if test "$wx_cv_cpp_bool" = "yes"; then
23423 cat >>confdefs.h <<\_ACEOF
23424 #define HAVE_BOOL 1
23425 _ACEOF
23426
23427 fi
23428
23429
23430
23431 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23432 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23433 if test "${wx_cv_explicit+set}" = set; then
23434 echo $ECHO_N "(cached) $ECHO_C" >&6
23435 else
23436
23437
23438
23439 ac_ext=cc
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23444
23445
23446 cat >conftest.$ac_ext <<_ACEOF
23447 /* confdefs.h. */
23448 _ACEOF
23449 cat confdefs.h >>conftest.$ac_ext
23450 cat >>conftest.$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23452
23453 class Foo { public: explicit Foo(int) {} };
23454
23455 int
23456 main ()
23457 {
23458
23459 return 0;
23460
23461 ;
23462 return 0;
23463 }
23464 _ACEOF
23465 rm -f conftest.$ac_objext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 (eval $ac_compile) 2>conftest.er1
23468 ac_status=$?
23469 grep -v '^ *+' conftest.er1 >conftest.err
23470 rm -f conftest.er1
23471 cat conftest.err >&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23477 ac_status=$?
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; } &&
23480 { ac_try='test -s conftest.$ac_objext'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23483 ac_status=$?
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; }; then
23486
23487 cat >conftest.$ac_ext <<_ACEOF
23488 /* confdefs.h. */
23489 _ACEOF
23490 cat confdefs.h >>conftest.$ac_ext
23491 cat >>conftest.$ac_ext <<_ACEOF
23492 /* end confdefs.h. */
23493
23494 class Foo { public: explicit Foo(int) {} };
23495 static void TakeFoo(const Foo& foo) { }
23496
23497 int
23498 main ()
23499 {
23500
23501 TakeFoo(17);
23502 return 0;
23503
23504 ;
23505 return 0;
23506 }
23507 _ACEOF
23508 rm -f conftest.$ac_objext
23509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23510 (eval $ac_compile) 2>conftest.er1
23511 ac_status=$?
23512 grep -v '^ *+' conftest.er1 >conftest.err
23513 rm -f conftest.er1
23514 cat conftest.err >&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } &&
23517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23519 (eval $ac_try) 2>&5
23520 ac_status=$?
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); }; } &&
23523 { ac_try='test -s conftest.$ac_objext'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23526 ac_status=$?
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; }; then
23529 wx_cv_explicit=no
23530 else
23531 echo "$as_me: failed program was:" >&5
23532 sed 's/^/| /' conftest.$ac_ext >&5
23533
23534 wx_cv_explicit=yes
23535
23536 fi
23537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23538
23539 else
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23542
23543 wx_cv_explicit=no
23544
23545 fi
23546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23547
23548 ac_ext=cc
23549 ac_cpp='$CXXCPP $CPPFLAGS'
23550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23553
23554
23555 fi
23556 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23557 echo "${ECHO_T}$wx_cv_explicit" >&6
23558
23559 if test "$wx_cv_explicit" = "yes"; then
23560 cat >>confdefs.h <<\_ACEOF
23561 #define HAVE_EXPLICIT 1
23562 _ACEOF
23563
23564 fi
23565
23566
23567 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23568 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23569 if test "${ac_cv_cxx_const_cast+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 else
23572
23573
23574 ac_ext=cc
23575 ac_cpp='$CXXCPP $CPPFLAGS'
23576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23579
23580 cat >conftest.$ac_ext <<_ACEOF
23581 /* confdefs.h. */
23582 _ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23586
23587 int
23588 main ()
23589 {
23590 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 rm -f conftest.$ac_objext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23597 (eval $ac_compile) 2>conftest.er1
23598 ac_status=$?
23599 grep -v '^ *+' conftest.er1 >conftest.err
23600 rm -f conftest.er1
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try='test -s conftest.$ac_objext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23613 ac_status=$?
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 ac_cv_cxx_const_cast=yes
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 ac_cv_cxx_const_cast=no
23622 fi
23623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23624 ac_ext=cc
23625 ac_cpp='$CXXCPP $CPPFLAGS'
23626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23629
23630
23631 fi
23632 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23633 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23634 if test "$ac_cv_cxx_const_cast" = yes; then
23635
23636 cat >>confdefs.h <<\_ACEOF
23637 #define HAVE_CONST_CAST
23638 _ACEOF
23639
23640 fi
23641
23642 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23643 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23644 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 else
23647
23648
23649 ac_ext=cc
23650 ac_cpp='$CXXCPP $CPPFLAGS'
23651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23654
23655 cat >conftest.$ac_ext <<_ACEOF
23656 /* confdefs.h. */
23657 _ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661 #include <typeinfo>
23662 class Base { public : Base () {} virtual void f () = 0;};
23663 class Derived : public Base { public : Derived () {} virtual void f () {} };
23664 class Unrelated { public : Unrelated () {} };
23665 int g (Unrelated&) { return 0; }
23666 int
23667 main ()
23668 {
23669
23670 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23671 ;
23672 return 0;
23673 }
23674 _ACEOF
23675 rm -f conftest.$ac_objext
23676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23677 (eval $ac_compile) 2>conftest.er1
23678 ac_status=$?
23679 grep -v '^ *+' conftest.er1 >conftest.err
23680 rm -f conftest.er1
23681 cat conftest.err >&5
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); } &&
23684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23687 ac_status=$?
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; } &&
23690 { ac_try='test -s conftest.$ac_objext'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23693 ac_status=$?
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; }; then
23696 ac_cv_cxx_reinterpret_cast=yes
23697 else
23698 echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23700
23701 ac_cv_cxx_reinterpret_cast=no
23702 fi
23703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23704 ac_ext=cc
23705 ac_cpp='$CXXCPP $CPPFLAGS'
23706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23709
23710
23711 fi
23712 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23713 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23714 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23715
23716 cat >>confdefs.h <<\_ACEOF
23717 #define HAVE_REINTERPRET_CAST
23718 _ACEOF
23719
23720 fi
23721
23722 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23723 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23724 if test "${ac_cv_cxx_static_cast+set}" = set; then
23725 echo $ECHO_N "(cached) $ECHO_C" >&6
23726 else
23727
23728
23729 ac_ext=cc
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734
23735 cat >conftest.$ac_ext <<_ACEOF
23736 /* confdefs.h. */
23737 _ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23741 #include <typeinfo>
23742 class Base { public : Base () {} virtual void f () = 0; };
23743 class Derived : public Base { public : Derived () {} virtual void f () {} };
23744 int g (Derived&) { return 0; }
23745 int
23746 main ()
23747 {
23748
23749 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23750 ;
23751 return 0;
23752 }
23753 _ACEOF
23754 rm -f conftest.$ac_objext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23756 (eval $ac_compile) 2>conftest.er1
23757 ac_status=$?
23758 grep -v '^ *+' conftest.er1 >conftest.err
23759 rm -f conftest.er1
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; } &&
23769 { ac_try='test -s conftest.$ac_objext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_cv_cxx_static_cast=yes
23776 else
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23779
23780 ac_cv_cxx_static_cast=no
23781 fi
23782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=cc
23784 ac_cpp='$CXXCPP $CPPFLAGS'
23785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23788
23789
23790 fi
23791 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23792 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23793 if test "$ac_cv_cxx_static_cast" = yes; then
23794
23795 cat >>confdefs.h <<\_ACEOF
23796 #define HAVE_STATIC_CAST
23797 _ACEOF
23798
23799 fi
23800
23801
23802 if test "x$SUNCXX" = xyes; then
23803 CXXFLAGS="-features=tmplife $CXXFLAGS"
23804 fi
23805
23806 if test "x$SUNCC" = xyes; then
23807 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23808 fi
23809
23810 if test "x$SGICC" = "xyes"; then
23811 CFLAGS="-woff 3970 $CFLAGS"
23812 fi
23813 if test "x$SGICXX" = "xyes"; then
23814 CXXFLAGS="-woff 3970 $CXXFLAGS"
23815 fi
23816
23817 if test "x$HPCC" = "xyes"; then
23818 CFLAGS="+W 2011,2450 $CFLAGS"
23819 fi
23820 if test "x$HPCXX" = "xyes"; then
23821 CXXFLAGS="+W 2340 $CXXFLAGS"
23822 fi
23823
23824 if test "x$COMPAQCXX" = "xyes"; then
23825 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23826 fi
23827
23828 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23829 if test "$wxUSE_UNICODE" = "yes"; then
23830 std_string="std::wstring"
23831 char_type="wchar_t"
23832 else
23833 std_string="std::string"
23834 char_type="char"
23835 fi
23836
23837 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23838 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23839 cat >conftest.$ac_ext <<_ACEOF
23840 /* confdefs.h. */
23841 _ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 #include <string>
23846 int
23847 main ()
23848 {
23849 $std_string foo;
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>conftest.er1
23857 ac_status=$?
23858 grep -v '^ *+' conftest.er1 >conftest.err
23859 rm -f conftest.er1
23860 cat conftest.err >&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest.$ac_objext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 echo "$as_me:$LINENO: result: yes" >&5
23876 echo "${ECHO_T}yes" >&6
23877 cat >>confdefs.h <<\_ACEOF
23878 #define HAVE_STD_WSTRING 1
23879 _ACEOF
23880
23881 else
23882 echo "$as_me: failed program was:" >&5
23883 sed 's/^/| /' conftest.$ac_ext >&5
23884
23885 echo "$as_me:$LINENO: result: no" >&5
23886 echo "${ECHO_T}no" >&6
23887 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23888 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895
23896 #ifdef HAVE_WCHAR_H
23897 # ifdef __CYGWIN__
23898 # include <stddef.h>
23899 # endif
23900 # include <wchar.h>
23901 #endif
23902 #ifdef HAVE_STDLIB_H
23903 # include <stdlib.h>
23904 #endif
23905 #include <stdio.h>
23906 #include <string>
23907
23908 int
23909 main ()
23910 {
23911 std::basic_string<$char_type> foo;
23912 const $char_type* dummy = foo.c_str();
23913 ;
23914 return 0;
23915 }
23916 _ACEOF
23917 rm -f conftest.$ac_objext
23918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23919 (eval $ac_compile) 2>conftest.er1
23920 ac_status=$?
23921 grep -v '^ *+' conftest.er1 >conftest.err
23922 rm -f conftest.er1
23923 cat conftest.err >&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; } &&
23932 { ac_try='test -s conftest.$ac_objext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23938 echo "$as_me:$LINENO: result: yes" >&5
23939 echo "${ECHO_T}yes" >&6
23940 else
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23943
23944 echo "$as_me:$LINENO: result: no" >&5
23945 echo "${ECHO_T}no" >&6
23946 if test "$wxUSE_STL" = "yes"; then
23947 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23948 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23949 { (exit 1); exit 1; }; }
23950 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23951 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23952 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23953 { (exit 1); exit 1; }; }
23954 else
23955 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23956 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23957 wxUSE_STD_STRING=no
23958 fi
23959
23960
23961 fi
23962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23963
23964 fi
23965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23966 fi
23967
23968 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23969 echo "$as_me:$LINENO: checking for std::istream" >&5
23970 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23971 if test "${ac_cv_type_std__istream+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974 cat >conftest.$ac_ext <<_ACEOF
23975 /* confdefs.h. */
23976 _ACEOF
23977 cat confdefs.h >>conftest.$ac_ext
23978 cat >>conftest.$ac_ext <<_ACEOF
23979 /* end confdefs.h. */
23980 #include <iostream>
23981
23982 int
23983 main ()
23984 {
23985 if ((std::istream *) 0)
23986 return 0;
23987 if (sizeof (std::istream))
23988 return 0;
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23995 (eval $ac_compile) 2>conftest.er1
23996 ac_status=$?
23997 grep -v '^ *+' conftest.er1 >conftest.err
23998 rm -f conftest.er1
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } &&
24002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try='test -s conftest.$ac_objext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 ac_cv_type_std__istream=yes
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 ac_cv_type_std__istream=no
24020 fi
24021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24022 fi
24023 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24024 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24025 if test $ac_cv_type_std__istream = yes; then
24026
24027 cat >>confdefs.h <<_ACEOF
24028 #define HAVE_STD__ISTREAM 1
24029 _ACEOF
24030
24031
24032 else
24033 wxUSE_STD_IOSTREAM=no
24034 fi
24035 echo "$as_me:$LINENO: checking for std::ostream" >&5
24036 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24037 if test "${ac_cv_type_std__ostream+set}" = set; then
24038 echo $ECHO_N "(cached) $ECHO_C" >&6
24039 else
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 #include <iostream>
24047
24048 int
24049 main ()
24050 {
24051 if ((std::ostream *) 0)
24052 return 0;
24053 if (sizeof (std::ostream))
24054 return 0;
24055 ;
24056 return 0;
24057 }
24058 _ACEOF
24059 rm -f conftest.$ac_objext
24060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24061 (eval $ac_compile) 2>conftest.er1
24062 ac_status=$?
24063 grep -v '^ *+' conftest.er1 >conftest.err
24064 rm -f conftest.er1
24065 cat conftest.err >&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24070 (eval $ac_try) 2>&5
24071 ac_status=$?
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); }; } &&
24074 { ac_try='test -s conftest.$ac_objext'
24075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076 (eval $ac_try) 2>&5
24077 ac_status=$?
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; }; then
24080 ac_cv_type_std__ostream=yes
24081 else
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.$ac_ext >&5
24084
24085 ac_cv_type_std__ostream=no
24086 fi
24087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24088 fi
24089 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24090 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24091 if test $ac_cv_type_std__ostream = yes; then
24092
24093 cat >>confdefs.h <<_ACEOF
24094 #define HAVE_STD__OSTREAM 1
24095 _ACEOF
24096
24097
24098 else
24099 wxUSE_STD_IOSTREAM=no
24100 fi
24101
24102
24103 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24104 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24105 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24106 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24107 { (exit 1); exit 1; }; }
24108 else
24109 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24110 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24111 fi
24112 fi
24113 fi
24114
24115 if test "$wxUSE_STL" = "yes"; then
24116 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24117 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24118 cat >conftest.$ac_ext <<_ACEOF
24119 /* confdefs.h. */
24120 _ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124 #include <string>
24125 #include <functional>
24126 #include <algorithm>
24127 #include <vector>
24128 #include <list>
24129 int
24130 main ()
24131 {
24132 std::vector<int> moo;
24133 std::list<int> foo;
24134 std::vector<int>::iterator it =
24135 std::find_if(moo.begin(), moo.end(),
24136 std::bind2nd(std::less<int>(), 3));
24137 ;
24138 return 0;
24139 }
24140 _ACEOF
24141 rm -f conftest.$ac_objext
24142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24143 (eval $ac_compile) 2>conftest.er1
24144 ac_status=$?
24145 grep -v '^ *+' conftest.er1 >conftest.err
24146 rm -f conftest.er1
24147 cat conftest.err >&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } &&
24150 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; } &&
24156 { ac_try='test -s conftest.$ac_objext'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; }; then
24162 echo "$as_me:$LINENO: result: yes" >&5
24163 echo "${ECHO_T}yes" >&6
24164 else
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.$ac_ext >&5
24167
24168 echo "$as_me:$LINENO: result: no" >&5
24169 echo "${ECHO_T}no" >&6
24170 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24171 echo "$as_me: error: Basic STL functionality missing" >&2;}
24172 { (exit 1); exit 1; }; }
24173 fi
24174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24175
24176 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24177 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24178 cat >conftest.$ac_ext <<_ACEOF
24179 /* confdefs.h. */
24180 _ACEOF
24181 cat confdefs.h >>conftest.$ac_ext
24182 cat >>conftest.$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24184 #include <string>
24185 int
24186 main ()
24187 {
24188 std::string foo, bar;
24189 foo.compare(bar);
24190 foo.compare(1, 1, bar);
24191 foo.compare(1, 1, bar, 1, 1);
24192 foo.compare("");
24193 foo.compare(1, 1, "");
24194 foo.compare(1, 1, "", 2);
24195 ;
24196 return 0;
24197 }
24198 _ACEOF
24199 rm -f conftest.$ac_objext
24200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24201 (eval $ac_compile) 2>conftest.er1
24202 ac_status=$?
24203 grep -v '^ *+' conftest.er1 >conftest.err
24204 rm -f conftest.er1
24205 cat conftest.err >&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); } &&
24208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24210 (eval $ac_try) 2>&5
24211 ac_status=$?
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); }; } &&
24214 { ac_try='test -s conftest.$ac_objext'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24217 ac_status=$?
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24220 echo "$as_me:$LINENO: result: yes" >&5
24221 echo "${ECHO_T}yes" >&6
24222 cat >>confdefs.h <<\_ACEOF
24223 #define HAVE_STD_STRING_COMPARE 1
24224 _ACEOF
24225
24226 else
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.$ac_ext >&5
24229
24230 echo "$as_me:$LINENO: result: no" >&5
24231 echo "${ECHO_T}no" >&6
24232 fi
24233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24234
24235 if test "${ac_cv_header_hash_map+set}" = set; then
24236 echo "$as_me:$LINENO: checking for hash_map" >&5
24237 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24238 if test "${ac_cv_header_hash_map+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24240 fi
24241 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24242 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24243 else
24244 # Is the header compilable?
24245 echo "$as_me:$LINENO: checking hash_map usability" >&5
24246 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24247 cat >conftest.$ac_ext <<_ACEOF
24248 /* confdefs.h. */
24249 _ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 $ac_includes_default
24254 #include <hash_map>
24255 _ACEOF
24256 rm -f conftest.$ac_objext
24257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>conftest.er1
24259 ac_status=$?
24260 grep -v '^ *+' conftest.er1 >conftest.err
24261 rm -f conftest.er1
24262 cat conftest.err >&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } &&
24265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; } &&
24271 { ac_try='test -s conftest.$ac_objext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24274 ac_status=$?
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 ac_header_compiler=yes
24278 else
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.$ac_ext >&5
24281
24282 ac_header_compiler=no
24283 fi
24284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24286 echo "${ECHO_T}$ac_header_compiler" >&6
24287
24288 # Is the header present?
24289 echo "$as_me:$LINENO: checking hash_map presence" >&5
24290 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 #include <hash_map>
24298 _ACEOF
24299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24301 ac_status=$?
24302 grep -v '^ *+' conftest.er1 >conftest.err
24303 rm -f conftest.er1
24304 cat conftest.err >&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } >/dev/null; then
24307 if test -s conftest.err; then
24308 ac_cpp_err=$ac_cxx_preproc_warn_flag
24309 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24310 else
24311 ac_cpp_err=
24312 fi
24313 else
24314 ac_cpp_err=yes
24315 fi
24316 if test -z "$ac_cpp_err"; then
24317 ac_header_preproc=yes
24318 else
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322 ac_header_preproc=no
24323 fi
24324 rm -f conftest.err conftest.$ac_ext
24325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24326 echo "${ECHO_T}$ac_header_preproc" >&6
24327
24328 # So? What about this header?
24329 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24330 yes:no: )
24331 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24332 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24333 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24334 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24335 ac_header_preproc=yes
24336 ;;
24337 no:yes:* )
24338 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24339 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24340 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24341 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24342 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24343 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24344 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24345 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24346 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24347 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24348 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24349 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24350 (
24351 cat <<\_ASBOX
24352 ## ----------------------------------------- ##
24353 ## Report this to wx-dev@lists.wxwidgets.org ##
24354 ## ----------------------------------------- ##
24355 _ASBOX
24356 ) |
24357 sed "s/^/$as_me: WARNING: /" >&2
24358 ;;
24359 esac
24360 echo "$as_me:$LINENO: checking for hash_map" >&5
24361 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24362 if test "${ac_cv_header_hash_map+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 else
24365 ac_cv_header_hash_map=$ac_header_preproc
24366 fi
24367 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24368 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24369
24370 fi
24371 if test $ac_cv_header_hash_map = yes; then
24372 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24373 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24374 cat >conftest.$ac_ext <<_ACEOF
24375 /* confdefs.h. */
24376 _ACEOF
24377 cat confdefs.h >>conftest.$ac_ext
24378 cat >>conftest.$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 #include <hash_map>
24381 #include <hash_set>
24382 int
24383 main ()
24384 {
24385 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24386 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24387 ;
24388 return 0;
24389 }
24390 _ACEOF
24391 rm -f conftest.$ac_objext
24392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24393 (eval $ac_compile) 2>conftest.er1
24394 ac_status=$?
24395 grep -v '^ *+' conftest.er1 >conftest.err
24396 rm -f conftest.er1
24397 cat conftest.err >&5
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); } &&
24400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24403 ac_status=$?
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; } &&
24406 { ac_try='test -s conftest.$ac_objext'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24409 ac_status=$?
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24412 echo "$as_me:$LINENO: result: yes" >&5
24413 echo "${ECHO_T}yes" >&6
24414 cat >>confdefs.h <<\_ACEOF
24415 #define HAVE_HASH_MAP 1
24416 _ACEOF
24417
24418 cat >>confdefs.h <<\_ACEOF
24419 #define HAVE_STD_HASH_MAP 1
24420 _ACEOF
24421
24422 else
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.$ac_ext >&5
24425
24426 echo "$as_me:$LINENO: result: no" >&5
24427 echo "${ECHO_T}no" >&6
24428 fi
24429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24430
24431 fi
24432
24433
24434
24435 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24436 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24437 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24438 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 fi
24441 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24442 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24443 else
24444 # Is the header compilable?
24445 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24446 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24447 cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h. */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 $ac_includes_default
24454 #include <ext/hash_map>
24455 _ACEOF
24456 rm -f conftest.$ac_objext
24457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24458 (eval $ac_compile) 2>conftest.er1
24459 ac_status=$?
24460 grep -v '^ *+' conftest.er1 >conftest.err
24461 rm -f conftest.er1
24462 cat conftest.err >&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); } &&
24465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24468 ac_status=$?
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; } &&
24471 { ac_try='test -s conftest.$ac_objext'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24474 ac_status=$?
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; }; then
24477 ac_header_compiler=yes
24478 else
24479 echo "$as_me: failed program was:" >&5
24480 sed 's/^/| /' conftest.$ac_ext >&5
24481
24482 ac_header_compiler=no
24483 fi
24484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24486 echo "${ECHO_T}$ac_header_compiler" >&6
24487
24488 # Is the header present?
24489 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24490 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24491 cat >conftest.$ac_ext <<_ACEOF
24492 /* confdefs.h. */
24493 _ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24497 #include <ext/hash_map>
24498 _ACEOF
24499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24501 ac_status=$?
24502 grep -v '^ *+' conftest.er1 >conftest.err
24503 rm -f conftest.er1
24504 cat conftest.err >&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } >/dev/null; then
24507 if test -s conftest.err; then
24508 ac_cpp_err=$ac_cxx_preproc_warn_flag
24509 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24510 else
24511 ac_cpp_err=
24512 fi
24513 else
24514 ac_cpp_err=yes
24515 fi
24516 if test -z "$ac_cpp_err"; then
24517 ac_header_preproc=yes
24518 else
24519 echo "$as_me: failed program was:" >&5
24520 sed 's/^/| /' conftest.$ac_ext >&5
24521
24522 ac_header_preproc=no
24523 fi
24524 rm -f conftest.err conftest.$ac_ext
24525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24526 echo "${ECHO_T}$ac_header_preproc" >&6
24527
24528 # So? What about this header?
24529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24530 yes:no: )
24531 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24532 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24533 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24534 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24535 ac_header_preproc=yes
24536 ;;
24537 no:yes:* )
24538 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24539 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24540 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24541 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24542 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24543 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24544 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24545 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24546 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24547 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24548 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24549 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24550 (
24551 cat <<\_ASBOX
24552 ## ----------------------------------------- ##
24553 ## Report this to wx-dev@lists.wxwidgets.org ##
24554 ## ----------------------------------------- ##
24555 _ASBOX
24556 ) |
24557 sed "s/^/$as_me: WARNING: /" >&2
24558 ;;
24559 esac
24560 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24561 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24562 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24563 echo $ECHO_N "(cached) $ECHO_C" >&6
24564 else
24565 ac_cv_header_ext_hash_map=$ac_header_preproc
24566 fi
24567 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24568 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24569
24570 fi
24571 if test $ac_cv_header_ext_hash_map = yes; then
24572 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24573 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24574 cat >conftest.$ac_ext <<_ACEOF
24575 /* confdefs.h. */
24576 _ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 #include <ext/hash_map>
24581 #include <ext/hash_set>
24582 int
24583 main ()
24584 {
24585 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24586 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24587 ;
24588 return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593 (eval $ac_compile) 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24603 ac_status=$?
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; } &&
24606 { ac_try='test -s conftest.$ac_objext'
24607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24608 (eval $ac_try) 2>&5
24609 ac_status=$?
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24612 echo "$as_me:$LINENO: result: yes" >&5
24613 echo "${ECHO_T}yes" >&6
24614 cat >>confdefs.h <<\_ACEOF
24615 #define HAVE_EXT_HASH_MAP 1
24616 _ACEOF
24617
24618 cat >>confdefs.h <<\_ACEOF
24619 #define HAVE_GNU_CXX_HASH_MAP 1
24620 _ACEOF
24621
24622 else
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.$ac_ext >&5
24625
24626 echo "$as_me:$LINENO: result: no" >&5
24627 echo "${ECHO_T}no" >&6
24628 fi
24629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24630
24631 fi
24632
24633
24634 fi
24635
24636
24637 SEARCH_INCLUDE="\
24638 /usr/local/include \
24639 \
24640 /usr/Motif-2.1/include \
24641 /usr/Motif-1.2/include \
24642 /usr/include/Motif1.2 \
24643 \
24644 /usr/dt/include \
24645 /usr/openwin/include \
24646 \
24647 /usr/include/Xm \
24648 \
24649 /usr/X11R6/include \
24650 /usr/X11R6.4/include \
24651 /usr/X11R5/include \
24652 /usr/X11R4/include \
24653 \
24654 /usr/include/X11R6 \
24655 /usr/include/X11R5 \
24656 /usr/include/X11R4 \
24657 \
24658 /usr/local/X11R6/include \
24659 /usr/local/X11R5/include \
24660 /usr/local/X11R4/include \
24661 \
24662 /usr/local/include/X11R6 \
24663 /usr/local/include/X11R5 \
24664 /usr/local/include/X11R4 \
24665 \
24666 /usr/X11/include \
24667 /usr/include/X11 \
24668 /usr/local/X11/include \
24669 /usr/local/include/X11 \
24670 \
24671 /usr/XFree86/include/X11 \
24672 /usr/pkg/include \
24673 \
24674 /usr/openwin/share/include"
24675
24676 echo "$as_me:$LINENO: checking for libraries directory" >&5
24677 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24678
24679 case "${host}" in
24680 *-*-irix6* )
24681 if test "${wx_cv_std_libpath+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24683 else
24684
24685 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24686 for e in a so sl dylib dll.a; do
24687 libc="$d/libc.$e"
24688 if test -f $libc; then
24689 save_LIBS="$LIBS"
24690 LIBS="$libc"
24691 cat >conftest.$ac_ext <<_ACEOF
24692 int main() { return 0; }
24693 _ACEOF
24694 rm -f conftest.$ac_objext conftest$ac_exeext
24695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24696 (eval $ac_link) 2>conftest.er1
24697 ac_status=$?
24698 grep -v '^ *+' conftest.er1 >conftest.err
24699 rm -f conftest.er1
24700 cat conftest.err >&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } &&
24703 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705 (eval $ac_try) 2>&5
24706 ac_status=$?
24707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708 (exit $ac_status); }; } &&
24709 { ac_try='test -s conftest$ac_exeext'
24710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711 (eval $ac_try) 2>&5
24712 ac_status=$?
24713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); }; }; then
24715 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24716 else
24717 echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.$ac_ext >&5
24719
24720 fi
24721 rm -f conftest.err conftest.$ac_objext \
24722 conftest$ac_exeext conftest.$ac_ext
24723 LIBS="$save_LIBS"
24724 if test "x$wx_cv_std_libpath" != "x"; then
24725 break 2
24726 fi
24727 fi
24728 done
24729 done
24730 if test "x$wx_cv_std_libpath" = "x"; then
24731 wx_cv_std_libpath="lib"
24732 fi
24733
24734
24735 fi
24736
24737 ;;
24738
24739 *-*-solaris2* )
24740 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24741 wx_cv_std_libpath="lib/64"
24742 else
24743 wx_cv_std_libpath="lib"
24744 fi
24745 ;;
24746
24747 *-*-linux* )
24748 if test "$ac_cv_sizeof_void_p" = 8 -a \
24749 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24750 wx_cv_std_libpath="lib64"
24751 else
24752 wx_cv_std_libpath="lib"
24753 fi
24754 ;;
24755
24756 *)
24757 wx_cv_std_libpath="lib";
24758 ;;
24759 esac
24760
24761 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24762 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24763
24764 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24765
24766 if test "$build" != "$host" -a "$GCC" = yes; then
24767 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24768 cross_root=`dirname $cross_root`
24769 cross_root=`dirname $cross_root`
24770
24771 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24772 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24773 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24774
24775 if test -z "$PKG_CONFIG_PATH"; then
24776 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24777 export PKG_CONFIG_PATH
24778 fi
24779
24780 if test -z "$x_includes" -o "$x_includes" = NONE; then
24781
24782 ac_find_includes=
24783 for ac_dir in $SEARCH_INCLUDE /usr/include;
24784 do
24785 if test -f "$ac_dir/X11/Intrinsic.h"; then
24786 ac_find_includes=$ac_dir
24787 break
24788 fi
24789 done
24790
24791 x_includes=$ac_find_includes
24792 fi
24793 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24794
24795 ac_find_libraries=
24796 for ac_dir in $SEARCH_LIB;
24797 do
24798 for ac_extension in a so sl dylib dll.a; do
24799 if test -f "$ac_dir/libXt.$ac_extension"; then
24800 ac_find_libraries=$ac_dir
24801 break 2
24802 fi
24803 done
24804 done
24805
24806 x_libraries=$ac_find_libraries
24807 fi
24808 fi
24809 fi
24810
24811
24812 cat >confcache <<\_ACEOF
24813 # This file is a shell script that caches the results of configure
24814 # tests run on this system so they can be shared between configure
24815 # scripts and configure runs, see configure's option --config-cache.
24816 # It is not useful on other systems. If it contains results you don't
24817 # want to keep, you may remove or edit it.
24818 #
24819 # config.status only pays attention to the cache file if you give it
24820 # the --recheck option to rerun configure.
24821 #
24822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24824 # following values.
24825
24826 _ACEOF
24827
24828 # The following way of writing the cache mishandles newlines in values,
24829 # but we know of no workaround that is simple, portable, and efficient.
24830 # So, don't put newlines in cache variables' values.
24831 # Ultrix sh set writes to stderr and can't be redirected directly,
24832 # and sets the high bit in the cache file unless we assign to the vars.
24833 {
24834 (set) 2>&1 |
24835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24836 *ac_space=\ *)
24837 # `set' does not quote correctly, so add quotes (double-quote
24838 # substitution turns \\\\ into \\, and sed turns \\ into \).
24839 sed -n \
24840 "s/'/'\\\\''/g;
24841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24842 ;;
24843 *)
24844 # `set' quotes correctly as required by POSIX, so do not add quotes.
24845 sed -n \
24846 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24847 ;;
24848 esac;
24849 } |
24850 sed '
24851 t clear
24852 : clear
24853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24854 t end
24855 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24856 : end' >>confcache
24857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24858 if test -w $cache_file; then
24859 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24860 cat confcache >$cache_file
24861 else
24862 echo "not updating unwritable cache $cache_file"
24863 fi
24864 fi
24865 rm -f confcache
24866
24867 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24868 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24869 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24870 if test "${wx_cv_lib_glibc21+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 #include <features.h>
24881 int
24882 main ()
24883 {
24884
24885 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24886 not glibc 2.1
24887 #endif
24888
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try='test -s conftest.$ac_objext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914
24915 wx_cv_lib_glibc21=yes
24916
24917 else
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24920
24921
24922 wx_cv_lib_glibc21=no
24923
24924
24925 fi
24926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24927
24928 fi
24929 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24930 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24931 if test "$wx_cv_lib_glibc21" = "yes"; then
24932 cat >>confdefs.h <<\_ACEOF
24933 #define wxHAVE_GLIBC2 1
24934 _ACEOF
24935
24936 fi
24937 fi
24938
24939 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24940 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24941 cat >>confdefs.h <<\_ACEOF
24942 #define _GNU_SOURCE 1
24943 _ACEOF
24944
24945 fi
24946 fi
24947
24948 have_cos=0
24949 have_floor=0
24950
24951 for ac_func in cos
24952 do
24953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24954 echo "$as_me:$LINENO: checking for $ac_func" >&5
24955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24956 if eval "test \"\${$as_ac_var+set}\" = set"; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 else
24959 cat >conftest.$ac_ext <<_ACEOF
24960 /* confdefs.h. */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24967 #define $ac_func innocuous_$ac_func
24968
24969 /* System header to define __stub macros and hopefully few prototypes,
24970 which can conflict with char $ac_func (); below.
24971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24972 <limits.h> exists even on freestanding compilers. */
24973
24974 #ifdef __STDC__
24975 # include <limits.h>
24976 #else
24977 # include <assert.h>
24978 #endif
24979
24980 #undef $ac_func
24981
24982 /* Override any gcc2 internal prototype to avoid an error. */
24983 #ifdef __cplusplus
24984 extern "C"
24985 {
24986 #endif
24987 /* We use char because int might match the return type of a gcc2
24988 builtin and then its argument prototype would still apply. */
24989 char $ac_func ();
24990 /* The GNU C library defines this for functions which it implements
24991 to always fail with ENOSYS. Some functions are actually named
24992 something starting with __ and the normal name is an alias. */
24993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24994 choke me
24995 #else
24996 char (*f) () = $ac_func;
24997 #endif
24998 #ifdef __cplusplus
24999 }
25000 #endif
25001
25002 int
25003 main ()
25004 {
25005 return f != $ac_func;
25006 ;
25007 return 0;
25008 }
25009 _ACEOF
25010 rm -f conftest.$ac_objext conftest$ac_exeext
25011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25012 (eval $ac_link) 2>conftest.er1
25013 ac_status=$?
25014 grep -v '^ *+' conftest.er1 >conftest.err
25015 rm -f conftest.er1
25016 cat conftest.err >&5
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25028 ac_status=$?
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 eval "$as_ac_var=yes"
25032 else
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036 eval "$as_ac_var=no"
25037 fi
25038 rm -f conftest.err conftest.$ac_objext \
25039 conftest$ac_exeext conftest.$ac_ext
25040 fi
25041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25043 if test `eval echo '${'$as_ac_var'}'` = yes; then
25044 cat >>confdefs.h <<_ACEOF
25045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25046 _ACEOF
25047 have_cos=1
25048 fi
25049 done
25050
25051
25052 for ac_func in floor
25053 do
25054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25055 echo "$as_me:$LINENO: checking for $ac_func" >&5
25056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25057 if eval "test \"\${$as_ac_var+set}\" = set"; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 else
25060 cat >conftest.$ac_ext <<_ACEOF
25061 /* confdefs.h. */
25062 _ACEOF
25063 cat confdefs.h >>conftest.$ac_ext
25064 cat >>conftest.$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25068 #define $ac_func innocuous_$ac_func
25069
25070 /* System header to define __stub macros and hopefully few prototypes,
25071 which can conflict with char $ac_func (); below.
25072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25073 <limits.h> exists even on freestanding compilers. */
25074
25075 #ifdef __STDC__
25076 # include <limits.h>
25077 #else
25078 # include <assert.h>
25079 #endif
25080
25081 #undef $ac_func
25082
25083 /* Override any gcc2 internal prototype to avoid an error. */
25084 #ifdef __cplusplus
25085 extern "C"
25086 {
25087 #endif
25088 /* We use char because int might match the return type of a gcc2
25089 builtin and then its argument prototype would still apply. */
25090 char $ac_func ();
25091 /* The GNU C library defines this for functions which it implements
25092 to always fail with ENOSYS. Some functions are actually named
25093 something starting with __ and the normal name is an alias. */
25094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25095 choke me
25096 #else
25097 char (*f) () = $ac_func;
25098 #endif
25099 #ifdef __cplusplus
25100 }
25101 #endif
25102
25103 int
25104 main ()
25105 {
25106 return f != $ac_func;
25107 ;
25108 return 0;
25109 }
25110 _ACEOF
25111 rm -f conftest.$ac_objext conftest$ac_exeext
25112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25113 (eval $ac_link) 2>conftest.er1
25114 ac_status=$?
25115 grep -v '^ *+' conftest.er1 >conftest.err
25116 rm -f conftest.er1
25117 cat conftest.err >&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); } &&
25120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25123 ac_status=$?
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; } &&
25126 { ac_try='test -s conftest$ac_exeext'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25129 ac_status=$?
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; }; then
25132 eval "$as_ac_var=yes"
25133 else
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 eval "$as_ac_var=no"
25138 fi
25139 rm -f conftest.err conftest.$ac_objext \
25140 conftest$ac_exeext conftest.$ac_ext
25141 fi
25142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25144 if test `eval echo '${'$as_ac_var'}'` = yes; then
25145 cat >>confdefs.h <<_ACEOF
25146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25147 _ACEOF
25148 have_floor=1
25149 fi
25150 done
25151
25152 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25153 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25154 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25155 echo "$as_me:$LINENO: result: yes" >&5
25156 echo "${ECHO_T}yes" >&6
25157 else
25158 echo "$as_me:$LINENO: result: no" >&5
25159 echo "${ECHO_T}no" >&6
25160 LIBS="$LIBS -lm"
25161 # use different functions to avoid configure caching
25162 have_sin=0
25163 have_ceil=0
25164
25165 for ac_func in sin
25166 do
25167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25168 echo "$as_me:$LINENO: checking for $ac_func" >&5
25169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25170 if eval "test \"\${$as_ac_var+set}\" = set"; then
25171 echo $ECHO_N "(cached) $ECHO_C" >&6
25172 else
25173 cat >conftest.$ac_ext <<_ACEOF
25174 /* confdefs.h. */
25175 _ACEOF
25176 cat confdefs.h >>conftest.$ac_ext
25177 cat >>conftest.$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25181 #define $ac_func innocuous_$ac_func
25182
25183 /* System header to define __stub macros and hopefully few prototypes,
25184 which can conflict with char $ac_func (); below.
25185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25186 <limits.h> exists even on freestanding compilers. */
25187
25188 #ifdef __STDC__
25189 # include <limits.h>
25190 #else
25191 # include <assert.h>
25192 #endif
25193
25194 #undef $ac_func
25195
25196 /* Override any gcc2 internal prototype to avoid an error. */
25197 #ifdef __cplusplus
25198 extern "C"
25199 {
25200 #endif
25201 /* We use char because int might match the return type of a gcc2
25202 builtin and then its argument prototype would still apply. */
25203 char $ac_func ();
25204 /* The GNU C library defines this for functions which it implements
25205 to always fail with ENOSYS. Some functions are actually named
25206 something starting with __ and the normal name is an alias. */
25207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25208 choke me
25209 #else
25210 char (*f) () = $ac_func;
25211 #endif
25212 #ifdef __cplusplus
25213 }
25214 #endif
25215
25216 int
25217 main ()
25218 {
25219 return f != $ac_func;
25220 ;
25221 return 0;
25222 }
25223 _ACEOF
25224 rm -f conftest.$ac_objext conftest$ac_exeext
25225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25226 (eval $ac_link) 2>conftest.er1
25227 ac_status=$?
25228 grep -v '^ *+' conftest.er1 >conftest.err
25229 rm -f conftest.er1
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } &&
25233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25236 ac_status=$?
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; } &&
25239 { ac_try='test -s conftest$ac_exeext'
25240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25241 (eval $ac_try) 2>&5
25242 ac_status=$?
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); }; }; then
25245 eval "$as_ac_var=yes"
25246 else
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25249
25250 eval "$as_ac_var=no"
25251 fi
25252 rm -f conftest.err conftest.$ac_objext \
25253 conftest$ac_exeext conftest.$ac_ext
25254 fi
25255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25257 if test `eval echo '${'$as_ac_var'}'` = yes; then
25258 cat >>confdefs.h <<_ACEOF
25259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25260 _ACEOF
25261 have_sin=1
25262 fi
25263 done
25264
25265
25266 for ac_func in ceil
25267 do
25268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25269 echo "$as_me:$LINENO: checking for $ac_func" >&5
25270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25271 if eval "test \"\${$as_ac_var+set}\" = set"; then
25272 echo $ECHO_N "(cached) $ECHO_C" >&6
25273 else
25274 cat >conftest.$ac_ext <<_ACEOF
25275 /* confdefs.h. */
25276 _ACEOF
25277 cat confdefs.h >>conftest.$ac_ext
25278 cat >>conftest.$ac_ext <<_ACEOF
25279 /* end confdefs.h. */
25280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25282 #define $ac_func innocuous_$ac_func
25283
25284 /* System header to define __stub macros and hopefully few prototypes,
25285 which can conflict with char $ac_func (); below.
25286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25287 <limits.h> exists even on freestanding compilers. */
25288
25289 #ifdef __STDC__
25290 # include <limits.h>
25291 #else
25292 # include <assert.h>
25293 #endif
25294
25295 #undef $ac_func
25296
25297 /* Override any gcc2 internal prototype to avoid an error. */
25298 #ifdef __cplusplus
25299 extern "C"
25300 {
25301 #endif
25302 /* We use char because int might match the return type of a gcc2
25303 builtin and then its argument prototype would still apply. */
25304 char $ac_func ();
25305 /* The GNU C library defines this for functions which it implements
25306 to always fail with ENOSYS. Some functions are actually named
25307 something starting with __ and the normal name is an alias. */
25308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25309 choke me
25310 #else
25311 char (*f) () = $ac_func;
25312 #endif
25313 #ifdef __cplusplus
25314 }
25315 #endif
25316
25317 int
25318 main ()
25319 {
25320 return f != $ac_func;
25321 ;
25322 return 0;
25323 }
25324 _ACEOF
25325 rm -f conftest.$ac_objext conftest$ac_exeext
25326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25327 (eval $ac_link) 2>conftest.er1
25328 ac_status=$?
25329 grep -v '^ *+' conftest.er1 >conftest.err
25330 rm -f conftest.er1
25331 cat conftest.err >&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); } &&
25334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25337 ac_status=$?
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; } &&
25340 { ac_try='test -s conftest$ac_exeext'
25341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25342 (eval $ac_try) 2>&5
25343 ac_status=$?
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); }; }; then
25346 eval "$as_ac_var=yes"
25347 else
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.$ac_ext >&5
25350
25351 eval "$as_ac_var=no"
25352 fi
25353 rm -f conftest.err conftest.$ac_objext \
25354 conftest$ac_exeext conftest.$ac_ext
25355 fi
25356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25358 if test `eval echo '${'$as_ac_var'}'` = yes; then
25359 cat >>confdefs.h <<_ACEOF
25360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25361 _ACEOF
25362 have_ceil=1
25363 fi
25364 done
25365
25366 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25367 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25368 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25369 echo "$as_me:$LINENO: result: yes" >&5
25370 echo "${ECHO_T}yes" >&6
25371 else
25372 echo "$as_me:$LINENO: result: no" >&5
25373 echo "${ECHO_T}no" >&6
25374 # not sure we should warn the user, crash, etc.
25375 fi
25376 fi
25377
25378 if test "wxUSE_UNICODE" = "yes"; then
25379
25380 for ac_func in wcstoull
25381 do
25382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25383 echo "$as_me:$LINENO: checking for $ac_func" >&5
25384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25385 if eval "test \"\${$as_ac_var+set}\" = set"; then
25386 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 else
25388 cat >conftest.$ac_ext <<_ACEOF
25389 /* confdefs.h. */
25390 _ACEOF
25391 cat confdefs.h >>conftest.$ac_ext
25392 cat >>conftest.$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25396 #define $ac_func innocuous_$ac_func
25397
25398 /* System header to define __stub macros and hopefully few prototypes,
25399 which can conflict with char $ac_func (); below.
25400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25401 <limits.h> exists even on freestanding compilers. */
25402
25403 #ifdef __STDC__
25404 # include <limits.h>
25405 #else
25406 # include <assert.h>
25407 #endif
25408
25409 #undef $ac_func
25410
25411 /* Override any gcc2 internal prototype to avoid an error. */
25412 #ifdef __cplusplus
25413 extern "C"
25414 {
25415 #endif
25416 /* We use char because int might match the return type of a gcc2
25417 builtin and then its argument prototype would still apply. */
25418 char $ac_func ();
25419 /* The GNU C library defines this for functions which it implements
25420 to always fail with ENOSYS. Some functions are actually named
25421 something starting with __ and the normal name is an alias. */
25422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25423 choke me
25424 #else
25425 char (*f) () = $ac_func;
25426 #endif
25427 #ifdef __cplusplus
25428 }
25429 #endif
25430
25431 int
25432 main ()
25433 {
25434 return f != $ac_func;
25435 ;
25436 return 0;
25437 }
25438 _ACEOF
25439 rm -f conftest.$ac_objext conftest$ac_exeext
25440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25441 (eval $ac_link) 2>conftest.er1
25442 ac_status=$?
25443 grep -v '^ *+' conftest.er1 >conftest.err
25444 rm -f conftest.er1
25445 cat conftest.err >&5
25446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25447 (exit $ac_status); } &&
25448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25450 (eval $ac_try) 2>&5
25451 ac_status=$?
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); }; } &&
25454 { ac_try='test -s conftest$ac_exeext'
25455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25456 (eval $ac_try) 2>&5
25457 ac_status=$?
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); }; }; then
25460 eval "$as_ac_var=yes"
25461 else
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.$ac_ext >&5
25464
25465 eval "$as_ac_var=no"
25466 fi
25467 rm -f conftest.err conftest.$ac_objext \
25468 conftest$ac_exeext conftest.$ac_ext
25469 fi
25470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25472 if test `eval echo '${'$as_ac_var'}'` = yes; then
25473 cat >>confdefs.h <<_ACEOF
25474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25475 _ACEOF
25476
25477 fi
25478 done
25479
25480 else
25481
25482 for ac_func in strtoull
25483 do
25484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25485 echo "$as_me:$LINENO: checking for $ac_func" >&5
25486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25487 if eval "test \"\${$as_ac_var+set}\" = set"; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 else
25490 cat >conftest.$ac_ext <<_ACEOF
25491 /* confdefs.h. */
25492 _ACEOF
25493 cat confdefs.h >>conftest.$ac_ext
25494 cat >>conftest.$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25498 #define $ac_func innocuous_$ac_func
25499
25500 /* System header to define __stub macros and hopefully few prototypes,
25501 which can conflict with char $ac_func (); below.
25502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25503 <limits.h> exists even on freestanding compilers. */
25504
25505 #ifdef __STDC__
25506 # include <limits.h>
25507 #else
25508 # include <assert.h>
25509 #endif
25510
25511 #undef $ac_func
25512
25513 /* Override any gcc2 internal prototype to avoid an error. */
25514 #ifdef __cplusplus
25515 extern "C"
25516 {
25517 #endif
25518 /* We use char because int might match the return type of a gcc2
25519 builtin and then its argument prototype would still apply. */
25520 char $ac_func ();
25521 /* The GNU C library defines this for functions which it implements
25522 to always fail with ENOSYS. Some functions are actually named
25523 something starting with __ and the normal name is an alias. */
25524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25525 choke me
25526 #else
25527 char (*f) () = $ac_func;
25528 #endif
25529 #ifdef __cplusplus
25530 }
25531 #endif
25532
25533 int
25534 main ()
25535 {
25536 return f != $ac_func;
25537 ;
25538 return 0;
25539 }
25540 _ACEOF
25541 rm -f conftest.$ac_objext conftest$ac_exeext
25542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25543 (eval $ac_link) 2>conftest.er1
25544 ac_status=$?
25545 grep -v '^ *+' conftest.er1 >conftest.err
25546 rm -f conftest.er1
25547 cat conftest.err >&5
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); } &&
25550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552 (eval $ac_try) 2>&5
25553 ac_status=$?
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); }; } &&
25556 { ac_try='test -s conftest$ac_exeext'
25557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558 (eval $ac_try) 2>&5
25559 ac_status=$?
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); }; }; then
25562 eval "$as_ac_var=yes"
25563 else
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.$ac_ext >&5
25566
25567 eval "$as_ac_var=no"
25568 fi
25569 rm -f conftest.err conftest.$ac_objext \
25570 conftest$ac_exeext conftest.$ac_ext
25571 fi
25572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25574 if test `eval echo '${'$as_ac_var'}'` = yes; then
25575 cat >>confdefs.h <<_ACEOF
25576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25577 _ACEOF
25578
25579 fi
25580 done
25581
25582 fi
25583
25584
25585
25586 if test "$wxUSE_REGEX" != "no"; then
25587 cat >>confdefs.h <<\_ACEOF
25588 #define wxUSE_REGEX 1
25589 _ACEOF
25590
25591
25592 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25593 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25594 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25595 wxUSE_REGEX=builtin
25596 fi
25597
25598 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25599 if test "${ac_cv_header_regex_h+set}" = set; then
25600 echo "$as_me:$LINENO: checking for regex.h" >&5
25601 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25602 if test "${ac_cv_header_regex_h+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25604 fi
25605 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25606 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25607 else
25608 # Is the header compilable?
25609 echo "$as_me:$LINENO: checking regex.h usability" >&5
25610 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25611 cat >conftest.$ac_ext <<_ACEOF
25612 /* confdefs.h. */
25613 _ACEOF
25614 cat confdefs.h >>conftest.$ac_ext
25615 cat >>conftest.$ac_ext <<_ACEOF
25616 /* end confdefs.h. */
25617 $ac_includes_default
25618 #include <regex.h>
25619 _ACEOF
25620 rm -f conftest.$ac_objext
25621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25622 (eval $ac_compile) 2>conftest.er1
25623 ac_status=$?
25624 grep -v '^ *+' conftest.er1 >conftest.err
25625 rm -f conftest.er1
25626 cat conftest.err >&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); } &&
25629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631 (eval $ac_try) 2>&5
25632 ac_status=$?
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); }; } &&
25635 { ac_try='test -s conftest.$ac_objext'
25636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25637 (eval $ac_try) 2>&5
25638 ac_status=$?
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); }; }; then
25641 ac_header_compiler=yes
25642 else
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.$ac_ext >&5
25645
25646 ac_header_compiler=no
25647 fi
25648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25650 echo "${ECHO_T}$ac_header_compiler" >&6
25651
25652 # Is the header present?
25653 echo "$as_me:$LINENO: checking regex.h presence" >&5
25654 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25655 cat >conftest.$ac_ext <<_ACEOF
25656 /* confdefs.h. */
25657 _ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25661 #include <regex.h>
25662 _ACEOF
25663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25665 ac_status=$?
25666 grep -v '^ *+' conftest.er1 >conftest.err
25667 rm -f conftest.er1
25668 cat conftest.err >&5
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); } >/dev/null; then
25671 if test -s conftest.err; then
25672 ac_cpp_err=$ac_cxx_preproc_warn_flag
25673 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25674 else
25675 ac_cpp_err=
25676 fi
25677 else
25678 ac_cpp_err=yes
25679 fi
25680 if test -z "$ac_cpp_err"; then
25681 ac_header_preproc=yes
25682 else
25683 echo "$as_me: failed program was:" >&5
25684 sed 's/^/| /' conftest.$ac_ext >&5
25685
25686 ac_header_preproc=no
25687 fi
25688 rm -f conftest.err conftest.$ac_ext
25689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25690 echo "${ECHO_T}$ac_header_preproc" >&6
25691
25692 # So? What about this header?
25693 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25694 yes:no: )
25695 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25696 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25697 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25698 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25699 ac_header_preproc=yes
25700 ;;
25701 no:yes:* )
25702 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25703 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25704 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25705 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25706 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25707 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25708 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25709 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25711 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25712 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25713 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25714 (
25715 cat <<\_ASBOX
25716 ## ----------------------------------------- ##
25717 ## Report this to wx-dev@lists.wxwidgets.org ##
25718 ## ----------------------------------------- ##
25719 _ASBOX
25720 ) |
25721 sed "s/^/$as_me: WARNING: /" >&2
25722 ;;
25723 esac
25724 echo "$as_me:$LINENO: checking for regex.h" >&5
25725 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25726 if test "${ac_cv_header_regex_h+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 else
25729 ac_cv_header_regex_h=$ac_header_preproc
25730 fi
25731 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25732 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25733
25734 fi
25735 if test $ac_cv_header_regex_h = yes; then
25736
25737
25738 for ac_func in regcomp re_search
25739 do
25740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25741 echo "$as_me:$LINENO: checking for $ac_func" >&5
25742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25743 if eval "test \"\${$as_ac_var+set}\" = set"; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25746 cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h. */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25754 #define $ac_func innocuous_$ac_func
25755
25756 /* System header to define __stub macros and hopefully few prototypes,
25757 which can conflict with char $ac_func (); below.
25758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25759 <limits.h> exists even on freestanding compilers. */
25760
25761 #ifdef __STDC__
25762 # include <limits.h>
25763 #else
25764 # include <assert.h>
25765 #endif
25766
25767 #undef $ac_func
25768
25769 /* Override any gcc2 internal prototype to avoid an error. */
25770 #ifdef __cplusplus
25771 extern "C"
25772 {
25773 #endif
25774 /* We use char because int might match the return type of a gcc2
25775 builtin and then its argument prototype would still apply. */
25776 char $ac_func ();
25777 /* The GNU C library defines this for functions which it implements
25778 to always fail with ENOSYS. Some functions are actually named
25779 something starting with __ and the normal name is an alias. */
25780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25781 choke me
25782 #else
25783 char (*f) () = $ac_func;
25784 #endif
25785 #ifdef __cplusplus
25786 }
25787 #endif
25788
25789 int
25790 main ()
25791 {
25792 return f != $ac_func;
25793 ;
25794 return 0;
25795 }
25796 _ACEOF
25797 rm -f conftest.$ac_objext conftest$ac_exeext
25798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25799 (eval $ac_link) 2>conftest.er1
25800 ac_status=$?
25801 grep -v '^ *+' conftest.er1 >conftest.err
25802 rm -f conftest.er1
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } &&
25806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25809 ac_status=$?
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; } &&
25812 { ac_try='test -s conftest$ac_exeext'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25815 ac_status=$?
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; }; then
25818 eval "$as_ac_var=yes"
25819 else
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.$ac_ext >&5
25822
25823 eval "$as_ac_var=no"
25824 fi
25825 rm -f conftest.err conftest.$ac_objext \
25826 conftest$ac_exeext conftest.$ac_ext
25827 fi
25828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25830 if test `eval echo '${'$as_ac_var'}'` = yes; then
25831 cat >>confdefs.h <<_ACEOF
25832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25833 _ACEOF
25834
25835 fi
25836 done
25837
25838 fi
25839
25840
25841
25842 if test "x$ac_cv_func_regcomp" != "xyes"; then
25843 if test "$wxUSE_REGEX" = "sys" ; then
25844 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25845 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25846 { (exit 1); exit 1; }; }
25847 else
25848 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25849 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25850 wxUSE_REGEX=builtin
25851 fi
25852 else
25853 wxUSE_REGEX=sys
25854 cat >>confdefs.h <<\_ACEOF
25855 #define WX_NO_REGEX_ADVANCED 1
25856 _ACEOF
25857
25858 fi
25859 fi
25860 fi
25861
25862
25863 ZLIB_LINK=
25864 if test "$wxUSE_ZLIB" != "no" ; then
25865 cat >>confdefs.h <<\_ACEOF
25866 #define wxUSE_ZLIB 1
25867 _ACEOF
25868
25869
25870 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25871 if test "$USE_DARWIN" = 1; then
25872 system_zlib_h_ok="yes"
25873 else
25874 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25875 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25876 if test "${ac_cv_header_zlib_h+set}" = set; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 else
25879 if test "$cross_compiling" = yes; then
25880 unset ac_cv_header_zlib_h
25881
25882 else
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 #include <zlib.h>
25891 #include <stdio.h>
25892
25893 int main()
25894 {
25895 FILE *f=fopen("conftestval", "w");
25896 if (!f) exit(1);
25897 fprintf(f, "%s",
25898 ZLIB_VERSION[0] == '1' &&
25899 (ZLIB_VERSION[2] > '1' ||
25900 (ZLIB_VERSION[2] == '1' &&
25901 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25902 exit(0);
25903 }
25904
25905 _ACEOF
25906 rm -f conftest$ac_exeext
25907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25908 (eval $ac_link) 2>&5
25909 ac_status=$?
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25913 (eval $ac_try) 2>&5
25914 ac_status=$?
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); }; }; then
25917 ac_cv_header_zlib_h=`cat conftestval`
25918 else
25919 echo "$as_me: program exited with status $ac_status" >&5
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.$ac_ext >&5
25922
25923 ( exit $ac_status )
25924 ac_cv_header_zlib_h=no
25925 fi
25926 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25927 fi
25928
25929 fi
25930 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25931 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25932 if test "${ac_cv_header_zlib_h+set}" = set; then
25933 echo "$as_me:$LINENO: checking for zlib.h" >&5
25934 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25935 if test "${ac_cv_header_zlib_h+set}" = set; then
25936 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 fi
25938 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25939 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25940 else
25941 # Is the header compilable?
25942 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25943 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25944 cat >conftest.$ac_ext <<_ACEOF
25945 /* confdefs.h. */
25946 _ACEOF
25947 cat confdefs.h >>conftest.$ac_ext
25948 cat >>conftest.$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25950 $ac_includes_default
25951 #include <zlib.h>
25952 _ACEOF
25953 rm -f conftest.$ac_objext
25954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25955 (eval $ac_compile) 2>conftest.er1
25956 ac_status=$?
25957 grep -v '^ *+' conftest.er1 >conftest.err
25958 rm -f conftest.er1
25959 cat conftest.err >&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25965 ac_status=$?
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; } &&
25968 { ac_try='test -s conftest.$ac_objext'
25969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970 (eval $ac_try) 2>&5
25971 ac_status=$?
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); }; }; then
25974 ac_header_compiler=yes
25975 else
25976 echo "$as_me: failed program was:" >&5
25977 sed 's/^/| /' conftest.$ac_ext >&5
25978
25979 ac_header_compiler=no
25980 fi
25981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25983 echo "${ECHO_T}$ac_header_compiler" >&6
25984
25985 # Is the header present?
25986 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25987 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25988 cat >conftest.$ac_ext <<_ACEOF
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994 #include <zlib.h>
25995 _ACEOF
25996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25998 ac_status=$?
25999 grep -v '^ *+' conftest.er1 >conftest.err
26000 rm -f conftest.er1
26001 cat conftest.err >&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } >/dev/null; then
26004 if test -s conftest.err; then
26005 ac_cpp_err=$ac_cxx_preproc_warn_flag
26006 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26007 else
26008 ac_cpp_err=
26009 fi
26010 else
26011 ac_cpp_err=yes
26012 fi
26013 if test -z "$ac_cpp_err"; then
26014 ac_header_preproc=yes
26015 else
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 ac_header_preproc=no
26020 fi
26021 rm -f conftest.err conftest.$ac_ext
26022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26023 echo "${ECHO_T}$ac_header_preproc" >&6
26024
26025 # So? What about this header?
26026 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26027 yes:no: )
26028 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26029 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26030 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26031 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26032 ac_header_preproc=yes
26033 ;;
26034 no:yes:* )
26035 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26036 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26038 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26039 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26040 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26042 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26043 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26044 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26045 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26046 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26047 (
26048 cat <<\_ASBOX
26049 ## ----------------------------------------- ##
26050 ## Report this to wx-dev@lists.wxwidgets.org ##
26051 ## ----------------------------------------- ##
26052 _ASBOX
26053 ) |
26054 sed "s/^/$as_me: WARNING: /" >&2
26055 ;;
26056 esac
26057 echo "$as_me:$LINENO: checking for zlib.h" >&5
26058 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26059 if test "${ac_cv_header_zlib_h+set}" = set; then
26060 echo $ECHO_N "(cached) $ECHO_C" >&6
26061 else
26062 ac_cv_header_zlib_h=$ac_header_preproc
26063 fi
26064 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26065 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26066
26067 fi
26068
26069
26070
26071 system_zlib_h_ok=$ac_cv_header_zlib_h
26072 fi
26073
26074 if test "$system_zlib_h_ok" = "yes"; then
26075 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26076 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26077 if test "${ac_cv_lib_z_deflate+set}" = set; then
26078 echo $ECHO_N "(cached) $ECHO_C" >&6
26079 else
26080 ac_check_lib_save_LIBS=$LIBS
26081 LIBS="-lz $LIBS"
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088
26089 /* Override any gcc2 internal prototype to avoid an error. */
26090 #ifdef __cplusplus
26091 extern "C"
26092 #endif
26093 /* We use char because int might match the return type of a gcc2
26094 builtin and then its argument prototype would still apply. */
26095 char deflate ();
26096 int
26097 main ()
26098 {
26099 deflate ();
26100 ;
26101 return 0;
26102 }
26103 _ACEOF
26104 rm -f conftest.$ac_objext conftest$ac_exeext
26105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26106 (eval $ac_link) 2>conftest.er1
26107 ac_status=$?
26108 grep -v '^ *+' conftest.er1 >conftest.err
26109 rm -f conftest.er1
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } &&
26113 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26115 (eval $ac_try) 2>&5
26116 ac_status=$?
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); }; } &&
26119 { ac_try='test -s conftest$ac_exeext'
26120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121 (eval $ac_try) 2>&5
26122 ac_status=$?
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); }; }; then
26125 ac_cv_lib_z_deflate=yes
26126 else
26127 echo "$as_me: failed program was:" >&5
26128 sed 's/^/| /' conftest.$ac_ext >&5
26129
26130 ac_cv_lib_z_deflate=no
26131 fi
26132 rm -f conftest.err conftest.$ac_objext \
26133 conftest$ac_exeext conftest.$ac_ext
26134 LIBS=$ac_check_lib_save_LIBS
26135 fi
26136 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26137 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26138 if test $ac_cv_lib_z_deflate = yes; then
26139 ZLIB_LINK=" -lz"
26140 fi
26141
26142 fi
26143
26144 if test "x$ZLIB_LINK" = "x" ; then
26145 if test "$wxUSE_ZLIB" = "sys" ; then
26146 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26147 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26148 { (exit 1); exit 1; }; }
26149 else
26150 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26151 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26152 wxUSE_ZLIB=builtin
26153 fi
26154 else
26155 wxUSE_ZLIB=sys
26156 fi
26157 fi
26158 fi
26159
26160
26161 PNG_LINK=
26162 if test "$wxUSE_LIBPNG" != "no" ; then
26163 cat >>confdefs.h <<\_ACEOF
26164 #define wxUSE_LIBPNG 1
26165 _ACEOF
26166
26167
26168 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26169 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26170 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26171 wxUSE_LIBPNG=sys
26172 fi
26173
26174 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26175 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26176 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26177 wxUSE_LIBPNG=builtin
26178 fi
26179
26180 if test "$wxUSE_MGL" != 1 ; then
26181 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26182 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26183 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26184 if test "${ac_cv_header_png_h+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 else
26187 if test "$cross_compiling" = yes; then
26188 unset ac_cv_header_png_h
26189
26190 else
26191 cat >conftest.$ac_ext <<_ACEOF
26192 /* confdefs.h. */
26193 _ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26197
26198 #include <png.h>
26199 #include <stdio.h>
26200
26201 int main()
26202 {
26203 FILE *f=fopen("conftestval", "w");
26204 if (!f) exit(1);
26205 fprintf(f, "%s",
26206 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26207 exit(0);
26208 }
26209
26210 _ACEOF
26211 rm -f conftest$ac_exeext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26213 (eval $ac_link) 2>&5
26214 ac_status=$?
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26218 (eval $ac_try) 2>&5
26219 ac_status=$?
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); }; }; then
26222 ac_cv_header_png_h=`cat conftestval`
26223 else
26224 echo "$as_me: program exited with status $ac_status" >&5
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26227
26228 ( exit $ac_status )
26229 ac_cv_header_png_h=no
26230 fi
26231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26232 fi
26233
26234 fi
26235 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26236 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26237 if test "${ac_cv_header_png_h+set}" = set; then
26238 echo "$as_me:$LINENO: checking for png.h" >&5
26239 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26240 if test "${ac_cv_header_png_h+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 fi
26243 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26244 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26245 else
26246 # Is the header compilable?
26247 echo "$as_me:$LINENO: checking png.h usability" >&5
26248 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26249 cat >conftest.$ac_ext <<_ACEOF
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 $ac_includes_default
26256 #include <png.h>
26257 _ACEOF
26258 rm -f conftest.$ac_objext
26259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26260 (eval $ac_compile) 2>conftest.er1
26261 ac_status=$?
26262 grep -v '^ *+' conftest.er1 >conftest.err
26263 rm -f conftest.er1
26264 cat conftest.err >&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } &&
26267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try='test -s conftest.$ac_objext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_header_compiler=yes
26280 else
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26283
26284 ac_header_compiler=no
26285 fi
26286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26288 echo "${ECHO_T}$ac_header_compiler" >&6
26289
26290 # Is the header present?
26291 echo "$as_me:$LINENO: checking png.h presence" >&5
26292 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26293 cat >conftest.$ac_ext <<_ACEOF
26294 /* confdefs.h. */
26295 _ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299 #include <png.h>
26300 _ACEOF
26301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26303 ac_status=$?
26304 grep -v '^ *+' conftest.er1 >conftest.err
26305 rm -f conftest.er1
26306 cat conftest.err >&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); } >/dev/null; then
26309 if test -s conftest.err; then
26310 ac_cpp_err=$ac_cxx_preproc_warn_flag
26311 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26312 else
26313 ac_cpp_err=
26314 fi
26315 else
26316 ac_cpp_err=yes
26317 fi
26318 if test -z "$ac_cpp_err"; then
26319 ac_header_preproc=yes
26320 else
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26323
26324 ac_header_preproc=no
26325 fi
26326 rm -f conftest.err conftest.$ac_ext
26327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26328 echo "${ECHO_T}$ac_header_preproc" >&6
26329
26330 # So? What about this header?
26331 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26332 yes:no: )
26333 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26334 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26335 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26336 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26337 ac_header_preproc=yes
26338 ;;
26339 no:yes:* )
26340 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26341 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26342 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26343 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26344 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26345 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26347 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26349 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26350 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26351 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26352 (
26353 cat <<\_ASBOX
26354 ## ----------------------------------------- ##
26355 ## Report this to wx-dev@lists.wxwidgets.org ##
26356 ## ----------------------------------------- ##
26357 _ASBOX
26358 ) |
26359 sed "s/^/$as_me: WARNING: /" >&2
26360 ;;
26361 esac
26362 echo "$as_me:$LINENO: checking for png.h" >&5
26363 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26364 if test "${ac_cv_header_png_h+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 else
26367 ac_cv_header_png_h=$ac_header_preproc
26368 fi
26369 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26370 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26371
26372 fi
26373
26374
26375
26376 if test "$ac_cv_header_png_h" = "yes"; then
26377 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26378 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26379 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 else
26382 ac_check_lib_save_LIBS=$LIBS
26383 LIBS="-lpng -lz -lm $LIBS"
26384 cat >conftest.$ac_ext <<_ACEOF
26385 /* confdefs.h. */
26386 _ACEOF
26387 cat confdefs.h >>conftest.$ac_ext
26388 cat >>conftest.$ac_ext <<_ACEOF
26389 /* end confdefs.h. */
26390
26391 /* Override any gcc2 internal prototype to avoid an error. */
26392 #ifdef __cplusplus
26393 extern "C"
26394 #endif
26395 /* We use char because int might match the return type of a gcc2
26396 builtin and then its argument prototype would still apply. */
26397 char png_check_sig ();
26398 int
26399 main ()
26400 {
26401 png_check_sig ();
26402 ;
26403 return 0;
26404 }
26405 _ACEOF
26406 rm -f conftest.$ac_objext conftest$ac_exeext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26408 (eval $ac_link) 2>conftest.er1
26409 ac_status=$?
26410 grep -v '^ *+' conftest.er1 >conftest.err
26411 rm -f conftest.er1
26412 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26418 ac_status=$?
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; } &&
26421 { ac_try='test -s conftest$ac_exeext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26424 ac_status=$?
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 ac_cv_lib_png_png_check_sig=yes
26428 else
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26431
26432 ac_cv_lib_png_png_check_sig=no
26433 fi
26434 rm -f conftest.err conftest.$ac_objext \
26435 conftest$ac_exeext conftest.$ac_ext
26436 LIBS=$ac_check_lib_save_LIBS
26437 fi
26438 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26439 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26440 if test $ac_cv_lib_png_png_check_sig = yes; then
26441 PNG_LINK=" -lpng -lz"
26442 fi
26443
26444 fi
26445
26446 if test "x$PNG_LINK" = "x" ; then
26447 if test "$wxUSE_LIBPNG" = "sys" ; then
26448 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26449 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26450 { (exit 1); exit 1; }; }
26451 else
26452 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26453 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26454 wxUSE_LIBPNG=builtin
26455 fi
26456 else
26457 wxUSE_LIBPNG=sys
26458 fi
26459 fi
26460 fi
26461
26462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26463 fi
26464
26465
26466 JPEG_LINK=
26467 if test "$wxUSE_LIBJPEG" != "no" ; then
26468 cat >>confdefs.h <<\_ACEOF
26469 #define wxUSE_LIBJPEG 1
26470 _ACEOF
26471
26472
26473 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26474 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26475 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26476 wxUSE_LIBJPEG=sys
26477 fi
26478
26479 if test "$wxUSE_MGL" != 1 ; then
26480 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26481 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26482 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26483 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 else
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492
26493 #undef HAVE_STDLIB_H
26494 #include <stdio.h>
26495 #include <jpeglib.h>
26496
26497 int
26498 main ()
26499 {
26500
26501
26502 ;
26503 return 0;
26504 }
26505 _ACEOF
26506 rm -f conftest.$ac_objext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26508 (eval $ac_compile) 2>conftest.er1
26509 ac_status=$?
26510 grep -v '^ *+' conftest.er1 >conftest.err
26511 rm -f conftest.er1
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
26515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26518 ac_status=$?
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; } &&
26521 { ac_try='test -s conftest.$ac_objext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26524 ac_status=$?
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 ac_cv_header_jpeglib_h=yes
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 ac_cv_header_jpeglib_h=no
26533
26534 fi
26535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26536
26537 fi
26538
26539 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26540 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26541
26542 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26543 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26544 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26545 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26547 else
26548 ac_check_lib_save_LIBS=$LIBS
26549 LIBS="-ljpeg $LIBS"
26550 cat >conftest.$ac_ext <<_ACEOF
26551 /* confdefs.h. */
26552 _ACEOF
26553 cat confdefs.h >>conftest.$ac_ext
26554 cat >>conftest.$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26556
26557 /* Override any gcc2 internal prototype to avoid an error. */
26558 #ifdef __cplusplus
26559 extern "C"
26560 #endif
26561 /* We use char because int might match the return type of a gcc2
26562 builtin and then its argument prototype would still apply. */
26563 char jpeg_read_header ();
26564 int
26565 main ()
26566 {
26567 jpeg_read_header ();
26568 ;
26569 return 0;
26570 }
26571 _ACEOF
26572 rm -f conftest.$ac_objext conftest$ac_exeext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26574 (eval $ac_link) 2>conftest.er1
26575 ac_status=$?
26576 grep -v '^ *+' conftest.er1 >conftest.err
26577 rm -f conftest.er1
26578 cat conftest.err >&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } &&
26581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26584 ac_status=$?
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; } &&
26587 { ac_try='test -s conftest$ac_exeext'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26590 ac_status=$?
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; }; then
26593 ac_cv_lib_jpeg_jpeg_read_header=yes
26594 else
26595 echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26597
26598 ac_cv_lib_jpeg_jpeg_read_header=no
26599 fi
26600 rm -f conftest.err conftest.$ac_objext \
26601 conftest$ac_exeext conftest.$ac_ext
26602 LIBS=$ac_check_lib_save_LIBS
26603 fi
26604 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26605 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26606 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26607 JPEG_LINK=" -ljpeg"
26608 fi
26609
26610 fi
26611
26612 if test "x$JPEG_LINK" = "x" ; then
26613 if test "$wxUSE_LIBJPEG" = "sys" ; then
26614 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26615 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26616 { (exit 1); exit 1; }; }
26617 else
26618 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26619 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26620 wxUSE_LIBJPEG=builtin
26621 fi
26622 else
26623 wxUSE_LIBJPEG=sys
26624 fi
26625 fi
26626 fi
26627 fi
26628
26629
26630 TIFF_LINK=
26631 TIFF_PREREQ_LINKS=-lm
26632 if test "$wxUSE_LIBTIFF" != "no" ; then
26633 cat >>confdefs.h <<\_ACEOF
26634 #define wxUSE_LIBTIFF 1
26635 _ACEOF
26636
26637
26638 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26639 if test "$wxUSE_LIBJPEG" = "sys"; then
26640 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26641 fi
26642 if test "$wxUSE_ZLIB" = "sys"; then
26643 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26644 fi
26645 if test "${ac_cv_header_tiffio_h+set}" = set; then
26646 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26647 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26648 if test "${ac_cv_header_tiffio_h+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 fi
26651 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26652 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26653 else
26654 # Is the header compilable?
26655 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26656 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26657 cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h. */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663 $ac_includes_default
26664 #include <tiffio.h>
26665 _ACEOF
26666 rm -f conftest.$ac_objext
26667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26668 (eval $ac_compile) 2>conftest.er1
26669 ac_status=$?
26670 grep -v '^ *+' conftest.er1 >conftest.err
26671 rm -f conftest.er1
26672 cat conftest.err >&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); } &&
26675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; } &&
26681 { ac_try='test -s conftest.$ac_objext'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; }; then
26687 ac_header_compiler=yes
26688 else
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26691
26692 ac_header_compiler=no
26693 fi
26694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26696 echo "${ECHO_T}$ac_header_compiler" >&6
26697
26698 # Is the header present?
26699 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26700 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26701 cat >conftest.$ac_ext <<_ACEOF
26702 /* confdefs.h. */
26703 _ACEOF
26704 cat confdefs.h >>conftest.$ac_ext
26705 cat >>conftest.$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707 #include <tiffio.h>
26708 _ACEOF
26709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26711 ac_status=$?
26712 grep -v '^ *+' conftest.er1 >conftest.err
26713 rm -f conftest.er1
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } >/dev/null; then
26717 if test -s conftest.err; then
26718 ac_cpp_err=$ac_cxx_preproc_warn_flag
26719 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26720 else
26721 ac_cpp_err=
26722 fi
26723 else
26724 ac_cpp_err=yes
26725 fi
26726 if test -z "$ac_cpp_err"; then
26727 ac_header_preproc=yes
26728 else
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.$ac_ext >&5
26731
26732 ac_header_preproc=no
26733 fi
26734 rm -f conftest.err conftest.$ac_ext
26735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26736 echo "${ECHO_T}$ac_header_preproc" >&6
26737
26738 # So? What about this header?
26739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26740 yes:no: )
26741 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26742 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26743 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26744 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26745 ac_header_preproc=yes
26746 ;;
26747 no:yes:* )
26748 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26749 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26750 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26751 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26753 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26755 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26757 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26759 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26760 (
26761 cat <<\_ASBOX
26762 ## ----------------------------------------- ##
26763 ## Report this to wx-dev@lists.wxwidgets.org ##
26764 ## ----------------------------------------- ##
26765 _ASBOX
26766 ) |
26767 sed "s/^/$as_me: WARNING: /" >&2
26768 ;;
26769 esac
26770 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26771 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26772 if test "${ac_cv_header_tiffio_h+set}" = set; then
26773 echo $ECHO_N "(cached) $ECHO_C" >&6
26774 else
26775 ac_cv_header_tiffio_h=$ac_header_preproc
26776 fi
26777 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26778 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26779
26780 fi
26781 if test $ac_cv_header_tiffio_h = yes; then
26782
26783 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26784 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26785 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26788 ac_check_lib_save_LIBS=$LIBS
26789 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26790 cat >conftest.$ac_ext <<_ACEOF
26791 /* confdefs.h. */
26792 _ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796
26797 /* Override any gcc2 internal prototype to avoid an error. */
26798 #ifdef __cplusplus
26799 extern "C"
26800 #endif
26801 /* We use char because int might match the return type of a gcc2
26802 builtin and then its argument prototype would still apply. */
26803 char TIFFError ();
26804 int
26805 main ()
26806 {
26807 TIFFError ();
26808 ;
26809 return 0;
26810 }
26811 _ACEOF
26812 rm -f conftest.$ac_objext conftest$ac_exeext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>conftest.er1
26815 ac_status=$?
26816 grep -v '^ *+' conftest.er1 >conftest.err
26817 rm -f conftest.er1
26818 cat conftest.err >&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823 (eval $ac_try) 2>&5
26824 ac_status=$?
26825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 (exit $ac_status); }; } &&
26827 { ac_try='test -s conftest$ac_exeext'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26830 ac_status=$?
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; }; then
26833 ac_cv_lib_tiff_TIFFError=yes
26834 else
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26837
26838 ac_cv_lib_tiff_TIFFError=no
26839 fi
26840 rm -f conftest.err conftest.$ac_objext \
26841 conftest$ac_exeext conftest.$ac_ext
26842 LIBS=$ac_check_lib_save_LIBS
26843 fi
26844 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26845 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26846 if test $ac_cv_lib_tiff_TIFFError = yes; then
26847 TIFF_LINK=" -ltiff"
26848 fi
26849
26850
26851
26852 fi
26853
26854
26855
26856 if test "x$TIFF_LINK" = "x" ; then
26857 if test "$wxUSE_LIBTIFF" = "sys" ; then
26858 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26859 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26860 { (exit 1); exit 1; }; }
26861 else
26862 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26863 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26864 wxUSE_LIBTIFF=builtin
26865 fi
26866 else
26867 wxUSE_LIBTIFF=sys
26868 fi
26869 fi
26870 fi
26871
26872
26873 if test "$wxUSE_WCHAR_T" != "yes"; then
26874 if test "$wxUSE_EXPAT" != "no"; then
26875 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26876 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26877 wxUSE_EXPAT=no
26878 fi
26879 if test "$wxUSE_XML" != "no"; then
26880 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26881 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26882 wxUSE_XML=no
26883 fi
26884 fi
26885
26886 if test "$wxUSE_EXPAT" != "no"; then
26887 wxUSE_XML=yes
26888 cat >>confdefs.h <<\_ACEOF
26889 #define wxUSE_EXPAT 1
26890 _ACEOF
26891
26892 cat >>confdefs.h <<\_ACEOF
26893 #define wxUSE_XML 1
26894 _ACEOF
26895
26896
26897 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26898 if test "${ac_cv_header_expat_h+set}" = set; then
26899 echo "$as_me:$LINENO: checking for expat.h" >&5
26900 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26901 if test "${ac_cv_header_expat_h+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 fi
26904 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26905 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26906 else
26907 # Is the header compilable?
26908 echo "$as_me:$LINENO: checking expat.h usability" >&5
26909 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26910 cat >conftest.$ac_ext <<_ACEOF
26911 /* confdefs.h. */
26912 _ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916 $ac_includes_default
26917 #include <expat.h>
26918 _ACEOF
26919 rm -f conftest.$ac_objext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26921 (eval $ac_compile) 2>conftest.er1
26922 ac_status=$?
26923 grep -v '^ *+' conftest.er1 >conftest.err
26924 rm -f conftest.er1
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26931 ac_status=$?
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; } &&
26934 { ac_try='test -s conftest.$ac_objext'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26937 ac_status=$?
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; }; then
26940 ac_header_compiler=yes
26941 else
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26944
26945 ac_header_compiler=no
26946 fi
26947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26949 echo "${ECHO_T}$ac_header_compiler" >&6
26950
26951 # Is the header present?
26952 echo "$as_me:$LINENO: checking expat.h presence" >&5
26953 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <expat.h>
26961 _ACEOF
26962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26964 ac_status=$?
26965 grep -v '^ *+' conftest.er1 >conftest.err
26966 rm -f conftest.er1
26967 cat conftest.err >&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } >/dev/null; then
26970 if test -s conftest.err; then
26971 ac_cpp_err=$ac_cxx_preproc_warn_flag
26972 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26973 else
26974 ac_cpp_err=
26975 fi
26976 else
26977 ac_cpp_err=yes
26978 fi
26979 if test -z "$ac_cpp_err"; then
26980 ac_header_preproc=yes
26981 else
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.$ac_ext >&5
26984
26985 ac_header_preproc=no
26986 fi
26987 rm -f conftest.err conftest.$ac_ext
26988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26989 echo "${ECHO_T}$ac_header_preproc" >&6
26990
26991 # So? What about this header?
26992 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26993 yes:no: )
26994 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26995 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26997 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26998 ac_header_preproc=yes
26999 ;;
27000 no:yes:* )
27001 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27002 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27004 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27005 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27006 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27008 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27010 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27012 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27013 (
27014 cat <<\_ASBOX
27015 ## ----------------------------------------- ##
27016 ## Report this to wx-dev@lists.wxwidgets.org ##
27017 ## ----------------------------------------- ##
27018 _ASBOX
27019 ) |
27020 sed "s/^/$as_me: WARNING: /" >&2
27021 ;;
27022 esac
27023 echo "$as_me:$LINENO: checking for expat.h" >&5
27024 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27025 if test "${ac_cv_header_expat_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 else
27028 ac_cv_header_expat_h=$ac_header_preproc
27029 fi
27030 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27031 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27032
27033 fi
27034 if test $ac_cv_header_expat_h = yes; then
27035 found_expat_h=1
27036 fi
27037
27038
27039 if test "x$found_expat_h" = "x1"; then
27040 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27041 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27042 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27044 else
27045
27046 cat >conftest.$ac_ext <<_ACEOF
27047 /* confdefs.h. */
27048 _ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052 #include <expat.h>
27053 int
27054 main ()
27055 {
27056
27057 ;
27058 return 0;
27059 }
27060 _ACEOF
27061 rm -f conftest.$ac_objext
27062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27063 (eval $ac_compile) 2>conftest.er1
27064 ac_status=$?
27065 grep -v '^ *+' conftest.er1 >conftest.err
27066 rm -f conftest.er1
27067 cat conftest.err >&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); } &&
27070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; } &&
27076 { ac_try='test -s conftest.$ac_objext'
27077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 (eval $ac_try) 2>&5
27079 ac_status=$?
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); }; }; then
27082 wx_cv_expat_is_not_broken=yes
27083 else
27084 echo "$as_me: failed program was:" >&5
27085 sed 's/^/| /' conftest.$ac_ext >&5
27086
27087 wx_cv_expat_is_not_broken=no
27088
27089 fi
27090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27091
27092
27093 fi
27094 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27095 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27096 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27097 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27098 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27099 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 else
27102 ac_check_lib_save_LIBS=$LIBS
27103 LIBS="-lexpat $LIBS"
27104 cat >conftest.$ac_ext <<_ACEOF
27105 /* confdefs.h. */
27106 _ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110
27111 /* Override any gcc2 internal prototype to avoid an error. */
27112 #ifdef __cplusplus
27113 extern "C"
27114 #endif
27115 /* We use char because int might match the return type of a gcc2
27116 builtin and then its argument prototype would still apply. */
27117 char XML_ParserCreate ();
27118 int
27119 main ()
27120 {
27121 XML_ParserCreate ();
27122 ;
27123 return 0;
27124 }
27125 _ACEOF
27126 rm -f conftest.$ac_objext conftest$ac_exeext
27127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27128 (eval $ac_link) 2>conftest.er1
27129 ac_status=$?
27130 grep -v '^ *+' conftest.er1 >conftest.err
27131 rm -f conftest.er1
27132 cat conftest.err >&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); } &&
27135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137 (eval $ac_try) 2>&5
27138 ac_status=$?
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); }; } &&
27141 { ac_try='test -s conftest$ac_exeext'
27142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 (eval $ac_try) 2>&5
27144 ac_status=$?
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); }; }; then
27147 ac_cv_lib_expat_XML_ParserCreate=yes
27148 else
27149 echo "$as_me: failed program was:" >&5
27150 sed 's/^/| /' conftest.$ac_ext >&5
27151
27152 ac_cv_lib_expat_XML_ParserCreate=no
27153 fi
27154 rm -f conftest.err conftest.$ac_objext \
27155 conftest$ac_exeext conftest.$ac_ext
27156 LIBS=$ac_check_lib_save_LIBS
27157 fi
27158 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27159 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27160 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27161 EXPAT_LINK=" -lexpat"
27162 fi
27163
27164 fi
27165 fi
27166 if test "x$EXPAT_LINK" = "x" ; then
27167 if test "$wxUSE_EXPAT" = "sys" ; then
27168 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27169 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27170 { (exit 1); exit 1; }; }
27171 else
27172 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27173 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27174 wxUSE_EXPAT=builtin
27175 fi
27176 else
27177 wxUSE_EXPAT=sys
27178 fi
27179 fi
27180 if test "$wxUSE_EXPAT" = "builtin" ; then
27181
27182
27183 subdirs="$subdirs src/expat"
27184
27185 fi
27186 fi
27187
27188
27189
27190 if test "$wxUSE_LIBMSPACK" != "no"; then
27191 if test "${ac_cv_header_mspack_h+set}" = set; then
27192 echo "$as_me:$LINENO: checking for mspack.h" >&5
27193 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27194 if test "${ac_cv_header_mspack_h+set}" = set; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27196 fi
27197 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27198 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27199 else
27200 # Is the header compilable?
27201 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27202 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27203 cat >conftest.$ac_ext <<_ACEOF
27204 /* confdefs.h. */
27205 _ACEOF
27206 cat confdefs.h >>conftest.$ac_ext
27207 cat >>conftest.$ac_ext <<_ACEOF
27208 /* end confdefs.h. */
27209 $ac_includes_default
27210 #include <mspack.h>
27211 _ACEOF
27212 rm -f conftest.$ac_objext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27214 (eval $ac_compile) 2>conftest.er1
27215 ac_status=$?
27216 grep -v '^ *+' conftest.er1 >conftest.err
27217 rm -f conftest.er1
27218 cat conftest.err >&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try='test -s conftest.$ac_objext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27230 ac_status=$?
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27233 ac_header_compiler=yes
27234 else
27235 echo "$as_me: failed program was:" >&5
27236 sed 's/^/| /' conftest.$ac_ext >&5
27237
27238 ac_header_compiler=no
27239 fi
27240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27242 echo "${ECHO_T}$ac_header_compiler" >&6
27243
27244 # Is the header present?
27245 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27246 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27247 cat >conftest.$ac_ext <<_ACEOF
27248 /* confdefs.h. */
27249 _ACEOF
27250 cat confdefs.h >>conftest.$ac_ext
27251 cat >>conftest.$ac_ext <<_ACEOF
27252 /* end confdefs.h. */
27253 #include <mspack.h>
27254 _ACEOF
27255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27257 ac_status=$?
27258 grep -v '^ *+' conftest.er1 >conftest.err
27259 rm -f conftest.er1
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } >/dev/null; then
27263 if test -s conftest.err; then
27264 ac_cpp_err=$ac_cxx_preproc_warn_flag
27265 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27266 else
27267 ac_cpp_err=
27268 fi
27269 else
27270 ac_cpp_err=yes
27271 fi
27272 if test -z "$ac_cpp_err"; then
27273 ac_header_preproc=yes
27274 else
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.$ac_ext >&5
27277
27278 ac_header_preproc=no
27279 fi
27280 rm -f conftest.err conftest.$ac_ext
27281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27282 echo "${ECHO_T}$ac_header_preproc" >&6
27283
27284 # So? What about this header?
27285 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27286 yes:no: )
27287 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27288 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27289 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27290 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27291 ac_header_preproc=yes
27292 ;;
27293 no:yes:* )
27294 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27295 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27296 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27297 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27298 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27299 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27301 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27303 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27304 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27305 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27306 (
27307 cat <<\_ASBOX
27308 ## ----------------------------------------- ##
27309 ## Report this to wx-dev@lists.wxwidgets.org ##
27310 ## ----------------------------------------- ##
27311 _ASBOX
27312 ) |
27313 sed "s/^/$as_me: WARNING: /" >&2
27314 ;;
27315 esac
27316 echo "$as_me:$LINENO: checking for mspack.h" >&5
27317 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27318 if test "${ac_cv_header_mspack_h+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27320 else
27321 ac_cv_header_mspack_h=$ac_header_preproc
27322 fi
27323 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27324 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27325
27326 fi
27327 if test $ac_cv_header_mspack_h = yes; then
27328 found_mspack_h=1
27329 fi
27330
27331
27332 if test "x$found_mspack_h" = "x1"; then
27333 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27334 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27335 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338 ac_check_lib_save_LIBS=$LIBS
27339 LIBS="-lmspack $LIBS"
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h. */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27346
27347 /* Override any gcc2 internal prototype to avoid an error. */
27348 #ifdef __cplusplus
27349 extern "C"
27350 #endif
27351 /* We use char because int might match the return type of a gcc2
27352 builtin and then its argument prototype would still apply. */
27353 char mspack_create_chm_decompressor ();
27354 int
27355 main ()
27356 {
27357 mspack_create_chm_decompressor ();
27358 ;
27359 return 0;
27360 }
27361 _ACEOF
27362 rm -f conftest.$ac_objext conftest$ac_exeext
27363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27364 (eval $ac_link) 2>conftest.er1
27365 ac_status=$?
27366 grep -v '^ *+' conftest.er1 >conftest.err
27367 rm -f conftest.er1
27368 cat conftest.err >&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27373 (eval $ac_try) 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; } &&
27377 { ac_try='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27380 ac_status=$?
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27389 fi
27390 rm -f conftest.err conftest.$ac_objext \
27391 conftest$ac_exeext conftest.$ac_ext
27392 LIBS=$ac_check_lib_save_LIBS
27393 fi
27394 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27395 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27396 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27397 MSPACK_LINK=" -lmspack"
27398 fi
27399
27400 fi
27401 if test "x$MSPACK_LINK" = "x" ; then
27402 wxUSE_LIBMSPACK=no
27403 fi
27404 fi
27405
27406 if test "$wxUSE_LIBMSPACK" != "no"; then
27407 cat >>confdefs.h <<\_ACEOF
27408 #define wxUSE_LIBMSPACK 1
27409 _ACEOF
27410
27411 fi
27412
27413
27414
27415 AFMINSTALL=
27416 WIN32INSTALL=
27417
27418 TOOLKIT=
27419 TOOLKIT_INCLUDE=
27420 WIDGET_SET=
27421
27422 if test "$USE_WIN32" = 1 ; then
27423
27424 for ac_header in w32api.h
27425 do
27426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27428 echo "$as_me:$LINENO: checking for $ac_header" >&5
27429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 fi
27433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27435 else
27436 # Is the header compilable?
27437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27439 cat >conftest.$ac_ext <<_ACEOF
27440 /* confdefs.h. */
27441 _ACEOF
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27445 $ac_includes_default
27446 #include <$ac_header>
27447 _ACEOF
27448 rm -f conftest.$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>conftest.er1
27451 ac_status=$?
27452 grep -v '^ *+' conftest.er1 >conftest.err
27453 rm -f conftest.er1
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } &&
27457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459 (eval $ac_try) 2>&5
27460 ac_status=$?
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); }; } &&
27463 { ac_try='test -s conftest.$ac_objext'
27464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27465 (eval $ac_try) 2>&5
27466 ac_status=$?
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; }; then
27469 ac_header_compiler=yes
27470 else
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ac_header_compiler=no
27475 fi
27476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27478 echo "${ECHO_T}$ac_header_compiler" >&6
27479
27480 # Is the header present?
27481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489 #include <$ac_header>
27490 _ACEOF
27491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27493 ac_status=$?
27494 grep -v '^ *+' conftest.er1 >conftest.err
27495 rm -f conftest.er1
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } >/dev/null; then
27499 if test -s conftest.err; then
27500 ac_cpp_err=$ac_cxx_preproc_warn_flag
27501 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27502 else
27503 ac_cpp_err=
27504 fi
27505 else
27506 ac_cpp_err=yes
27507 fi
27508 if test -z "$ac_cpp_err"; then
27509 ac_header_preproc=yes
27510 else
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 ac_header_preproc=no
27515 fi
27516 rm -f conftest.err conftest.$ac_ext
27517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27518 echo "${ECHO_T}$ac_header_preproc" >&6
27519
27520 # So? What about this header?
27521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27522 yes:no: )
27523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27527 ac_header_preproc=yes
27528 ;;
27529 no:yes:* )
27530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27542 (
27543 cat <<\_ASBOX
27544 ## ----------------------------------------- ##
27545 ## Report this to wx-dev@lists.wxwidgets.org ##
27546 ## ----------------------------------------- ##
27547 _ASBOX
27548 ) |
27549 sed "s/^/$as_me: WARNING: /" >&2
27550 ;;
27551 esac
27552 echo "$as_me:$LINENO: checking for $ac_header" >&5
27553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 else
27557 eval "$as_ac_Header=\$ac_header_preproc"
27558 fi
27559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27561
27562 fi
27563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27564 cat >>confdefs.h <<_ACEOF
27565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27566 _ACEOF
27567
27568 fi
27569
27570 done
27571
27572 if test "${ac_cv_header_windows_h+set}" = set; then
27573 echo "$as_me:$LINENO: checking for windows.h" >&5
27574 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27575 if test "${ac_cv_header_windows_h+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 fi
27578 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27579 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27580 else
27581 # Is the header compilable?
27582 echo "$as_me:$LINENO: checking windows.h usability" >&5
27583 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 $ac_includes_default
27591 #include <windows.h>
27592 _ACEOF
27593 rm -f conftest.$ac_objext
27594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27595 (eval $ac_compile) 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } &&
27602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27604 (eval $ac_try) 2>&5
27605 ac_status=$?
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); }; } &&
27608 { ac_try='test -s conftest.$ac_objext'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27611 ac_status=$?
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; }; then
27614 ac_header_compiler=yes
27615 else
27616 echo "$as_me: failed program was:" >&5
27617 sed 's/^/| /' conftest.$ac_ext >&5
27618
27619 ac_header_compiler=no
27620 fi
27621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27623 echo "${ECHO_T}$ac_header_compiler" >&6
27624
27625 # Is the header present?
27626 echo "$as_me:$LINENO: checking windows.h presence" >&5
27627 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27628 cat >conftest.$ac_ext <<_ACEOF
27629 /* confdefs.h. */
27630 _ACEOF
27631 cat confdefs.h >>conftest.$ac_ext
27632 cat >>conftest.$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <windows.h>
27635 _ACEOF
27636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27638 ac_status=$?
27639 grep -v '^ *+' conftest.er1 >conftest.err
27640 rm -f conftest.er1
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } >/dev/null; then
27644 if test -s conftest.err; then
27645 ac_cpp_err=$ac_cxx_preproc_warn_flag
27646 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27647 else
27648 ac_cpp_err=
27649 fi
27650 else
27651 ac_cpp_err=yes
27652 fi
27653 if test -z "$ac_cpp_err"; then
27654 ac_header_preproc=yes
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 ac_header_preproc=no
27660 fi
27661 rm -f conftest.err conftest.$ac_ext
27662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27663 echo "${ECHO_T}$ac_header_preproc" >&6
27664
27665 # So? What about this header?
27666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27667 yes:no: )
27668 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27669 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27670 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27671 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27672 ac_header_preproc=yes
27673 ;;
27674 no:yes:* )
27675 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27676 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27678 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27679 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27680 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27682 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27684 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27685 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27686 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27687 (
27688 cat <<\_ASBOX
27689 ## ----------------------------------------- ##
27690 ## Report this to wx-dev@lists.wxwidgets.org ##
27691 ## ----------------------------------------- ##
27692 _ASBOX
27693 ) |
27694 sed "s/^/$as_me: WARNING: /" >&2
27695 ;;
27696 esac
27697 echo "$as_me:$LINENO: checking for windows.h" >&5
27698 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27699 if test "${ac_cv_header_windows_h+set}" = set; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27701 else
27702 ac_cv_header_windows_h=$ac_header_preproc
27703 fi
27704 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27705 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27706
27707 fi
27708 if test $ac_cv_header_windows_h = yes; then
27709 :
27710 else
27711
27712 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27713 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27714 { (exit 1); exit 1; }; }
27715
27716 fi
27717
27718
27719
27720 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27721
27722 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27723 LIBS="$LIBS -loleacc"
27724 fi
27725
27726 case "${host}" in
27727 *-*-cygwin* )
27728 LIBS="$LIBS -lkernel32 -luser32"
27729 esac
27730
27731 if test "$wxUSE_ODBC" = "sys" ; then
27732 wxUSE_ODBC = "yes"
27733 fi
27734 if test "$wxUSE_ODBC" = "yes" ; then
27735 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27736 cat >>confdefs.h <<\_ACEOF
27737 #define wxUSE_ODBC 1
27738 _ACEOF
27739
27740 fi
27741
27742 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27743 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27744
27745 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27746
27747 WIN32INSTALL=win32install
27748
27749 echo "$as_me:$LINENO: checking for boolean" >&5
27750 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27751 if test "${ac_cv_type_boolean+set}" = set; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 #include <windows.h>
27761
27762 int
27763 main ()
27764 {
27765 if ((boolean *) 0)
27766 return 0;
27767 if (sizeof (boolean))
27768 return 0;
27769 ;
27770 return 0;
27771 }
27772 _ACEOF
27773 rm -f conftest.$ac_objext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27775 (eval $ac_compile) 2>conftest.er1
27776 ac_status=$?
27777 grep -v '^ *+' conftest.er1 >conftest.err
27778 rm -f conftest.er1
27779 cat conftest.err >&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } &&
27782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; } &&
27788 { ac_try='test -s conftest.$ac_objext'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27791 ac_status=$?
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; }; then
27794 ac_cv_type_boolean=yes
27795 else
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.$ac_ext >&5
27798
27799 ac_cv_type_boolean=no
27800 fi
27801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27802 fi
27803 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27804 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27805 if test $ac_cv_type_boolean = yes; then
27806
27807 cat >>confdefs.h <<_ACEOF
27808 #define HAVE_BOOLEAN 1
27809 _ACEOF
27810
27811
27812 fi
27813
27814
27815
27816 for ac_header in pbt.h
27817 do
27818 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27820 echo "$as_me:$LINENO: checking for $ac_header" >&5
27821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 fi
27825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27827 else
27828 # Is the header compilable?
27829 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27830 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27831 cat >conftest.$ac_ext <<_ACEOF
27832 /* confdefs.h. */
27833 _ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837 $ac_includes_default
27838 #include <$ac_header>
27839 _ACEOF
27840 rm -f conftest.$ac_objext
27841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27842 (eval $ac_compile) 2>conftest.er1
27843 ac_status=$?
27844 grep -v '^ *+' conftest.er1 >conftest.err
27845 rm -f conftest.er1
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } &&
27849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851 (eval $ac_try) 2>&5
27852 ac_status=$?
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); }; } &&
27855 { ac_try='test -s conftest.$ac_objext'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_header_compiler=yes
27862 else
27863 echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.$ac_ext >&5
27865
27866 ac_header_compiler=no
27867 fi
27868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27870 echo "${ECHO_T}$ac_header_compiler" >&6
27871
27872 # Is the header present?
27873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27875 cat >conftest.$ac_ext <<_ACEOF
27876 /* confdefs.h. */
27877 _ACEOF
27878 cat confdefs.h >>conftest.$ac_ext
27879 cat >>conftest.$ac_ext <<_ACEOF
27880 /* end confdefs.h. */
27881 #include <$ac_header>
27882 _ACEOF
27883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27885 ac_status=$?
27886 grep -v '^ *+' conftest.er1 >conftest.err
27887 rm -f conftest.er1
27888 cat conftest.err >&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); } >/dev/null; then
27891 if test -s conftest.err; then
27892 ac_cpp_err=$ac_cxx_preproc_warn_flag
27893 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27894 else
27895 ac_cpp_err=
27896 fi
27897 else
27898 ac_cpp_err=yes
27899 fi
27900 if test -z "$ac_cpp_err"; then
27901 ac_header_preproc=yes
27902 else
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.$ac_ext >&5
27905
27906 ac_header_preproc=no
27907 fi
27908 rm -f conftest.err conftest.$ac_ext
27909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27910 echo "${ECHO_T}$ac_header_preproc" >&6
27911
27912 # So? What about this header?
27913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27914 yes:no: )
27915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27919 ac_header_preproc=yes
27920 ;;
27921 no:yes:* )
27922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27934 (
27935 cat <<\_ASBOX
27936 ## ----------------------------------------- ##
27937 ## Report this to wx-dev@lists.wxwidgets.org ##
27938 ## ----------------------------------------- ##
27939 _ASBOX
27940 ) |
27941 sed "s/^/$as_me: WARNING: /" >&2
27942 ;;
27943 esac
27944 echo "$as_me:$LINENO: checking for $ac_header" >&5
27945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 else
27949 eval "$as_ac_Header=\$ac_header_preproc"
27950 fi
27951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27953
27954 fi
27955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27956 cat >>confdefs.h <<_ACEOF
27957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27958 _ACEOF
27959
27960 else
27961 cat >>confdefs.h <<\_ACEOF
27962 #define NEED_PBT_H 1
27963 _ACEOF
27964
27965 fi
27966
27967 done
27968
27969 fi
27970
27971 if test "$wxUSE_GUI" = "yes"; then
27972 USE_GUI=1
27973
27974 GUI_TK_LIBRARY=
27975
27976 WXGTK12=
27977 WXGTK127=
27978 WXGTK20=
27979 WXGPE=
27980
27981 if test "$wxUSE_COCOA" = 1 ; then
27982 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27983 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27984 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27985 wxUSE_PRINTING_ARCHITECTURE=no
27986 fi
27987 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27988 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27989 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27990 wxUSE_DRAG_AND_DROP=no
27991 fi
27992 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27993 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27994 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27995 wxUSE_DRAGIMAGE=no
27996 fi
27997 fi
27998
27999 if test "$wxUSE_MSW" = 1 ; then
28000 TOOLKIT=MSW
28001 GUIDIST=MSW_DIST
28002
28003 case "${host}" in
28004 *-*-mingw32* )
28005 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28006 esac
28007 fi
28008
28009 if test "$wxUSE_GTK" = 1; then
28010 ac_ext=c
28011 ac_cpp='$CPP $CPPFLAGS'
28012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28015
28016
28017 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28018 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28019
28020 gtk_version_cached=1
28021 if test "${wx_cv_lib_gtk+set}" = set; then
28022 echo $ECHO_N "(cached) $ECHO_C" >&6
28023 else
28024
28025 gtk_version_cached=0
28026 echo "$as_me:$LINENO: result: " >&5
28027 echo "${ECHO_T}" >&6
28028
28029 GTK_MODULES=
28030 if test "$wxUSE_THREADS" = "yes"; then
28031 GTK_MODULES=gthread
28032 fi
28033
28034 wx_cv_lib_gtk=
28035 if test "x$wxGTK_VERSION" != "x1"
28036 then
28037 case "${host}" in
28038 *-*-solaris2* )
28039 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28040 enable_gtktest=no
28041 fi
28042 esac
28043
28044 # Check whether --enable-gtktest or --disable-gtktest was given.
28045 if test "${enable_gtktest+set}" = set; then
28046 enableval="$enable_gtktest"
28047
28048 else
28049 enable_gtktest=yes
28050 fi;
28051
28052 pkg_config_args=gtk+-2.0
28053 for module in . $GTK_MODULES
28054 do
28055 case "$module" in
28056 gthread)
28057 pkg_config_args="$pkg_config_args gthread-2.0"
28058 ;;
28059 esac
28060 done
28061
28062 no_gtk=""
28063
28064 # Extract the first word of "pkg-config", so it can be a program name with args.
28065 set dummy pkg-config; ac_word=$2
28066 echo "$as_me:$LINENO: checking for $ac_word" >&5
28067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28068 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 else
28071 case $PKG_CONFIG in
28072 [\\/]* | ?:[\\/]*)
28073 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28074 ;;
28075 *)
28076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28077 for as_dir in $PATH
28078 do
28079 IFS=$as_save_IFS
28080 test -z "$as_dir" && as_dir=.
28081 for ac_exec_ext in '' $ac_executable_extensions; do
28082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28083 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28085 break 2
28086 fi
28087 done
28088 done
28089
28090 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28091 ;;
28092 esac
28093 fi
28094 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28095
28096 if test -n "$PKG_CONFIG"; then
28097 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28098 echo "${ECHO_T}$PKG_CONFIG" >&6
28099 else
28100 echo "$as_me:$LINENO: result: no" >&5
28101 echo "${ECHO_T}no" >&6
28102 fi
28103
28104
28105 if test x$PKG_CONFIG != xno ; then
28106 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28107 :
28108 else
28109 echo "*** pkg-config too old; version 0.7 or better required."
28110 no_gtk=yes
28111 PKG_CONFIG=no
28112 fi
28113 else
28114 no_gtk=yes
28115 fi
28116
28117 min_gtk_version=2.0.0
28118 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28119 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28120
28121 if test x$PKG_CONFIG != xno ; then
28122 ## don't try to run the test against uninstalled libtool libs
28123 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28124 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28125 enable_gtktest=no
28126 fi
28127
28128 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28129 :
28130 else
28131 no_gtk=yes
28132 fi
28133 fi
28134
28135 if test x"$no_gtk" = x ; then
28136 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28137 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28138 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28140 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28142 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28144 if test "x$enable_gtktest" = "xyes" ; then
28145 ac_save_CFLAGS="$CFLAGS"
28146 ac_save_LIBS="$LIBS"
28147 CFLAGS="$CFLAGS $GTK_CFLAGS"
28148 LIBS="$GTK_LIBS $LIBS"
28149 rm -f conf.gtktest
28150 if test "$cross_compiling" = yes; then
28151 echo $ac_n "cross compiling; assumed OK... $ac_c"
28152 else
28153 cat >conftest.$ac_ext <<_ACEOF
28154 /* confdefs.h. */
28155 _ACEOF
28156 cat confdefs.h >>conftest.$ac_ext
28157 cat >>conftest.$ac_ext <<_ACEOF
28158 /* end confdefs.h. */
28159
28160 #include <gtk/gtk.h>
28161 #include <stdio.h>
28162 #include <stdlib.h>
28163
28164 int
28165 main ()
28166 {
28167 int major, minor, micro;
28168 char *tmp_version;
28169
28170 system ("touch conf.gtktest");
28171
28172 /* HP/UX 9 (%@#!) writes to sscanf strings */
28173 tmp_version = g_strdup("$min_gtk_version");
28174 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28175 printf("%s, bad version string\n", "$min_gtk_version");
28176 exit(1);
28177 }
28178
28179 if ((gtk_major_version != $gtk_config_major_version) ||
28180 (gtk_minor_version != $gtk_config_minor_version) ||
28181 (gtk_micro_version != $gtk_config_micro_version))
28182 {
28183 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28184 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28185 gtk_major_version, gtk_minor_version, gtk_micro_version);
28186 printf ("*** was found! If pkg-config was correct, then it is best\n");
28187 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28188 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28189 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28190 printf("*** required on your system.\n");
28191 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28192 printf("*** to point to the correct configuration files\n");
28193 }
28194 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28195 (gtk_minor_version != GTK_MINOR_VERSION) ||
28196 (gtk_micro_version != GTK_MICRO_VERSION))
28197 {
28198 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28199 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28200 printf("*** library (version %d.%d.%d)\n",
28201 gtk_major_version, gtk_minor_version, gtk_micro_version);
28202 }
28203 else
28204 {
28205 if ((gtk_major_version > major) ||
28206 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28207 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28208 {
28209 return 0;
28210 }
28211 else
28212 {
28213 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28214 gtk_major_version, gtk_minor_version, gtk_micro_version);
28215 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28216 major, minor, micro);
28217 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28218 printf("***\n");
28219 printf("*** If you have already installed a sufficiently new version, this error\n");
28220 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28221 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28222 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28223 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28224 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28225 printf("*** so that the correct libraries are found at run-time))\n");
28226 }
28227 }
28228 return 1;
28229 }
28230
28231 _ACEOF
28232 rm -f conftest$ac_exeext
28233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28234 (eval $ac_link) 2>&5
28235 ac_status=$?
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28239 (eval $ac_try) 2>&5
28240 ac_status=$?
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); }; }; then
28243 :
28244 else
28245 echo "$as_me: program exited with status $ac_status" >&5
28246 echo "$as_me: failed program was:" >&5
28247 sed 's/^/| /' conftest.$ac_ext >&5
28248
28249 ( exit $ac_status )
28250 no_gtk=yes
28251 fi
28252 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28253 fi
28254 CFLAGS="$ac_save_CFLAGS"
28255 LIBS="$ac_save_LIBS"
28256 fi
28257 fi
28258 if test "x$no_gtk" = x ; then
28259 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28260 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28261 wx_cv_lib_gtk=2.0
28262 else
28263 echo "$as_me:$LINENO: result: no" >&5
28264 echo "${ECHO_T}no" >&6
28265 if test "$PKG_CONFIG" = "no" ; then
28266 echo "*** A new enough version of pkg-config was not found."
28267 echo "*** See http://pkgconfig.sourceforge.net"
28268 else
28269 if test -f conf.gtktest ; then
28270 :
28271 else
28272 echo "*** Could not run GTK+ test program, checking why..."
28273 ac_save_CFLAGS="$CFLAGS"
28274 ac_save_LIBS="$LIBS"
28275 CFLAGS="$CFLAGS $GTK_CFLAGS"
28276 LIBS="$LIBS $GTK_LIBS"
28277 cat >conftest.$ac_ext <<_ACEOF
28278 /* confdefs.h. */
28279 _ACEOF
28280 cat confdefs.h >>conftest.$ac_ext
28281 cat >>conftest.$ac_ext <<_ACEOF
28282 /* end confdefs.h. */
28283
28284 #include <gtk/gtk.h>
28285 #include <stdio.h>
28286
28287 int
28288 main ()
28289 {
28290 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28291 ;
28292 return 0;
28293 }
28294 _ACEOF
28295 rm -f conftest.$ac_objext conftest$ac_exeext
28296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28297 (eval $ac_link) 2>conftest.er1
28298 ac_status=$?
28299 grep -v '^ *+' conftest.er1 >conftest.err
28300 rm -f conftest.er1
28301 cat conftest.err >&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } &&
28304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; } &&
28310 { ac_try='test -s conftest$ac_exeext'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28313 ac_status=$?
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; }; then
28316 echo "*** The test program compiled, but did not run. This usually means"
28317 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28318 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28319 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28320 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28321 echo "*** is required on your system"
28322 echo "***"
28323 echo "*** If you have an old version installed, it is best to remove it, although"
28324 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28325 else
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28328
28329 echo "*** The test program failed to compile or link. See the file config.log for the"
28330 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28331 fi
28332 rm -f conftest.err conftest.$ac_objext \
28333 conftest$ac_exeext conftest.$ac_ext
28334 CFLAGS="$ac_save_CFLAGS"
28335 LIBS="$ac_save_LIBS"
28336 fi
28337 fi
28338 GTK_CFLAGS=""
28339 GTK_LIBS=""
28340 :
28341 fi
28342
28343
28344 rm -f conf.gtktest
28345
28346
28347 case "${host}" in
28348 *-*-solaris2* )
28349 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28350 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28351 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28352 fi
28353 if test "$wxUSE_SHARED" != "yes"; then
28354 GTK_LIBS="$GTK_LIBS -lX11"
28355 fi
28356 esac
28357 fi
28358
28359 if test -z "$wx_cv_lib_gtk"; then
28360 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28361
28362 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28363 if test "${with_gtk_prefix+set}" = set; then
28364 withval="$with_gtk_prefix"
28365 gtk_config_prefix="$withval"
28366 else
28367 gtk_config_prefix=""
28368 fi;
28369
28370 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28371 if test "${with_gtk_exec_prefix+set}" = set; then
28372 withval="$with_gtk_exec_prefix"
28373 gtk_config_exec_prefix="$withval"
28374 else
28375 gtk_config_exec_prefix=""
28376 fi;
28377 # Check whether --enable-gtktest or --disable-gtktest was given.
28378 if test "${enable_gtktest+set}" = set; then
28379 enableval="$enable_gtktest"
28380
28381 else
28382 enable_gtktest=yes
28383 fi;
28384
28385 for module in . $GTK_MODULES
28386 do
28387 case "$module" in
28388 gthread)
28389 gtk_config_args="$gtk_config_args gthread"
28390 ;;
28391 esac
28392 done
28393
28394 if test x$gtk_config_exec_prefix != x ; then
28395 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28396 if test x${GTK_CONFIG+set} != xset ; then
28397 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28398 fi
28399 fi
28400 if test x$gtk_config_prefix != x ; then
28401 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28402 if test x${GTK_CONFIG+set} != xset ; then
28403 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28404 fi
28405 fi
28406
28407 # Extract the first word of "gtk-config", so it can be a program name with args.
28408 set dummy gtk-config; ac_word=$2
28409 echo "$as_me:$LINENO: checking for $ac_word" >&5
28410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28411 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28413 else
28414 case $GTK_CONFIG in
28415 [\\/]* | ?:[\\/]*)
28416 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28417 ;;
28418 *)
28419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28420 for as_dir in $PATH
28421 do
28422 IFS=$as_save_IFS
28423 test -z "$as_dir" && as_dir=.
28424 for ac_exec_ext in '' $ac_executable_extensions; do
28425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28426 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28428 break 2
28429 fi
28430 done
28431 done
28432
28433 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28434 ;;
28435 esac
28436 fi
28437 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28438
28439 if test -n "$GTK_CONFIG"; then
28440 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28441 echo "${ECHO_T}$GTK_CONFIG" >&6
28442 else
28443 echo "$as_me:$LINENO: result: no" >&5
28444 echo "${ECHO_T}no" >&6
28445 fi
28446
28447 min_gtk_version=1.2.7
28448 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28449 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28450 no_gtk=""
28451 if test "$GTK_CONFIG" = "no" ; then
28452 no_gtk=yes
28453 else
28454 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28455 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28456 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28457 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28458 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28459 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28460 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28461 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28462 if test "x$enable_gtktest" = "xyes" ; then
28463 ac_save_CFLAGS="$CFLAGS"
28464 ac_save_LIBS="$LIBS"
28465 CFLAGS="$CFLAGS $GTK_CFLAGS"
28466 LIBS="$GTK_LIBS $LIBS"
28467 rm -f conf.gtktest
28468 if test "$cross_compiling" = yes; then
28469 echo $ac_n "cross compiling; assumed OK... $ac_c"
28470 else
28471 cat >conftest.$ac_ext <<_ACEOF
28472 /* confdefs.h. */
28473 _ACEOF
28474 cat confdefs.h >>conftest.$ac_ext
28475 cat >>conftest.$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28477
28478 #include <gtk/gtk.h>
28479 #include <stdio.h>
28480 #include <stdlib.h>
28481
28482 int
28483 main ()
28484 {
28485 int major, minor, micro;
28486 char *tmp_version;
28487
28488 system ("touch conf.gtktest");
28489
28490 /* HP/UX 9 (%@#!) writes to sscanf strings */
28491 tmp_version = g_strdup("$min_gtk_version");
28492 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28493 printf("%s, bad version string\n", "$min_gtk_version");
28494 exit(1);
28495 }
28496
28497 if ((gtk_major_version != $gtk_config_major_version) ||
28498 (gtk_minor_version != $gtk_config_minor_version) ||
28499 (gtk_micro_version != $gtk_config_micro_version))
28500 {
28501 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28502 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28504 printf ("*** was found! If gtk-config was correct, then it is best\n");
28505 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28506 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28507 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28508 printf("*** required on your system.\n");
28509 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28510 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28511 printf("*** before re-running configure\n");
28512 }
28513 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28514 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28515 (gtk_minor_version != GTK_MINOR_VERSION) ||
28516 (gtk_micro_version != GTK_MICRO_VERSION))
28517 {
28518 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28519 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28520 printf("*** library (version %d.%d.%d)\n",
28521 gtk_major_version, gtk_minor_version, gtk_micro_version);
28522 }
28523 #endif /* defined (GTK_MAJOR_VERSION) ... */
28524 else
28525 {
28526 if ((gtk_major_version > major) ||
28527 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28528 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28529 {
28530 return 0;
28531 }
28532 else
28533 {
28534 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28535 gtk_major_version, gtk_minor_version, gtk_micro_version);
28536 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28537 major, minor, micro);
28538 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28539 printf("***\n");
28540 printf("*** If you have already installed a sufficiently new version, this error\n");
28541 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28542 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28543 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28544 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28545 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28546 printf("*** so that the correct libraries are found at run-time))\n");
28547 }
28548 }
28549 return 1;
28550 }
28551
28552 _ACEOF
28553 rm -f conftest$ac_exeext
28554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28555 (eval $ac_link) 2>&5
28556 ac_status=$?
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28560 (eval $ac_try) 2>&5
28561 ac_status=$?
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); }; }; then
28564 :
28565 else
28566 echo "$as_me: program exited with status $ac_status" >&5
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.$ac_ext >&5
28569
28570 ( exit $ac_status )
28571 no_gtk=yes
28572 fi
28573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28574 fi
28575 CFLAGS="$ac_save_CFLAGS"
28576 LIBS="$ac_save_LIBS"
28577 fi
28578 fi
28579 if test "x$no_gtk" = x ; then
28580 echo "$as_me:$LINENO: result: yes" >&5
28581 echo "${ECHO_T}yes" >&6
28582 wx_cv_lib_gtk=1.2.7
28583 else
28584 echo "$as_me:$LINENO: result: no" >&5
28585 echo "${ECHO_T}no" >&6
28586 if test "$GTK_CONFIG" = "no" ; then
28587 echo "*** The gtk-config script installed by GTK could not be found"
28588 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28589 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28590 echo "*** full path to gtk-config."
28591 else
28592 if test -f conf.gtktest ; then
28593 :
28594 else
28595 echo "*** Could not run GTK test program, checking why..."
28596 CFLAGS="$CFLAGS $GTK_CFLAGS"
28597 LIBS="$LIBS $GTK_LIBS"
28598 cat >conftest.$ac_ext <<_ACEOF
28599 /* confdefs.h. */
28600 _ACEOF
28601 cat confdefs.h >>conftest.$ac_ext
28602 cat >>conftest.$ac_ext <<_ACEOF
28603 /* end confdefs.h. */
28604
28605 #include <gtk/gtk.h>
28606 #include <stdio.h>
28607
28608 int
28609 main ()
28610 {
28611 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28612 ;
28613 return 0;
28614 }
28615 _ACEOF
28616 rm -f conftest.$ac_objext conftest$ac_exeext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618 (eval $ac_link) 2>conftest.er1
28619 ac_status=$?
28620 grep -v '^ *+' conftest.er1 >conftest.err
28621 rm -f conftest.er1
28622 cat conftest.err >&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; } &&
28631 { ac_try='test -s conftest$ac_exeext'
28632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28633 (eval $ac_try) 2>&5
28634 ac_status=$?
28635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 (exit $ac_status); }; }; then
28637 echo "*** The test program compiled, but did not run. This usually means"
28638 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28639 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28640 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28641 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28642 echo "*** is required on your system"
28643 echo "***"
28644 echo "*** If you have an old version installed, it is best to remove it, although"
28645 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28646 echo "***"
28647 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28648 echo "*** came with the system with the command"
28649 echo "***"
28650 echo "*** rpm --erase --nodeps gtk gtk-devel"
28651 else
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.$ac_ext >&5
28654
28655 echo "*** The test program failed to compile or link. See the file config.log for the"
28656 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28657 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28658 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28659 fi
28660 rm -f conftest.err conftest.$ac_objext \
28661 conftest$ac_exeext conftest.$ac_ext
28662 CFLAGS="$ac_save_CFLAGS"
28663 LIBS="$ac_save_LIBS"
28664 fi
28665 fi
28666 GTK_CFLAGS=""
28667 GTK_LIBS=""
28668 :
28669 fi
28670
28671
28672 rm -f conf.gtktest
28673
28674
28675 if test -z "$wx_cv_lib_gtk"; then
28676
28677 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28678 if test "${with_gtk_prefix+set}" = set; then
28679 withval="$with_gtk_prefix"
28680 gtk_config_prefix="$withval"
28681 else
28682 gtk_config_prefix=""
28683 fi;
28684
28685 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28686 if test "${with_gtk_exec_prefix+set}" = set; then
28687 withval="$with_gtk_exec_prefix"
28688 gtk_config_exec_prefix="$withval"
28689 else
28690 gtk_config_exec_prefix=""
28691 fi;
28692 # Check whether --enable-gtktest or --disable-gtktest was given.
28693 if test "${enable_gtktest+set}" = set; then
28694 enableval="$enable_gtktest"
28695
28696 else
28697 enable_gtktest=yes
28698 fi;
28699
28700 for module in . $GTK_MODULES
28701 do
28702 case "$module" in
28703 gthread)
28704 gtk_config_args="$gtk_config_args gthread"
28705 ;;
28706 esac
28707 done
28708
28709 if test x$gtk_config_exec_prefix != x ; then
28710 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28711 if test x${GTK_CONFIG+set} != xset ; then
28712 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28713 fi
28714 fi
28715 if test x$gtk_config_prefix != x ; then
28716 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28717 if test x${GTK_CONFIG+set} != xset ; then
28718 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28719 fi
28720 fi
28721
28722 # Extract the first word of "gtk-config", so it can be a program name with args.
28723 set dummy gtk-config; ac_word=$2
28724 echo "$as_me:$LINENO: checking for $ac_word" >&5
28725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28726 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28728 else
28729 case $GTK_CONFIG in
28730 [\\/]* | ?:[\\/]*)
28731 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28732 ;;
28733 *)
28734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28735 for as_dir in $PATH
28736 do
28737 IFS=$as_save_IFS
28738 test -z "$as_dir" && as_dir=.
28739 for ac_exec_ext in '' $ac_executable_extensions; do
28740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28741 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28743 break 2
28744 fi
28745 done
28746 done
28747
28748 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28749 ;;
28750 esac
28751 fi
28752 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28753
28754 if test -n "$GTK_CONFIG"; then
28755 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28756 echo "${ECHO_T}$GTK_CONFIG" >&6
28757 else
28758 echo "$as_me:$LINENO: result: no" >&5
28759 echo "${ECHO_T}no" >&6
28760 fi
28761
28762 min_gtk_version=1.2.3
28763 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28764 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28765 no_gtk=""
28766 if test "$GTK_CONFIG" = "no" ; then
28767 no_gtk=yes
28768 else
28769 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28770 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28771 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28773 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28775 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28776 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28777 if test "x$enable_gtktest" = "xyes" ; then
28778 ac_save_CFLAGS="$CFLAGS"
28779 ac_save_LIBS="$LIBS"
28780 CFLAGS="$CFLAGS $GTK_CFLAGS"
28781 LIBS="$GTK_LIBS $LIBS"
28782 rm -f conf.gtktest
28783 if test "$cross_compiling" = yes; then
28784 echo $ac_n "cross compiling; assumed OK... $ac_c"
28785 else
28786 cat >conftest.$ac_ext <<_ACEOF
28787 /* confdefs.h. */
28788 _ACEOF
28789 cat confdefs.h >>conftest.$ac_ext
28790 cat >>conftest.$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28792
28793 #include <gtk/gtk.h>
28794 #include <stdio.h>
28795 #include <stdlib.h>
28796
28797 int
28798 main ()
28799 {
28800 int major, minor, micro;
28801 char *tmp_version;
28802
28803 system ("touch conf.gtktest");
28804
28805 /* HP/UX 9 (%@#!) writes to sscanf strings */
28806 tmp_version = g_strdup("$min_gtk_version");
28807 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28808 printf("%s, bad version string\n", "$min_gtk_version");
28809 exit(1);
28810 }
28811
28812 if ((gtk_major_version != $gtk_config_major_version) ||
28813 (gtk_minor_version != $gtk_config_minor_version) ||
28814 (gtk_micro_version != $gtk_config_micro_version))
28815 {
28816 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28817 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28818 gtk_major_version, gtk_minor_version, gtk_micro_version);
28819 printf ("*** was found! If gtk-config was correct, then it is best\n");
28820 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28821 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28822 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28823 printf("*** required on your system.\n");
28824 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28825 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28826 printf("*** before re-running configure\n");
28827 }
28828 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28829 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28830 (gtk_minor_version != GTK_MINOR_VERSION) ||
28831 (gtk_micro_version != GTK_MICRO_VERSION))
28832 {
28833 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28834 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28835 printf("*** library (version %d.%d.%d)\n",
28836 gtk_major_version, gtk_minor_version, gtk_micro_version);
28837 }
28838 #endif /* defined (GTK_MAJOR_VERSION) ... */
28839 else
28840 {
28841 if ((gtk_major_version > major) ||
28842 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28843 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28844 {
28845 return 0;
28846 }
28847 else
28848 {
28849 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28850 gtk_major_version, gtk_minor_version, gtk_micro_version);
28851 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28852 major, minor, micro);
28853 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28854 printf("***\n");
28855 printf("*** If you have already installed a sufficiently new version, this error\n");
28856 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28857 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28858 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28859 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28860 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28861 printf("*** so that the correct libraries are found at run-time))\n");
28862 }
28863 }
28864 return 1;
28865 }
28866
28867 _ACEOF
28868 rm -f conftest$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870 (eval $ac_link) 2>&5
28871 ac_status=$?
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28876 ac_status=$?
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; }; then
28879 :
28880 else
28881 echo "$as_me: program exited with status $ac_status" >&5
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 ( exit $ac_status )
28886 no_gtk=yes
28887 fi
28888 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28889 fi
28890 CFLAGS="$ac_save_CFLAGS"
28891 LIBS="$ac_save_LIBS"
28892 fi
28893 fi
28894 if test "x$no_gtk" = x ; then
28895 echo "$as_me:$LINENO: result: yes" >&5
28896 echo "${ECHO_T}yes" >&6
28897 wx_cv_lib_gtk=1.2.3
28898 else
28899 echo "$as_me:$LINENO: result: no" >&5
28900 echo "${ECHO_T}no" >&6
28901 if test "$GTK_CONFIG" = "no" ; then
28902 echo "*** The gtk-config script installed by GTK could not be found"
28903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28905 echo "*** full path to gtk-config."
28906 else
28907 if test -f conf.gtktest ; then
28908 :
28909 else
28910 echo "*** Could not run GTK test program, checking why..."
28911 CFLAGS="$CFLAGS $GTK_CFLAGS"
28912 LIBS="$LIBS $GTK_LIBS"
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919
28920 #include <gtk/gtk.h>
28921 #include <stdio.h>
28922
28923 int
28924 main ()
28925 {
28926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28927 ;
28928 return 0;
28929 }
28930 _ACEOF
28931 rm -f conftest.$ac_objext conftest$ac_exeext
28932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28933 (eval $ac_link) 2>conftest.er1
28934 ac_status=$?
28935 grep -v '^ *+' conftest.er1 >conftest.err
28936 rm -f conftest.er1
28937 cat conftest.err >&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } &&
28940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 echo "*** The test program compiled, but did not run. This usually means"
28953 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28954 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28955 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28956 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28957 echo "*** is required on your system"
28958 echo "***"
28959 echo "*** If you have an old version installed, it is best to remove it, although"
28960 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28961 echo "***"
28962 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28963 echo "*** came with the system with the command"
28964 echo "***"
28965 echo "*** rpm --erase --nodeps gtk gtk-devel"
28966 else
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28969
28970 echo "*** The test program failed to compile or link. See the file config.log for the"
28971 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28972 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28973 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28974 fi
28975 rm -f conftest.err conftest.$ac_objext \
28976 conftest$ac_exeext conftest.$ac_ext
28977 CFLAGS="$ac_save_CFLAGS"
28978 LIBS="$ac_save_LIBS"
28979 fi
28980 fi
28981 GTK_CFLAGS=""
28982 GTK_LIBS=""
28983 :
28984 fi
28985
28986
28987 rm -f conf.gtktest
28988
28989 fi
28990 fi
28991 fi
28992
28993 if test -z "$wx_cv_lib_gtk"; then
28994 wx_cv_lib_gtk=none
28995 else
28996 wx_cv_cflags_gtk=$GTK_CFLAGS
28997 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28998 fi
28999
29000
29001 fi
29002
29003
29004 if test "$gtk_version_cached" = 1; then
29005 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29006 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29007 fi
29008
29009 case "$wx_cv_lib_gtk" in
29010 2.0) WXGTK20=1
29011 TOOLKIT_VERSION=2
29012 ;;
29013 1.2.7) WXGTK127=1
29014 WXGTK12=1
29015 ;;
29016 1.2.3) WXGTK12=1
29017 ;;
29018 *) { { echo "$as_me:$LINENO: error:
29019 The development files for GTK+ were not found. For GTK+ 2, please
29020 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29021 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29022 and that the version is 1.2.3 or above. Also check that the
29023 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29024 --libs' are in the LD_LIBRARY_PATH or equivalent.
29025 " >&5
29026 echo "$as_me: error:
29027 The development files for GTK+ were not found. For GTK+ 2, please
29028 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29029 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29030 and that the version is 1.2.3 or above. Also check that the
29031 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29032 --libs' are in the LD_LIBRARY_PATH or equivalent.
29033 " >&2;}
29034 { (exit 1); exit 1; }; }
29035 ;;
29036 esac
29037
29038 if test "$WXGTK20" = 1; then
29039 save_CFLAGS="$CFLAGS"
29040 save_LIBS="$LIBS"
29041 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29042 LIBS="$LIBS $wx_cv_libs_gtk"
29043
29044 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29045 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29046 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29048 else
29049 cat >conftest.$ac_ext <<_ACEOF
29050 /* confdefs.h. */
29051 _ACEOF
29052 cat confdefs.h >>conftest.$ac_ext
29053 cat >>conftest.$ac_ext <<_ACEOF
29054 /* end confdefs.h. */
29055 #include <gtk/gtk.h>
29056
29057 int
29058 main ()
29059 {
29060 #ifndef gtk_icon_size_lookup
29061 char *p = (char *) gtk_icon_size_lookup;
29062 #endif
29063
29064 ;
29065 return 0;
29066 }
29067 _ACEOF
29068 rm -f conftest.$ac_objext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29070 (eval $ac_compile) 2>conftest.er1
29071 ac_status=$?
29072 grep -v '^ *+' conftest.er1 >conftest.err
29073 rm -f conftest.er1
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29080 ac_status=$?
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; } &&
29083 { ac_try='test -s conftest.$ac_objext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_have_decl_gtk_icon_size_lookup=yes
29090 else
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29093
29094 ac_cv_have_decl_gtk_icon_size_lookup=no
29095 fi
29096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29097 fi
29098 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29099 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29100 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29101
29102 cat >>confdefs.h <<_ACEOF
29103 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29104 _ACEOF
29105
29106
29107 else
29108 cat >>confdefs.h <<_ACEOF
29109 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29110 _ACEOF
29111
29112 cat >>confdefs.h <<\_ACEOF
29113 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29114 _ACEOF
29115
29116 fi
29117
29118
29119
29120 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29121 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29122 cat >conftest.$ac_ext <<_ACEOF
29123 /* confdefs.h. */
29124 _ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29128
29129 #include <gtk/gtk.h>
29130
29131 int
29132 main ()
29133 {
29134
29135 #if !GTK_CHECK_VERSION(2,6,0)
29136 Not GTK+ 2.6
29137 #endif
29138
29139 ;
29140 return 0;
29141 }
29142 _ACEOF
29143 rm -f conftest.$ac_objext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29145 (eval $ac_compile) 2>conftest.er1
29146 ac_status=$?
29147 grep -v '^ *+' conftest.er1 >conftest.err
29148 rm -f conftest.er1
29149 cat conftest.err >&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } &&
29152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; } &&
29158 { ac_try='test -s conftest.$ac_objext'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; }; then
29164
29165 cat >>confdefs.h <<\_ACEOF
29166 #define __WXGTK26__ 1
29167 _ACEOF
29168
29169 cat >>confdefs.h <<\_ACEOF
29170 #define __WXGTK24__ 1
29171 _ACEOF
29172
29173 echo "$as_me:$LINENO: result: yes" >&5
29174 echo "${ECHO_T}yes" >&6
29175 ac_wxgtk26=1
29176
29177 else
29178 echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.$ac_ext >&5
29180
29181
29182 echo "$as_me:$LINENO: result: no" >&5
29183 echo "${ECHO_T}no" >&6
29184 ac_wxgtk26=0
29185
29186 fi
29187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29188
29189 if test "$ac_wxgtk26" = 0; then
29190 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29191 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198
29199 #include <gtk/gtk.h>
29200
29201 int
29202 main ()
29203 {
29204
29205 #if !GTK_CHECK_VERSION(2,4,0)
29206 Not GTK+ 2.4
29207 #endif
29208
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext
29214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29215 (eval $ac_compile) 2>conftest.er1
29216 ac_status=$?
29217 grep -v '^ *+' conftest.er1 >conftest.err
29218 rm -f conftest.er1
29219 cat conftest.err >&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; } &&
29228 { ac_try='test -s conftest.$ac_objext'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; }; then
29234
29235 cat >>confdefs.h <<\_ACEOF
29236 #define __WXGTK24__ 1
29237 _ACEOF
29238
29239 echo "$as_me:$LINENO: result: yes" >&5
29240 echo "${ECHO_T}yes" >&6
29241
29242 else
29243 echo "$as_me: failed program was:" >&5
29244 sed 's/^/| /' conftest.$ac_ext >&5
29245
29246
29247 echo "$as_me:$LINENO: result: no" >&5
29248 echo "${ECHO_T}no" >&6
29249
29250 fi
29251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29252 fi
29253
29254 CFLAGS="$save_CFLAGS"
29255 LIBS="$save_LIBS"
29256 else
29257 if test "$wxUSE_UNICODE" = "yes"; then
29258 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29259 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29260 wxUSE_UNICODE=no
29261 fi
29262
29263 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29264 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29265 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 else
29268 ac_check_lib_save_LIBS=$LIBS
29269 LIBS="-lgdk $LIBS"
29270 cat >conftest.$ac_ext <<_ACEOF
29271 /* confdefs.h. */
29272 _ACEOF
29273 cat confdefs.h >>conftest.$ac_ext
29274 cat >>conftest.$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29276
29277 /* Override any gcc2 internal prototype to avoid an error. */
29278 #ifdef __cplusplus
29279 extern "C"
29280 #endif
29281 /* We use char because int might match the return type of a gcc2
29282 builtin and then its argument prototype would still apply. */
29283 char gdk_im_open ();
29284 int
29285 main ()
29286 {
29287 gdk_im_open ();
29288 ;
29289 return 0;
29290 }
29291 _ACEOF
29292 rm -f conftest.$ac_objext conftest$ac_exeext
29293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29294 (eval $ac_link) 2>conftest.er1
29295 ac_status=$?
29296 grep -v '^ *+' conftest.er1 >conftest.err
29297 rm -f conftest.er1
29298 cat conftest.err >&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29304 ac_status=$?
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; } &&
29307 { ac_try='test -s conftest$ac_exeext'
29308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29309 (eval $ac_try) 2>&5
29310 ac_status=$?
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); }; }; then
29313 ac_cv_lib_gdk_gdk_im_open=yes
29314 else
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.$ac_ext >&5
29317
29318 ac_cv_lib_gdk_gdk_im_open=no
29319 fi
29320 rm -f conftest.err conftest.$ac_objext \
29321 conftest$ac_exeext conftest.$ac_ext
29322 LIBS=$ac_check_lib_save_LIBS
29323 fi
29324 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29325 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29326 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29327 cat >>confdefs.h <<\_ACEOF
29328 #define HAVE_XIM 1
29329 _ACEOF
29330
29331 fi
29332
29333 fi
29334
29335 ac_ext=cc
29336 ac_cpp='$CXXCPP $CPPFLAGS'
29337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29340
29341
29342 if test "$USE_DARWIN" != 1; then
29343
29344 for ac_func in poll
29345 do
29346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29347 echo "$as_me:$LINENO: checking for $ac_func" >&5
29348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29349 if eval "test \"\${$as_ac_var+set}\" = set"; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29351 else
29352 cat >conftest.$ac_ext <<_ACEOF
29353 /* confdefs.h. */
29354 _ACEOF
29355 cat confdefs.h >>conftest.$ac_ext
29356 cat >>conftest.$ac_ext <<_ACEOF
29357 /* end confdefs.h. */
29358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29360 #define $ac_func innocuous_$ac_func
29361
29362 /* System header to define __stub macros and hopefully few prototypes,
29363 which can conflict with char $ac_func (); below.
29364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29365 <limits.h> exists even on freestanding compilers. */
29366
29367 #ifdef __STDC__
29368 # include <limits.h>
29369 #else
29370 # include <assert.h>
29371 #endif
29372
29373 #undef $ac_func
29374
29375 /* Override any gcc2 internal prototype to avoid an error. */
29376 #ifdef __cplusplus
29377 extern "C"
29378 {
29379 #endif
29380 /* We use char because int might match the return type of a gcc2
29381 builtin and then its argument prototype would still apply. */
29382 char $ac_func ();
29383 /* The GNU C library defines this for functions which it implements
29384 to always fail with ENOSYS. Some functions are actually named
29385 something starting with __ and the normal name is an alias. */
29386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29387 choke me
29388 #else
29389 char (*f) () = $ac_func;
29390 #endif
29391 #ifdef __cplusplus
29392 }
29393 #endif
29394
29395 int
29396 main ()
29397 {
29398 return f != $ac_func;
29399 ;
29400 return 0;
29401 }
29402 _ACEOF
29403 rm -f conftest.$ac_objext conftest$ac_exeext
29404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29405 (eval $ac_link) 2>conftest.er1
29406 ac_status=$?
29407 grep -v '^ *+' conftest.er1 >conftest.err
29408 rm -f conftest.er1
29409 cat conftest.err >&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try='test -s conftest$ac_exeext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29421 ac_status=$?
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 eval "$as_ac_var=yes"
29425 else
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29428
29429 eval "$as_ac_var=no"
29430 fi
29431 rm -f conftest.err conftest.$ac_objext \
29432 conftest$ac_exeext conftest.$ac_ext
29433 fi
29434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29436 if test `eval echo '${'$as_ac_var'}'` = yes; then
29437 cat >>confdefs.h <<_ACEOF
29438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29439 _ACEOF
29440
29441 fi
29442 done
29443
29444 fi
29445
29446 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29447 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29448
29449 AFMINSTALL=afminstall
29450 TOOLKIT=GTK
29451 GUIDIST=GTK_DIST
29452
29453 if test "$wxUSE_GPE" = "yes"; then
29454 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29455 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29456
29457 ac_find_libraries=
29458 for ac_dir in $SEARCH_LIB;
29459 do
29460 for ac_extension in a so sl dylib dll.a; do
29461 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29462 ac_find_libraries=$ac_dir
29463 break 2
29464 fi
29465 done
29466 done
29467
29468 if test "$ac_find_libraries" != "" ; then
29469
29470 if test "$ac_find_libraries" = "default location"; then
29471 ac_path_to_link=""
29472 else
29473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29474 result=$?
29475 if test $result = 0; then
29476 ac_path_to_link=""
29477 else
29478 ac_path_to_link=" -L$ac_find_libraries"
29479 fi
29480 fi
29481
29482 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29483 WXGPE=1
29484 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29485 echo "${ECHO_T}found in $ac_find_libraries" >&6
29486 else
29487 echo "$as_me:$LINENO: result: not found" >&5
29488 echo "${ECHO_T}not found" >&6
29489 fi
29490
29491 fi
29492 fi
29493
29494 if test "$wxUSE_MGL" = 1; then
29495 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29496 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29497 if test "x$MGL_ROOT" = x ; then
29498 echo "$as_me:$LINENO: result: not found" >&5
29499 echo "${ECHO_T}not found" >&6
29500 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29501 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29502 { (exit 1); exit 1; }; }
29503 else
29504 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29505 echo "${ECHO_T}$MGL_ROOT" >&6
29506 fi
29507
29508 echo "$as_me:$LINENO: checking for libmgl location" >&5
29509 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29510 case "${host}" in
29511 *-*-linux* )
29512 if test "x$wxUSE_SHARED" = xyes ; then
29513 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29514 else
29515 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29516 fi
29517 ;;
29518 *-pc-msdosdjgpp )
29519 mgl_os_candidates="dos32/dj2"
29520 ;;
29521 *)
29522 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29523 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29524 { (exit 1); exit 1; }; }
29525 esac
29526
29527 mgl_lib_type=""
29528 mgl_os=""
29529
29530 for mgl_os_i in $mgl_os_candidates ; do
29531 if test "x$mgl_os" = x ; then
29532 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29533 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29534 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29535 mgl_lib_type=debug
29536 mgl_os=$mgl_os_i
29537 fi
29538 fi
29539 if test "x$mgl_lib_type" = x ; then
29540 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29541 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29542 mgl_lib_type=release
29543 mgl_os=$mgl_os_i
29544 fi
29545 fi
29546 fi
29547 done
29548
29549 if test "x$mgl_os" = x ; then
29550 echo "$as_me:$LINENO: result: not found" >&5
29551 echo "${ECHO_T}not found" >&6
29552 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29553 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29554 { (exit 1); exit 1; }; }
29555 fi
29556 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29557 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29558
29559 wxUSE_UNIVERSAL="yes"
29560
29561 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29562 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29563
29564 AFMINSTALL=afminstall
29565 TOOLKIT=MGL
29566 GUIDIST=MGL_DIST
29567 fi
29568
29569 if test "$wxUSE_DFB" = 1; then
29570
29571
29572 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29573 if test -n "$ac_tool_prefix"; then
29574 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29575 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29576 echo "$as_me:$LINENO: checking for $ac_word" >&5
29577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29578 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29580 else
29581 case $PKG_CONFIG in
29582 [\\/]* | ?:[\\/]*)
29583 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29584 ;;
29585 *)
29586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29587 for as_dir in $PATH
29588 do
29589 IFS=$as_save_IFS
29590 test -z "$as_dir" && as_dir=.
29591 for ac_exec_ext in '' $ac_executable_extensions; do
29592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29593 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29595 break 2
29596 fi
29597 done
29598 done
29599
29600 ;;
29601 esac
29602 fi
29603 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29604
29605 if test -n "$PKG_CONFIG"; then
29606 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29607 echo "${ECHO_T}$PKG_CONFIG" >&6
29608 else
29609 echo "$as_me:$LINENO: result: no" >&5
29610 echo "${ECHO_T}no" >&6
29611 fi
29612
29613 fi
29614 if test -z "$ac_cv_path_PKG_CONFIG"; then
29615 ac_pt_PKG_CONFIG=$PKG_CONFIG
29616 # Extract the first word of "pkg-config", so it can be a program name with args.
29617 set dummy pkg-config; ac_word=$2
29618 echo "$as_me:$LINENO: checking for $ac_word" >&5
29619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29620 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29622 else
29623 case $ac_pt_PKG_CONFIG in
29624 [\\/]* | ?:[\\/]*)
29625 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29626 ;;
29627 *)
29628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29629 for as_dir in $PATH
29630 do
29631 IFS=$as_save_IFS
29632 test -z "$as_dir" && as_dir=.
29633 for ac_exec_ext in '' $ac_executable_extensions; do
29634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29635 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29637 break 2
29638 fi
29639 done
29640 done
29641
29642 ;;
29643 esac
29644 fi
29645 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29646
29647 if test -n "$ac_pt_PKG_CONFIG"; then
29648 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29649 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29650 else
29651 echo "$as_me:$LINENO: result: no" >&5
29652 echo "${ECHO_T}no" >&6
29653 fi
29654
29655 PKG_CONFIG=$ac_pt_PKG_CONFIG
29656 else
29657 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29658 fi
29659
29660 fi
29661 if test -n "$PKG_CONFIG"; then
29662 _pkg_min_version=0.9.0
29663 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29664 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29665 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29666 echo "$as_me:$LINENO: result: yes" >&5
29667 echo "${ECHO_T}yes" >&6
29668 else
29669 echo "$as_me:$LINENO: result: no" >&5
29670 echo "${ECHO_T}no" >&6
29671 PKG_CONFIG=""
29672 fi
29673
29674 fi
29675
29676
29677 pkg_failed=no
29678 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29679 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29680
29681 if test -n "$PKG_CONFIG"; then
29682 if test -n "$DIRECTFB_CFLAGS"; then
29683 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29684 else
29685 if test -n "$PKG_CONFIG" && \
29686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29687 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29688 ac_status=$?
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; then
29691 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29692 else
29693 pkg_failed=yes
29694 fi
29695 fi
29696 else
29697 pkg_failed=untried
29698 fi
29699 if test -n "$PKG_CONFIG"; then
29700 if test -n "$DIRECTFB_LIBS"; then
29701 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29702 else
29703 if test -n "$PKG_CONFIG" && \
29704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29705 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29706 ac_status=$?
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; then
29709 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29710 else
29711 pkg_failed=yes
29712 fi
29713 fi
29714 else
29715 pkg_failed=untried
29716 fi
29717
29718
29719
29720 if test $pkg_failed = yes; then
29721
29722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29723 _pkg_short_errors_supported=yes
29724 else
29725 _pkg_short_errors_supported=no
29726 fi
29727 if test $_pkg_short_errors_supported = yes; then
29728 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29729 else
29730 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29731 fi
29732 # Put the nasty error message in config.log where it belongs
29733 echo "$DIRECTFB_PKG_ERRORS" >&5
29734
29735
29736 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29737 echo "$as_me: error: DirectFB not found." >&2;}
29738 { (exit 1); exit 1; }; }
29739
29740
29741 elif test $pkg_failed = untried; then
29742
29743 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29744 echo "$as_me: error: DirectFB not found." >&2;}
29745 { (exit 1); exit 1; }; }
29746
29747
29748 else
29749 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29750 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29751 echo "$as_me:$LINENO: result: yes" >&5
29752 echo "${ECHO_T}yes" >&6
29753
29754 wxUSE_UNIVERSAL="yes"
29755 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29756 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29757 TOOLKIT=DFB
29758 GUIDIST=DFB_DIST
29759
29760 fi
29761 fi
29762
29763 if test "$wxUSE_MICROWIN" = 1; then
29764 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29765 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29766 if test "x$MICROWINDOWS" = x ; then
29767 echo "$as_me:$LINENO: result: not found" >&5
29768 echo "${ECHO_T}not found" >&6
29769 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29770 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29771 { (exit 1); exit 1; }; }
29772 else
29773 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29774 echo "${ECHO_T}$MICROWINDOWS" >&6
29775 fi
29776
29777 if test -f $MICROWINDOWS/lib/libmwin.a; then
29778 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29779 echo "${ECHO_T}MicroWindows' libraries found." >&6
29780 else
29781 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29782 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29783 { (exit 1); exit 1; }; }
29784 fi
29785
29786 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29787 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29788
29789 wxUSE_UNIVERSAL="yes"
29790
29791 AFMINSTALL=afminstall
29792 TOOLKIT=MICROWIN
29793 GUIDIST=MICROWIN_DIST
29794
29795 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29796 fi
29797
29798 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29799
29800 if test "x$ac_path_x_has_been_run" != xyes; then
29801 echo "$as_me:$LINENO: checking for X" >&5
29802 echo $ECHO_N "checking for X... $ECHO_C" >&6
29803
29804 ac_path_x_has_been_run=yes
29805
29806 # Check whether --with-x or --without-x was given.
29807 if test "${with_x+set}" = set; then
29808 withval="$with_x"
29809
29810 fi;
29811 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29812 if test "x$with_x" = xno; then
29813 # The user explicitly disabled X.
29814 have_x=disabled
29815 else
29816 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29817 # Both variables are already set.
29818 have_x=yes
29819 else
29820 if test "${ac_cv_have_x+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823 # One or both of the vars are not set, and there is no cached value.
29824 ac_x_includes=no ac_x_libraries=no
29825 rm -fr conftest.dir
29826 if mkdir conftest.dir; then
29827 cd conftest.dir
29828 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29829 cat >Imakefile <<'_ACEOF'
29830 acfindx:
29831 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29832 _ACEOF
29833 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29835 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29836 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29837 for ac_extension in a so sl; do
29838 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29839 test -f $ac_im_libdir/libX11.$ac_extension; then
29840 ac_im_usrlibdir=$ac_im_libdir; break
29841 fi
29842 done
29843 # Screen out bogus values from the imake configuration. They are
29844 # bogus both because they are the default anyway, and because
29845 # using them would break gcc on systems where it needs fixed includes.
29846 case $ac_im_incroot in
29847 /usr/include) ;;
29848 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29849 esac
29850 case $ac_im_usrlibdir in
29851 /usr/lib | /lib) ;;
29852 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29853 esac
29854 fi
29855 cd ..
29856 rm -fr conftest.dir
29857 fi
29858
29859 # Standard set of common directories for X headers.
29860 # Check X11 before X11Rn because it is often a symlink to the current release.
29861 ac_x_header_dirs='
29862 /usr/X11/include
29863 /usr/X11R6/include
29864 /usr/X11R5/include
29865 /usr/X11R4/include
29866
29867 /usr/include/X11
29868 /usr/include/X11R6
29869 /usr/include/X11R5
29870 /usr/include/X11R4
29871
29872 /usr/local/X11/include
29873 /usr/local/X11R6/include
29874 /usr/local/X11R5/include
29875 /usr/local/X11R4/include
29876
29877 /usr/local/include/X11
29878 /usr/local/include/X11R6
29879 /usr/local/include/X11R5
29880 /usr/local/include/X11R4
29881
29882 /usr/X386/include
29883 /usr/x386/include
29884 /usr/XFree86/include/X11
29885
29886 /usr/include
29887 /usr/local/include
29888 /usr/unsupported/include
29889 /usr/athena/include
29890 /usr/local/x11r5/include
29891 /usr/lpp/Xamples/include
29892
29893 /usr/openwin/include
29894 /usr/openwin/share/include'
29895
29896 if test "$ac_x_includes" = no; then
29897 # Guess where to find include files, by looking for a specified header file.
29898 # First, try using that file with no special directory specified.
29899 cat >conftest.$ac_ext <<_ACEOF
29900 /* confdefs.h. */
29901 _ACEOF
29902 cat confdefs.h >>conftest.$ac_ext
29903 cat >>conftest.$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29905 #include <X11/Xlib.h>
29906 _ACEOF
29907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29909 ac_status=$?
29910 grep -v '^ *+' conftest.er1 >conftest.err
29911 rm -f conftest.er1
29912 cat conftest.err >&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } >/dev/null; then
29915 if test -s conftest.err; then
29916 ac_cpp_err=$ac_cxx_preproc_warn_flag
29917 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29918 else
29919 ac_cpp_err=
29920 fi
29921 else
29922 ac_cpp_err=yes
29923 fi
29924 if test -z "$ac_cpp_err"; then
29925 # We can compile using X headers with no special include directory.
29926 ac_x_includes=
29927 else
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.$ac_ext >&5
29930
29931 for ac_dir in $ac_x_header_dirs; do
29932 if test -r "$ac_dir/X11/Xlib.h"; then
29933 ac_x_includes=$ac_dir
29934 break
29935 fi
29936 done
29937 fi
29938 rm -f conftest.err conftest.$ac_ext
29939 fi # $ac_x_includes = no
29940
29941 if test "$ac_x_libraries" = no; then
29942 # Check for the libraries.
29943 # See if we find them without any special options.
29944 # Don't add to $LIBS permanently.
29945 ac_save_LIBS=$LIBS
29946 LIBS="-lX11 $LIBS"
29947 cat >conftest.$ac_ext <<_ACEOF
29948 /* confdefs.h. */
29949 _ACEOF
29950 cat confdefs.h >>conftest.$ac_ext
29951 cat >>conftest.$ac_ext <<_ACEOF
29952 /* end confdefs.h. */
29953 #include <X11/Xlib.h>
29954 int
29955 main ()
29956 {
29957 XrmInitialize ()
29958 ;
29959 return 0;
29960 }
29961 _ACEOF
29962 rm -f conftest.$ac_objext conftest$ac_exeext
29963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29964 (eval $ac_link) 2>conftest.er1
29965 ac_status=$?
29966 grep -v '^ *+' conftest.er1 >conftest.err
29967 rm -f conftest.er1
29968 cat conftest.err >&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } &&
29971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try='test -s conftest$ac_exeext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29983 LIBS=$ac_save_LIBS
29984 # We can link X programs with no special library path.
29985 ac_x_libraries=
29986 else
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.$ac_ext >&5
29989
29990 LIBS=$ac_save_LIBS
29991 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29992 do
29993 # Don't even attempt the hair of trying to link an X program!
29994 for ac_extension in a so sl; do
29995 if test -r $ac_dir/libX11.$ac_extension; then
29996 ac_x_libraries=$ac_dir
29997 break 2
29998 fi
29999 done
30000 done
30001 fi
30002 rm -f conftest.err conftest.$ac_objext \
30003 conftest$ac_exeext conftest.$ac_ext
30004 fi # $ac_x_libraries = no
30005
30006 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30007 # Didn't find X anywhere. Cache the known absence of X.
30008 ac_cv_have_x="have_x=no"
30009 else
30010 # Record where we found X for the cache.
30011 ac_cv_have_x="have_x=yes \
30012 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30013 fi
30014 fi
30015
30016 fi
30017 eval "$ac_cv_have_x"
30018 fi # $with_x != no
30019
30020 if test "$have_x" != yes; then
30021 echo "$as_me:$LINENO: result: $have_x" >&5
30022 echo "${ECHO_T}$have_x" >&6
30023 no_x=yes
30024 else
30025 # If each of the values was on the command line, it overrides each guess.
30026 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30027 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30028 # Update the cache value to reflect the command line values.
30029 ac_cv_have_x="have_x=yes \
30030 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30031 # It might be that x_includes is empty (headers are found in the
30032 # standard search path. Then output the corresponding message
30033 ac_out_x_includes=$x_includes
30034 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30035 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30036 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30037 fi
30038
30039 fi
30040 if test "$no_x" = yes; then
30041 # Not all programs may use this symbol, but it does not hurt to define it.
30042
30043 cat >>confdefs.h <<\_ACEOF
30044 #define X_DISPLAY_MISSING 1
30045 _ACEOF
30046
30047 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30048 else
30049 if test -n "$x_includes"; then
30050 X_CFLAGS="$X_CFLAGS -I$x_includes"
30051 fi
30052
30053 # It would also be nice to do this for all -L options, not just this one.
30054 if test -n "$x_libraries"; then
30055 X_LIBS="$X_LIBS -L$x_libraries"
30056 # For Solaris; some versions of Sun CC require a space after -R and
30057 # others require no space. Words are not sufficient . . . .
30058 case `(uname -sr) 2>/dev/null` in
30059 "SunOS 5"*)
30060 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30061 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30062 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30063 cat >conftest.$ac_ext <<_ACEOF
30064 /* confdefs.h. */
30065 _ACEOF
30066 cat confdefs.h >>conftest.$ac_ext
30067 cat >>conftest.$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069
30070 int
30071 main ()
30072 {
30073
30074 ;
30075 return 0;
30076 }
30077 _ACEOF
30078 rm -f conftest.$ac_objext conftest$ac_exeext
30079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30080 (eval $ac_link) 2>conftest.er1
30081 ac_status=$?
30082 grep -v '^ *+' conftest.er1 >conftest.err
30083 rm -f conftest.er1
30084 cat conftest.err >&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
30087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30090 ac_status=$?
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; } &&
30093 { ac_try='test -s conftest$ac_exeext'
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30096 ac_status=$?
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; }; then
30099 ac_R_nospace=yes
30100 else
30101 echo "$as_me: failed program was:" >&5
30102 sed 's/^/| /' conftest.$ac_ext >&5
30103
30104 ac_R_nospace=no
30105 fi
30106 rm -f conftest.err conftest.$ac_objext \
30107 conftest$ac_exeext conftest.$ac_ext
30108 if test $ac_R_nospace = yes; then
30109 echo "$as_me:$LINENO: result: no" >&5
30110 echo "${ECHO_T}no" >&6
30111 X_LIBS="$X_LIBS -R$x_libraries"
30112 else
30113 LIBS="$ac_xsave_LIBS -R $x_libraries"
30114 cat >conftest.$ac_ext <<_ACEOF
30115 /* confdefs.h. */
30116 _ACEOF
30117 cat confdefs.h >>conftest.$ac_ext
30118 cat >>conftest.$ac_ext <<_ACEOF
30119 /* end confdefs.h. */
30120
30121 int
30122 main ()
30123 {
30124
30125 ;
30126 return 0;
30127 }
30128 _ACEOF
30129 rm -f conftest.$ac_objext conftest$ac_exeext
30130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30131 (eval $ac_link) 2>conftest.er1
30132 ac_status=$?
30133 grep -v '^ *+' conftest.er1 >conftest.err
30134 rm -f conftest.er1
30135 cat conftest.err >&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } &&
30138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30141 ac_status=$?
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; } &&
30144 { ac_try='test -s conftest$ac_exeext'
30145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146 (eval $ac_try) 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; }; then
30150 ac_R_space=yes
30151 else
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30154
30155 ac_R_space=no
30156 fi
30157 rm -f conftest.err conftest.$ac_objext \
30158 conftest$ac_exeext conftest.$ac_ext
30159 if test $ac_R_space = yes; then
30160 echo "$as_me:$LINENO: result: yes" >&5
30161 echo "${ECHO_T}yes" >&6
30162 X_LIBS="$X_LIBS -R $x_libraries"
30163 else
30164 echo "$as_me:$LINENO: result: neither works" >&5
30165 echo "${ECHO_T}neither works" >&6
30166 fi
30167 fi
30168 LIBS=$ac_xsave_LIBS
30169 esac
30170 fi
30171
30172 # Check for system-dependent libraries X programs must link with.
30173 # Do this before checking for the system-independent R6 libraries
30174 # (-lICE), since we may need -lsocket or whatever for X linking.
30175
30176 if test "$ISC" = yes; then
30177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30178 else
30179 # Martyn Johnson says this is needed for Ultrix, if the X
30180 # libraries were built with DECnet support. And Karl Berry says
30181 # the Alpha needs dnet_stub (dnet does not exist).
30182 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30183 cat >conftest.$ac_ext <<_ACEOF
30184 /* confdefs.h. */
30185 _ACEOF
30186 cat confdefs.h >>conftest.$ac_ext
30187 cat >>conftest.$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30189
30190 /* Override any gcc2 internal prototype to avoid an error. */
30191 #ifdef __cplusplus
30192 extern "C"
30193 #endif
30194 /* We use char because int might match the return type of a gcc2
30195 builtin and then its argument prototype would still apply. */
30196 char XOpenDisplay ();
30197 int
30198 main ()
30199 {
30200 XOpenDisplay ();
30201 ;
30202 return 0;
30203 }
30204 _ACEOF
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30207 (eval $ac_link) 2>conftest.er1
30208 ac_status=$?
30209 grep -v '^ *+' conftest.er1 >conftest.err
30210 rm -f conftest.er1
30211 cat conftest.err >&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } &&
30214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30217 ac_status=$?
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; } &&
30220 { ac_try='test -s conftest$ac_exeext'
30221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30222 (eval $ac_try) 2>&5
30223 ac_status=$?
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; }; then
30226 :
30227 else
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.$ac_ext >&5
30230
30231 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30232 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30233 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30235 else
30236 ac_check_lib_save_LIBS=$LIBS
30237 LIBS="-ldnet $LIBS"
30238 cat >conftest.$ac_ext <<_ACEOF
30239 /* confdefs.h. */
30240 _ACEOF
30241 cat confdefs.h >>conftest.$ac_ext
30242 cat >>conftest.$ac_ext <<_ACEOF
30243 /* end confdefs.h. */
30244
30245 /* Override any gcc2 internal prototype to avoid an error. */
30246 #ifdef __cplusplus
30247 extern "C"
30248 #endif
30249 /* We use char because int might match the return type of a gcc2
30250 builtin and then its argument prototype would still apply. */
30251 char dnet_ntoa ();
30252 int
30253 main ()
30254 {
30255 dnet_ntoa ();
30256 ;
30257 return 0;
30258 }
30259 _ACEOF
30260 rm -f conftest.$ac_objext conftest$ac_exeext
30261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30262 (eval $ac_link) 2>conftest.er1
30263 ac_status=$?
30264 grep -v '^ *+' conftest.er1 >conftest.err
30265 rm -f conftest.er1
30266 cat conftest.err >&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } &&
30269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30272 ac_status=$?
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; } &&
30275 { ac_try='test -s conftest$ac_exeext'
30276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30277 (eval $ac_try) 2>&5
30278 ac_status=$?
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); }; }; then
30281 ac_cv_lib_dnet_dnet_ntoa=yes
30282 else
30283 echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.$ac_ext >&5
30285
30286 ac_cv_lib_dnet_dnet_ntoa=no
30287 fi
30288 rm -f conftest.err conftest.$ac_objext \
30289 conftest$ac_exeext conftest.$ac_ext
30290 LIBS=$ac_check_lib_save_LIBS
30291 fi
30292 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30293 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30294 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30295 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30296 fi
30297
30298 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30299 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30300 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30301 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 else
30304 ac_check_lib_save_LIBS=$LIBS
30305 LIBS="-ldnet_stub $LIBS"
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312
30313 /* Override any gcc2 internal prototype to avoid an error. */
30314 #ifdef __cplusplus
30315 extern "C"
30316 #endif
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30319 char dnet_ntoa ();
30320 int
30321 main ()
30322 {
30323 dnet_ntoa ();
30324 ;
30325 return 0;
30326 }
30327 _ACEOF
30328 rm -f conftest.$ac_objext conftest$ac_exeext
30329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30330 (eval $ac_link) 2>conftest.er1
30331 ac_status=$?
30332 grep -v '^ *+' conftest.er1 >conftest.err
30333 rm -f conftest.er1
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } &&
30337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30339 (eval $ac_try) 2>&5
30340 ac_status=$?
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); }; } &&
30343 { ac_try='test -s conftest$ac_exeext'
30344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30345 (eval $ac_try) 2>&5
30346 ac_status=$?
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); }; }; then
30349 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30350 else
30351 echo "$as_me: failed program was:" >&5
30352 sed 's/^/| /' conftest.$ac_ext >&5
30353
30354 ac_cv_lib_dnet_stub_dnet_ntoa=no
30355 fi
30356 rm -f conftest.err conftest.$ac_objext \
30357 conftest$ac_exeext conftest.$ac_ext
30358 LIBS=$ac_check_lib_save_LIBS
30359 fi
30360 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30361 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30362 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30363 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30364 fi
30365
30366 fi
30367 fi
30368 rm -f conftest.err conftest.$ac_objext \
30369 conftest$ac_exeext conftest.$ac_ext
30370 LIBS="$ac_xsave_LIBS"
30371
30372 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30373 # to get the SysV transport functions.
30374 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30375 # needs -lnsl.
30376 # The nsl library prevents programs from opening the X display
30377 # on Irix 5.2, according to T.E. Dickey.
30378 # The functions gethostbyname, getservbyname, and inet_addr are
30379 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30380 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30381 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30382 if test "${ac_cv_func_gethostbyname+set}" = set; then
30383 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 else
30385 cat >conftest.$ac_ext <<_ACEOF
30386 /* confdefs.h. */
30387 _ACEOF
30388 cat confdefs.h >>conftest.$ac_ext
30389 cat >>conftest.$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30391 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30393 #define gethostbyname innocuous_gethostbyname
30394
30395 /* System header to define __stub macros and hopefully few prototypes,
30396 which can conflict with char gethostbyname (); below.
30397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30398 <limits.h> exists even on freestanding compilers. */
30399
30400 #ifdef __STDC__
30401 # include <limits.h>
30402 #else
30403 # include <assert.h>
30404 #endif
30405
30406 #undef gethostbyname
30407
30408 /* Override any gcc2 internal prototype to avoid an error. */
30409 #ifdef __cplusplus
30410 extern "C"
30411 {
30412 #endif
30413 /* We use char because int might match the return type of a gcc2
30414 builtin and then its argument prototype would still apply. */
30415 char gethostbyname ();
30416 /* The GNU C library defines this for functions which it implements
30417 to always fail with ENOSYS. Some functions are actually named
30418 something starting with __ and the normal name is an alias. */
30419 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30420 choke me
30421 #else
30422 char (*f) () = gethostbyname;
30423 #endif
30424 #ifdef __cplusplus
30425 }
30426 #endif
30427
30428 int
30429 main ()
30430 {
30431 return f != gethostbyname;
30432 ;
30433 return 0;
30434 }
30435 _ACEOF
30436 rm -f conftest.$ac_objext conftest$ac_exeext
30437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30438 (eval $ac_link) 2>conftest.er1
30439 ac_status=$?
30440 grep -v '^ *+' conftest.er1 >conftest.err
30441 rm -f conftest.er1
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30448 ac_status=$?
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; } &&
30451 { ac_try='test -s conftest$ac_exeext'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30454 ac_status=$?
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; }; then
30457 ac_cv_func_gethostbyname=yes
30458 else
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.$ac_ext >&5
30461
30462 ac_cv_func_gethostbyname=no
30463 fi
30464 rm -f conftest.err conftest.$ac_objext \
30465 conftest$ac_exeext conftest.$ac_ext
30466 fi
30467 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30468 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30469
30470 if test $ac_cv_func_gethostbyname = no; then
30471 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30472 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30473 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30474 echo $ECHO_N "(cached) $ECHO_C" >&6
30475 else
30476 ac_check_lib_save_LIBS=$LIBS
30477 LIBS="-lnsl $LIBS"
30478 cat >conftest.$ac_ext <<_ACEOF
30479 /* confdefs.h. */
30480 _ACEOF
30481 cat confdefs.h >>conftest.$ac_ext
30482 cat >>conftest.$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30484
30485 /* Override any gcc2 internal prototype to avoid an error. */
30486 #ifdef __cplusplus
30487 extern "C"
30488 #endif
30489 /* We use char because int might match the return type of a gcc2
30490 builtin and then its argument prototype would still apply. */
30491 char gethostbyname ();
30492 int
30493 main ()
30494 {
30495 gethostbyname ();
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 rm -f conftest.$ac_objext conftest$ac_exeext
30501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30502 (eval $ac_link) 2>conftest.er1
30503 ac_status=$?
30504 grep -v '^ *+' conftest.er1 >conftest.err
30505 rm -f conftest.er1
30506 cat conftest.err >&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); } &&
30509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30511 (eval $ac_try) 2>&5
30512 ac_status=$?
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); }; } &&
30515 { ac_try='test -s conftest$ac_exeext'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30518 ac_status=$?
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; }; then
30521 ac_cv_lib_nsl_gethostbyname=yes
30522 else
30523 echo "$as_me: failed program was:" >&5
30524 sed 's/^/| /' conftest.$ac_ext >&5
30525
30526 ac_cv_lib_nsl_gethostbyname=no
30527 fi
30528 rm -f conftest.err conftest.$ac_objext \
30529 conftest$ac_exeext conftest.$ac_ext
30530 LIBS=$ac_check_lib_save_LIBS
30531 fi
30532 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30533 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30534 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30535 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30536 fi
30537
30538 if test $ac_cv_lib_nsl_gethostbyname = no; then
30539 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30540 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30541 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30542 echo $ECHO_N "(cached) $ECHO_C" >&6
30543 else
30544 ac_check_lib_save_LIBS=$LIBS
30545 LIBS="-lbsd $LIBS"
30546 cat >conftest.$ac_ext <<_ACEOF
30547 /* confdefs.h. */
30548 _ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552
30553 /* Override any gcc2 internal prototype to avoid an error. */
30554 #ifdef __cplusplus
30555 extern "C"
30556 #endif
30557 /* We use char because int might match the return type of a gcc2
30558 builtin and then its argument prototype would still apply. */
30559 char gethostbyname ();
30560 int
30561 main ()
30562 {
30563 gethostbyname ();
30564 ;
30565 return 0;
30566 }
30567 _ACEOF
30568 rm -f conftest.$ac_objext conftest$ac_exeext
30569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30570 (eval $ac_link) 2>conftest.er1
30571 ac_status=$?
30572 grep -v '^ *+' conftest.er1 >conftest.err
30573 rm -f conftest.er1
30574 cat conftest.err >&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); } &&
30577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30580 ac_status=$?
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; } &&
30583 { ac_try='test -s conftest$ac_exeext'
30584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585 (eval $ac_try) 2>&5
30586 ac_status=$?
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); }; }; then
30589 ac_cv_lib_bsd_gethostbyname=yes
30590 else
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30593
30594 ac_cv_lib_bsd_gethostbyname=no
30595 fi
30596 rm -f conftest.err conftest.$ac_objext \
30597 conftest$ac_exeext conftest.$ac_ext
30598 LIBS=$ac_check_lib_save_LIBS
30599 fi
30600 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30601 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30602 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30603 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30604 fi
30605
30606 fi
30607 fi
30608
30609 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30610 # socket/setsockopt and other routines are undefined under SCO ODT
30611 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30612 # on later versions), says Simon Leinen: it contains gethostby*
30613 # variants that don't use the name server (or something). -lsocket
30614 # must be given before -lnsl if both are needed. We assume that
30615 # if connect needs -lnsl, so does gethostbyname.
30616 echo "$as_me:$LINENO: checking for connect" >&5
30617 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30618 if test "${ac_cv_func_connect+set}" = set; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 else
30621 cat >conftest.$ac_ext <<_ACEOF
30622 /* confdefs.h. */
30623 _ACEOF
30624 cat confdefs.h >>conftest.$ac_ext
30625 cat >>conftest.$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30627 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30629 #define connect innocuous_connect
30630
30631 /* System header to define __stub macros and hopefully few prototypes,
30632 which can conflict with char connect (); below.
30633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30634 <limits.h> exists even on freestanding compilers. */
30635
30636 #ifdef __STDC__
30637 # include <limits.h>
30638 #else
30639 # include <assert.h>
30640 #endif
30641
30642 #undef connect
30643
30644 /* Override any gcc2 internal prototype to avoid an error. */
30645 #ifdef __cplusplus
30646 extern "C"
30647 {
30648 #endif
30649 /* We use char because int might match the return type of a gcc2
30650 builtin and then its argument prototype would still apply. */
30651 char connect ();
30652 /* The GNU C library defines this for functions which it implements
30653 to always fail with ENOSYS. Some functions are actually named
30654 something starting with __ and the normal name is an alias. */
30655 #if defined (__stub_connect) || defined (__stub___connect)
30656 choke me
30657 #else
30658 char (*f) () = connect;
30659 #endif
30660 #ifdef __cplusplus
30661 }
30662 #endif
30663
30664 int
30665 main ()
30666 {
30667 return f != connect;
30668 ;
30669 return 0;
30670 }
30671 _ACEOF
30672 rm -f conftest.$ac_objext conftest$ac_exeext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674 (eval $ac_link) 2>conftest.er1
30675 ac_status=$?
30676 grep -v '^ *+' conftest.er1 >conftest.err
30677 rm -f conftest.er1
30678 cat conftest.err >&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30684 ac_status=$?
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; } &&
30687 { ac_try='test -s conftest$ac_exeext'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30690 ac_status=$?
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; }; then
30693 ac_cv_func_connect=yes
30694 else
30695 echo "$as_me: failed program was:" >&5
30696 sed 's/^/| /' conftest.$ac_ext >&5
30697
30698 ac_cv_func_connect=no
30699 fi
30700 rm -f conftest.err conftest.$ac_objext \
30701 conftest$ac_exeext conftest.$ac_ext
30702 fi
30703 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30704 echo "${ECHO_T}$ac_cv_func_connect" >&6
30705
30706 if test $ac_cv_func_connect = no; then
30707 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30708 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30709 if test "${ac_cv_lib_socket_connect+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712 ac_check_lib_save_LIBS=$LIBS
30713 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30714 cat >conftest.$ac_ext <<_ACEOF
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720
30721 /* Override any gcc2 internal prototype to avoid an error. */
30722 #ifdef __cplusplus
30723 extern "C"
30724 #endif
30725 /* We use char because int might match the return type of a gcc2
30726 builtin and then its argument prototype would still apply. */
30727 char connect ();
30728 int
30729 main ()
30730 {
30731 connect ();
30732 ;
30733 return 0;
30734 }
30735 _ACEOF
30736 rm -f conftest.$ac_objext conftest$ac_exeext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30738 (eval $ac_link) 2>conftest.er1
30739 ac_status=$?
30740 grep -v '^ *+' conftest.er1 >conftest.err
30741 rm -f conftest.er1
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30748 ac_status=$?
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; } &&
30751 { ac_try='test -s conftest$ac_exeext'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30754 ac_status=$?
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; }; then
30757 ac_cv_lib_socket_connect=yes
30758 else
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.$ac_ext >&5
30761
30762 ac_cv_lib_socket_connect=no
30763 fi
30764 rm -f conftest.err conftest.$ac_objext \
30765 conftest$ac_exeext conftest.$ac_ext
30766 LIBS=$ac_check_lib_save_LIBS
30767 fi
30768 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30769 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30770 if test $ac_cv_lib_socket_connect = yes; then
30771 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30772 fi
30773
30774 fi
30775
30776 # Guillermo Gomez says -lposix is necessary on A/UX.
30777 echo "$as_me:$LINENO: checking for remove" >&5
30778 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30779 if test "${ac_cv_func_remove+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782 cat >conftest.$ac_ext <<_ACEOF
30783 /* confdefs.h. */
30784 _ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30790 #define remove innocuous_remove
30791
30792 /* System header to define __stub macros and hopefully few prototypes,
30793 which can conflict with char remove (); below.
30794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30795 <limits.h> exists even on freestanding compilers. */
30796
30797 #ifdef __STDC__
30798 # include <limits.h>
30799 #else
30800 # include <assert.h>
30801 #endif
30802
30803 #undef remove
30804
30805 /* Override any gcc2 internal prototype to avoid an error. */
30806 #ifdef __cplusplus
30807 extern "C"
30808 {
30809 #endif
30810 /* We use char because int might match the return type of a gcc2
30811 builtin and then its argument prototype would still apply. */
30812 char remove ();
30813 /* The GNU C library defines this for functions which it implements
30814 to always fail with ENOSYS. Some functions are actually named
30815 something starting with __ and the normal name is an alias. */
30816 #if defined (__stub_remove) || defined (__stub___remove)
30817 choke me
30818 #else
30819 char (*f) () = remove;
30820 #endif
30821 #ifdef __cplusplus
30822 }
30823 #endif
30824
30825 int
30826 main ()
30827 {
30828 return f != remove;
30829 ;
30830 return 0;
30831 }
30832 _ACEOF
30833 rm -f conftest.$ac_objext conftest$ac_exeext
30834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30835 (eval $ac_link) 2>conftest.er1
30836 ac_status=$?
30837 grep -v '^ *+' conftest.er1 >conftest.err
30838 rm -f conftest.er1
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } &&
30842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30844 (eval $ac_try) 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; } &&
30848 { ac_try='test -s conftest$ac_exeext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 ac_cv_func_remove=yes
30855 else
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.$ac_ext >&5
30858
30859 ac_cv_func_remove=no
30860 fi
30861 rm -f conftest.err conftest.$ac_objext \
30862 conftest$ac_exeext conftest.$ac_ext
30863 fi
30864 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30865 echo "${ECHO_T}$ac_cv_func_remove" >&6
30866
30867 if test $ac_cv_func_remove = no; then
30868 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30869 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30870 if test "${ac_cv_lib_posix_remove+set}" = set; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30872 else
30873 ac_check_lib_save_LIBS=$LIBS
30874 LIBS="-lposix $LIBS"
30875 cat >conftest.$ac_ext <<_ACEOF
30876 /* confdefs.h. */
30877 _ACEOF
30878 cat confdefs.h >>conftest.$ac_ext
30879 cat >>conftest.$ac_ext <<_ACEOF
30880 /* end confdefs.h. */
30881
30882 /* Override any gcc2 internal prototype to avoid an error. */
30883 #ifdef __cplusplus
30884 extern "C"
30885 #endif
30886 /* We use char because int might match the return type of a gcc2
30887 builtin and then its argument prototype would still apply. */
30888 char remove ();
30889 int
30890 main ()
30891 {
30892 remove ();
30893 ;
30894 return 0;
30895 }
30896 _ACEOF
30897 rm -f conftest.$ac_objext conftest$ac_exeext
30898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30899 (eval $ac_link) 2>conftest.er1
30900 ac_status=$?
30901 grep -v '^ *+' conftest.er1 >conftest.err
30902 rm -f conftest.er1
30903 cat conftest.err >&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } &&
30906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30909 ac_status=$?
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; } &&
30912 { ac_try='test -s conftest$ac_exeext'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; }; then
30918 ac_cv_lib_posix_remove=yes
30919 else
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30922
30923 ac_cv_lib_posix_remove=no
30924 fi
30925 rm -f conftest.err conftest.$ac_objext \
30926 conftest$ac_exeext conftest.$ac_ext
30927 LIBS=$ac_check_lib_save_LIBS
30928 fi
30929 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30930 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30931 if test $ac_cv_lib_posix_remove = yes; then
30932 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30933 fi
30934
30935 fi
30936
30937 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30938 echo "$as_me:$LINENO: checking for shmat" >&5
30939 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30940 if test "${ac_cv_func_shmat+set}" = set; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 else
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 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30951 #define shmat innocuous_shmat
30952
30953 /* System header to define __stub macros and hopefully few prototypes,
30954 which can conflict with char shmat (); below.
30955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30956 <limits.h> exists even on freestanding compilers. */
30957
30958 #ifdef __STDC__
30959 # include <limits.h>
30960 #else
30961 # include <assert.h>
30962 #endif
30963
30964 #undef shmat
30965
30966 /* Override any gcc2 internal prototype to avoid an error. */
30967 #ifdef __cplusplus
30968 extern "C"
30969 {
30970 #endif
30971 /* We use char because int might match the return type of a gcc2
30972 builtin and then its argument prototype would still apply. */
30973 char shmat ();
30974 /* The GNU C library defines this for functions which it implements
30975 to always fail with ENOSYS. Some functions are actually named
30976 something starting with __ and the normal name is an alias. */
30977 #if defined (__stub_shmat) || defined (__stub___shmat)
30978 choke me
30979 #else
30980 char (*f) () = shmat;
30981 #endif
30982 #ifdef __cplusplus
30983 }
30984 #endif
30985
30986 int
30987 main ()
30988 {
30989 return f != shmat;
30990 ;
30991 return 0;
30992 }
30993 _ACEOF
30994 rm -f conftest.$ac_objext conftest$ac_exeext
30995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30996 (eval $ac_link) 2>conftest.er1
30997 ac_status=$?
30998 grep -v '^ *+' conftest.er1 >conftest.err
30999 rm -f conftest.er1
31000 cat conftest.err >&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); } &&
31003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; } &&
31009 { ac_try='test -s conftest$ac_exeext'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; }; then
31015 ac_cv_func_shmat=yes
31016 else
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.$ac_ext >&5
31019
31020 ac_cv_func_shmat=no
31021 fi
31022 rm -f conftest.err conftest.$ac_objext \
31023 conftest$ac_exeext conftest.$ac_ext
31024 fi
31025 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31026 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31027
31028 if test $ac_cv_func_shmat = no; then
31029 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31030 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31031 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31033 else
31034 ac_check_lib_save_LIBS=$LIBS
31035 LIBS="-lipc $LIBS"
31036 cat >conftest.$ac_ext <<_ACEOF
31037 /* confdefs.h. */
31038 _ACEOF
31039 cat confdefs.h >>conftest.$ac_ext
31040 cat >>conftest.$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31042
31043 /* Override any gcc2 internal prototype to avoid an error. */
31044 #ifdef __cplusplus
31045 extern "C"
31046 #endif
31047 /* We use char because int might match the return type of a gcc2
31048 builtin and then its argument prototype would still apply. */
31049 char shmat ();
31050 int
31051 main ()
31052 {
31053 shmat ();
31054 ;
31055 return 0;
31056 }
31057 _ACEOF
31058 rm -f conftest.$ac_objext conftest$ac_exeext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31060 (eval $ac_link) 2>conftest.er1
31061 ac_status=$?
31062 grep -v '^ *+' conftest.er1 >conftest.err
31063 rm -f conftest.er1
31064 cat conftest.err >&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31070 ac_status=$?
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; } &&
31073 { ac_try='test -s conftest$ac_exeext'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31076 ac_status=$?
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; }; then
31079 ac_cv_lib_ipc_shmat=yes
31080 else
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.$ac_ext >&5
31083
31084 ac_cv_lib_ipc_shmat=no
31085 fi
31086 rm -f conftest.err conftest.$ac_objext \
31087 conftest$ac_exeext conftest.$ac_ext
31088 LIBS=$ac_check_lib_save_LIBS
31089 fi
31090 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31091 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31092 if test $ac_cv_lib_ipc_shmat = yes; then
31093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31094 fi
31095
31096 fi
31097 fi
31098
31099 # Check for libraries that X11R6 Xt/Xaw programs need.
31100 ac_save_LDFLAGS=$LDFLAGS
31101 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31102 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31103 # check for ICE first), but we must link in the order -lSM -lICE or
31104 # we get undefined symbols. So assume we have SM if we have ICE.
31105 # These have to be linked with before -lX11, unlike the other
31106 # libraries we check for below, so use a different variable.
31107 # John Interrante, Karl Berry
31108 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31109 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31110 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31111 echo $ECHO_N "(cached) $ECHO_C" >&6
31112 else
31113 ac_check_lib_save_LIBS=$LIBS
31114 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31115 cat >conftest.$ac_ext <<_ACEOF
31116 /* confdefs.h. */
31117 _ACEOF
31118 cat confdefs.h >>conftest.$ac_ext
31119 cat >>conftest.$ac_ext <<_ACEOF
31120 /* end confdefs.h. */
31121
31122 /* Override any gcc2 internal prototype to avoid an error. */
31123 #ifdef __cplusplus
31124 extern "C"
31125 #endif
31126 /* We use char because int might match the return type of a gcc2
31127 builtin and then its argument prototype would still apply. */
31128 char IceConnectionNumber ();
31129 int
31130 main ()
31131 {
31132 IceConnectionNumber ();
31133 ;
31134 return 0;
31135 }
31136 _ACEOF
31137 rm -f conftest.$ac_objext conftest$ac_exeext
31138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31139 (eval $ac_link) 2>conftest.er1
31140 ac_status=$?
31141 grep -v '^ *+' conftest.er1 >conftest.err
31142 rm -f conftest.er1
31143 cat conftest.err >&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } &&
31146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31149 ac_status=$?
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; } &&
31152 { ac_try='test -s conftest$ac_exeext'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31155 ac_status=$?
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; }; then
31158 ac_cv_lib_ICE_IceConnectionNumber=yes
31159 else
31160 echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.$ac_ext >&5
31162
31163 ac_cv_lib_ICE_IceConnectionNumber=no
31164 fi
31165 rm -f conftest.err conftest.$ac_objext \
31166 conftest$ac_exeext conftest.$ac_ext
31167 LIBS=$ac_check_lib_save_LIBS
31168 fi
31169 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31170 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31171 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31172 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31173 fi
31174
31175 LDFLAGS=$ac_save_LDFLAGS
31176
31177 fi
31178
31179
31180 if test "$no_x" = "yes"; then
31181 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31182 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31183 { (exit 1); exit 1; }; }
31184 fi
31185
31186 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31187 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31188 AFMINSTALL=afminstall
31189 COMPILED_X_PROGRAM=0
31190
31191 fi
31192
31193 if test "$wxUSE_X11" = 1; then
31194 if test "$wxUSE_NANOX" = "yes"; then
31195 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31196 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31197 if test "x$MICROWIN" = x ; then
31198 echo "$as_me:$LINENO: result: not found" >&5
31199 echo "${ECHO_T}not found" >&6
31200 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31201 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31202 { (exit 1); exit 1; }; }
31203 else
31204 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31205 echo "${ECHO_T}$MICROWIN" >&6
31206 cat >>confdefs.h <<\_ACEOF
31207 #define wxUSE_NANOX 1
31208 _ACEOF
31209
31210 fi
31211 fi
31212
31213 if test "$wxUSE_UNICODE" = "yes"; then
31214
31215
31216 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31217 if test -n "$ac_tool_prefix"; then
31218 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31219 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31220 echo "$as_me:$LINENO: checking for $ac_word" >&5
31221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31222 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31223 echo $ECHO_N "(cached) $ECHO_C" >&6
31224 else
31225 case $PKG_CONFIG in
31226 [\\/]* | ?:[\\/]*)
31227 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31228 ;;
31229 *)
31230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31231 for as_dir in $PATH
31232 do
31233 IFS=$as_save_IFS
31234 test -z "$as_dir" && as_dir=.
31235 for ac_exec_ext in '' $ac_executable_extensions; do
31236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31237 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31239 break 2
31240 fi
31241 done
31242 done
31243
31244 ;;
31245 esac
31246 fi
31247 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31248
31249 if test -n "$PKG_CONFIG"; then
31250 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31251 echo "${ECHO_T}$PKG_CONFIG" >&6
31252 else
31253 echo "$as_me:$LINENO: result: no" >&5
31254 echo "${ECHO_T}no" >&6
31255 fi
31256
31257 fi
31258 if test -z "$ac_cv_path_PKG_CONFIG"; then
31259 ac_pt_PKG_CONFIG=$PKG_CONFIG
31260 # Extract the first word of "pkg-config", so it can be a program name with args.
31261 set dummy pkg-config; ac_word=$2
31262 echo "$as_me:$LINENO: checking for $ac_word" >&5
31263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31264 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31265 echo $ECHO_N "(cached) $ECHO_C" >&6
31266 else
31267 case $ac_pt_PKG_CONFIG in
31268 [\\/]* | ?:[\\/]*)
31269 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31270 ;;
31271 *)
31272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31273 for as_dir in $PATH
31274 do
31275 IFS=$as_save_IFS
31276 test -z "$as_dir" && as_dir=.
31277 for ac_exec_ext in '' $ac_executable_extensions; do
31278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31279 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31281 break 2
31282 fi
31283 done
31284 done
31285
31286 ;;
31287 esac
31288 fi
31289 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31290
31291 if test -n "$ac_pt_PKG_CONFIG"; then
31292 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31293 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31294 else
31295 echo "$as_me:$LINENO: result: no" >&5
31296 echo "${ECHO_T}no" >&6
31297 fi
31298
31299 PKG_CONFIG=$ac_pt_PKG_CONFIG
31300 else
31301 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31302 fi
31303
31304 fi
31305 if test -n "$PKG_CONFIG"; then
31306 _pkg_min_version=0.9.0
31307 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31308 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31309 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31312 else
31313 echo "$as_me:$LINENO: result: no" >&5
31314 echo "${ECHO_T}no" >&6
31315 PKG_CONFIG=""
31316 fi
31317
31318 fi
31319
31320
31321 pkg_failed=no
31322 echo "$as_me:$LINENO: checking for PANGOX" >&5
31323 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31324
31325 if test -n "$PKG_CONFIG"; then
31326 if test -n "$PANGOX_CFLAGS"; then
31327 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31328 else
31329 if test -n "$PKG_CONFIG" && \
31330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31331 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31332 ac_status=$?
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); }; then
31335 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31336 else
31337 pkg_failed=yes
31338 fi
31339 fi
31340 else
31341 pkg_failed=untried
31342 fi
31343 if test -n "$PKG_CONFIG"; then
31344 if test -n "$PANGOX_LIBS"; then
31345 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31346 else
31347 if test -n "$PKG_CONFIG" && \
31348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31349 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31350 ac_status=$?
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; then
31353 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31354 else
31355 pkg_failed=yes
31356 fi
31357 fi
31358 else
31359 pkg_failed=untried
31360 fi
31361
31362
31363
31364 if test $pkg_failed = yes; then
31365
31366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31367 _pkg_short_errors_supported=yes
31368 else
31369 _pkg_short_errors_supported=no
31370 fi
31371 if test $_pkg_short_errors_supported = yes; then
31372 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31373 else
31374 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31375 fi
31376 # Put the nasty error message in config.log where it belongs
31377 echo "$PANGOX_PKG_ERRORS" >&5
31378
31379
31380 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31381 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31382 { (exit 1); exit 1; }; }
31383
31384
31385 elif test $pkg_failed = untried; then
31386
31387 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31388 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31389 { (exit 1); exit 1; }; }
31390
31391
31392 else
31393 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31394 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31395 echo "$as_me:$LINENO: result: yes" >&5
31396 echo "${ECHO_T}yes" >&6
31397
31398 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31400
31401 fi
31402
31403 pkg_failed=no
31404 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31405 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31406
31407 if test -n "$PKG_CONFIG"; then
31408 if test -n "$PANGOFT2_CFLAGS"; then
31409 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31410 else
31411 if test -n "$PKG_CONFIG" && \
31412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31413 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31414 ac_status=$?
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; then
31417 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31418 else
31419 pkg_failed=yes
31420 fi
31421 fi
31422 else
31423 pkg_failed=untried
31424 fi
31425 if test -n "$PKG_CONFIG"; then
31426 if test -n "$PANGOFT2_LIBS"; then
31427 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31428 else
31429 if test -n "$PKG_CONFIG" && \
31430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31431 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31432 ac_status=$?
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); }; then
31435 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31436 else
31437 pkg_failed=yes
31438 fi
31439 fi
31440 else
31441 pkg_failed=untried
31442 fi
31443
31444
31445
31446 if test $pkg_failed = yes; then
31447
31448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31449 _pkg_short_errors_supported=yes
31450 else
31451 _pkg_short_errors_supported=no
31452 fi
31453 if test $_pkg_short_errors_supported = yes; then
31454 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31455 else
31456 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31457 fi
31458 # Put the nasty error message in config.log where it belongs
31459 echo "$PANGOFT2_PKG_ERRORS" >&5
31460
31461
31462 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31463 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31464 wxUSE_PRINTING_ARCHITECTURE="no"
31465
31466
31467 elif test $pkg_failed = untried; then
31468
31469 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31470 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31471 wxUSE_PRINTING_ARCHITECTURE="no"
31472
31473
31474 else
31475 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31476 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31477 echo "$as_me:$LINENO: result: yes" >&5
31478 echo "${ECHO_T}yes" >&6
31479
31480 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31481 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31482
31483 fi
31484
31485 pkg_failed=no
31486 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31487 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31488
31489 if test -n "$PKG_CONFIG"; then
31490 if test -n "$PANGOXFT_CFLAGS"; then
31491 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31492 else
31493 if test -n "$PKG_CONFIG" && \
31494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31495 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; then
31499 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31500 else
31501 pkg_failed=yes
31502 fi
31503 fi
31504 else
31505 pkg_failed=untried
31506 fi
31507 if test -n "$PKG_CONFIG"; then
31508 if test -n "$PANGOXFT_LIBS"; then
31509 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31510 else
31511 if test -n "$PKG_CONFIG" && \
31512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31513 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31514 ac_status=$?
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; then
31517 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31518 else
31519 pkg_failed=yes
31520 fi
31521 fi
31522 else
31523 pkg_failed=untried
31524 fi
31525
31526
31527
31528 if test $pkg_failed = yes; then
31529
31530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31531 _pkg_short_errors_supported=yes
31532 else
31533 _pkg_short_errors_supported=no
31534 fi
31535 if test $_pkg_short_errors_supported = yes; then
31536 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31537 else
31538 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31539 fi
31540 # Put the nasty error message in config.log where it belongs
31541 echo "$PANGOXFT_PKG_ERRORS" >&5
31542
31543
31544 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31545 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31546
31547
31548 elif test $pkg_failed = untried; then
31549
31550 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31551 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31552
31553
31554 else
31555 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31556 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31557 echo "$as_me:$LINENO: result: yes" >&5
31558 echo "${ECHO_T}yes" >&6
31559
31560 cat >>confdefs.h <<\_ACEOF
31561 #define HAVE_PANGO_XFT 1
31562 _ACEOF
31563
31564 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31565 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31566
31567 fi
31568 save_CXXFLAGS="$CXXFLAGS"
31569 save_LIBS="$LIBS"
31570 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31571 LIBS="$LIBS $PANGOX_LIBS"
31572
31573 for ac_func in pango_font_family_is_monospace
31574 do
31575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31576 echo "$as_me:$LINENO: checking for $ac_func" >&5
31577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31578 if eval "test \"\${$as_ac_var+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31580 else
31581 cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h. */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31589 #define $ac_func innocuous_$ac_func
31590
31591 /* System header to define __stub macros and hopefully few prototypes,
31592 which can conflict with char $ac_func (); below.
31593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31594 <limits.h> exists even on freestanding compilers. */
31595
31596 #ifdef __STDC__
31597 # include <limits.h>
31598 #else
31599 # include <assert.h>
31600 #endif
31601
31602 #undef $ac_func
31603
31604 /* Override any gcc2 internal prototype to avoid an error. */
31605 #ifdef __cplusplus
31606 extern "C"
31607 {
31608 #endif
31609 /* We use char because int might match the return type of a gcc2
31610 builtin and then its argument prototype would still apply. */
31611 char $ac_func ();
31612 /* The GNU C library defines this for functions which it implements
31613 to always fail with ENOSYS. Some functions are actually named
31614 something starting with __ and the normal name is an alias. */
31615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31616 choke me
31617 #else
31618 char (*f) () = $ac_func;
31619 #endif
31620 #ifdef __cplusplus
31621 }
31622 #endif
31623
31624 int
31625 main ()
31626 {
31627 return f != $ac_func;
31628 ;
31629 return 0;
31630 }
31631 _ACEOF
31632 rm -f conftest.$ac_objext conftest$ac_exeext
31633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31634 (eval $ac_link) 2>conftest.er1
31635 ac_status=$?
31636 grep -v '^ *+' conftest.er1 >conftest.err
31637 rm -f conftest.er1
31638 cat conftest.err >&5
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); } &&
31641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; } &&
31647 { ac_try='test -s conftest$ac_exeext'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; }; then
31653 eval "$as_ac_var=yes"
31654 else
31655 echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31657
31658 eval "$as_ac_var=no"
31659 fi
31660 rm -f conftest.err conftest.$ac_objext \
31661 conftest$ac_exeext conftest.$ac_ext
31662 fi
31663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31665 if test `eval echo '${'$as_ac_var'}'` = yes; then
31666 cat >>confdefs.h <<_ACEOF
31667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31668 _ACEOF
31669
31670 fi
31671 done
31672
31673 CXXFLAGS="$save_CXXFLAGS"
31674 LIBS="$save_LIBS"
31675 fi
31676
31677 wxUSE_UNIVERSAL="yes"
31678
31679 if test "$wxUSE_NANOX" = "yes"; then
31680 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31681 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"
31682 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31683 else
31684 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31685 fi
31686
31687 TOOLKIT=X11
31688 GUIDIST=X11_DIST
31689 fi
31690
31691 if test "$wxUSE_MOTIF" = 1; then
31692 if test "$wxUSE_UNICODE" = "yes"; then
31693 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31694 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31695 { (exit 1); exit 1; }; }
31696 fi
31697
31698 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31699 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31700
31701 ac_find_includes=
31702 for ac_dir in $SEARCH_INCLUDE /usr/include;
31703 do
31704 if test -f "$ac_dir/Xm/Xm.h"; then
31705 ac_find_includes=$ac_dir
31706 break
31707 fi
31708 done
31709
31710 if test "$ac_find_includes" != "" ; then
31711 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31712 echo "${ECHO_T}found in $ac_find_includes" >&6
31713
31714 if test "x$ac_find_includes" = "x/usr/include"; then
31715 ac_path_to_include=""
31716 else
31717 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31718 result=$?
31719 if test $result = 0; then
31720 ac_path_to_include=""
31721 else
31722 ac_path_to_include=" -I$ac_find_includes"
31723 fi
31724 fi
31725
31726 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31727 else
31728 save_CXXFLAGS=$CXXFLAGS
31729 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31730
31731 cat >conftest.$ac_ext <<_ACEOF
31732 /* confdefs.h. */
31733 _ACEOF
31734 cat confdefs.h >>conftest.$ac_ext
31735 cat >>conftest.$ac_ext <<_ACEOF
31736 /* end confdefs.h. */
31737
31738 #include <Xm/Xm.h>
31739
31740 int
31741 main ()
31742 {
31743
31744 int version;
31745 version = xmUseVersion;
31746
31747 ;
31748 return 0;
31749 }
31750 _ACEOF
31751 rm -f conftest.$ac_objext
31752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31753 (eval $ac_compile) 2>conftest.er1
31754 ac_status=$?
31755 grep -v '^ *+' conftest.er1 >conftest.err
31756 rm -f conftest.er1
31757 cat conftest.err >&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); } &&
31760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31762 (eval $ac_try) 2>&5
31763 ac_status=$?
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); }; } &&
31766 { ac_try='test -s conftest.$ac_objext'
31767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31768 (eval $ac_try) 2>&5
31769 ac_status=$?
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); }; }; then
31772
31773 echo "$as_me:$LINENO: result: found in default search path" >&5
31774 echo "${ECHO_T}found in default search path" >&6
31775 COMPILED_X_PROGRAM=1
31776
31777 else
31778 echo "$as_me: failed program was:" >&5
31779 sed 's/^/| /' conftest.$ac_ext >&5
31780
31781
31782 echo "$as_me:$LINENO: result: no" >&5
31783 echo "${ECHO_T}no" >&6
31784 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31785 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31786 { (exit 1); exit 1; }; }
31787
31788
31789 fi
31790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31791
31792 CXXFLAGS=$save_CXXFLAGS
31793 fi
31794
31795
31796 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31797 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31798
31799 ac_find_libraries=
31800 for ac_dir in $SEARCH_LIB;
31801 do
31802 for ac_extension in a so sl dylib dll.a; do
31803 if test -f "$ac_dir/libXm.$ac_extension"; then
31804 ac_find_libraries=$ac_dir
31805 break 2
31806 fi
31807 done
31808 done
31809
31810
31811 if test "x$ac_find_libraries" != "x" ; then
31812 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31813 echo "${ECHO_T}found in $ac_find_libraries" >&6
31814
31815
31816 if test "$ac_find_libraries" = "default location"; then
31817 ac_path_to_link=""
31818 else
31819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31820 result=$?
31821 if test $result = 0; then
31822 ac_path_to_link=""
31823 else
31824 ac_path_to_link=" -L$ac_find_libraries"
31825 fi
31826 fi
31827
31828 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31829 else
31830 save_CXXFLAGS=$CXXFLAGS
31831 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31832 save_LIBS="$LIBS"
31833 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31834
31835 cat >conftest.$ac_ext <<_ACEOF
31836 /* confdefs.h. */
31837 _ACEOF
31838 cat confdefs.h >>conftest.$ac_ext
31839 cat >>conftest.$ac_ext <<_ACEOF
31840 /* end confdefs.h. */
31841
31842 #include <Xm/Xm.h>
31843
31844 int
31845 main ()
31846 {
31847
31848 int version;
31849 version = xmUseVersion;
31850
31851 ;
31852 return 0;
31853 }
31854 _ACEOF
31855 rm -f conftest.$ac_objext conftest$ac_exeext
31856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31857 (eval $ac_link) 2>conftest.er1
31858 ac_status=$?
31859 grep -v '^ *+' conftest.er1 >conftest.err
31860 rm -f conftest.er1
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } &&
31864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31866 (eval $ac_try) 2>&5
31867 ac_status=$?
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); }; } &&
31870 { ac_try='test -s conftest$ac_exeext'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31873 ac_status=$?
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; }; then
31876
31877 echo "$as_me:$LINENO: result: found in default search path" >&5
31878 echo "${ECHO_T}found in default search path" >&6
31879 COMPILED_X_PROGRAM=1
31880
31881 else
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.$ac_ext >&5
31884
31885
31886 echo "$as_me:$LINENO: result: no" >&5
31887 echo "${ECHO_T}no" >&6
31888 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31889 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31890 { (exit 1); exit 1; }; }
31891
31892
31893 fi
31894 rm -f conftest.err conftest.$ac_objext \
31895 conftest$ac_exeext conftest.$ac_ext
31896
31897 CXXFLAGS=$save_CXXFLAGS
31898 LIBS="$save_LIBS"
31899 fi
31900
31901 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31902 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31903 libp_link=""
31904 libsm_ice_link=""
31905 libs_found=0
31906 for libp in "" " -lXp"; do
31907 if test "$libs_found" = "0"; then
31908 for libsm_ice in "" " -lSM -lICE"; do
31909 if test "$libs_found" = "0"; then
31910 save_LIBS="$LIBS"
31911 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31912 save_CXXFLAGS=$CXXFLAGS
31913 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31914
31915 cat >conftest.$ac_ext <<_ACEOF
31916 /* confdefs.h. */
31917 _ACEOF
31918 cat confdefs.h >>conftest.$ac_ext
31919 cat >>conftest.$ac_ext <<_ACEOF
31920 /* end confdefs.h. */
31921
31922 #include <Xm/Xm.h>
31923 #include <Xm/List.h>
31924
31925 int
31926 main ()
31927 {
31928
31929 XmString string = NULL;
31930 Widget w = NULL;
31931 int position = 0;
31932 XmListAddItem(w, string, position);
31933
31934 ;
31935 return 0;
31936 }
31937 _ACEOF
31938 rm -f conftest.$ac_objext conftest$ac_exeext
31939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31940 (eval $ac_link) 2>conftest.er1
31941 ac_status=$?
31942 grep -v '^ *+' conftest.er1 >conftest.err
31943 rm -f conftest.er1
31944 cat conftest.err >&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } &&
31947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31950 ac_status=$?
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; } &&
31953 { ac_try='test -s conftest$ac_exeext'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31956 ac_status=$?
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; }; then
31959
31960 libp_link="$libp"
31961 libsm_ice_link="$libsm_ice"
31962 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31963 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31964 libs_found=1
31965
31966 else
31967 echo "$as_me: failed program was:" >&5
31968 sed 's/^/| /' conftest.$ac_ext >&5
31969
31970
31971
31972 fi
31973 rm -f conftest.err conftest.$ac_objext \
31974 conftest$ac_exeext conftest.$ac_ext
31975
31976 LIBS="$save_LIBS"
31977 CXXFLAGS=$save_CXXFLAGS
31978 fi
31979 done
31980 fi
31981 done
31982
31983 if test "$libs_found" = "0"; then
31984 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31985 echo "${ECHO_T}can't find the right libraries" >&6
31986 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31987 echo "$as_me: error: can't link a simple motif program" >&2;}
31988 { (exit 1); exit 1; }; }
31989 fi
31990
31991 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31992 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31993 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 else
31996 ac_check_lib_save_LIBS=$LIBS
31997 LIBS="-lSgm $LIBS"
31998 cat >conftest.$ac_ext <<_ACEOF
31999 /* confdefs.h. */
32000 _ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32004
32005 /* Override any gcc2 internal prototype to avoid an error. */
32006 #ifdef __cplusplus
32007 extern "C"
32008 #endif
32009 /* We use char because int might match the return type of a gcc2
32010 builtin and then its argument prototype would still apply. */
32011 char SgCreateList ();
32012 int
32013 main ()
32014 {
32015 SgCreateList ();
32016 ;
32017 return 0;
32018 }
32019 _ACEOF
32020 rm -f conftest.$ac_objext conftest$ac_exeext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32022 (eval $ac_link) 2>conftest.er1
32023 ac_status=$?
32024 grep -v '^ *+' conftest.er1 >conftest.err
32025 rm -f conftest.er1
32026 cat conftest.err >&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } &&
32029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32032 ac_status=$?
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; } &&
32035 { ac_try='test -s conftest$ac_exeext'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32038 ac_status=$?
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; }; then
32041 ac_cv_lib_Sgm_SgCreateList=yes
32042 else
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32045
32046 ac_cv_lib_Sgm_SgCreateList=no
32047 fi
32048 rm -f conftest.err conftest.$ac_objext \
32049 conftest$ac_exeext conftest.$ac_ext
32050 LIBS=$ac_check_lib_save_LIBS
32051 fi
32052 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32053 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32054 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32055 libsgm_link=" -lSgm"
32056 fi
32057
32058
32059 save_CXXFLAGS=$CXXFLAGS
32060 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32061
32062 echo "$as_me:$LINENO: checking for Motif 2" >&5
32063 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32064 if test "${wx_cv_lib_motif2+set}" = set; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32066 else
32067 cat >conftest.$ac_ext <<_ACEOF
32068 /* confdefs.h. */
32069 _ACEOF
32070 cat confdefs.h >>conftest.$ac_ext
32071 cat >>conftest.$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32073
32074 #include <Xm/Xm.h>
32075
32076 int
32077 main ()
32078 {
32079
32080 #if XmVersion < 2000
32081 Not Motif 2
32082 #endif
32083
32084 ;
32085 return 0;
32086 }
32087 _ACEOF
32088 rm -f conftest.$ac_objext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32090 (eval $ac_compile) 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try='test -s conftest.$ac_objext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32106 ac_status=$?
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 wx_cv_lib_motif2="yes"
32110 else
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.$ac_ext >&5
32113
32114 wx_cv_lib_motif2="no"
32115 fi
32116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32117 fi
32118 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32119 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32120 if test "$wx_cv_lib_motif2" = "yes"; then
32121 cat >>confdefs.h <<\_ACEOF
32122 #define __WXMOTIF20__ 1
32123 _ACEOF
32124
32125 else
32126 cat >>confdefs.h <<\_ACEOF
32127 #define __WXMOTIF20__ 0
32128 _ACEOF
32129
32130 fi
32131
32132 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32133 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32134 if test "${wx_cv_lib_lesstif+set}" = set; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32137 cat >conftest.$ac_ext <<_ACEOF
32138 /* confdefs.h. */
32139 _ACEOF
32140 cat confdefs.h >>conftest.$ac_ext
32141 cat >>conftest.$ac_ext <<_ACEOF
32142 /* end confdefs.h. */
32143
32144 #include <Xm/Xm.h>
32145
32146 int
32147 main ()
32148 {
32149
32150 #if !defined(LesstifVersion) || LesstifVersion <= 0
32151 Not Lesstif
32152 #endif
32153
32154 ;
32155 return 0;
32156 }
32157 _ACEOF
32158 rm -f conftest.$ac_objext
32159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32160 (eval $ac_compile) 2>conftest.er1
32161 ac_status=$?
32162 grep -v '^ *+' conftest.er1 >conftest.err
32163 rm -f conftest.er1
32164 cat conftest.err >&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 wx_cv_lib_lesstif="yes"
32180 else
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32183
32184 wx_cv_lib_lesstif="no"
32185 fi
32186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32187
32188 fi
32189 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32190 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32191 if test "$wx_cv_lib_lesstif" = "yes"; then
32192 cat >>confdefs.h <<\_ACEOF
32193 #define __WXLESSTIF__ 1
32194 _ACEOF
32195
32196 else
32197 cat >>confdefs.h <<\_ACEOF
32198 #define __WXLESSTIF__ 0
32199 _ACEOF
32200
32201 fi
32202
32203 CXXFLAGS=$save_CXXFLAGS
32204
32205 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32206 TOOLKIT=MOTIF
32207 GUIDIST=MOTIF_DIST
32208 fi
32209
32210 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32211 if test "$wxUSE_LIBXPM" = "sys"; then
32212 echo "$as_me:$LINENO: checking for Xpm library" >&5
32213 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32214
32215 ac_find_libraries=
32216 for ac_dir in $SEARCH_LIB;
32217 do
32218 for ac_extension in a so sl dylib dll.a; do
32219 if test -f "$ac_dir/libXpm.$ac_extension"; then
32220 ac_find_libraries=$ac_dir
32221 break 2
32222 fi
32223 done
32224 done
32225
32226 if test "$ac_find_libraries" != "" ; then
32227
32228 if test "$ac_find_libraries" = "default location"; then
32229 ac_path_to_link=""
32230 else
32231 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32232 result=$?
32233 if test $result = 0; then
32234 ac_path_to_link=""
32235 else
32236 ac_path_to_link=" -L$ac_find_libraries"
32237 fi
32238 fi
32239
32240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32241 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32242 echo "${ECHO_T}found in $ac_find_libraries" >&6
32243
32244 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32245 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32246 if test "${wx_cv_x11_xpm_h+set}" = set; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 else
32249
32250 save_CXXFLAGS=$CXXFLAGS
32251 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32252
32253 cat >conftest.$ac_ext <<_ACEOF
32254 /* confdefs.h. */
32255 _ACEOF
32256 cat confdefs.h >>conftest.$ac_ext
32257 cat >>conftest.$ac_ext <<_ACEOF
32258 /* end confdefs.h. */
32259
32260 #include <X11/xpm.h>
32261
32262 int
32263 main ()
32264 {
32265
32266 int version;
32267 version = XpmLibraryVersion();
32268
32269 ;
32270 return 0;
32271 }
32272 _ACEOF
32273 rm -f conftest.$ac_objext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32275 (eval $ac_compile) 2>conftest.er1
32276 ac_status=$?
32277 grep -v '^ *+' conftest.er1 >conftest.err
32278 rm -f conftest.er1
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32285 ac_status=$?
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try='test -s conftest.$ac_objext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32291 ac_status=$?
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294 wx_cv_x11_xpm_h=yes
32295 else
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32298
32299 wx_cv_x11_xpm_h=no
32300
32301 fi
32302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32303
32304 CXXFLAGS=$save_CXXFLAGS
32305
32306
32307 fi
32308 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32309 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32310
32311 if test $wx_cv_x11_xpm_h = "yes"; then
32312 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32313 cat >>confdefs.h <<\_ACEOF
32314 #define wxHAVE_LIB_XPM 1
32315 _ACEOF
32316
32317 else
32318 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32319 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32320 fi
32321 fi
32322
32323 fi
32324
32325 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32326 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32327 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32328 echo $ECHO_N "(cached) $ECHO_C" >&6
32329 else
32330 ac_check_lib_save_LIBS=$LIBS
32331 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338
32339 /* Override any gcc2 internal prototype to avoid an error. */
32340 #ifdef __cplusplus
32341 extern "C"
32342 #endif
32343 /* We use char because int might match the return type of a gcc2
32344 builtin and then its argument prototype would still apply. */
32345 char XShapeQueryExtension ();
32346 int
32347 main ()
32348 {
32349 XShapeQueryExtension ();
32350 ;
32351 return 0;
32352 }
32353 _ACEOF
32354 rm -f conftest.$ac_objext conftest$ac_exeext
32355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32356 (eval $ac_link) 2>conftest.er1
32357 ac_status=$?
32358 grep -v '^ *+' conftest.er1 >conftest.err
32359 rm -f conftest.er1
32360 cat conftest.err >&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); } &&
32363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32366 ac_status=$?
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; } &&
32369 { ac_try='test -s conftest$ac_exeext'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32372 ac_status=$?
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; }; then
32375 ac_cv_lib_Xext_XShapeQueryExtension=yes
32376 else
32377 echo "$as_me: failed program was:" >&5
32378 sed 's/^/| /' conftest.$ac_ext >&5
32379
32380 ac_cv_lib_Xext_XShapeQueryExtension=no
32381 fi
32382 rm -f conftest.err conftest.$ac_objext \
32383 conftest$ac_exeext conftest.$ac_ext
32384 LIBS=$ac_check_lib_save_LIBS
32385 fi
32386 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32387 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32388 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32389
32390 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32391 wxHAVE_XEXT_LIB=1
32392
32393 fi
32394
32395
32396 if test "$wxHAVE_XEXT_LIB" = 1; then
32397 save_CXXFLAGS="$CXXFLAGS"
32398 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32399
32400 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32401 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32402 cat >conftest.$ac_ext <<_ACEOF
32403 /* confdefs.h. */
32404 _ACEOF
32405 cat confdefs.h >>conftest.$ac_ext
32406 cat >>conftest.$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32408
32409 #include <X11/Xlib.h>
32410 #include <X11/extensions/shape.h>
32411
32412 int
32413 main ()
32414 {
32415
32416 int dummy1, dummy2;
32417 XShapeQueryExtension((Display*)NULL,
32418 (int*)NULL, (int*)NULL);
32419
32420 ;
32421 return 0;
32422 }
32423 _ACEOF
32424 rm -f conftest.$ac_objext
32425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32426 (eval $ac_compile) 2>conftest.er1
32427 ac_status=$?
32428 grep -v '^ *+' conftest.er1 >conftest.err
32429 rm -f conftest.er1
32430 cat conftest.err >&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); } &&
32433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest.$ac_objext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445
32446 cat >>confdefs.h <<\_ACEOF
32447 #define HAVE_XSHAPE 1
32448 _ACEOF
32449
32450 echo "$as_me:$LINENO: result: found" >&5
32451 echo "${ECHO_T}found" >&6
32452
32453 else
32454 echo "$as_me: failed program was:" >&5
32455 sed 's/^/| /' conftest.$ac_ext >&5
32456
32457
32458 echo "$as_me:$LINENO: result: not found" >&5
32459 echo "${ECHO_T}not found" >&6
32460
32461 fi
32462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32463 CXXFLAGS="$save_CXXFLAGS"
32464
32465 fi
32466 fi
32467
32468 if test "$wxUSE_MAC" = 1; then
32469 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32470 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32471 if test "$GCC" = yes; then
32472 echo "$as_me:$LINENO: result: gcc" >&5
32473 echo "${ECHO_T}gcc" >&6
32474 CPPFLAGS_PASCAL="-fpascal-strings"
32475 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32476 echo "$as_me:$LINENO: result: xlc" >&5
32477 echo "${ECHO_T}xlc" >&6
32478 CPPFLAGS_PASCAL="-qmacpstr"
32479 else
32480 echo "$as_me:$LINENO: result: none" >&5
32481 echo "${ECHO_T}none" >&6
32482 fi
32483
32484 if test "x$wxUSE_UNIX" = "xyes"; then
32485 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32486 else
32487 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32488 fi
32489
32490 TOOLKIT=MAC
32491 GUIDIST=MACX_DIST
32492 WXBASEPORT="_carbon"
32493 fi
32494
32495 if test "$wxUSE_COCOA" = 1; then
32496 TOOLKIT=COCOA
32497 GUIDIST=COCOA_DIST
32498 fi
32499
32500 if test "$wxUSE_PM" = 1; then
32501 TOOLKIT=PM
32502 GUIDIST=PM_DIST
32503 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32504 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32505 if test "${wx_cv_spbcdata+set}" = set; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32507 else
32508
32509 cat >conftest.$ac_ext <<_ACEOF
32510 /* confdefs.h. */
32511 _ACEOF
32512 cat confdefs.h >>conftest.$ac_ext
32513 cat >>conftest.$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32515
32516 #define INCL_PM
32517 #include <os2.h>
32518
32519 int
32520 main ()
32521 {
32522
32523 SPBCDATA test;
32524
32525 ;
32526 return 0;
32527 }
32528 _ACEOF
32529 rm -f conftest.$ac_objext
32530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32531 (eval $ac_compile) 2>conftest.er1
32532 ac_status=$?
32533 grep -v '^ *+' conftest.er1 >conftest.err
32534 rm -f conftest.er1
32535 cat conftest.err >&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } &&
32538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540 (eval $ac_try) 2>&5
32541 ac_status=$?
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; } &&
32544 { ac_try='test -s conftest.$ac_objext'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32547 ac_status=$?
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; }; then
32550 wx_cv_spbcdata=yes
32551 else
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32554
32555 wx_cv_spbcdata=no
32556
32557 fi
32558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32559
32560
32561 fi
32562 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32563 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32564
32565 if test $wx_cv_spbcdata = "yes"; then
32566 cat >>confdefs.h <<\_ACEOF
32567 #define HAVE_SPBCDATA 1
32568 _ACEOF
32569
32570 fi
32571 fi
32572
32573 if test "$TOOLKIT" = "PM" ; then
32574 TOOLKIT_DIR="os2"
32575 else
32576 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32577 fi
32578
32579 if test "$wxUSE_UNIVERSAL" = "yes"; then
32580 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32581 WIDGET_SET=univ
32582 fi
32583
32584 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32585 DISTDIR="wx\$(TOOLKIT)"
32586 else
32587 USE_GUI=0
32588
32589 TOOLKIT_DIR="base"
32590
32591 if test "$USE_WIN32" = 1 ; then
32592 TOOLKIT="MSW"
32593 fi
32594
32595 GUIDIST="BASE_DIST"
32596 DISTDIR="wxBase"
32597 fi
32598
32599
32600 if test "$wxUSE_GUI" = "yes"; then
32601 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32602
32603 for ac_header in X11/Xlib.h
32604 do
32605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32607 echo "$as_me:$LINENO: checking for $ac_header" >&5
32608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32610 echo $ECHO_N "(cached) $ECHO_C" >&6
32611 fi
32612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32614 else
32615 # Is the header compilable?
32616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32618 cat >conftest.$ac_ext <<_ACEOF
32619 /* confdefs.h. */
32620 _ACEOF
32621 cat confdefs.h >>conftest.$ac_ext
32622 cat >>conftest.$ac_ext <<_ACEOF
32623 /* end confdefs.h. */
32624 $ac_includes_default
32625 #include <$ac_header>
32626 _ACEOF
32627 rm -f conftest.$ac_objext
32628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32629 (eval $ac_compile) 2>conftest.er1
32630 ac_status=$?
32631 grep -v '^ *+' conftest.er1 >conftest.err
32632 rm -f conftest.er1
32633 cat conftest.err >&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } &&
32636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32638 (eval $ac_try) 2>&5
32639 ac_status=$?
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; } &&
32642 { ac_try='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32645 ac_status=$?
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_header_compiler=yes
32649 else
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.$ac_ext >&5
32652
32653 ac_header_compiler=no
32654 fi
32655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32657 echo "${ECHO_T}$ac_header_compiler" >&6
32658
32659 # Is the header present?
32660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32662 cat >conftest.$ac_ext <<_ACEOF
32663 /* confdefs.h. */
32664 _ACEOF
32665 cat confdefs.h >>conftest.$ac_ext
32666 cat >>conftest.$ac_ext <<_ACEOF
32667 /* end confdefs.h. */
32668 #include <$ac_header>
32669 _ACEOF
32670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32672 ac_status=$?
32673 grep -v '^ *+' conftest.er1 >conftest.err
32674 rm -f conftest.er1
32675 cat conftest.err >&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); } >/dev/null; then
32678 if test -s conftest.err; then
32679 ac_cpp_err=$ac_cxx_preproc_warn_flag
32680 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32681 else
32682 ac_cpp_err=
32683 fi
32684 else
32685 ac_cpp_err=yes
32686 fi
32687 if test -z "$ac_cpp_err"; then
32688 ac_header_preproc=yes
32689 else
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.$ac_ext >&5
32692
32693 ac_header_preproc=no
32694 fi
32695 rm -f conftest.err conftest.$ac_ext
32696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32697 echo "${ECHO_T}$ac_header_preproc" >&6
32698
32699 # So? What about this header?
32700 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32701 yes:no: )
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32706 ac_header_preproc=yes
32707 ;;
32708 no:yes:* )
32709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32721 (
32722 cat <<\_ASBOX
32723 ## ----------------------------------------- ##
32724 ## Report this to wx-dev@lists.wxwidgets.org ##
32725 ## ----------------------------------------- ##
32726 _ASBOX
32727 ) |
32728 sed "s/^/$as_me: WARNING: /" >&2
32729 ;;
32730 esac
32731 echo "$as_me:$LINENO: checking for $ac_header" >&5
32732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32735 else
32736 eval "$as_ac_Header=\$ac_header_preproc"
32737 fi
32738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32740
32741 fi
32742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32743 cat >>confdefs.h <<_ACEOF
32744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32745 _ACEOF
32746
32747 fi
32748
32749 done
32750
32751
32752 for ac_header in X11/XKBlib.h
32753 do
32754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32755 echo "$as_me:$LINENO: checking for $ac_header" >&5
32756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32758 echo $ECHO_N "(cached) $ECHO_C" >&6
32759 else
32760 cat >conftest.$ac_ext <<_ACEOF
32761 /* confdefs.h. */
32762 _ACEOF
32763 cat confdefs.h >>conftest.$ac_ext
32764 cat >>conftest.$ac_ext <<_ACEOF
32765 /* end confdefs.h. */
32766
32767 #if HAVE_X11_XLIB_H
32768 #include <X11/Xlib.h>
32769 #endif
32770
32771
32772 #include <$ac_header>
32773 _ACEOF
32774 rm -f conftest.$ac_objext
32775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32776 (eval $ac_compile) 2>conftest.er1
32777 ac_status=$?
32778 grep -v '^ *+' conftest.er1 >conftest.err
32779 rm -f conftest.er1
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } &&
32783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32786 ac_status=$?
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; } &&
32789 { ac_try='test -s conftest.$ac_objext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32792 ac_status=$?
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 eval "$as_ac_Header=yes"
32796 else
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.$ac_ext >&5
32799
32800 eval "$as_ac_Header=no"
32801 fi
32802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32803 fi
32804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32807 cat >>confdefs.h <<_ACEOF
32808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32809 _ACEOF
32810
32811 fi
32812
32813 done
32814
32815 fi
32816 fi
32817
32818
32819
32820 IODBC_C_SRC=""
32821
32822
32823 if test "$TOOLKIT" != "MSW" ; then
32824
32825 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32826
32827 if test "${ac_cv_header_sql_h+set}" = set; then
32828 echo "$as_me:$LINENO: checking for sql.h" >&5
32829 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32830 if test "${ac_cv_header_sql_h+set}" = set; then
32831 echo $ECHO_N "(cached) $ECHO_C" >&6
32832 fi
32833 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32834 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32835 else
32836 # Is the header compilable?
32837 echo "$as_me:$LINENO: checking sql.h usability" >&5
32838 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845 $ac_includes_default
32846 #include <sql.h>
32847 _ACEOF
32848 rm -f conftest.$ac_objext
32849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32850 (eval $ac_compile) 2>conftest.er1
32851 ac_status=$?
32852 grep -v '^ *+' conftest.er1 >conftest.err
32853 rm -f conftest.er1
32854 cat conftest.err >&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); } &&
32857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32860 ac_status=$?
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; } &&
32863 { ac_try='test -s conftest.$ac_objext'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32866 ac_status=$?
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; }; then
32869 ac_header_compiler=yes
32870 else
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.$ac_ext >&5
32873
32874 ac_header_compiler=no
32875 fi
32876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32877 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32878 echo "${ECHO_T}$ac_header_compiler" >&6
32879
32880 # Is the header present?
32881 echo "$as_me:$LINENO: checking sql.h presence" >&5
32882 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32883 cat >conftest.$ac_ext <<_ACEOF
32884 /* confdefs.h. */
32885 _ACEOF
32886 cat confdefs.h >>conftest.$ac_ext
32887 cat >>conftest.$ac_ext <<_ACEOF
32888 /* end confdefs.h. */
32889 #include <sql.h>
32890 _ACEOF
32891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32892 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32893 ac_status=$?
32894 grep -v '^ *+' conftest.er1 >conftest.err
32895 rm -f conftest.er1
32896 cat conftest.err >&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); } >/dev/null; then
32899 if test -s conftest.err; then
32900 ac_cpp_err=$ac_cxx_preproc_warn_flag
32901 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32902 else
32903 ac_cpp_err=
32904 fi
32905 else
32906 ac_cpp_err=yes
32907 fi
32908 if test -z "$ac_cpp_err"; then
32909 ac_header_preproc=yes
32910 else
32911 echo "$as_me: failed program was:" >&5
32912 sed 's/^/| /' conftest.$ac_ext >&5
32913
32914 ac_header_preproc=no
32915 fi
32916 rm -f conftest.err conftest.$ac_ext
32917 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32918 echo "${ECHO_T}$ac_header_preproc" >&6
32919
32920 # So? What about this header?
32921 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32922 yes:no: )
32923 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32924 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32925 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32926 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32927 ac_header_preproc=yes
32928 ;;
32929 no:yes:* )
32930 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32931 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32932 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32933 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32934 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32935 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32936 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32937 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32938 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32939 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32940 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32941 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32942 (
32943 cat <<\_ASBOX
32944 ## ----------------------------------------- ##
32945 ## Report this to wx-dev@lists.wxwidgets.org ##
32946 ## ----------------------------------------- ##
32947 _ASBOX
32948 ) |
32949 sed "s/^/$as_me: WARNING: /" >&2
32950 ;;
32951 esac
32952 echo "$as_me:$LINENO: checking for sql.h" >&5
32953 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32954 if test "${ac_cv_header_sql_h+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 else
32957 ac_cv_header_sql_h=$ac_header_preproc
32958 fi
32959 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32960 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32961
32962 fi
32963 if test $ac_cv_header_sql_h = yes; then
32964 found_sql_h=1
32965 fi
32966
32967
32968 if test "x$found_sql_h" = "x1" ; then
32969 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32970 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32971 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32972 echo $ECHO_N "(cached) $ECHO_C" >&6
32973 else
32974 ac_check_lib_save_LIBS=$LIBS
32975 LIBS="-liodbc $LIBS"
32976 cat >conftest.$ac_ext <<_ACEOF
32977 /* confdefs.h. */
32978 _ACEOF
32979 cat confdefs.h >>conftest.$ac_ext
32980 cat >>conftest.$ac_ext <<_ACEOF
32981 /* end confdefs.h. */
32982
32983 /* Override any gcc2 internal prototype to avoid an error. */
32984 #ifdef __cplusplus
32985 extern "C"
32986 #endif
32987 /* We use char because int might match the return type of a gcc2
32988 builtin and then its argument prototype would still apply. */
32989 char SQLAllocEnv ();
32990 int
32991 main ()
32992 {
32993 SQLAllocEnv ();
32994 ;
32995 return 0;
32996 }
32997 _ACEOF
32998 rm -f conftest.$ac_objext conftest$ac_exeext
32999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33000 (eval $ac_link) 2>conftest.er1
33001 ac_status=$?
33002 grep -v '^ *+' conftest.er1 >conftest.err
33003 rm -f conftest.er1
33004 cat conftest.err >&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); } &&
33007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33010 ac_status=$?
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; } &&
33013 { ac_try='test -s conftest$ac_exeext'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33016 ac_status=$?
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; }; then
33019 ac_cv_lib_iodbc_SQLAllocEnv=yes
33020 else
33021 echo "$as_me: failed program was:" >&5
33022 sed 's/^/| /' conftest.$ac_ext >&5
33023
33024 ac_cv_lib_iodbc_SQLAllocEnv=no
33025 fi
33026 rm -f conftest.err conftest.$ac_objext \
33027 conftest$ac_exeext conftest.$ac_ext
33028 LIBS=$ac_check_lib_save_LIBS
33029 fi
33030 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33031 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33032 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33033 ODBC_LINK=" -liodbc"
33034 else
33035
33036 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33037 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33038 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33040 else
33041 ac_check_lib_save_LIBS=$LIBS
33042 LIBS="-lunixodbc $LIBS"
33043 cat >conftest.$ac_ext <<_ACEOF
33044 /* confdefs.h. */
33045 _ACEOF
33046 cat confdefs.h >>conftest.$ac_ext
33047 cat >>conftest.$ac_ext <<_ACEOF
33048 /* end confdefs.h. */
33049
33050 /* Override any gcc2 internal prototype to avoid an error. */
33051 #ifdef __cplusplus
33052 extern "C"
33053 #endif
33054 /* We use char because int might match the return type of a gcc2
33055 builtin and then its argument prototype would still apply. */
33056 char SQLAllocEnv ();
33057 int
33058 main ()
33059 {
33060 SQLAllocEnv ();
33061 ;
33062 return 0;
33063 }
33064 _ACEOF
33065 rm -f conftest.$ac_objext conftest$ac_exeext
33066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33067 (eval $ac_link) 2>conftest.er1
33068 ac_status=$?
33069 grep -v '^ *+' conftest.er1 >conftest.err
33070 rm -f conftest.er1
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } &&
33074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076 (eval $ac_try) 2>&5
33077 ac_status=$?
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); }; } &&
33080 { ac_try='test -s conftest$ac_exeext'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33083 ac_status=$?
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; }; then
33086 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33087 else
33088 echo "$as_me: failed program was:" >&5
33089 sed 's/^/| /' conftest.$ac_ext >&5
33090
33091 ac_cv_lib_unixodbc_SQLAllocEnv=no
33092 fi
33093 rm -f conftest.err conftest.$ac_objext \
33094 conftest$ac_exeext conftest.$ac_ext
33095 LIBS=$ac_check_lib_save_LIBS
33096 fi
33097 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33098 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33099 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33100 ODBC_LINK=" -lunixodbc"
33101 else
33102
33103 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33104 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33105 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 else
33108 ac_check_lib_save_LIBS=$LIBS
33109 LIBS="-lodbc $LIBS"
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116
33117 /* Override any gcc2 internal prototype to avoid an error. */
33118 #ifdef __cplusplus
33119 extern "C"
33120 #endif
33121 /* We use char because int might match the return type of a gcc2
33122 builtin and then its argument prototype would still apply. */
33123 char SQLAllocEnv ();
33124 int
33125 main ()
33126 {
33127 SQLAllocEnv ();
33128 ;
33129 return 0;
33130 }
33131 _ACEOF
33132 rm -f conftest.$ac_objext conftest$ac_exeext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33134 (eval $ac_link) 2>conftest.er1
33135 ac_status=$?
33136 grep -v '^ *+' conftest.er1 >conftest.err
33137 rm -f conftest.er1
33138 cat conftest.err >&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33144 ac_status=$?
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try='test -s conftest$ac_exeext'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33150 ac_status=$?
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }; then
33153 ac_cv_lib_odbc_SQLAllocEnv=yes
33154 else
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.$ac_ext >&5
33157
33158 ac_cv_lib_odbc_SQLAllocEnv=no
33159 fi
33160 rm -f conftest.err conftest.$ac_objext \
33161 conftest$ac_exeext conftest.$ac_ext
33162 LIBS=$ac_check_lib_save_LIBS
33163 fi
33164 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33165 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33166 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33167 ODBC_LINK=" -lodbc"
33168 fi
33169
33170
33171 fi
33172
33173
33174 fi
33175
33176 fi
33177 if test "x$ODBC_LINK" = "x" ; then
33178 if test "$wxUSE_ODBC" = "sys" ; then
33179 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33180 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33181 { (exit 1); exit 1; }; }
33182 else
33183 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33184 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33185 wxUSE_ODBC=builtin
33186 fi
33187 else
33188 wxUSE_ODBC=sys
33189 fi
33190 fi
33191
33192 if test "$wxUSE_ODBC" = "builtin" ; then
33193 cat >>confdefs.h <<\_ACEOF
33194 #define wxUSE_BUILTIN_IODBC 1
33195 _ACEOF
33196
33197 fi
33198 fi
33199
33200 if test "$wxUSE_ODBC" != "no" ; then
33201 cat >>confdefs.h <<\_ACEOF
33202 #define wxUSE_ODBC 1
33203 _ACEOF
33204
33205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33206
33207 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33208 fi
33209
33210
33211 if test "$wxUSE_DISPLAY" = "yes"; then
33212 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33213 echo "$as_me:$LINENO: checking for Xinerama" >&5
33214 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33215
33216 ac_find_libraries=
33217 for ac_dir in $SEARCH_LIB;
33218 do
33219 for ac_extension in a so sl dylib dll.a; do
33220 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33221 ac_find_libraries=$ac_dir
33222 break 2
33223 fi
33224 done
33225 done
33226
33227 if test "$ac_find_libraries" != "" ; then
33228
33229 if test "$ac_find_libraries" = "default location"; then
33230 ac_path_to_link=""
33231 else
33232 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33233 result=$?
33234 if test $result = 0; then
33235 ac_path_to_link=""
33236 else
33237 ac_path_to_link=" -L$ac_find_libraries"
33238 fi
33239 fi
33240
33241 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33242 LDFLAGS="$LDFLAGS $ac_path_to_link"
33243 fi
33244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33245 echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6
33247
33248 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33249 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33250
33251 ac_find_libraries=
33252 for ac_dir in $SEARCH_LIB;
33253 do
33254 for ac_extension in a so sl dylib dll.a; do
33255 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33256 ac_find_libraries=$ac_dir
33257 break 2
33258 fi
33259 done
33260 done
33261
33262 if test "$ac_find_libraries" != "" ; then
33263 echo "$as_me:$LINENO: result: yes" >&5
33264 echo "${ECHO_T}yes" >&6
33265
33266 for ac_header in X11/extensions/xf86vmode.h
33267 do
33268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33269 echo "$as_me:$LINENO: checking for $ac_header" >&5
33270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33272 echo $ECHO_N "(cached) $ECHO_C" >&6
33273 else
33274 cat >conftest.$ac_ext <<_ACEOF
33275 /* confdefs.h. */
33276 _ACEOF
33277 cat confdefs.h >>conftest.$ac_ext
33278 cat >>conftest.$ac_ext <<_ACEOF
33279 /* end confdefs.h. */
33280
33281 #if HAVE_X11_XLIB_H
33282 #include <X11/Xlib.h>
33283 #endif
33284
33285
33286 #include <$ac_header>
33287 _ACEOF
33288 rm -f conftest.$ac_objext
33289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33290 (eval $ac_compile) 2>conftest.er1
33291 ac_status=$?
33292 grep -v '^ *+' conftest.er1 >conftest.err
33293 rm -f conftest.er1
33294 cat conftest.err >&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } &&
33297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33300 ac_status=$?
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; } &&
33303 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
33309 eval "$as_ac_Header=yes"
33310 else
33311 echo "$as_me: failed program was:" >&5
33312 sed 's/^/| /' conftest.$ac_ext >&5
33313
33314 eval "$as_ac_Header=no"
33315 fi
33316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33317 fi
33318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33321 cat >>confdefs.h <<_ACEOF
33322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33323 _ACEOF
33324
33325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33326
33327 fi
33328
33329 done
33330
33331 else
33332 echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6
33334 fi
33335
33336 else
33337 echo "$as_me:$LINENO: result: no" >&5
33338 echo "${ECHO_T}no" >&6
33339 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33340 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33341 wxUSE_DISPLAY="no"
33342 fi
33343 elif test "$wxUSE_MSW" = 1; then
33344
33345 for ac_header in ddraw.h
33346 do
33347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33348 echo "$as_me:$LINENO: checking for $ac_header" >&5
33349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33352 else
33353 cat >conftest.$ac_ext <<_ACEOF
33354 /* confdefs.h. */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33359 #include <windows.h>
33360
33361 #include <$ac_header>
33362 _ACEOF
33363 rm -f conftest.$ac_objext
33364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33365 (eval $ac_compile) 2>conftest.er1
33366 ac_status=$?
33367 grep -v '^ *+' conftest.er1 >conftest.err
33368 rm -f conftest.er1
33369 cat conftest.err >&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); } &&
33372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33375 ac_status=$?
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; } &&
33378 { ac_try='test -s conftest.$ac_objext'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33381 ac_status=$?
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; }; then
33384 eval "$as_ac_Header=yes"
33385 else
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.$ac_ext >&5
33388
33389 eval "$as_ac_Header=no"
33390 fi
33391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33392 fi
33393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33396 cat >>confdefs.h <<_ACEOF
33397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33398 _ACEOF
33399
33400 fi
33401
33402 done
33403
33404 fi
33405 fi
33406
33407 if test "$wxUSE_DETECT_SM" = "yes"; then
33408 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33409 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33410 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33411
33412 ac_find_libraries=
33413 for ac_dir in $SEARCH_LIB;
33414 do
33415 for ac_extension in a so sl dylib dll.a; do
33416 if test -f "$ac_dir/libSM.$ac_extension"; then
33417 ac_find_libraries=$ac_dir
33418 break 2
33419 fi
33420 done
33421 done
33422
33423 if test "$ac_find_libraries" != "" ; then
33424
33425 if test "$ac_find_libraries" = "default location"; then
33426 ac_path_to_link=""
33427 else
33428 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33429 result=$?
33430 if test $result = 0; then
33431 ac_path_to_link=""
33432 else
33433 ac_path_to_link=" -L$ac_find_libraries"
33434 fi
33435 fi
33436
33437 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33438 LDFLAGS="$LDFLAGS $ac_path_to_link"
33439 fi
33440 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33441 echo "$as_me:$LINENO: result: yes" >&5
33442 echo "${ECHO_T}yes" >&6
33443 else
33444 echo "$as_me:$LINENO: result: no" >&5
33445 echo "${ECHO_T}no" >&6
33446 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33447 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33448 wxUSE_DETECT_SM="no"
33449 fi
33450 else
33451 wxUSE_DETECT_SM="no"
33452 fi
33453 fi
33454
33455
33456
33457 USE_OPENGL=0
33458 if test "$wxUSE_OPENGL" = "yes"; then
33459 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33460 OPENGL_LIBS="-framework OpenGL -framework AGL"
33461 elif test "$wxUSE_MSW" = 1; then
33462 OPENGL_LIBS="-lopengl32 -lglu32"
33463 else
33464
33465
33466 ac_find_includes=
33467 for ac_dir in $SEARCH_INCLUDE /usr/include;
33468 do
33469 if test -f "$ac_dir/GL/gl.h"; then
33470 ac_find_includes=$ac_dir
33471 break
33472 fi
33473 done
33474
33475 if test "$ac_find_includes" != "" ; then
33476 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33477 echo "${ECHO_T}found in $ac_find_includes" >&6
33478
33479 if test "x$ac_find_includes" = "x/usr/include"; then
33480 ac_path_to_include=""
33481 else
33482 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33483 result=$?
33484 if test $result = 0; then
33485 ac_path_to_include=""
33486 else
33487 ac_path_to_include=" -I$ac_find_includes"
33488 fi
33489 fi
33490
33491 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33492 fi
33493
33494 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33495 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33496 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33497 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33498 echo $ECHO_N "(cached) $ECHO_C" >&6
33499 fi
33500 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33501 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33502 else
33503 # Is the header compilable?
33504 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33505 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33506 cat >conftest.$ac_ext <<_ACEOF
33507 /* confdefs.h. */
33508 _ACEOF
33509 cat confdefs.h >>conftest.$ac_ext
33510 cat >>conftest.$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512 $ac_includes_default
33513 #include <GL/gl.h>
33514 _ACEOF
33515 rm -f conftest.$ac_objext
33516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33517 (eval $ac_compile) 2>conftest.er1
33518 ac_status=$?
33519 grep -v '^ *+' conftest.er1 >conftest.err
33520 rm -f conftest.er1
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33527 ac_status=$?
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try='test -s conftest.$ac_objext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 ac_header_compiler=yes
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541 ac_header_compiler=no
33542 fi
33543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33545 echo "${ECHO_T}$ac_header_compiler" >&6
33546
33547 # Is the header present?
33548 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33549 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33550 cat >conftest.$ac_ext <<_ACEOF
33551 /* confdefs.h. */
33552 _ACEOF
33553 cat confdefs.h >>conftest.$ac_ext
33554 cat >>conftest.$ac_ext <<_ACEOF
33555 /* end confdefs.h. */
33556 #include <GL/gl.h>
33557 _ACEOF
33558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33560 ac_status=$?
33561 grep -v '^ *+' conftest.er1 >conftest.err
33562 rm -f conftest.er1
33563 cat conftest.err >&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); } >/dev/null; then
33566 if test -s conftest.err; then
33567 ac_cpp_err=$ac_cxx_preproc_warn_flag
33568 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33569 else
33570 ac_cpp_err=
33571 fi
33572 else
33573 ac_cpp_err=yes
33574 fi
33575 if test -z "$ac_cpp_err"; then
33576 ac_header_preproc=yes
33577 else
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33580
33581 ac_header_preproc=no
33582 fi
33583 rm -f conftest.err conftest.$ac_ext
33584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33585 echo "${ECHO_T}$ac_header_preproc" >&6
33586
33587 # So? What about this header?
33588 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33589 yes:no: )
33590 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33591 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33592 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33593 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33594 ac_header_preproc=yes
33595 ;;
33596 no:yes:* )
33597 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33598 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33599 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33600 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33601 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33602 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33603 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33604 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33606 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33608 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33609 (
33610 cat <<\_ASBOX
33611 ## ----------------------------------------- ##
33612 ## Report this to wx-dev@lists.wxwidgets.org ##
33613 ## ----------------------------------------- ##
33614 _ASBOX
33615 ) |
33616 sed "s/^/$as_me: WARNING: /" >&2
33617 ;;
33618 esac
33619 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33620 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33621 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33622 echo $ECHO_N "(cached) $ECHO_C" >&6
33623 else
33624 ac_cv_header_GL_gl_h=$ac_header_preproc
33625 fi
33626 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33627 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33628
33629 fi
33630 if test $ac_cv_header_GL_gl_h = yes; then
33631
33632 found_gl=0
33633
33634 echo "$as_me:$LINENO: checking for -lGL" >&5
33635 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33636
33637 ac_find_libraries=
33638 for ac_dir in $SEARCH_LIB;
33639 do
33640 for ac_extension in a so sl dylib dll.a; do
33641 if test -f "$ac_dir/libGL.$ac_extension"; then
33642 ac_find_libraries=$ac_dir
33643 break 2
33644 fi
33645 done
33646 done
33647
33648 if test "$ac_find_libraries" != "" ; then
33649 echo "$as_me:$LINENO: result: yes" >&5
33650 echo "${ECHO_T}yes" >&6
33651
33652
33653 if test "$ac_find_libraries" = "default location"; then
33654 ac_path_to_link=""
33655 else
33656 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33657 result=$?
33658 if test $result = 0; then
33659 ac_path_to_link=""
33660 else
33661 ac_path_to_link=" -L$ac_find_libraries"
33662 fi
33663 fi
33664
33665 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33666 LDFLAGS_GL="$ac_path_to_link"
33667 fi
33668
33669 echo "$as_me:$LINENO: checking for -lGLU" >&5
33670 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33671
33672 ac_find_libraries=
33673 for ac_dir in $SEARCH_LIB;
33674 do
33675 for ac_extension in a so sl dylib dll.a; do
33676 if test -f "$ac_dir/libGLU.$ac_extension"; then
33677 ac_find_libraries=$ac_dir
33678 break 2
33679 fi
33680 done
33681 done
33682
33683 if test "$ac_find_libraries" != "" ; then
33684
33685 if test "$ac_find_libraries" = "default location"; then
33686 ac_path_to_link=""
33687 else
33688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33689 result=$?
33690 if test $result = 0; then
33691 ac_path_to_link=""
33692 else
33693 ac_path_to_link=" -L$ac_find_libraries"
33694 fi
33695 fi
33696
33697 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33698 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33699 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33700 fi
33701
33702 found_gl=1
33703 OPENGL_LIBS="-lGL -lGLU"
33704 echo "$as_me:$LINENO: result: yes" >&5
33705 echo "${ECHO_T}yes" >&6
33706 else
33707 echo "$as_me:$LINENO: result: no" >&5
33708 echo "${ECHO_T}no" >&6
33709 fi
33710 else
33711 echo "$as_me:$LINENO: result: no" >&5
33712 echo "${ECHO_T}no" >&6
33713 fi
33714
33715 if test "$found_gl" != 1; then
33716 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33717 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33718
33719 ac_find_libraries=
33720 for ac_dir in $SEARCH_LIB;
33721 do
33722 for ac_extension in a so sl dylib dll.a; do
33723 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33724 ac_find_libraries=$ac_dir
33725 break 2
33726 fi
33727 done
33728 done
33729
33730 if test "$ac_find_libraries" != "" ; then
33731
33732 if test "$ac_find_libraries" = "default location"; then
33733 ac_path_to_link=""
33734 else
33735 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33736 result=$?
33737 if test $result = 0; then
33738 ac_path_to_link=""
33739 else
33740 ac_path_to_link=" -L$ac_find_libraries"
33741 fi
33742 fi
33743
33744 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33745 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33746 echo "$as_me:$LINENO: result: yes" >&5
33747 echo "${ECHO_T}yes" >&6
33748 else
33749 echo "$as_me:$LINENO: result: no" >&5
33750 echo "${ECHO_T}no" >&6
33751 fi
33752 fi
33753
33754 fi
33755
33756
33757
33758 if test "x$OPENGL_LIBS" = "x"; then
33759 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33760 echo "$as_me: error: OpenGL libraries not available" >&2;}
33761 { (exit 1); exit 1; }; }
33762 fi
33763 fi
33764
33765 if test "$wxUSE_OPENGL" = "yes"; then
33766 USE_OPENGL=1
33767 cat >>confdefs.h <<\_ACEOF
33768 #define wxUSE_OPENGL 1
33769 _ACEOF
33770
33771 cat >>confdefs.h <<\_ACEOF
33772 #define wxUSE_GLCANVAS 1
33773 _ACEOF
33774
33775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33776 fi
33777 fi
33778
33779
33780 if test -n "$TOOLKIT" ; then
33781 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33782 fi
33783
33784
33785
33786 if test "$wxUSE_SHARED" = "yes"; then
33787 case "${host}" in
33788 *-pc-msdosdjgpp )
33789 wxUSE_SHARED=no
33790 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33791 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33792 ;;
33793 esac
33794 fi
33795
33796 if test "$wxUSE_SHARED" = "yes"; then
33797
33798
33799 found_versioning=no
33800
33801
33802 if test $found_versioning = no ; then
33803 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33804 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33805 if test "${wx_cv_version_script+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33807 else
33808
33809 echo "VER_1 { *; };" >conftest.sym
33810 echo "int main() { return 0; }" >conftest.cpp
33811
33812 if { ac_try='
33813 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33814 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33816 (eval $ac_try) 2>&5
33817 ac_status=$?
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); }; } ; then
33820 if test -s conftest.stderr ; then
33821 wx_cv_version_script=no
33822 else
33823 wx_cv_version_script=yes
33824 fi
33825 else
33826 wx_cv_version_script=no
33827 fi
33828
33829 if test $wx_cv_version_script = yes
33830 then
33831 echo "struct B { virtual ~B() { } }; \
33832 struct D : public B { }; \
33833 void F() { D d; }" > conftest.cpp
33834
33835 if { ac_try='
33836 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33837 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33840 ac_status=$?
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; } &&
33843 { ac_try='
33844 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33845 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33847 (eval $ac_try) 2>&5
33848 ac_status=$?
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); }; }
33851 then
33852 if { ac_try='
33853 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33854 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33857 ac_status=$?
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; }
33860 then
33861 wx_cv_version_script=yes
33862 else
33863 wx_cv_version_script=no
33864 fi
33865 fi
33866 fi
33867
33868 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33869 rm -f conftest1.output conftest2.output conftest3.output
33870
33871 fi
33872 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33873 echo "${ECHO_T}$wx_cv_version_script" >&6
33874 if test $wx_cv_version_script = yes ; then
33875 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33876 fi
33877 fi
33878
33879
33880 case "${host}" in
33881 *-*-linux* | *-*-gnu* )
33882 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33883 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33884 ;;
33885
33886 *-*-solaris2* )
33887 if test "$GCC" = yes ; then
33888 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33889
33890 saveLdflags="$LDFLAGS"
33891 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33892 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33893 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33894 cat >conftest.$ac_ext <<_ACEOF
33895 /* confdefs.h. */
33896 _ACEOF
33897 cat confdefs.h >>conftest.$ac_ext
33898 cat >>conftest.$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33900
33901 int
33902 main ()
33903 {
33904
33905 ;
33906 return 0;
33907 }
33908 _ACEOF
33909 rm -f conftest.$ac_objext conftest$ac_exeext
33910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33911 (eval $ac_link) 2>conftest.er1
33912 ac_status=$?
33913 grep -v '^ *+' conftest.er1 >conftest.err
33914 rm -f conftest.er1
33915 cat conftest.err >&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); } &&
33918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33920 (eval $ac_try) 2>&5
33921 ac_status=$?
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); }; } &&
33924 { ac_try='test -s conftest$ac_exeext'
33925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33926 (eval $ac_try) 2>&5
33927 ac_status=$?
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); }; }; then
33930
33931 echo "$as_me:$LINENO: result: yes" >&5
33932 echo "${ECHO_T}yes" >&6
33933 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33934 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33935
33936 else
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.$ac_ext >&5
33939
33940
33941 echo "$as_me:$LINENO: result: no" >&5
33942 echo "${ECHO_T}no" >&6
33943 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33944 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33945 LDFLAGS="$saveLdflags -Wl,-R,/"
33946 cat >conftest.$ac_ext <<_ACEOF
33947 /* confdefs.h. */
33948 _ACEOF
33949 cat confdefs.h >>conftest.$ac_ext
33950 cat >>conftest.$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33952
33953 int
33954 main ()
33955 {
33956
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 rm -f conftest.$ac_objext conftest$ac_exeext
33962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33963 (eval $ac_link) 2>conftest.er1
33964 ac_status=$?
33965 grep -v '^ *+' conftest.er1 >conftest.err
33966 rm -f conftest.er1
33967 cat conftest.err >&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } &&
33970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33972 (eval $ac_try) 2>&5
33973 ac_status=$?
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); }; } &&
33976 { ac_try='test -s conftest$ac_exeext'
33977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33978 (eval $ac_try) 2>&5
33979 ac_status=$?
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); }; }; then
33982
33983 echo "$as_me:$LINENO: result: yes" >&5
33984 echo "${ECHO_T}yes" >&6
33985 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33986 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33987
33988 else
33989 echo "$as_me: failed program was:" >&5
33990 sed 's/^/| /' conftest.$ac_ext >&5
33991
33992
33993 echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6
33995
33996 fi
33997 rm -f conftest.err conftest.$ac_objext \
33998 conftest$ac_exeext conftest.$ac_ext
33999
34000 fi
34001 rm -f conftest.err conftest.$ac_objext \
34002 conftest$ac_exeext conftest.$ac_ext
34003 LDFLAGS="$saveLdflags"
34004 else
34005 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
34006 WXCONFIG_RPATH="-R\$libdir"
34007 fi
34008 ;;
34009
34010 *-*-darwin* )
34011 install_name_tool=`which install_name_tool`
34012 if test "$install_name_tool" -a -x "$install_name_tool"; then
34013 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34014 cat <<EOF >change-install-names
34015 #!/bin/sh
34016 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34017 inst_cmd="install_name_tool "
34018 for i in \${libnames} ; do
34019 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34020 done
34021 \${inst_cmd} \${3}
34022 EOF
34023 chmod +x change-install-names
34024 fi
34025 ;;
34026
34027 *-*-cygwin* | *-*-mingw32* )
34028 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34029 ;;
34030
34031 *-*-hpux* )
34032 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
34033 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34034 ;;
34035
34036 esac
34037
34038 if test $wxUSE_RPATH = "no"; then
34039 SAMPLES_RPATH_FLAG=''
34040 SAMPLES_RPATH_POSTLINK=''
34041 WXCONFIG_RPATH=''
34042 fi
34043
34044 SHARED=1
34045
34046 else
34047
34048 config_linkage_component="-static"
34049 SHARED=0
34050
34051 fi
34052
34053
34054 UNICODE=0
34055 lib_unicode_suffix=
34056 WX_CHARTYPE="ansi"
34057 if test "$wxUSE_UNICODE" = "yes"; then
34058 lib_unicode_suffix=u
34059 WX_CHARTYPE="unicode"
34060 UNICODE=1
34061 fi
34062
34063 lib_debug_suffix=
34064 WX_DEBUGTYPE="release"
34065 DEBUG_FLAG=0
34066 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34067 lib_debug_suffix=d
34068 WX_DEBUGTYPE="debug"
34069 DEBUG_FLAG=1
34070 fi
34071
34072 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34073 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34074
34075 DEBUG_INFO=0
34076 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34077 DEBUG_INFO=1
34078 fi
34079
34080 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34081
34082 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34083
34084 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34085
34086 if test "$cross_compiling" = "yes"; then
34087 HOST_SUFFIX="-$host_alias"
34088 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34089 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34090 fi
34091
34092 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34093 if test "${TOOLKIT_DIR}" = "os2"; then
34094 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34095 else
34096 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34097 fi
34098
34099
34100
34101 if test "$wxUSE_COCOA" = 1; then
34102
34103
34104 ac_ext=c
34105 ac_cpp='$CPP $CPPFLAGS'
34106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34109
34110 ac_ext=m
34111
34112 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34113 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34114 cat >conftest.$ac_ext <<_ACEOF
34115 /* confdefs.h. */
34116 _ACEOF
34117 cat confdefs.h >>conftest.$ac_ext
34118 cat >>conftest.$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120 #include <AppKit/NSEvent.h>
34121 #include <CoreFoundation/CoreFoundation.h>
34122
34123 int
34124 main ()
34125 {
34126
34127 ;
34128 return 0;
34129 }
34130 _ACEOF
34131 rm -f conftest.$ac_objext
34132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34133 (eval $ac_compile) 2>conftest.er1
34134 ac_status=$?
34135 grep -v '^ *+' conftest.er1 >conftest.err
34136 rm -f conftest.er1
34137 cat conftest.err >&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); } &&
34140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34143 ac_status=$?
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; } &&
34146 { ac_try='test -s conftest.$ac_objext'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; }; then
34152 echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6
34154 else
34155 echo "$as_me: failed program was:" >&5
34156 sed 's/^/| /' conftest.$ac_ext >&5
34157
34158 echo "$as_me:$LINENO: result: yes" >&5
34159 echo "${ECHO_T}yes" >&6
34160 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34161 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34162 cat >conftest.$ac_ext <<_ACEOF
34163 /* confdefs.h. */
34164 _ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168 #define __Point__ 1
34169 #include <AppKit/NSEvent.h>
34170 #include <CoreFoundation/CoreFoundation.h>
34171
34172 int
34173 main ()
34174 {
34175
34176 ;
34177 return 0;
34178 }
34179 _ACEOF
34180 rm -f conftest.$ac_objext
34181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34182 (eval $ac_compile) 2>conftest.er1
34183 ac_status=$?
34184 grep -v '^ *+' conftest.er1 >conftest.err
34185 rm -f conftest.er1
34186 cat conftest.err >&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); } &&
34189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191 (eval $ac_try) 2>&5
34192 ac_status=$?
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; } &&
34195 { ac_try='test -s conftest.$ac_objext'
34196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34197 (eval $ac_try) 2>&5
34198 ac_status=$?
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); }; }; then
34201 echo "$as_me:$LINENO: result: yes" >&5
34202 echo "${ECHO_T}yes" >&6
34203 cat >>confdefs.h <<\_ACEOF
34204 #define __Point__ 1
34205 _ACEOF
34206
34207
34208 else
34209 echo "$as_me: failed program was:" >&5
34210 sed 's/^/| /' conftest.$ac_ext >&5
34211
34212 { { echo "$as_me:$LINENO: error: no
34213 See \`config.log' for more details." >&5
34214 echo "$as_me: error: no
34215 See \`config.log' for more details." >&2;}
34216 { (exit 1); exit 1; }; }
34217
34218 fi
34219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34220
34221 fi
34222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34223 ac_ext=cc
34224 ac_cpp='$CXXCPP $CPPFLAGS'
34225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34228
34229 fi
34230
34231 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34232 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34233 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34234
34235 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34236
34237 # Extract the first word of "Rez", so it can be a program name with args.
34238 set dummy Rez; ac_word=$2
34239 echo "$as_me:$LINENO: checking for $ac_word" >&5
34240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34241 if test "${ac_cv_prog_REZ+set}" = set; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34243 else
34244 if test -n "$REZ"; then
34245 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34246 else
34247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34248 for as_dir in $PATH
34249 do
34250 IFS=$as_save_IFS
34251 test -z "$as_dir" && as_dir=.
34252 for ac_exec_ext in '' $ac_executable_extensions; do
34253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34254 ac_cv_prog_REZ="Rez"
34255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34256 break 2
34257 fi
34258 done
34259 done
34260
34261 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34262 fi
34263 fi
34264 REZ=$ac_cv_prog_REZ
34265 if test -n "$REZ"; then
34266 echo "$as_me:$LINENO: result: $REZ" >&5
34267 echo "${ECHO_T}$REZ" >&6
34268 else
34269 echo "$as_me:$LINENO: result: no" >&5
34270 echo "${ECHO_T}no" >&6
34271 fi
34272
34273 # Extract the first word of "DeRez", so it can be a program name with args.
34274 set dummy DeRez; ac_word=$2
34275 echo "$as_me:$LINENO: checking for $ac_word" >&5
34276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34277 if test "${ac_cv_prog_DEREZ+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34279 else
34280 if test -n "$DEREZ"; then
34281 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34282 else
34283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34284 for as_dir in $PATH
34285 do
34286 IFS=$as_save_IFS
34287 test -z "$as_dir" && as_dir=.
34288 for ac_exec_ext in '' $ac_executable_extensions; do
34289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34290 ac_cv_prog_DEREZ="DeRez"
34291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34292 break 2
34293 fi
34294 done
34295 done
34296
34297 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34298 fi
34299 fi
34300 DEREZ=$ac_cv_prog_DEREZ
34301 if test -n "$DEREZ"; then
34302 echo "$as_me:$LINENO: result: $DEREZ" >&5
34303 echo "${ECHO_T}$DEREZ" >&6
34304 else
34305 echo "$as_me:$LINENO: result: no" >&5
34306 echo "${ECHO_T}no" >&6
34307 fi
34308
34309 # Extract the first word of "SetFile", so it can be a program name with args.
34310 set dummy SetFile; ac_word=$2
34311 echo "$as_me:$LINENO: checking for $ac_word" >&5
34312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34313 if test "${ac_cv_prog_SETFILE+set}" = set; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 else
34316 if test -n "$SETFILE"; then
34317 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34318 else
34319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34320 for as_dir in $PATH
34321 do
34322 IFS=$as_save_IFS
34323 test -z "$as_dir" && as_dir=.
34324 for ac_exec_ext in '' $ac_executable_extensions; do
34325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34326 ac_cv_prog_SETFILE="SetFile"
34327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34328 break 2
34329 fi
34330 done
34331 done
34332
34333 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34334 fi
34335 fi
34336 SETFILE=$ac_cv_prog_SETFILE
34337 if test -n "$SETFILE"; then
34338 echo "$as_me:$LINENO: result: $SETFILE" >&5
34339 echo "${ECHO_T}$SETFILE" >&6
34340 else
34341 echo "$as_me:$LINENO: result: no" >&5
34342 echo "${ECHO_T}no" >&6
34343 fi
34344
34345
34346 MACSETFILE="\$(SETFILE)"
34347
34348 if test "$wxUSE_MAC" = 1; then
34349 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34350 RESCOMP="$REZ"
34351 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34352 else
34353 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34354 RESCOMP="echo -n \| $REZ"
34355 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34356 fi
34357
34358 else
34359 MACSETFILE="@true"
34360
34361 if test "$wxUSE_PM" = 1; then
34362 RESCOMP="emxbind"
34363 WXCONFIG_RESFLAGS="-ep"
34364
34365 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34366 else
34367 POSTLINK_COMMAND="@true"
34368 fi
34369
34370 fi
34371
34372
34373
34374 echo "$as_me:$LINENO: checking for mode_t" >&5
34375 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34376 if test "${ac_cv_type_mode_t+set}" = set; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34378 else
34379 cat >conftest.$ac_ext <<_ACEOF
34380 /* confdefs.h. */
34381 _ACEOF
34382 cat confdefs.h >>conftest.$ac_ext
34383 cat >>conftest.$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34385 $ac_includes_default
34386 int
34387 main ()
34388 {
34389 if ((mode_t *) 0)
34390 return 0;
34391 if (sizeof (mode_t))
34392 return 0;
34393 ;
34394 return 0;
34395 }
34396 _ACEOF
34397 rm -f conftest.$ac_objext
34398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34399 (eval $ac_compile) 2>conftest.er1
34400 ac_status=$?
34401 grep -v '^ *+' conftest.er1 >conftest.err
34402 rm -f conftest.er1
34403 cat conftest.err >&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } &&
34406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34409 ac_status=$?
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; } &&
34412 { ac_try='test -s conftest.$ac_objext'
34413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34414 (eval $ac_try) 2>&5
34415 ac_status=$?
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); }; }; then
34418 ac_cv_type_mode_t=yes
34419 else
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.$ac_ext >&5
34422
34423 ac_cv_type_mode_t=no
34424 fi
34425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34426 fi
34427 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34428 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34429 if test $ac_cv_type_mode_t = yes; then
34430 :
34431 else
34432
34433 cat >>confdefs.h <<_ACEOF
34434 #define mode_t int
34435 _ACEOF
34436
34437 fi
34438
34439 echo "$as_me:$LINENO: checking for off_t" >&5
34440 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34441 if test "${ac_cv_type_off_t+set}" = set; then
34442 echo $ECHO_N "(cached) $ECHO_C" >&6
34443 else
34444 cat >conftest.$ac_ext <<_ACEOF
34445 /* confdefs.h. */
34446 _ACEOF
34447 cat confdefs.h >>conftest.$ac_ext
34448 cat >>conftest.$ac_ext <<_ACEOF
34449 /* end confdefs.h. */
34450 $ac_includes_default
34451 int
34452 main ()
34453 {
34454 if ((off_t *) 0)
34455 return 0;
34456 if (sizeof (off_t))
34457 return 0;
34458 ;
34459 return 0;
34460 }
34461 _ACEOF
34462 rm -f conftest.$ac_objext
34463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34464 (eval $ac_compile) 2>conftest.er1
34465 ac_status=$?
34466 grep -v '^ *+' conftest.er1 >conftest.err
34467 rm -f conftest.er1
34468 cat conftest.err >&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } &&
34471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34474 ac_status=$?
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; } &&
34477 { ac_try='test -s conftest.$ac_objext'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34480 ac_status=$?
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 ac_cv_type_off_t=yes
34484 else
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34487
34488 ac_cv_type_off_t=no
34489 fi
34490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34491 fi
34492 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34493 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34494 if test $ac_cv_type_off_t = yes; then
34495 :
34496 else
34497
34498 cat >>confdefs.h <<_ACEOF
34499 #define off_t long
34500 _ACEOF
34501
34502 fi
34503
34504 echo "$as_me:$LINENO: checking for pid_t" >&5
34505 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34506 if test "${ac_cv_type_pid_t+set}" = set; then
34507 echo $ECHO_N "(cached) $ECHO_C" >&6
34508 else
34509 cat >conftest.$ac_ext <<_ACEOF
34510 /* confdefs.h. */
34511 _ACEOF
34512 cat confdefs.h >>conftest.$ac_ext
34513 cat >>conftest.$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34515 $ac_includes_default
34516 int
34517 main ()
34518 {
34519 if ((pid_t *) 0)
34520 return 0;
34521 if (sizeof (pid_t))
34522 return 0;
34523 ;
34524 return 0;
34525 }
34526 _ACEOF
34527 rm -f conftest.$ac_objext
34528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34529 (eval $ac_compile) 2>conftest.er1
34530 ac_status=$?
34531 grep -v '^ *+' conftest.er1 >conftest.err
34532 rm -f conftest.er1
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } &&
34536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34539 ac_status=$?
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; } &&
34542 { ac_try='test -s conftest.$ac_objext'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34545 ac_status=$?
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; }; then
34548 ac_cv_type_pid_t=yes
34549 else
34550 echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.$ac_ext >&5
34552
34553 ac_cv_type_pid_t=no
34554 fi
34555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34556 fi
34557 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34558 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34559 if test $ac_cv_type_pid_t = yes; then
34560 :
34561 else
34562
34563 cat >>confdefs.h <<_ACEOF
34564 #define pid_t int
34565 _ACEOF
34566
34567 fi
34568
34569 echo "$as_me:$LINENO: checking for size_t" >&5
34570 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34571 if test "${ac_cv_type_size_t+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34573 else
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580 $ac_includes_default
34581 int
34582 main ()
34583 {
34584 if ((size_t *) 0)
34585 return 0;
34586 if (sizeof (size_t))
34587 return 0;
34588 ;
34589 return 0;
34590 }
34591 _ACEOF
34592 rm -f conftest.$ac_objext
34593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34594 (eval $ac_compile) 2>conftest.er1
34595 ac_status=$?
34596 grep -v '^ *+' conftest.er1 >conftest.err
34597 rm -f conftest.er1
34598 cat conftest.err >&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); } &&
34601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34603 (eval $ac_try) 2>&5
34604 ac_status=$?
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); }; } &&
34607 { ac_try='test -s conftest.$ac_objext'
34608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609 (eval $ac_try) 2>&5
34610 ac_status=$?
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); }; }; then
34613 ac_cv_type_size_t=yes
34614 else
34615 echo "$as_me: failed program was:" >&5
34616 sed 's/^/| /' conftest.$ac_ext >&5
34617
34618 ac_cv_type_size_t=no
34619 fi
34620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34621 fi
34622 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34623 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34624 if test $ac_cv_type_size_t = yes; then
34625 :
34626 else
34627
34628 cat >>confdefs.h <<_ACEOF
34629 #define size_t unsigned
34630 _ACEOF
34631
34632 fi
34633
34634 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34635 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34636 if test "${ac_cv_type_uid_t+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34638 else
34639 cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h. */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 #include <sys/types.h>
34646
34647 _ACEOF
34648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34649 $EGREP "uid_t" >/dev/null 2>&1; then
34650 ac_cv_type_uid_t=yes
34651 else
34652 ac_cv_type_uid_t=no
34653 fi
34654 rm -f conftest*
34655
34656 fi
34657 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34658 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34659 if test $ac_cv_type_uid_t = no; then
34660
34661 cat >>confdefs.h <<\_ACEOF
34662 #define uid_t int
34663 _ACEOF
34664
34665
34666 cat >>confdefs.h <<\_ACEOF
34667 #define gid_t int
34668 _ACEOF
34669
34670 fi
34671
34672
34673 echo "$as_me:$LINENO: checking for ssize_t" >&5
34674 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34675 if test "${ac_cv_type_ssize_t+set}" = set; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 else
34678 cat >conftest.$ac_ext <<_ACEOF
34679 /* confdefs.h. */
34680 _ACEOF
34681 cat confdefs.h >>conftest.$ac_ext
34682 cat >>conftest.$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34684 $ac_includes_default
34685 int
34686 main ()
34687 {
34688 if ((ssize_t *) 0)
34689 return 0;
34690 if (sizeof (ssize_t))
34691 return 0;
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34698 (eval $ac_compile) 2>conftest.er1
34699 ac_status=$?
34700 grep -v '^ *+' conftest.er1 >conftest.err
34701 rm -f conftest.er1
34702 cat conftest.err >&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } &&
34705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34708 ac_status=$?
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; } &&
34711 { ac_try='test -s conftest.$ac_objext'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34714 ac_status=$?
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; }; then
34717 ac_cv_type_ssize_t=yes
34718 else
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.$ac_ext >&5
34721
34722 ac_cv_type_ssize_t=no
34723 fi
34724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34725 fi
34726 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34727 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34728 if test $ac_cv_type_ssize_t = yes; then
34729
34730 cat >>confdefs.h <<_ACEOF
34731 #define HAVE_SSIZE_T 1
34732 _ACEOF
34733
34734
34735 fi
34736
34737
34738 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34739 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34740 if test "${wx_cv_size_t_is_uint+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 else
34743
34744 cat >conftest.$ac_ext <<_ACEOF
34745 /* confdefs.h. */
34746 _ACEOF
34747 cat confdefs.h >>conftest.$ac_ext
34748 cat >>conftest.$ac_ext <<_ACEOF
34749 /* end confdefs.h. */
34750 #include <stddef.h>
34751 int
34752 main ()
34753 {
34754
34755 return 0; }
34756
34757 struct Foo { void foo(size_t); void foo(unsigned int); };
34758
34759 int bar() {
34760
34761 ;
34762 return 0;
34763 }
34764 _ACEOF
34765 rm -f conftest.$ac_objext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34767 (eval $ac_compile) 2>conftest.er1
34768 ac_status=$?
34769 grep -v '^ *+' conftest.er1 >conftest.err
34770 rm -f conftest.er1
34771 cat conftest.err >&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34777 ac_status=$?
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; } &&
34780 { ac_try='test -s conftest.$ac_objext'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34783 ac_status=$?
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; }; then
34786 wx_cv_size_t_is_uint=no
34787 else
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.$ac_ext >&5
34790
34791 wx_cv_size_t_is_uint=yes
34792
34793 fi
34794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34795
34796
34797 fi
34798 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34799 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34800
34801 if test "$wx_cv_size_t_is_uint" = "yes"; then
34802 cat >>confdefs.h <<\_ACEOF
34803 #define wxSIZE_T_IS_UINT 1
34804 _ACEOF
34805
34806 else
34807 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34808 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34809 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 else
34812 cat >conftest.$ac_ext <<_ACEOF
34813 /* confdefs.h. */
34814 _ACEOF
34815 cat confdefs.h >>conftest.$ac_ext
34816 cat >>conftest.$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34818 #include <stddef.h>
34819 int
34820 main ()
34821 {
34822
34823 return 0; }
34824
34825 struct Foo { void foo(size_t); void foo(unsigned long); };
34826
34827 int bar() {
34828
34829 ;
34830 return 0;
34831 }
34832 _ACEOF
34833 rm -f conftest.$ac_objext
34834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34835 (eval $ac_compile) 2>conftest.er1
34836 ac_status=$?
34837 grep -v '^ *+' conftest.er1 >conftest.err
34838 rm -f conftest.er1
34839 cat conftest.err >&5
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); } &&
34842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34844 (eval $ac_try) 2>&5
34845 ac_status=$?
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); }; } &&
34848 { ac_try='test -s conftest.$ac_objext'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34851 ac_status=$?
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; }; then
34854 wx_cv_size_t_is_ulong=no
34855 else
34856 echo "$as_me: failed program was:" >&5
34857 sed 's/^/| /' conftest.$ac_ext >&5
34858
34859 wx_cv_size_t_is_ulong=yes
34860
34861 fi
34862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34863
34864 fi
34865 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34866 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34867
34868 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34869 cat >>confdefs.h <<\_ACEOF
34870 #define wxSIZE_T_IS_ULONG 1
34871 _ACEOF
34872
34873 fi
34874 fi
34875
34876
34877 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34878 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34879 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34880 echo $ECHO_N "(cached) $ECHO_C" >&6
34881 else
34882
34883 cat >conftest.$ac_ext <<_ACEOF
34884 /* confdefs.h. */
34885 _ACEOF
34886 cat confdefs.h >>conftest.$ac_ext
34887 cat >>conftest.$ac_ext <<_ACEOF
34888 /* end confdefs.h. */
34889 #include <pwd.h>
34890 int
34891 main ()
34892 {
34893
34894 char *p;
34895 struct passwd *pw;
34896 p = pw->pw_gecos;
34897
34898 ;
34899 return 0;
34900 }
34901 _ACEOF
34902 rm -f conftest.$ac_objext
34903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34904 (eval $ac_compile) 2>conftest.er1
34905 ac_status=$?
34906 grep -v '^ *+' conftest.er1 >conftest.err
34907 rm -f conftest.er1
34908 cat conftest.err >&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); } &&
34911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34913 (eval $ac_try) 2>&5
34914 ac_status=$?
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); }; } &&
34917 { ac_try='test -s conftest.$ac_objext'
34918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34919 (eval $ac_try) 2>&5
34920 ac_status=$?
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); }; }; then
34923
34924 wx_cv_struct_pw_gecos=yes
34925
34926 else
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.$ac_ext >&5
34929
34930
34931 wx_cv_struct_pw_gecos=no
34932
34933
34934 fi
34935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34936
34937
34938 fi
34939 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34940 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34941
34942 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34943 cat >>confdefs.h <<\_ACEOF
34944 #define HAVE_PW_GECOS 1
34945 _ACEOF
34946
34947 fi
34948
34949
34950 if test "$wxUSE_WCHAR_T" = "yes"; then
34951 cat >>confdefs.h <<\_ACEOF
34952 #define wxUSE_WCHAR_T 1
34953 _ACEOF
34954
34955
34956 WCSLEN_FOUND=0
34957 WCHAR_LINK=
34958
34959 for ac_func in wcslen
34960 do
34961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34962 echo "$as_me:$LINENO: checking for $ac_func" >&5
34963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34964 if eval "test \"\${$as_ac_var+set}\" = set"; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34976
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34981
34982 #ifdef __STDC__
34983 # include <limits.h>
34984 #else
34985 # include <assert.h>
34986 #endif
34987
34988 #undef $ac_func
34989
34990 /* Override any gcc2 internal prototype to avoid an error. */
34991 #ifdef __cplusplus
34992 extern "C"
34993 {
34994 #endif
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34997 char $ac_func ();
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35002 choke me
35003 #else
35004 char (*f) () = $ac_func;
35005 #endif
35006 #ifdef __cplusplus
35007 }
35008 #endif
35009
35010 int
35011 main ()
35012 {
35013 return f != $ac_func;
35014 ;
35015 return 0;
35016 }
35017 _ACEOF
35018 rm -f conftest.$ac_objext conftest$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35021 ac_status=$?
35022 grep -v '^ *+' conftest.er1 >conftest.err
35023 rm -f conftest.er1
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35030 ac_status=$?
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try='test -s conftest$ac_exeext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35036 ac_status=$?
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039 eval "$as_ac_var=yes"
35040 else
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.$ac_ext >&5
35043
35044 eval "$as_ac_var=no"
35045 fi
35046 rm -f conftest.err conftest.$ac_objext \
35047 conftest$ac_exeext conftest.$ac_ext
35048 fi
35049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h <<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 _ACEOF
35055 WCSLEN_FOUND=1
35056 fi
35057 done
35058
35059
35060 if test "$WCSLEN_FOUND" = 0; then
35061 if test "$TOOLKIT" = "MSW"; then
35062 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35063 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35064 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35065 echo $ECHO_N "(cached) $ECHO_C" >&6
35066 else
35067 ac_check_lib_save_LIBS=$LIBS
35068 LIBS="-lmsvcrt $LIBS"
35069 cat >conftest.$ac_ext <<_ACEOF
35070 /* confdefs.h. */
35071 _ACEOF
35072 cat confdefs.h >>conftest.$ac_ext
35073 cat >>conftest.$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35075
35076 /* Override any gcc2 internal prototype to avoid an error. */
35077 #ifdef __cplusplus
35078 extern "C"
35079 #endif
35080 /* We use char because int might match the return type of a gcc2
35081 builtin and then its argument prototype would still apply. */
35082 char wcslen ();
35083 int
35084 main ()
35085 {
35086 wcslen ();
35087 ;
35088 return 0;
35089 }
35090 _ACEOF
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35103 ac_status=$?
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 ac_cv_lib_msvcrt_wcslen=yes
35113 else
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.$ac_ext >&5
35116
35117 ac_cv_lib_msvcrt_wcslen=no
35118 fi
35119 rm -f conftest.err conftest.$ac_objext \
35120 conftest$ac_exeext conftest.$ac_ext
35121 LIBS=$ac_check_lib_save_LIBS
35122 fi
35123 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35124 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35125 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35126 WCHAR_OK=1
35127 fi
35128
35129 else
35130 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35131 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35132 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35135 ac_check_lib_save_LIBS=$LIBS
35136 LIBS="-lw $LIBS"
35137 cat >conftest.$ac_ext <<_ACEOF
35138 /* confdefs.h. */
35139 _ACEOF
35140 cat confdefs.h >>conftest.$ac_ext
35141 cat >>conftest.$ac_ext <<_ACEOF
35142 /* end confdefs.h. */
35143
35144 /* Override any gcc2 internal prototype to avoid an error. */
35145 #ifdef __cplusplus
35146 extern "C"
35147 #endif
35148 /* We use char because int might match the return type of a gcc2
35149 builtin and then its argument prototype would still apply. */
35150 char wcslen ();
35151 int
35152 main ()
35153 {
35154 wcslen ();
35155 ;
35156 return 0;
35157 }
35158 _ACEOF
35159 rm -f conftest.$ac_objext conftest$ac_exeext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35161 (eval $ac_link) 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_exeext'
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 ac_cv_lib_w_wcslen=yes
35181 else
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35184
35185 ac_cv_lib_w_wcslen=no
35186 fi
35187 rm -f conftest.err conftest.$ac_objext \
35188 conftest$ac_exeext conftest.$ac_ext
35189 LIBS=$ac_check_lib_save_LIBS
35190 fi
35191 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35192 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35193 if test $ac_cv_lib_w_wcslen = yes; then
35194
35195 WCHAR_LINK=" -lw"
35196 WCSLEN_FOUND=1
35197
35198 fi
35199
35200 fi
35201 fi
35202
35203 if test "$WCSLEN_FOUND" = 1; then
35204 cat >>confdefs.h <<\_ACEOF
35205 #define HAVE_WCSLEN 1
35206 _ACEOF
35207
35208 fi
35209
35210 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35211 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35212 fi
35213
35214 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35215 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35216 if test "${ac_cv_type_mbstate_t+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 cat >conftest.$ac_ext <<_ACEOF
35220 /* confdefs.h. */
35221 _ACEOF
35222 cat confdefs.h >>conftest.$ac_ext
35223 cat >>conftest.$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35225 #include <wchar.h>
35226
35227 int
35228 main ()
35229 {
35230 if ((mbstate_t *) 0)
35231 return 0;
35232 if (sizeof (mbstate_t))
35233 return 0;
35234 ;
35235 return 0;
35236 }
35237 _ACEOF
35238 rm -f conftest.$ac_objext
35239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35240 (eval $ac_compile) 2>conftest.er1
35241 ac_status=$?
35242 grep -v '^ *+' conftest.er1 >conftest.err
35243 rm -f conftest.er1
35244 cat conftest.err >&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } &&
35247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; } &&
35253 { ac_try='test -s conftest.$ac_objext'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35256 ac_status=$?
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; }; then
35259 ac_cv_type_mbstate_t=yes
35260 else
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.$ac_ext >&5
35263
35264 ac_cv_type_mbstate_t=no
35265 fi
35266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35267 fi
35268 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35269 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35270 if test $ac_cv_type_mbstate_t = yes; then
35271
35272 cat >>confdefs.h <<_ACEOF
35273 #define HAVE_MBSTATE_T 1
35274 _ACEOF
35275
35276
35277 for ac_func in wcsrtombs
35278 do
35279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35280 echo "$as_me:$LINENO: checking for $ac_func" >&5
35281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35282 if eval "test \"\${$as_ac_var+set}\" = set"; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 else
35285 cat >conftest.$ac_ext <<_ACEOF
35286 /* confdefs.h. */
35287 _ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35293 #define $ac_func innocuous_$ac_func
35294
35295 /* System header to define __stub macros and hopefully few prototypes,
35296 which can conflict with char $ac_func (); below.
35297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35298 <limits.h> exists even on freestanding compilers. */
35299
35300 #ifdef __STDC__
35301 # include <limits.h>
35302 #else
35303 # include <assert.h>
35304 #endif
35305
35306 #undef $ac_func
35307
35308 /* Override any gcc2 internal prototype to avoid an error. */
35309 #ifdef __cplusplus
35310 extern "C"
35311 {
35312 #endif
35313 /* We use char because int might match the return type of a gcc2
35314 builtin and then its argument prototype would still apply. */
35315 char $ac_func ();
35316 /* The GNU C library defines this for functions which it implements
35317 to always fail with ENOSYS. Some functions are actually named
35318 something starting with __ and the normal name is an alias. */
35319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35320 choke me
35321 #else
35322 char (*f) () = $ac_func;
35323 #endif
35324 #ifdef __cplusplus
35325 }
35326 #endif
35327
35328 int
35329 main ()
35330 {
35331 return f != $ac_func;
35332 ;
35333 return 0;
35334 }
35335 _ACEOF
35336 rm -f conftest.$ac_objext conftest$ac_exeext
35337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35338 (eval $ac_link) 2>conftest.er1
35339 ac_status=$?
35340 grep -v '^ *+' conftest.er1 >conftest.err
35341 rm -f conftest.er1
35342 cat conftest.err >&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } &&
35345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35347 (eval $ac_try) 2>&5
35348 ac_status=$?
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; } &&
35351 { ac_try='test -s conftest$ac_exeext'
35352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35353 (eval $ac_try) 2>&5
35354 ac_status=$?
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); }; }; then
35357 eval "$as_ac_var=yes"
35358 else
35359 echo "$as_me: failed program was:" >&5
35360 sed 's/^/| /' conftest.$ac_ext >&5
35361
35362 eval "$as_ac_var=no"
35363 fi
35364 rm -f conftest.err conftest.$ac_objext \
35365 conftest$ac_exeext conftest.$ac_ext
35366 fi
35367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35369 if test `eval echo '${'$as_ac_var'}'` = yes; then
35370 cat >>confdefs.h <<_ACEOF
35371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35372 _ACEOF
35373
35374 fi
35375 done
35376
35377 fi
35378
35379 else
35380 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35381 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35382 fi
35383
35384
35385
35386 for ac_func in snprintf vsnprintf
35387 do
35388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35389 echo "$as_me:$LINENO: checking for $ac_func" >&5
35390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35391 if eval "test \"\${$as_ac_var+set}\" = set"; then
35392 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 else
35394 cat >conftest.$ac_ext <<_ACEOF
35395 /* confdefs.h. */
35396 _ACEOF
35397 cat confdefs.h >>conftest.$ac_ext
35398 cat >>conftest.$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35402 #define $ac_func innocuous_$ac_func
35403
35404 /* System header to define __stub macros and hopefully few prototypes,
35405 which can conflict with char $ac_func (); below.
35406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35407 <limits.h> exists even on freestanding compilers. */
35408
35409 #ifdef __STDC__
35410 # include <limits.h>
35411 #else
35412 # include <assert.h>
35413 #endif
35414
35415 #undef $ac_func
35416
35417 /* Override any gcc2 internal prototype to avoid an error. */
35418 #ifdef __cplusplus
35419 extern "C"
35420 {
35421 #endif
35422 /* We use char because int might match the return type of a gcc2
35423 builtin and then its argument prototype would still apply. */
35424 char $ac_func ();
35425 /* The GNU C library defines this for functions which it implements
35426 to always fail with ENOSYS. Some functions are actually named
35427 something starting with __ and the normal name is an alias. */
35428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35429 choke me
35430 #else
35431 char (*f) () = $ac_func;
35432 #endif
35433 #ifdef __cplusplus
35434 }
35435 #endif
35436
35437 int
35438 main ()
35439 {
35440 return f != $ac_func;
35441 ;
35442 return 0;
35443 }
35444 _ACEOF
35445 rm -f conftest.$ac_objext conftest$ac_exeext
35446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35447 (eval $ac_link) 2>conftest.er1
35448 ac_status=$?
35449 grep -v '^ *+' conftest.er1 >conftest.err
35450 rm -f conftest.er1
35451 cat conftest.err >&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35457 ac_status=$?
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; } &&
35460 { ac_try='test -s conftest$ac_exeext'
35461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35462 (eval $ac_try) 2>&5
35463 ac_status=$?
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); }; }; then
35466 eval "$as_ac_var=yes"
35467 else
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35470
35471 eval "$as_ac_var=no"
35472 fi
35473 rm -f conftest.err conftest.$ac_objext \
35474 conftest$ac_exeext conftest.$ac_ext
35475 fi
35476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35478 if test `eval echo '${'$as_ac_var'}'` = yes; then
35479 cat >>confdefs.h <<_ACEOF
35480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35481 _ACEOF
35482
35483 fi
35484 done
35485
35486
35487 if test "$ac_cv_func_vsnprintf" = "yes"; then
35488 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35489 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35490 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 else
35493
35494 cat >conftest.$ac_ext <<_ACEOF
35495 /* confdefs.h. */
35496 _ACEOF
35497 cat confdefs.h >>conftest.$ac_ext
35498 cat >>conftest.$ac_ext <<_ACEOF
35499 /* end confdefs.h. */
35500
35501 #include <stdio.h>
35502 #include <stdarg.h>
35503 #ifdef __MSL__
35504 #if __MSL__ >= 0x6000
35505 namespace std {}
35506 using namespace std;
35507 #endif
35508 #endif
35509
35510 int
35511 main ()
35512 {
35513
35514 char *buf;
35515 va_list ap;
35516 vsnprintf(buf, 10u, "%s", ap);
35517
35518 ;
35519 return 0;
35520 }
35521 _ACEOF
35522 rm -f conftest.$ac_objext
35523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35524 (eval $ac_compile) 2>conftest.er1
35525 ac_status=$?
35526 grep -v '^ *+' conftest.er1 >conftest.err
35527 rm -f conftest.er1
35528 cat conftest.err >&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } &&
35531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35533 (eval $ac_try) 2>&5
35534 ac_status=$?
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); }; } &&
35537 { ac_try='test -s conftest.$ac_objext'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35540 ac_status=$?
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; }; then
35543 wx_cv_func_vsnprintf_decl=yes
35544 else
35545 echo "$as_me: failed program was:" >&5
35546 sed 's/^/| /' conftest.$ac_ext >&5
35547
35548 wx_cv_func_vsnprintf_decl=no
35549
35550 fi
35551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35552
35553
35554 fi
35555 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35556 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35557
35558 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35559 cat >>confdefs.h <<\_ACEOF
35560 #define HAVE_VSNPRINTF_DECL 1
35561 _ACEOF
35562
35563
35564 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35565 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35566 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35568 else
35569
35570 cat >conftest.$ac_ext <<_ACEOF
35571 /* confdefs.h. */
35572 _ACEOF
35573 cat confdefs.h >>conftest.$ac_ext
35574 cat >>conftest.$ac_ext <<_ACEOF
35575 /* end confdefs.h. */
35576
35577 #include <stdio.h>
35578 #include <stdarg.h>
35579 #ifdef __MSL__
35580 #if __MSL__ >= 0x6000
35581 namespace std {}
35582 using namespace std;
35583 #endif
35584 #endif
35585
35586 int
35587 main ()
35588 {
35589
35590 char *buf;
35591 va_list ap;
35592 const char *fmt = "%s";
35593 vsnprintf(buf, 10u, fmt, ap);
35594
35595 ;
35596 return 0;
35597 }
35598 _ACEOF
35599 rm -f conftest.$ac_objext
35600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35601 (eval $ac_compile) 2>conftest.er1
35602 ac_status=$?
35603 grep -v '^ *+' conftest.er1 >conftest.err
35604 rm -f conftest.er1
35605 cat conftest.err >&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } &&
35608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35611 ac_status=$?
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; } &&
35614 { ac_try='test -s conftest.$ac_objext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35617 ac_status=$?
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 wx_cv_func_broken_vsnprintf_decl=no
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625 wx_cv_func_broken_vsnprintf_decl=yes
35626
35627 fi
35628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35629
35630
35631 fi
35632 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35633 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35634
35635 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35636 cat >>confdefs.h <<\_ACEOF
35637 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35638 _ACEOF
35639
35640 fi
35641 fi
35642 fi
35643
35644 if test "$ac_cv_func_snprintf" = "yes"; then
35645 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35646 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35647 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35648 echo $ECHO_N "(cached) $ECHO_C" >&6
35649 else
35650
35651 cat >conftest.$ac_ext <<_ACEOF
35652 /* confdefs.h. */
35653 _ACEOF
35654 cat confdefs.h >>conftest.$ac_ext
35655 cat >>conftest.$ac_ext <<_ACEOF
35656 /* end confdefs.h. */
35657
35658 #include <stdio.h>
35659 #include <stdarg.h>
35660 #ifdef __MSL__
35661 #if __MSL__ >= 0x6000
35662 namespace std {}
35663 using namespace std;
35664 #endif
35665 #endif
35666
35667 int
35668 main ()
35669 {
35670
35671 char *buf;
35672 snprintf(buf, 10u, "%s", "wx");
35673
35674 ;
35675 return 0;
35676 }
35677 _ACEOF
35678 rm -f conftest.$ac_objext
35679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35680 (eval $ac_compile) 2>conftest.er1
35681 ac_status=$?
35682 grep -v '^ *+' conftest.er1 >conftest.err
35683 rm -f conftest.er1
35684 cat conftest.err >&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } &&
35687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35690 ac_status=$?
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; } &&
35693 { ac_try='test -s conftest.$ac_objext'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35696 ac_status=$?
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; }; then
35699 wx_cv_func_snprintf_decl=yes
35700 else
35701 echo "$as_me: failed program was:" >&5
35702 sed 's/^/| /' conftest.$ac_ext >&5
35703
35704 wx_cv_func_snprintf_decl=no
35705
35706 fi
35707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35708
35709
35710 fi
35711 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35712 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35713
35714 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35715 cat >>confdefs.h <<\_ACEOF
35716 #define HAVE_SNPRINTF_DECL 1
35717 _ACEOF
35718
35719
35720 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35721 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35722 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35725
35726 cat >conftest.$ac_ext <<_ACEOF
35727 /* confdefs.h. */
35728 _ACEOF
35729 cat confdefs.h >>conftest.$ac_ext
35730 cat >>conftest.$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35732
35733 #include <stdio.h>
35734 #include <stdarg.h>
35735 #ifdef __MSL__
35736 #if __MSL__ >= 0x6000
35737 namespace std {}
35738 using namespace std;
35739 #endif
35740 #endif
35741
35742 int
35743 main ()
35744 {
35745
35746 char *buf;
35747 const char *fmt = "%s";
35748 snprintf(buf, 10u, fmt, "wx");
35749
35750 ;
35751 return 0;
35752 }
35753 _ACEOF
35754 rm -f conftest.$ac_objext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35756 (eval $ac_compile) 2>conftest.er1
35757 ac_status=$?
35758 grep -v '^ *+' conftest.er1 >conftest.err
35759 rm -f conftest.er1
35760 cat conftest.err >&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
35769 { ac_try='test -s conftest.$ac_objext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35772 ac_status=$?
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 wx_cv_func_broken_snprintf_decl=no
35776 else
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.$ac_ext >&5
35779
35780 wx_cv_func_broken_snprintf_decl=yes
35781
35782 fi
35783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35784
35785
35786 fi
35787 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35788 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35789
35790 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35791 cat >>confdefs.h <<\_ACEOF
35792 #define HAVE_BROKEN_SNPRINTF_DECL 1
35793 _ACEOF
35794
35795 fi
35796 fi
35797
35798 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35799
35800 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35801 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35802 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35803 echo $ECHO_N "(cached) $ECHO_C" >&6
35804 else
35805
35806 if test "$cross_compiling" = yes; then
35807
35808 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35809 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35810 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35811 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35812 wx_cv_func_snprintf_pos_params=no
35813
35814
35815 else
35816 cat >conftest.$ac_ext <<_ACEOF
35817 /* confdefs.h. */
35818 _ACEOF
35819 cat confdefs.h >>conftest.$ac_ext
35820 cat >>conftest.$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35822
35823 #include <stdio.h>
35824
35825 int main (void)
35826 {
35827 char buffer[128];
35828 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35829 if (strcmp ("2 3 1", buffer) == 0)
35830 exit (0);
35831 exit (1);
35832 }
35833
35834 _ACEOF
35835 rm -f conftest$ac_exeext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35837 (eval $ac_link) 2>&5
35838 ac_status=$?
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35842 (eval $ac_try) 2>&5
35843 ac_status=$?
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); }; }; then
35846 wx_cv_func_snprintf_pos_params=no
35847 else
35848 echo "$as_me: program exited with status $ac_status" >&5
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.$ac_ext >&5
35851
35852 ( exit $ac_status )
35853 wx_cv_func_snprintf_pos_params=yes
35854 fi
35855 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35856 fi
35857
35858
35859 fi
35860 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35861 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35862
35863 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define HAVE_UNIX98_PRINTF 1
35866 _ACEOF
35867
35868 fi
35869 fi
35870 fi
35871
35872 if test "$wxUSE_UNICODE" = yes; then
35873
35874
35875 for ac_func in swprintf
35876 do
35877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35878 echo "$as_me:$LINENO: checking for $ac_func" >&5
35879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35880 if eval "test \"\${$as_ac_var+set}\" = set"; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 else
35883 cat >conftest.$ac_ext <<_ACEOF
35884 /* confdefs.h. */
35885 _ACEOF
35886 cat confdefs.h >>conftest.$ac_ext
35887 cat >>conftest.$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35891 #define $ac_func innocuous_$ac_func
35892
35893 /* System header to define __stub macros and hopefully few prototypes,
35894 which can conflict with char $ac_func (); below.
35895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35896 <limits.h> exists even on freestanding compilers. */
35897
35898 #ifdef __STDC__
35899 # include <limits.h>
35900 #else
35901 # include <assert.h>
35902 #endif
35903
35904 #undef $ac_func
35905
35906 /* Override any gcc2 internal prototype to avoid an error. */
35907 #ifdef __cplusplus
35908 extern "C"
35909 {
35910 #endif
35911 /* We use char because int might match the return type of a gcc2
35912 builtin and then its argument prototype would still apply. */
35913 char $ac_func ();
35914 /* The GNU C library defines this for functions which it implements
35915 to always fail with ENOSYS. Some functions are actually named
35916 something starting with __ and the normal name is an alias. */
35917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35918 choke me
35919 #else
35920 char (*f) () = $ac_func;
35921 #endif
35922 #ifdef __cplusplus
35923 }
35924 #endif
35925
35926 int
35927 main ()
35928 {
35929 return f != $ac_func;
35930 ;
35931 return 0;
35932 }
35933 _ACEOF
35934 rm -f conftest.$ac_objext conftest$ac_exeext
35935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35936 (eval $ac_link) 2>conftest.er1
35937 ac_status=$?
35938 grep -v '^ *+' conftest.er1 >conftest.err
35939 rm -f conftest.er1
35940 cat conftest.err >&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } &&
35943 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35945 (eval $ac_try) 2>&5
35946 ac_status=$?
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); }; } &&
35949 { ac_try='test -s conftest$ac_exeext'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35952 ac_status=$?
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; }; then
35955 eval "$as_ac_var=yes"
35956 else
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.$ac_ext >&5
35959
35960 eval "$as_ac_var=no"
35961 fi
35962 rm -f conftest.err conftest.$ac_objext \
35963 conftest$ac_exeext conftest.$ac_ext
35964 fi
35965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35967 if test `eval echo '${'$as_ac_var'}'` = yes; then
35968 cat >>confdefs.h <<_ACEOF
35969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35970 _ACEOF
35971
35972 fi
35973 done
35974
35975
35976 if test "$ac_cv_func_swprintf" = "yes"; then
35977 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35978 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35979 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 else
35982
35983 cat >conftest.$ac_ext <<_ACEOF
35984 /* confdefs.h. */
35985 _ACEOF
35986 cat confdefs.h >>conftest.$ac_ext
35987 cat >>conftest.$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35989
35990 #include <stdio.h>
35991 #include <stdarg.h>
35992 #include <wchar.h>
35993
35994 int
35995 main ()
35996 {
35997
35998 wchar_t *buf;
35999 const wchar_t *fmt = L"test";
36000 swprintf(buf, 10u, fmt);
36001
36002 ;
36003 return 0;
36004 }
36005 _ACEOF
36006 rm -f conftest.$ac_objext
36007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36008 (eval $ac_compile) 2>conftest.er1
36009 ac_status=$?
36010 grep -v '^ *+' conftest.er1 >conftest.err
36011 rm -f conftest.er1
36012 cat conftest.err >&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); } &&
36015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try='test -s conftest.$ac_objext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36024 ac_status=$?
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 wx_cv_func_broken_swprintf_decl=no
36028 else
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36031
36032 wx_cv_func_broken_swprintf_decl=yes
36033
36034 fi
36035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36036
36037
36038 fi
36039 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36040 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36041
36042 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36043 cat >>confdefs.h <<\_ACEOF
36044 #define HAVE_BROKEN_SWPRINTF_DECL 1
36045 _ACEOF
36046
36047 fi
36048 fi
36049
36050
36051
36052
36053
36054
36055
36056 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36057 do
36058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36059 echo "$as_me:$LINENO: checking for $ac_func" >&5
36060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36061 if eval "test \"\${$as_ac_var+set}\" = set"; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 else
36064 cat >conftest.$ac_ext <<_ACEOF
36065 /* confdefs.h. */
36066 _ACEOF
36067 cat confdefs.h >>conftest.$ac_ext
36068 cat >>conftest.$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36072 #define $ac_func innocuous_$ac_func
36073
36074 /* System header to define __stub macros and hopefully few prototypes,
36075 which can conflict with char $ac_func (); below.
36076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36077 <limits.h> exists even on freestanding compilers. */
36078
36079 #ifdef __STDC__
36080 # include <limits.h>
36081 #else
36082 # include <assert.h>
36083 #endif
36084
36085 #undef $ac_func
36086
36087 /* Override any gcc2 internal prototype to avoid an error. */
36088 #ifdef __cplusplus
36089 extern "C"
36090 {
36091 #endif
36092 /* We use char because int might match the return type of a gcc2
36093 builtin and then its argument prototype would still apply. */
36094 char $ac_func ();
36095 /* The GNU C library defines this for functions which it implements
36096 to always fail with ENOSYS. Some functions are actually named
36097 something starting with __ and the normal name is an alias. */
36098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36099 choke me
36100 #else
36101 char (*f) () = $ac_func;
36102 #endif
36103 #ifdef __cplusplus
36104 }
36105 #endif
36106
36107 int
36108 main ()
36109 {
36110 return f != $ac_func;
36111 ;
36112 return 0;
36113 }
36114 _ACEOF
36115 rm -f conftest.$ac_objext conftest$ac_exeext
36116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36117 (eval $ac_link) 2>conftest.er1
36118 ac_status=$?
36119 grep -v '^ *+' conftest.er1 >conftest.err
36120 rm -f conftest.er1
36121 cat conftest.err >&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); } &&
36124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36126 (eval $ac_try) 2>&5
36127 ac_status=$?
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); }; } &&
36130 { ac_try='test -s conftest$ac_exeext'
36131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36132 (eval $ac_try) 2>&5
36133 ac_status=$?
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); }; }; then
36136 eval "$as_ac_var=yes"
36137 else
36138 echo "$as_me: failed program was:" >&5
36139 sed 's/^/| /' conftest.$ac_ext >&5
36140
36141 eval "$as_ac_var=no"
36142 fi
36143 rm -f conftest.err conftest.$ac_objext \
36144 conftest$ac_exeext conftest.$ac_ext
36145 fi
36146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36148 if test `eval echo '${'$as_ac_var'}'` = yes; then
36149 cat >>confdefs.h <<_ACEOF
36150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36151 _ACEOF
36152
36153 fi
36154 done
36155
36156
36157 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36158 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36159 cat >conftest.$ac_ext <<_ACEOF
36160 /* confdefs.h. */
36161 _ACEOF
36162 cat confdefs.h >>conftest.$ac_ext
36163 cat >>conftest.$ac_ext <<_ACEOF
36164 /* end confdefs.h. */
36165 #include <wchar.h>
36166 int
36167 main ()
36168 {
36169 &_vsnwprintf;
36170 ;
36171 return 0;
36172 }
36173 _ACEOF
36174 rm -f conftest.$ac_objext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36176 (eval $ac_compile) 2>conftest.er1
36177 ac_status=$?
36178 grep -v '^ *+' conftest.er1 >conftest.err
36179 rm -f conftest.er1
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36185 (eval $ac_try) 2>&5
36186 ac_status=$?
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; } &&
36189 { ac_try='test -s conftest.$ac_objext'
36190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36191 (eval $ac_try) 2>&5
36192 ac_status=$?
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); }; }; then
36195 echo "$as_me:$LINENO: result: yes" >&5
36196 echo "${ECHO_T}yes" >&6
36197 cat >>confdefs.h <<\_ACEOF
36198 #define HAVE__VSNWPRINTF 1
36199 _ACEOF
36200
36201 else
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36204
36205 echo "$as_me:$LINENO: result: no" >&5
36206 echo "${ECHO_T}no" >&6
36207 fi
36208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36209 fi
36210
36211 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36212
36213 for ac_func in fnmatch
36214 do
36215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36216 echo "$as_me:$LINENO: checking for $ac_func" >&5
36217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36218 if eval "test \"\${$as_ac_var+set}\" = set"; then
36219 echo $ECHO_N "(cached) $ECHO_C" >&6
36220 else
36221 cat >conftest.$ac_ext <<_ACEOF
36222 /* confdefs.h. */
36223 _ACEOF
36224 cat confdefs.h >>conftest.$ac_ext
36225 cat >>conftest.$ac_ext <<_ACEOF
36226 /* end confdefs.h. */
36227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36229 #define $ac_func innocuous_$ac_func
36230
36231 /* System header to define __stub macros and hopefully few prototypes,
36232 which can conflict with char $ac_func (); below.
36233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36234 <limits.h> exists even on freestanding compilers. */
36235
36236 #ifdef __STDC__
36237 # include <limits.h>
36238 #else
36239 # include <assert.h>
36240 #endif
36241
36242 #undef $ac_func
36243
36244 /* Override any gcc2 internal prototype to avoid an error. */
36245 #ifdef __cplusplus
36246 extern "C"
36247 {
36248 #endif
36249 /* We use char because int might match the return type of a gcc2
36250 builtin and then its argument prototype would still apply. */
36251 char $ac_func ();
36252 /* The GNU C library defines this for functions which it implements
36253 to always fail with ENOSYS. Some functions are actually named
36254 something starting with __ and the normal name is an alias. */
36255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36256 choke me
36257 #else
36258 char (*f) () = $ac_func;
36259 #endif
36260 #ifdef __cplusplus
36261 }
36262 #endif
36263
36264 int
36265 main ()
36266 {
36267 return f != $ac_func;
36268 ;
36269 return 0;
36270 }
36271 _ACEOF
36272 rm -f conftest.$ac_objext conftest$ac_exeext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36274 (eval $ac_link) 2>conftest.er1
36275 ac_status=$?
36276 grep -v '^ *+' conftest.er1 >conftest.err
36277 rm -f conftest.er1
36278 cat conftest.err >&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } &&
36281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36283 (eval $ac_try) 2>&5
36284 ac_status=$?
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); }; } &&
36287 { ac_try='test -s conftest$ac_exeext'
36288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36289 (eval $ac_try) 2>&5
36290 ac_status=$?
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); }; }; then
36293 eval "$as_ac_var=yes"
36294 else
36295 echo "$as_me: failed program was:" >&5
36296 sed 's/^/| /' conftest.$ac_ext >&5
36297
36298 eval "$as_ac_var=no"
36299 fi
36300 rm -f conftest.err conftest.$ac_objext \
36301 conftest$ac_exeext conftest.$ac_ext
36302 fi
36303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36305 if test `eval echo '${'$as_ac_var'}'` = yes; then
36306 cat >>confdefs.h <<_ACEOF
36307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36308 _ACEOF
36309
36310 fi
36311 done
36312
36313 fi
36314
36315 if test "$wxUSE_FILE" = "yes"; then
36316
36317 for ac_func in fsync
36318 do
36319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36320 echo "$as_me:$LINENO: checking for $ac_func" >&5
36321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36322 if eval "test \"\${$as_ac_var+set}\" = set"; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 else
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36333 #define $ac_func innocuous_$ac_func
36334
36335 /* System header to define __stub macros and hopefully few prototypes,
36336 which can conflict with char $ac_func (); below.
36337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36338 <limits.h> exists even on freestanding compilers. */
36339
36340 #ifdef __STDC__
36341 # include <limits.h>
36342 #else
36343 # include <assert.h>
36344 #endif
36345
36346 #undef $ac_func
36347
36348 /* Override any gcc2 internal prototype to avoid an error. */
36349 #ifdef __cplusplus
36350 extern "C"
36351 {
36352 #endif
36353 /* We use char because int might match the return type of a gcc2
36354 builtin and then its argument prototype would still apply. */
36355 char $ac_func ();
36356 /* The GNU C library defines this for functions which it implements
36357 to always fail with ENOSYS. Some functions are actually named
36358 something starting with __ and the normal name is an alias. */
36359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36360 choke me
36361 #else
36362 char (*f) () = $ac_func;
36363 #endif
36364 #ifdef __cplusplus
36365 }
36366 #endif
36367
36368 int
36369 main ()
36370 {
36371 return f != $ac_func;
36372 ;
36373 return 0;
36374 }
36375 _ACEOF
36376 rm -f conftest.$ac_objext conftest$ac_exeext
36377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36378 (eval $ac_link) 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } &&
36385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36388 ac_status=$?
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36394 ac_status=$?
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 eval "$as_ac_var=yes"
36398 else
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.$ac_ext >&5
36401
36402 eval "$as_ac_var=no"
36403 fi
36404 rm -f conftest.err conftest.$ac_objext \
36405 conftest$ac_exeext conftest.$ac_ext
36406 fi
36407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36409 if test `eval echo '${'$as_ac_var'}'` = yes; then
36410 cat >>confdefs.h <<_ACEOF
36411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36412 _ACEOF
36413
36414 fi
36415 done
36416
36417 fi
36418
36419
36420 for ac_func in round
36421 do
36422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36425 if eval "test \"\${$as_ac_var+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428 cat >conftest.$ac_ext <<_ACEOF
36429 /* confdefs.h. */
36430 _ACEOF
36431 cat confdefs.h >>conftest.$ac_ext
36432 cat >>conftest.$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36437
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36442
36443 #ifdef __STDC__
36444 # include <limits.h>
36445 #else
36446 # include <assert.h>
36447 #endif
36448
36449 #undef $ac_func
36450
36451 /* Override any gcc2 internal prototype to avoid an error. */
36452 #ifdef __cplusplus
36453 extern "C"
36454 {
36455 #endif
36456 /* We use char because int might match the return type of a gcc2
36457 builtin and then its argument prototype would still apply. */
36458 char $ac_func ();
36459 /* The GNU C library defines this for functions which it implements
36460 to always fail with ENOSYS. Some functions are actually named
36461 something starting with __ and the normal name is an alias. */
36462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36463 choke me
36464 #else
36465 char (*f) () = $ac_func;
36466 #endif
36467 #ifdef __cplusplus
36468 }
36469 #endif
36470
36471 int
36472 main ()
36473 {
36474 return f != $ac_func;
36475 ;
36476 return 0;
36477 }
36478 _ACEOF
36479 rm -f conftest.$ac_objext conftest$ac_exeext
36480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36481 (eval $ac_link) 2>conftest.er1
36482 ac_status=$?
36483 grep -v '^ *+' conftest.er1 >conftest.err
36484 rm -f conftest.er1
36485 cat conftest.err >&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); } &&
36488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36490 (eval $ac_try) 2>&5
36491 ac_status=$?
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); }; } &&
36494 { ac_try='test -s conftest$ac_exeext'
36495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36496 (eval $ac_try) 2>&5
36497 ac_status=$?
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); }; }; then
36500 eval "$as_ac_var=yes"
36501 else
36502 echo "$as_me: failed program was:" >&5
36503 sed 's/^/| /' conftest.$ac_ext >&5
36504
36505 eval "$as_ac_var=no"
36506 fi
36507 rm -f conftest.err conftest.$ac_objext \
36508 conftest$ac_exeext conftest.$ac_ext
36509 fi
36510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36512 if test `eval echo '${'$as_ac_var'}'` = yes; then
36513 cat >>confdefs.h <<_ACEOF
36514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36515 _ACEOF
36516
36517 fi
36518 done
36519
36520 if test "$ac_cv_func_round" = yes; then
36521 echo "$as_me:$LINENO: checking whether round is declared" >&5
36522 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36523 if test "${ac_cv_have_decl_round+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 else
36526 cat >conftest.$ac_ext <<_ACEOF
36527 /* confdefs.h. */
36528 _ACEOF
36529 cat confdefs.h >>conftest.$ac_ext
36530 cat >>conftest.$ac_ext <<_ACEOF
36531 /* end confdefs.h. */
36532 #include <math.h>
36533
36534 int
36535 main ()
36536 {
36537 #ifndef round
36538 char *p = (char *) round;
36539 #endif
36540
36541 ;
36542 return 0;
36543 }
36544 _ACEOF
36545 rm -f conftest.$ac_objext
36546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36547 (eval $ac_compile) 2>conftest.er1
36548 ac_status=$?
36549 grep -v '^ *+' conftest.er1 >conftest.err
36550 rm -f conftest.er1
36551 cat conftest.err >&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } &&
36554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try='test -s conftest.$ac_objext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 ac_cv_have_decl_round=yes
36567 else
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36570
36571 ac_cv_have_decl_round=no
36572 fi
36573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36574 fi
36575 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36576 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36577 if test $ac_cv_have_decl_round = yes; then
36578
36579 cat >>confdefs.h <<_ACEOF
36580 #define HAVE_DECL_ROUND 1
36581 _ACEOF
36582
36583
36584 else
36585 cat >>confdefs.h <<_ACEOF
36586 #define HAVE_DECL_ROUND 0
36587 _ACEOF
36588
36589
36590 fi
36591
36592
36593 fi
36594
36595
36596 if test "$TOOLKIT" != "MSW"; then
36597
36598
36599
36600
36601
36602 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36603 if test "${with_libiconv_prefix+set}" = set; then
36604 withval="$with_libiconv_prefix"
36605
36606 for dir in `echo "$withval" | tr : ' '`; do
36607 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36608 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36609 done
36610
36611 fi;
36612
36613 echo "$as_me:$LINENO: checking for iconv" >&5
36614 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36615 if test "${am_cv_func_iconv+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 else
36618
36619 am_cv_func_iconv="no, consider installing GNU libiconv"
36620 am_cv_lib_iconv=no
36621 cat >conftest.$ac_ext <<_ACEOF
36622 /* confdefs.h. */
36623 _ACEOF
36624 cat confdefs.h >>conftest.$ac_ext
36625 cat >>conftest.$ac_ext <<_ACEOF
36626 /* end confdefs.h. */
36627 #include <stdlib.h>
36628 #include <iconv.h>
36629 int
36630 main ()
36631 {
36632 iconv_t cd = iconv_open("","");
36633 iconv(cd,NULL,NULL,NULL,NULL);
36634 iconv_close(cd);
36635 ;
36636 return 0;
36637 }
36638 _ACEOF
36639 rm -f conftest.$ac_objext conftest$ac_exeext
36640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36641 (eval $ac_link) 2>conftest.er1
36642 ac_status=$?
36643 grep -v '^ *+' conftest.er1 >conftest.err
36644 rm -f conftest.er1
36645 cat conftest.err >&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } &&
36648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36650 (eval $ac_try) 2>&5
36651 ac_status=$?
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); }; } &&
36654 { ac_try='test -s conftest$ac_exeext'
36655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36656 (eval $ac_try) 2>&5
36657 ac_status=$?
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); }; }; then
36660 am_cv_func_iconv=yes
36661 else
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36664
36665 fi
36666 rm -f conftest.err conftest.$ac_objext \
36667 conftest$ac_exeext conftest.$ac_ext
36668 if test "$am_cv_func_iconv" != yes; then
36669 am_save_LIBS="$LIBS"
36670 LIBS="$LIBS -liconv"
36671 cat >conftest.$ac_ext <<_ACEOF
36672 /* confdefs.h. */
36673 _ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 #include <stdlib.h>
36678 #include <iconv.h>
36679 int
36680 main ()
36681 {
36682 iconv_t cd = iconv_open("","");
36683 iconv(cd,NULL,NULL,NULL,NULL);
36684 iconv_close(cd);
36685 ;
36686 return 0;
36687 }
36688 _ACEOF
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36691 (eval $ac_link) 2>conftest.er1
36692 ac_status=$?
36693 grep -v '^ *+' conftest.er1 >conftest.err
36694 rm -f conftest.er1
36695 cat conftest.err >&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } &&
36698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36700 (eval $ac_try) 2>&5
36701 ac_status=$?
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); }; } &&
36704 { ac_try='test -s conftest$ac_exeext'
36705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 (eval $ac_try) 2>&5
36707 ac_status=$?
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); }; }; then
36710 am_cv_lib_iconv=yes
36711 am_cv_func_iconv=yes
36712 else
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.$ac_ext >&5
36715
36716 fi
36717 rm -f conftest.err conftest.$ac_objext \
36718 conftest$ac_exeext conftest.$ac_ext
36719 LIBS="$am_save_LIBS"
36720 fi
36721
36722 fi
36723 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36724 echo "${ECHO_T}$am_cv_func_iconv" >&6
36725 if test "$am_cv_func_iconv" = yes; then
36726
36727 cat >>confdefs.h <<\_ACEOF
36728 #define HAVE_ICONV 1
36729 _ACEOF
36730
36731 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36732 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36733 if test "${wx_cv_func_iconv_const+set}" = set; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36735 else
36736 cat >conftest.$ac_ext <<_ACEOF
36737 /* confdefs.h. */
36738 _ACEOF
36739 cat confdefs.h >>conftest.$ac_ext
36740 cat >>conftest.$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36742
36743 #include <stdlib.h>
36744 #include <iconv.h>
36745 extern
36746 #ifdef __cplusplus
36747 "C"
36748 #endif
36749 #if defined(__STDC__) || defined(__cplusplus)
36750 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36751 #else
36752 size_t iconv();
36753 #endif
36754
36755 int
36756 main ()
36757 {
36758
36759 ;
36760 return 0;
36761 }
36762 _ACEOF
36763 rm -f conftest.$ac_objext
36764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36765 (eval $ac_compile) 2>conftest.er1
36766 ac_status=$?
36767 grep -v '^ *+' conftest.er1 >conftest.err
36768 rm -f conftest.er1
36769 cat conftest.err >&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } &&
36772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36775 ac_status=$?
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; } &&
36778 { ac_try='test -s conftest.$ac_objext'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36781 ac_status=$?
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; }; then
36784 wx_cv_func_iconv_const="no"
36785 else
36786 echo "$as_me: failed program was:" >&5
36787 sed 's/^/| /' conftest.$ac_ext >&5
36788
36789 wx_cv_func_iconv_const="yes"
36790
36791 fi
36792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36793
36794 fi
36795 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36796 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36797
36798 iconv_const=
36799 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36800 iconv_const="const"
36801 fi
36802
36803
36804 cat >>confdefs.h <<_ACEOF
36805 #define ICONV_CONST $iconv_const
36806 _ACEOF
36807
36808 fi
36809 LIBICONV=
36810 if test "$am_cv_lib_iconv" = yes; then
36811 LIBICONV="-liconv"
36812 fi
36813
36814
36815 LIBS="$LIBICONV $LIBS"
36816
36817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36818
36819 for ac_func in sigaction
36820 do
36821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36822 echo "$as_me:$LINENO: checking for $ac_func" >&5
36823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36824 if eval "test \"\${$as_ac_var+set}\" = set"; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 else
36827 cat >conftest.$ac_ext <<_ACEOF
36828 /* confdefs.h. */
36829 _ACEOF
36830 cat confdefs.h >>conftest.$ac_ext
36831 cat >>conftest.$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36835 #define $ac_func innocuous_$ac_func
36836
36837 /* System header to define __stub macros and hopefully few prototypes,
36838 which can conflict with char $ac_func (); below.
36839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36840 <limits.h> exists even on freestanding compilers. */
36841
36842 #ifdef __STDC__
36843 # include <limits.h>
36844 #else
36845 # include <assert.h>
36846 #endif
36847
36848 #undef $ac_func
36849
36850 /* Override any gcc2 internal prototype to avoid an error. */
36851 #ifdef __cplusplus
36852 extern "C"
36853 {
36854 #endif
36855 /* We use char because int might match the return type of a gcc2
36856 builtin and then its argument prototype would still apply. */
36857 char $ac_func ();
36858 /* The GNU C library defines this for functions which it implements
36859 to always fail with ENOSYS. Some functions are actually named
36860 something starting with __ and the normal name is an alias. */
36861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36862 choke me
36863 #else
36864 char (*f) () = $ac_func;
36865 #endif
36866 #ifdef __cplusplus
36867 }
36868 #endif
36869
36870 int
36871 main ()
36872 {
36873 return f != $ac_func;
36874 ;
36875 return 0;
36876 }
36877 _ACEOF
36878 rm -f conftest.$ac_objext conftest$ac_exeext
36879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36880 (eval $ac_link) 2>conftest.er1
36881 ac_status=$?
36882 grep -v '^ *+' conftest.er1 >conftest.err
36883 rm -f conftest.er1
36884 cat conftest.err >&5
36885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886 (exit $ac_status); } &&
36887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36889 (eval $ac_try) 2>&5
36890 ac_status=$?
36891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892 (exit $ac_status); }; } &&
36893 { ac_try='test -s conftest$ac_exeext'
36894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36895 (eval $ac_try) 2>&5
36896 ac_status=$?
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); }; }; then
36899 eval "$as_ac_var=yes"
36900 else
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36903
36904 eval "$as_ac_var=no"
36905 fi
36906 rm -f conftest.err conftest.$ac_objext \
36907 conftest$ac_exeext conftest.$ac_ext
36908 fi
36909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36911 if test `eval echo '${'$as_ac_var'}'` = yes; then
36912 cat >>confdefs.h <<_ACEOF
36913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36914 _ACEOF
36915
36916 fi
36917 done
36918
36919
36920 if test "$ac_cv_func_sigaction" = "no"; then
36921 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36922 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36923 wxUSE_ON_FATAL_EXCEPTION=no
36924 fi
36925
36926 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36927 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36928 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36929 if test "${wx_cv_type_sa_handler+set}" = set; then
36930 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 else
36932
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 #include <signal.h>
36940 int
36941 main ()
36942 {
36943
36944 extern void testSigHandler(int);
36945
36946 struct sigaction sa;
36947 sa.sa_handler = testSigHandler;
36948
36949 ;
36950 return 0;
36951 }
36952 _ACEOF
36953 rm -f conftest.$ac_objext
36954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36955 (eval $ac_compile) 2>conftest.er1
36956 ac_status=$?
36957 grep -v '^ *+' conftest.er1 >conftest.err
36958 rm -f conftest.er1
36959 cat conftest.err >&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); } &&
36962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36965 ac_status=$?
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; } &&
36968 { ac_try='test -s conftest.$ac_objext'
36969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36970 (eval $ac_try) 2>&5
36971 ac_status=$?
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); }; }; then
36974
36975 wx_cv_type_sa_handler=int
36976
36977 else
36978 echo "$as_me: failed program was:" >&5
36979 sed 's/^/| /' conftest.$ac_ext >&5
36980
36981
36982 wx_cv_type_sa_handler=void
36983
36984 fi
36985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36986
36987 fi
36988 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36989 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36990
36991 cat >>confdefs.h <<_ACEOF
36992 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36993 _ACEOF
36994
36995 fi
36996 fi
36997
36998 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36999 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37000 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37001 if test "${wx_cv_func_backtrace+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37003 else
37004
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 #include <execinfo.h>
37012 int
37013 main ()
37014 {
37015
37016 void *trace[1];
37017 char **messages;
37018
37019 backtrace(trace, 1);
37020 messages = backtrace_symbols(trace, 1);
37021
37022 ;
37023 return 0;
37024 }
37025 _ACEOF
37026 rm -f conftest.$ac_objext
37027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37028 (eval $ac_compile) 2>conftest.er1
37029 ac_status=$?
37030 grep -v '^ *+' conftest.er1 >conftest.err
37031 rm -f conftest.er1
37032 cat conftest.err >&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } &&
37035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try='test -s conftest.$ac_objext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 wx_cv_func_backtrace=yes
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 wx_cv_func_backtrace=no
37053
37054 fi
37055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37056
37057
37058 fi
37059 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37060 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37061
37062
37063 if test "$wx_cv_func_backtrace" = "no"; then
37064 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37065 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37066 wxUSE_STACKWALKER=no
37067 else
37068 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37069 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37070 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37071 echo $ECHO_N "(cached) $ECHO_C" >&6
37072 else
37073
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h. */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080 #include <cxxabi.h>
37081 int
37082 main ()
37083 {
37084
37085 int rc;
37086 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37087
37088 ;
37089 return 0;
37090 }
37091 _ACEOF
37092 rm -f conftest.$ac_objext conftest$ac_exeext
37093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37094 (eval $ac_link) 2>conftest.er1
37095 ac_status=$?
37096 grep -v '^ *+' conftest.er1 >conftest.err
37097 rm -f conftest.er1
37098 cat conftest.err >&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); } &&
37101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37104 ac_status=$?
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; } &&
37107 { ac_try='test -s conftest$ac_exeext'
37108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37109 (eval $ac_try) 2>&5
37110 ac_status=$?
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); }; }; then
37113 wx_cv_func_cxa_demangle=yes
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118 wx_cv_func_cxa_demangle=no
37119
37120 fi
37121 rm -f conftest.err conftest.$ac_objext \
37122 conftest$ac_exeext conftest.$ac_ext
37123
37124
37125 fi
37126 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37127 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37128
37129 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37130 cat >>confdefs.h <<\_ACEOF
37131 #define HAVE_CXA_DEMANGLE 1
37132 _ACEOF
37133
37134 fi
37135 fi
37136 fi
37137
37138 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37139 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37140 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37141 wxUSE_STACKWALKER=no
37142 fi
37143
37144
37145
37146
37147 for ac_func in mkstemp mktemp
37148 do
37149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37150 echo "$as_me:$LINENO: checking for $ac_func" >&5
37151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37152 if eval "test \"\${$as_ac_var+set}\" = set"; then
37153 echo $ECHO_N "(cached) $ECHO_C" >&6
37154 else
37155 cat >conftest.$ac_ext <<_ACEOF
37156 /* confdefs.h. */
37157 _ACEOF
37158 cat confdefs.h >>conftest.$ac_ext
37159 cat >>conftest.$ac_ext <<_ACEOF
37160 /* end confdefs.h. */
37161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37163 #define $ac_func innocuous_$ac_func
37164
37165 /* System header to define __stub macros and hopefully few prototypes,
37166 which can conflict with char $ac_func (); below.
37167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37168 <limits.h> exists even on freestanding compilers. */
37169
37170 #ifdef __STDC__
37171 # include <limits.h>
37172 #else
37173 # include <assert.h>
37174 #endif
37175
37176 #undef $ac_func
37177
37178 /* Override any gcc2 internal prototype to avoid an error. */
37179 #ifdef __cplusplus
37180 extern "C"
37181 {
37182 #endif
37183 /* We use char because int might match the return type of a gcc2
37184 builtin and then its argument prototype would still apply. */
37185 char $ac_func ();
37186 /* The GNU C library defines this for functions which it implements
37187 to always fail with ENOSYS. Some functions are actually named
37188 something starting with __ and the normal name is an alias. */
37189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37190 choke me
37191 #else
37192 char (*f) () = $ac_func;
37193 #endif
37194 #ifdef __cplusplus
37195 }
37196 #endif
37197
37198 int
37199 main ()
37200 {
37201 return f != $ac_func;
37202 ;
37203 return 0;
37204 }
37205 _ACEOF
37206 rm -f conftest.$ac_objext conftest$ac_exeext
37207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37208 (eval $ac_link) 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } &&
37215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37217 (eval $ac_try) 2>&5
37218 ac_status=$?
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); }; } &&
37221 { ac_try='test -s conftest$ac_exeext'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; }; then
37227 eval "$as_ac_var=yes"
37228 else
37229 echo "$as_me: failed program was:" >&5
37230 sed 's/^/| /' conftest.$ac_ext >&5
37231
37232 eval "$as_ac_var=no"
37233 fi
37234 rm -f conftest.err conftest.$ac_objext \
37235 conftest$ac_exeext conftest.$ac_ext
37236 fi
37237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37239 if test `eval echo '${'$as_ac_var'}'` = yes; then
37240 cat >>confdefs.h <<_ACEOF
37241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37242 _ACEOF
37243 break
37244 fi
37245 done
37246
37247
37248 echo "$as_me:$LINENO: checking for statfs" >&5
37249 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37250 if test "${wx_cv_func_statfs+set}" = set; then
37251 echo $ECHO_N "(cached) $ECHO_C" >&6
37252 else
37253 cat >conftest.$ac_ext <<_ACEOF
37254 /* confdefs.h. */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37259
37260 #if defined(__BSD__)
37261 #include <sys/param.h>
37262 #include <sys/mount.h>
37263 #else
37264 #include <sys/vfs.h>
37265 #endif
37266
37267 int
37268 main ()
37269 {
37270
37271 long l;
37272 struct statfs fs;
37273 statfs("/", &fs);
37274 l = fs.f_bsize;
37275 l += fs.f_blocks;
37276 l += fs.f_bavail;
37277
37278 ;
37279 return 0;
37280 }
37281 _ACEOF
37282 rm -f conftest.$ac_objext
37283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37284 (eval $ac_compile) 2>conftest.er1
37285 ac_status=$?
37286 grep -v '^ *+' conftest.er1 >conftest.err
37287 rm -f conftest.er1
37288 cat conftest.err >&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } &&
37291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37293 (eval $ac_try) 2>&5
37294 ac_status=$?
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); }; } &&
37297 { ac_try='test -s conftest.$ac_objext'
37298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37299 (eval $ac_try) 2>&5
37300 ac_status=$?
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); }; }; then
37303 wx_cv_func_statfs=yes
37304 else
37305 echo "$as_me: failed program was:" >&5
37306 sed 's/^/| /' conftest.$ac_ext >&5
37307
37308 wx_cv_func_statfs=no
37309
37310 fi
37311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37312
37313 fi
37314 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37315 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37316
37317 if test "$wx_cv_func_statfs" = "yes"; then
37318 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37319 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37320 if test "${wx_cv_func_statfs_decl+set}" = set; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 else
37323 cat >conftest.$ac_ext <<_ACEOF
37324 /* confdefs.h. */
37325 _ACEOF
37326 cat confdefs.h >>conftest.$ac_ext
37327 cat >>conftest.$ac_ext <<_ACEOF
37328 /* end confdefs.h. */
37329
37330 #if defined(__BSD__)
37331 #include <sys/param.h>
37332 #include <sys/mount.h>
37333 #else
37334 #include <sys/vfs.h>
37335 #endif
37336
37337 int
37338 main ()
37339 {
37340
37341 struct statfs fs;
37342 statfs("", &fs);
37343
37344 ;
37345 return 0;
37346 }
37347 _ACEOF
37348 rm -f conftest.$ac_objext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37350 (eval $ac_compile) 2>conftest.er1
37351 ac_status=$?
37352 grep -v '^ *+' conftest.er1 >conftest.err
37353 rm -f conftest.er1
37354 cat conftest.err >&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37359 (eval $ac_try) 2>&5
37360 ac_status=$?
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); }; } &&
37363 { ac_try='test -s conftest.$ac_objext'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37366 ac_status=$?
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }; then
37369 wx_cv_func_statfs_decl=yes
37370 else
37371 echo "$as_me: failed program was:" >&5
37372 sed 's/^/| /' conftest.$ac_ext >&5
37373
37374 wx_cv_func_statfs_decl=no
37375
37376 fi
37377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37378
37379 fi
37380 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37381 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37382
37383 if test "$wx_cv_func_statfs_decl" = "yes"; then
37384 cat >>confdefs.h <<\_ACEOF
37385 #define HAVE_STATFS_DECL 1
37386 _ACEOF
37387
37388 fi
37389
37390 wx_cv_type_statvfs_t="struct statfs"
37391 cat >>confdefs.h <<\_ACEOF
37392 #define HAVE_STATFS 1
37393 _ACEOF
37394
37395 else
37396 echo "$as_me:$LINENO: checking for statvfs" >&5
37397 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37398 if test "${wx_cv_func_statvfs+set}" = set; then
37399 echo $ECHO_N "(cached) $ECHO_C" >&6
37400 else
37401 cat >conftest.$ac_ext <<_ACEOF
37402 /* confdefs.h. */
37403 _ACEOF
37404 cat confdefs.h >>conftest.$ac_ext
37405 cat >>conftest.$ac_ext <<_ACEOF
37406 /* end confdefs.h. */
37407
37408 #include <stddef.h>
37409 #include <sys/statvfs.h>
37410
37411 int
37412 main ()
37413 {
37414
37415 statvfs("/", NULL);
37416
37417 ;
37418 return 0;
37419 }
37420 _ACEOF
37421 rm -f conftest.$ac_objext
37422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37423 (eval $ac_compile) 2>conftest.er1
37424 ac_status=$?
37425 grep -v '^ *+' conftest.er1 >conftest.err
37426 rm -f conftest.er1
37427 cat conftest.err >&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } &&
37430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432 (eval $ac_try) 2>&5
37433 ac_status=$?
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); }; } &&
37436 { ac_try='test -s conftest.$ac_objext'
37437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37438 (eval $ac_try) 2>&5
37439 ac_status=$?
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); }; }; then
37442 wx_cv_func_statvfs=yes
37443 else
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37446
37447 wx_cv_func_statvfs=no
37448
37449 fi
37450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37451
37452 fi
37453 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37454 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37455
37456 if test "$wx_cv_func_statvfs" = "yes"; then
37457 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37458 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37459 if test "${wx_cv_type_statvfs_t+set}" = set; then
37460 echo $ECHO_N "(cached) $ECHO_C" >&6
37461 else
37462 cat >conftest.$ac_ext <<_ACEOF
37463 /* confdefs.h. */
37464 _ACEOF
37465 cat confdefs.h >>conftest.$ac_ext
37466 cat >>conftest.$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37468
37469 #include <sys/statvfs.h>
37470
37471 int
37472 main ()
37473 {
37474
37475 long l;
37476 statvfs_t fs;
37477 statvfs("/", &fs);
37478 l = fs.f_bsize;
37479 l += fs.f_blocks;
37480 l += fs.f_bavail;
37481
37482 ;
37483 return 0;
37484 }
37485 _ACEOF
37486 rm -f conftest.$ac_objext
37487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37488 (eval $ac_compile) 2>conftest.er1
37489 ac_status=$?
37490 grep -v '^ *+' conftest.er1 >conftest.err
37491 rm -f conftest.er1
37492 cat conftest.err >&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } &&
37495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37497 (eval $ac_try) 2>&5
37498 ac_status=$?
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); }; } &&
37501 { ac_try='test -s conftest.$ac_objext'
37502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37503 (eval $ac_try) 2>&5
37504 ac_status=$?
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); }; }; then
37507 wx_cv_type_statvfs_t=statvfs_t
37508 else
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.$ac_ext >&5
37511
37512
37513 cat >conftest.$ac_ext <<_ACEOF
37514 /* confdefs.h. */
37515 _ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519
37520 #include <sys/statvfs.h>
37521
37522 int
37523 main ()
37524 {
37525
37526 long l;
37527 struct statvfs fs;
37528 statvfs("/", &fs);
37529 l = fs.f_bsize;
37530 l += fs.f_blocks;
37531 l += fs.f_bavail;
37532
37533 ;
37534 return 0;
37535 }
37536 _ACEOF
37537 rm -f conftest.$ac_objext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37539 (eval $ac_compile) 2>conftest.er1
37540 ac_status=$?
37541 grep -v '^ *+' conftest.er1 >conftest.err
37542 rm -f conftest.er1
37543 cat conftest.err >&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); } &&
37546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37552 { ac_try='test -s conftest.$ac_objext'
37553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37554 (eval $ac_try) 2>&5
37555 ac_status=$?
37556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); }; }; then
37558 wx_cv_type_statvfs_t="struct statvfs"
37559 else
37560 echo "$as_me: failed program was:" >&5
37561 sed 's/^/| /' conftest.$ac_ext >&5
37562
37563 wx_cv_type_statvfs_t="unknown"
37564
37565 fi
37566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37567
37568
37569 fi
37570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37571
37572 fi
37573 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37574 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37575
37576 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37577 cat >>confdefs.h <<\_ACEOF
37578 #define HAVE_STATVFS 1
37579 _ACEOF
37580
37581 fi
37582 else
37583 wx_cv_type_statvfs_t="unknown"
37584 fi
37585 fi
37586
37587 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37588 cat >>confdefs.h <<_ACEOF
37589 #define WX_STATFS_T $wx_cv_type_statvfs_t
37590 _ACEOF
37591
37592 else
37593 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37594 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37595 fi
37596
37597 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37598
37599
37600 for ac_func in fcntl flock
37601 do
37602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37603 echo "$as_me:$LINENO: checking for $ac_func" >&5
37604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37605 if eval "test \"\${$as_ac_var+set}\" = set"; then
37606 echo $ECHO_N "(cached) $ECHO_C" >&6
37607 else
37608 cat >conftest.$ac_ext <<_ACEOF
37609 /* confdefs.h. */
37610 _ACEOF
37611 cat confdefs.h >>conftest.$ac_ext
37612 cat >>conftest.$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37616 #define $ac_func innocuous_$ac_func
37617
37618 /* System header to define __stub macros and hopefully few prototypes,
37619 which can conflict with char $ac_func (); below.
37620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37621 <limits.h> exists even on freestanding compilers. */
37622
37623 #ifdef __STDC__
37624 # include <limits.h>
37625 #else
37626 # include <assert.h>
37627 #endif
37628
37629 #undef $ac_func
37630
37631 /* Override any gcc2 internal prototype to avoid an error. */
37632 #ifdef __cplusplus
37633 extern "C"
37634 {
37635 #endif
37636 /* We use char because int might match the return type of a gcc2
37637 builtin and then its argument prototype would still apply. */
37638 char $ac_func ();
37639 /* The GNU C library defines this for functions which it implements
37640 to always fail with ENOSYS. Some functions are actually named
37641 something starting with __ and the normal name is an alias. */
37642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37643 choke me
37644 #else
37645 char (*f) () = $ac_func;
37646 #endif
37647 #ifdef __cplusplus
37648 }
37649 #endif
37650
37651 int
37652 main ()
37653 {
37654 return f != $ac_func;
37655 ;
37656 return 0;
37657 }
37658 _ACEOF
37659 rm -f conftest.$ac_objext conftest$ac_exeext
37660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37661 (eval $ac_link) 2>conftest.er1
37662 ac_status=$?
37663 grep -v '^ *+' conftest.er1 >conftest.err
37664 rm -f conftest.er1
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } &&
37668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37671 ac_status=$?
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; } &&
37674 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37680 eval "$as_ac_var=yes"
37681 else
37682 echo "$as_me: failed program was:" >&5
37683 sed 's/^/| /' conftest.$ac_ext >&5
37684
37685 eval "$as_ac_var=no"
37686 fi
37687 rm -f conftest.err conftest.$ac_objext \
37688 conftest$ac_exeext conftest.$ac_ext
37689 fi
37690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37692 if test `eval echo '${'$as_ac_var'}'` = yes; then
37693 cat >>confdefs.h <<_ACEOF
37694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37695 _ACEOF
37696 break
37697 fi
37698 done
37699
37700
37701 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37702 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37703 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37704 wxUSE_SNGLINST_CHECKER=no
37705 fi
37706 fi
37707
37708
37709 for ac_func in timegm
37710 do
37711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37712 echo "$as_me:$LINENO: checking for $ac_func" >&5
37713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37714 if eval "test \"\${$as_ac_var+set}\" = set"; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 else
37717 cat >conftest.$ac_ext <<_ACEOF
37718 /* confdefs.h. */
37719 _ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37725 #define $ac_func innocuous_$ac_func
37726
37727 /* System header to define __stub macros and hopefully few prototypes,
37728 which can conflict with char $ac_func (); below.
37729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37730 <limits.h> exists even on freestanding compilers. */
37731
37732 #ifdef __STDC__
37733 # include <limits.h>
37734 #else
37735 # include <assert.h>
37736 #endif
37737
37738 #undef $ac_func
37739
37740 /* Override any gcc2 internal prototype to avoid an error. */
37741 #ifdef __cplusplus
37742 extern "C"
37743 {
37744 #endif
37745 /* We use char because int might match the return type of a gcc2
37746 builtin and then its argument prototype would still apply. */
37747 char $ac_func ();
37748 /* The GNU C library defines this for functions which it implements
37749 to always fail with ENOSYS. Some functions are actually named
37750 something starting with __ and the normal name is an alias. */
37751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37752 choke me
37753 #else
37754 char (*f) () = $ac_func;
37755 #endif
37756 #ifdef __cplusplus
37757 }
37758 #endif
37759
37760 int
37761 main ()
37762 {
37763 return f != $ac_func;
37764 ;
37765 return 0;
37766 }
37767 _ACEOF
37768 rm -f conftest.$ac_objext conftest$ac_exeext
37769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37770 (eval $ac_link) 2>conftest.er1
37771 ac_status=$?
37772 grep -v '^ *+' conftest.er1 >conftest.err
37773 rm -f conftest.er1
37774 cat conftest.err >&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } &&
37777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37780 ac_status=$?
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try='test -s conftest$ac_exeext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37786 ac_status=$?
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 eval "$as_ac_var=yes"
37790 else
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37793
37794 eval "$as_ac_var=no"
37795 fi
37796 rm -f conftest.err conftest.$ac_objext \
37797 conftest$ac_exeext conftest.$ac_ext
37798 fi
37799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 _ACEOF
37805
37806 fi
37807 done
37808
37809
37810
37811
37812 for ac_func in putenv setenv
37813 do
37814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37815 echo "$as_me:$LINENO: checking for $ac_func" >&5
37816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37817 if eval "test \"\${$as_ac_var+set}\" = set"; then
37818 echo $ECHO_N "(cached) $ECHO_C" >&6
37819 else
37820 cat >conftest.$ac_ext <<_ACEOF
37821 /* confdefs.h. */
37822 _ACEOF
37823 cat confdefs.h >>conftest.$ac_ext
37824 cat >>conftest.$ac_ext <<_ACEOF
37825 /* end confdefs.h. */
37826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37828 #define $ac_func innocuous_$ac_func
37829
37830 /* System header to define __stub macros and hopefully few prototypes,
37831 which can conflict with char $ac_func (); below.
37832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37833 <limits.h> exists even on freestanding compilers. */
37834
37835 #ifdef __STDC__
37836 # include <limits.h>
37837 #else
37838 # include <assert.h>
37839 #endif
37840
37841 #undef $ac_func
37842
37843 /* Override any gcc2 internal prototype to avoid an error. */
37844 #ifdef __cplusplus
37845 extern "C"
37846 {
37847 #endif
37848 /* We use char because int might match the return type of a gcc2
37849 builtin and then its argument prototype would still apply. */
37850 char $ac_func ();
37851 /* The GNU C library defines this for functions which it implements
37852 to always fail with ENOSYS. Some functions are actually named
37853 something starting with __ and the normal name is an alias. */
37854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37855 choke me
37856 #else
37857 char (*f) () = $ac_func;
37858 #endif
37859 #ifdef __cplusplus
37860 }
37861 #endif
37862
37863 int
37864 main ()
37865 {
37866 return f != $ac_func;
37867 ;
37868 return 0;
37869 }
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37873 (eval $ac_link) 2>conftest.er1
37874 ac_status=$?
37875 grep -v '^ *+' conftest.er1 >conftest.err
37876 rm -f conftest.er1
37877 cat conftest.err >&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } &&
37880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37882 (eval $ac_try) 2>&5
37883 ac_status=$?
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); }; } &&
37886 { ac_try='test -s conftest$ac_exeext'
37887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37888 (eval $ac_try) 2>&5
37889 ac_status=$?
37890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891 (exit $ac_status); }; }; then
37892 eval "$as_ac_var=yes"
37893 else
37894 echo "$as_me: failed program was:" >&5
37895 sed 's/^/| /' conftest.$ac_ext >&5
37896
37897 eval "$as_ac_var=no"
37898 fi
37899 rm -f conftest.err conftest.$ac_objext \
37900 conftest$ac_exeext conftest.$ac_ext
37901 fi
37902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37904 if test `eval echo '${'$as_ac_var'}'` = yes; then
37905 cat >>confdefs.h <<_ACEOF
37906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37907 _ACEOF
37908 break
37909 fi
37910 done
37911
37912
37913 HAVE_SOME_SLEEP_FUNC=0
37914 if test "$USE_BEOS" = 1; then
37915 cat >>confdefs.h <<\_ACEOF
37916 #define HAVE_SLEEP 1
37917 _ACEOF
37918
37919 HAVE_SOME_SLEEP_FUNC=1
37920 fi
37921
37922 if test "$USE_DARWIN" = 1; then
37923 cat >>confdefs.h <<\_ACEOF
37924 #define HAVE_USLEEP 1
37925 _ACEOF
37926
37927 HAVE_SOME_SLEEP_FUNC=1
37928 fi
37929
37930 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37931 POSIX4_LINK=
37932
37933 for ac_func in nanosleep
37934 do
37935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37936 echo "$as_me:$LINENO: checking for $ac_func" >&5
37937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37938 if eval "test \"\${$as_ac_var+set}\" = set"; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37940 else
37941 cat >conftest.$ac_ext <<_ACEOF
37942 /* confdefs.h. */
37943 _ACEOF
37944 cat confdefs.h >>conftest.$ac_ext
37945 cat >>conftest.$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37949 #define $ac_func innocuous_$ac_func
37950
37951 /* System header to define __stub macros and hopefully few prototypes,
37952 which can conflict with char $ac_func (); below.
37953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37954 <limits.h> exists even on freestanding compilers. */
37955
37956 #ifdef __STDC__
37957 # include <limits.h>
37958 #else
37959 # include <assert.h>
37960 #endif
37961
37962 #undef $ac_func
37963
37964 /* Override any gcc2 internal prototype to avoid an error. */
37965 #ifdef __cplusplus
37966 extern "C"
37967 {
37968 #endif
37969 /* We use char because int might match the return type of a gcc2
37970 builtin and then its argument prototype would still apply. */
37971 char $ac_func ();
37972 /* The GNU C library defines this for functions which it implements
37973 to always fail with ENOSYS. Some functions are actually named
37974 something starting with __ and the normal name is an alias. */
37975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37976 choke me
37977 #else
37978 char (*f) () = $ac_func;
37979 #endif
37980 #ifdef __cplusplus
37981 }
37982 #endif
37983
37984 int
37985 main ()
37986 {
37987 return f != $ac_func;
37988 ;
37989 return 0;
37990 }
37991 _ACEOF
37992 rm -f conftest.$ac_objext conftest$ac_exeext
37993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37994 (eval $ac_link) 2>conftest.er1
37995 ac_status=$?
37996 grep -v '^ *+' conftest.er1 >conftest.err
37997 rm -f conftest.er1
37998 cat conftest.err >&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } &&
38001 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38004 ac_status=$?
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; } &&
38007 { ac_try='test -s conftest$ac_exeext'
38008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38009 (eval $ac_try) 2>&5
38010 ac_status=$?
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); }; }; then
38013 eval "$as_ac_var=yes"
38014 else
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.$ac_ext >&5
38017
38018 eval "$as_ac_var=no"
38019 fi
38020 rm -f conftest.err conftest.$ac_objext \
38021 conftest$ac_exeext conftest.$ac_ext
38022 fi
38023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38025 if test `eval echo '${'$as_ac_var'}'` = yes; then
38026 cat >>confdefs.h <<_ACEOF
38027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38028 _ACEOF
38029 cat >>confdefs.h <<\_ACEOF
38030 #define HAVE_NANOSLEEP 1
38031 _ACEOF
38032
38033 else
38034
38035 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38036 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38037 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040 ac_check_lib_save_LIBS=$LIBS
38041 LIBS="-lposix4 $LIBS"
38042 cat >conftest.$ac_ext <<_ACEOF
38043 /* confdefs.h. */
38044 _ACEOF
38045 cat confdefs.h >>conftest.$ac_ext
38046 cat >>conftest.$ac_ext <<_ACEOF
38047 /* end confdefs.h. */
38048
38049 /* Override any gcc2 internal prototype to avoid an error. */
38050 #ifdef __cplusplus
38051 extern "C"
38052 #endif
38053 /* We use char because int might match the return type of a gcc2
38054 builtin and then its argument prototype would still apply. */
38055 char nanosleep ();
38056 int
38057 main ()
38058 {
38059 nanosleep ();
38060 ;
38061 return 0;
38062 }
38063 _ACEOF
38064 rm -f conftest.$ac_objext conftest$ac_exeext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38066 (eval $ac_link) 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } &&
38073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38075 (eval $ac_try) 2>&5
38076 ac_status=$?
38077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38078 (exit $ac_status); }; } &&
38079 { ac_try='test -s conftest$ac_exeext'
38080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38081 (eval $ac_try) 2>&5
38082 ac_status=$?
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); }; }; then
38085 ac_cv_lib_posix4_nanosleep=yes
38086 else
38087 echo "$as_me: failed program was:" >&5
38088 sed 's/^/| /' conftest.$ac_ext >&5
38089
38090 ac_cv_lib_posix4_nanosleep=no
38091 fi
38092 rm -f conftest.err conftest.$ac_objext \
38093 conftest$ac_exeext conftest.$ac_ext
38094 LIBS=$ac_check_lib_save_LIBS
38095 fi
38096 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38097 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38098 if test $ac_cv_lib_posix4_nanosleep = yes; then
38099
38100 cat >>confdefs.h <<\_ACEOF
38101 #define HAVE_NANOSLEEP 1
38102 _ACEOF
38103
38104 POSIX4_LINK=" -lposix4"
38105
38106 else
38107
38108
38109 for ac_func in usleep
38110 do
38111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38112 echo "$as_me:$LINENO: checking for $ac_func" >&5
38113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38114 if eval "test \"\${$as_ac_var+set}\" = set"; then
38115 echo $ECHO_N "(cached) $ECHO_C" >&6
38116 else
38117 cat >conftest.$ac_ext <<_ACEOF
38118 /* confdefs.h. */
38119 _ACEOF
38120 cat confdefs.h >>conftest.$ac_ext
38121 cat >>conftest.$ac_ext <<_ACEOF
38122 /* end confdefs.h. */
38123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38125 #define $ac_func innocuous_$ac_func
38126
38127 /* System header to define __stub macros and hopefully few prototypes,
38128 which can conflict with char $ac_func (); below.
38129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38130 <limits.h> exists even on freestanding compilers. */
38131
38132 #ifdef __STDC__
38133 # include <limits.h>
38134 #else
38135 # include <assert.h>
38136 #endif
38137
38138 #undef $ac_func
38139
38140 /* Override any gcc2 internal prototype to avoid an error. */
38141 #ifdef __cplusplus
38142 extern "C"
38143 {
38144 #endif
38145 /* We use char because int might match the return type of a gcc2
38146 builtin and then its argument prototype would still apply. */
38147 char $ac_func ();
38148 /* The GNU C library defines this for functions which it implements
38149 to always fail with ENOSYS. Some functions are actually named
38150 something starting with __ and the normal name is an alias. */
38151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38152 choke me
38153 #else
38154 char (*f) () = $ac_func;
38155 #endif
38156 #ifdef __cplusplus
38157 }
38158 #endif
38159
38160 int
38161 main ()
38162 {
38163 return f != $ac_func;
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 rm -f conftest.$ac_objext conftest$ac_exeext
38169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38170 (eval $ac_link) 2>conftest.er1
38171 ac_status=$?
38172 grep -v '^ *+' conftest.er1 >conftest.err
38173 rm -f conftest.er1
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } &&
38177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179 (eval $ac_try) 2>&5
38180 ac_status=$?
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); }; } &&
38183 { ac_try='test -s conftest$ac_exeext'
38184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38185 (eval $ac_try) 2>&5
38186 ac_status=$?
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); }; }; then
38189 eval "$as_ac_var=yes"
38190 else
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38193
38194 eval "$as_ac_var=no"
38195 fi
38196 rm -f conftest.err conftest.$ac_objext \
38197 conftest$ac_exeext conftest.$ac_ext
38198 fi
38199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38201 if test `eval echo '${'$as_ac_var'}'` = yes; then
38202 cat >>confdefs.h <<_ACEOF
38203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38204 _ACEOF
38205 cat >>confdefs.h <<\_ACEOF
38206 #define HAVE_USLEEP 1
38207 _ACEOF
38208
38209 else
38210 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38211 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38212
38213 fi
38214 done
38215
38216
38217
38218 fi
38219
38220
38221
38222 fi
38223 done
38224
38225 fi
38226
38227
38228
38229 for ac_func in uname gethostname
38230 do
38231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38232 echo "$as_me:$LINENO: checking for $ac_func" >&5
38233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38234 if eval "test \"\${$as_ac_var+set}\" = set"; then
38235 echo $ECHO_N "(cached) $ECHO_C" >&6
38236 else
38237 cat >conftest.$ac_ext <<_ACEOF
38238 /* confdefs.h. */
38239 _ACEOF
38240 cat confdefs.h >>conftest.$ac_ext
38241 cat >>conftest.$ac_ext <<_ACEOF
38242 /* end confdefs.h. */
38243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38245 #define $ac_func innocuous_$ac_func
38246
38247 /* System header to define __stub macros and hopefully few prototypes,
38248 which can conflict with char $ac_func (); below.
38249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38250 <limits.h> exists even on freestanding compilers. */
38251
38252 #ifdef __STDC__
38253 # include <limits.h>
38254 #else
38255 # include <assert.h>
38256 #endif
38257
38258 #undef $ac_func
38259
38260 /* Override any gcc2 internal prototype to avoid an error. */
38261 #ifdef __cplusplus
38262 extern "C"
38263 {
38264 #endif
38265 /* We use char because int might match the return type of a gcc2
38266 builtin and then its argument prototype would still apply. */
38267 char $ac_func ();
38268 /* The GNU C library defines this for functions which it implements
38269 to always fail with ENOSYS. Some functions are actually named
38270 something starting with __ and the normal name is an alias. */
38271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38272 choke me
38273 #else
38274 char (*f) () = $ac_func;
38275 #endif
38276 #ifdef __cplusplus
38277 }
38278 #endif
38279
38280 int
38281 main ()
38282 {
38283 return f != $ac_func;
38284 ;
38285 return 0;
38286 }
38287 _ACEOF
38288 rm -f conftest.$ac_objext conftest$ac_exeext
38289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38290 (eval $ac_link) 2>conftest.er1
38291 ac_status=$?
38292 grep -v '^ *+' conftest.er1 >conftest.err
38293 rm -f conftest.er1
38294 cat conftest.err >&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); } &&
38297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38299 (eval $ac_try) 2>&5
38300 ac_status=$?
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); }; } &&
38303 { ac_try='test -s conftest$ac_exeext'
38304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38305 (eval $ac_try) 2>&5
38306 ac_status=$?
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; }; then
38309 eval "$as_ac_var=yes"
38310 else
38311 echo "$as_me: failed program was:" >&5
38312 sed 's/^/| /' conftest.$ac_ext >&5
38313
38314 eval "$as_ac_var=no"
38315 fi
38316 rm -f conftest.err conftest.$ac_objext \
38317 conftest$ac_exeext conftest.$ac_ext
38318 fi
38319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38321 if test `eval echo '${'$as_ac_var'}'` = yes; then
38322 cat >>confdefs.h <<_ACEOF
38323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38324 _ACEOF
38325 break
38326 fi
38327 done
38328
38329
38330
38331 for wx_func in strtok_r
38332 do
38333 echo "$as_me:$LINENO: checking for $wx_func" >&5
38334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38335 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38336 echo $ECHO_N "(cached) $ECHO_C" >&6
38337 else
38338
38339 cat >conftest.$ac_ext <<_ACEOF
38340
38341 /* confdefs.h. */
38342 _ACEOF
38343 cat confdefs.h >>conftest.$ac_ext
38344 cat >>conftest.$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38346
38347 #define _REENTRANT
38348 $ac_includes_default
38349
38350 int
38351 main ()
38352 {
38353
38354 #ifndef $wx_func
38355 &$wx_func;
38356 #endif
38357
38358
38359 ;
38360 return 0;
38361 }
38362
38363 _ACEOF
38364 rm -f conftest.$ac_objext conftest$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38367 ac_status=$?
38368 grep -v '^ *+' conftest.er1 >conftest.err
38369 rm -f conftest.er1
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38375 (eval $ac_try) 2>&5
38376 ac_status=$?
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); }; } &&
38379 { ac_try='test -s conftest$ac_exeext'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38382 ac_status=$?
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; }; then
38385 eval wx_cv_func_$wx_func=yes
38386 else
38387 echo "$as_me: failed program was:" >&5
38388 sed 's/^/| /' conftest.$ac_ext >&5
38389
38390 eval wx_cv_func_$wx_func=no
38391 fi
38392 rm -f conftest.err conftest.$ac_objext \
38393 conftest$ac_exeext conftest.$ac_ext
38394
38395 fi
38396 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38397 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38398
38399 if eval test \$wx_cv_func_$wx_func = yes
38400 then
38401 cat >>confdefs.h <<_ACEOF
38402 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38403 _ACEOF
38404
38405
38406 else
38407 :
38408
38409 fi
38410 done
38411
38412
38413 INET_LINK=
38414
38415 for ac_func in inet_addr
38416 do
38417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38418 echo "$as_me:$LINENO: checking for $ac_func" >&5
38419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38420 if eval "test \"\${$as_ac_var+set}\" = set"; then
38421 echo $ECHO_N "(cached) $ECHO_C" >&6
38422 else
38423 cat >conftest.$ac_ext <<_ACEOF
38424 /* confdefs.h. */
38425 _ACEOF
38426 cat confdefs.h >>conftest.$ac_ext
38427 cat >>conftest.$ac_ext <<_ACEOF
38428 /* end confdefs.h. */
38429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38431 #define $ac_func innocuous_$ac_func
38432
38433 /* System header to define __stub macros and hopefully few prototypes,
38434 which can conflict with char $ac_func (); below.
38435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38436 <limits.h> exists even on freestanding compilers. */
38437
38438 #ifdef __STDC__
38439 # include <limits.h>
38440 #else
38441 # include <assert.h>
38442 #endif
38443
38444 #undef $ac_func
38445
38446 /* Override any gcc2 internal prototype to avoid an error. */
38447 #ifdef __cplusplus
38448 extern "C"
38449 {
38450 #endif
38451 /* We use char because int might match the return type of a gcc2
38452 builtin and then its argument prototype would still apply. */
38453 char $ac_func ();
38454 /* The GNU C library defines this for functions which it implements
38455 to always fail with ENOSYS. Some functions are actually named
38456 something starting with __ and the normal name is an alias. */
38457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38458 choke me
38459 #else
38460 char (*f) () = $ac_func;
38461 #endif
38462 #ifdef __cplusplus
38463 }
38464 #endif
38465
38466 int
38467 main ()
38468 {
38469 return f != $ac_func;
38470 ;
38471 return 0;
38472 }
38473 _ACEOF
38474 rm -f conftest.$ac_objext conftest$ac_exeext
38475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38476 (eval $ac_link) 2>conftest.er1
38477 ac_status=$?
38478 grep -v '^ *+' conftest.er1 >conftest.err
38479 rm -f conftest.er1
38480 cat conftest.err >&5
38481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38482 (exit $ac_status); } &&
38483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38485 (eval $ac_try) 2>&5
38486 ac_status=$?
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); }; } &&
38489 { ac_try='test -s conftest$ac_exeext'
38490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38491 (eval $ac_try) 2>&5
38492 ac_status=$?
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); }; }; then
38495 eval "$as_ac_var=yes"
38496 else
38497 echo "$as_me: failed program was:" >&5
38498 sed 's/^/| /' conftest.$ac_ext >&5
38499
38500 eval "$as_ac_var=no"
38501 fi
38502 rm -f conftest.err conftest.$ac_objext \
38503 conftest$ac_exeext conftest.$ac_ext
38504 fi
38505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38507 if test `eval echo '${'$as_ac_var'}'` = yes; then
38508 cat >>confdefs.h <<_ACEOF
38509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38510 _ACEOF
38511 cat >>confdefs.h <<\_ACEOF
38512 #define HAVE_INET_ADDR 1
38513 _ACEOF
38514
38515 else
38516
38517 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38518 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38519 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 else
38522 ac_check_lib_save_LIBS=$LIBS
38523 LIBS="-lnsl $LIBS"
38524 cat >conftest.$ac_ext <<_ACEOF
38525 /* confdefs.h. */
38526 _ACEOF
38527 cat confdefs.h >>conftest.$ac_ext
38528 cat >>conftest.$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38530
38531 /* Override any gcc2 internal prototype to avoid an error. */
38532 #ifdef __cplusplus
38533 extern "C"
38534 #endif
38535 /* We use char because int might match the return type of a gcc2
38536 builtin and then its argument prototype would still apply. */
38537 char inet_addr ();
38538 int
38539 main ()
38540 {
38541 inet_addr ();
38542 ;
38543 return 0;
38544 }
38545 _ACEOF
38546 rm -f conftest.$ac_objext conftest$ac_exeext
38547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38548 (eval $ac_link) 2>conftest.er1
38549 ac_status=$?
38550 grep -v '^ *+' conftest.er1 >conftest.err
38551 rm -f conftest.er1
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } &&
38555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38558 ac_status=$?
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; } &&
38561 { ac_try='test -s conftest$ac_exeext'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38564 ac_status=$?
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; }; then
38567 ac_cv_lib_nsl_inet_addr=yes
38568 else
38569 echo "$as_me: failed program was:" >&5
38570 sed 's/^/| /' conftest.$ac_ext >&5
38571
38572 ac_cv_lib_nsl_inet_addr=no
38573 fi
38574 rm -f conftest.err conftest.$ac_objext \
38575 conftest$ac_exeext conftest.$ac_ext
38576 LIBS=$ac_check_lib_save_LIBS
38577 fi
38578 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38579 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38580 if test $ac_cv_lib_nsl_inet_addr = yes; then
38581 INET_LINK="nsl"
38582 else
38583
38584 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38585 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38586 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38589 ac_check_lib_save_LIBS=$LIBS
38590 LIBS="-lresolv $LIBS"
38591 cat >conftest.$ac_ext <<_ACEOF
38592 /* confdefs.h. */
38593 _ACEOF
38594 cat confdefs.h >>conftest.$ac_ext
38595 cat >>conftest.$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38597
38598 /* Override any gcc2 internal prototype to avoid an error. */
38599 #ifdef __cplusplus
38600 extern "C"
38601 #endif
38602 /* We use char because int might match the return type of a gcc2
38603 builtin and then its argument prototype would still apply. */
38604 char inet_addr ();
38605 int
38606 main ()
38607 {
38608 inet_addr ();
38609 ;
38610 return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext conftest$ac_exeext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38615 (eval $ac_link) 2>conftest.er1
38616 ac_status=$?
38617 grep -v '^ *+' conftest.er1 >conftest.err
38618 rm -f conftest.er1
38619 cat conftest.err >&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } &&
38622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38624 (eval $ac_try) 2>&5
38625 ac_status=$?
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); }; } &&
38628 { ac_try='test -s conftest$ac_exeext'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38631 ac_status=$?
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; }; then
38634 ac_cv_lib_resolv_inet_addr=yes
38635 else
38636 echo "$as_me: failed program was:" >&5
38637 sed 's/^/| /' conftest.$ac_ext >&5
38638
38639 ac_cv_lib_resolv_inet_addr=no
38640 fi
38641 rm -f conftest.err conftest.$ac_objext \
38642 conftest$ac_exeext conftest.$ac_ext
38643 LIBS=$ac_check_lib_save_LIBS
38644 fi
38645 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38646 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38647 if test $ac_cv_lib_resolv_inet_addr = yes; then
38648 INET_LINK="resolv"
38649 else
38650
38651 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38652 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38653 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38655 else
38656 ac_check_lib_save_LIBS=$LIBS
38657 LIBS="-lsocket $LIBS"
38658 cat >conftest.$ac_ext <<_ACEOF
38659 /* confdefs.h. */
38660 _ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38664
38665 /* Override any gcc2 internal prototype to avoid an error. */
38666 #ifdef __cplusplus
38667 extern "C"
38668 #endif
38669 /* We use char because int might match the return type of a gcc2
38670 builtin and then its argument prototype would still apply. */
38671 char inet_addr ();
38672 int
38673 main ()
38674 {
38675 inet_addr ();
38676 ;
38677 return 0;
38678 }
38679 _ACEOF
38680 rm -f conftest.$ac_objext conftest$ac_exeext
38681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38682 (eval $ac_link) 2>conftest.er1
38683 ac_status=$?
38684 grep -v '^ *+' conftest.er1 >conftest.err
38685 rm -f conftest.er1
38686 cat conftest.err >&5
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); } &&
38689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38692 ac_status=$?
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; } &&
38695 { ac_try='test -s conftest$ac_exeext'
38696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38697 (eval $ac_try) 2>&5
38698 ac_status=$?
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); }; }; then
38701 ac_cv_lib_socket_inet_addr=yes
38702 else
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38705
38706 ac_cv_lib_socket_inet_addr=no
38707 fi
38708 rm -f conftest.err conftest.$ac_objext \
38709 conftest$ac_exeext conftest.$ac_ext
38710 LIBS=$ac_check_lib_save_LIBS
38711 fi
38712 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38713 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38714 if test $ac_cv_lib_socket_inet_addr = yes; then
38715 INET_LINK="socket"
38716
38717 fi
38718
38719
38720
38721 fi
38722
38723
38724
38725 fi
38726
38727
38728
38729 fi
38730 done
38731
38732
38733
38734 for ac_func in inet_aton
38735 do
38736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38737 echo "$as_me:$LINENO: checking for $ac_func" >&5
38738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38739 if eval "test \"\${$as_ac_var+set}\" = set"; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 else
38742 cat >conftest.$ac_ext <<_ACEOF
38743 /* confdefs.h. */
38744 _ACEOF
38745 cat confdefs.h >>conftest.$ac_ext
38746 cat >>conftest.$ac_ext <<_ACEOF
38747 /* end confdefs.h. */
38748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38750 #define $ac_func innocuous_$ac_func
38751
38752 /* System header to define __stub macros and hopefully few prototypes,
38753 which can conflict with char $ac_func (); below.
38754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38755 <limits.h> exists even on freestanding compilers. */
38756
38757 #ifdef __STDC__
38758 # include <limits.h>
38759 #else
38760 # include <assert.h>
38761 #endif
38762
38763 #undef $ac_func
38764
38765 /* Override any gcc2 internal prototype to avoid an error. */
38766 #ifdef __cplusplus
38767 extern "C"
38768 {
38769 #endif
38770 /* We use char because int might match the return type of a gcc2
38771 builtin and then its argument prototype would still apply. */
38772 char $ac_func ();
38773 /* The GNU C library defines this for functions which it implements
38774 to always fail with ENOSYS. Some functions are actually named
38775 something starting with __ and the normal name is an alias. */
38776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38777 choke me
38778 #else
38779 char (*f) () = $ac_func;
38780 #endif
38781 #ifdef __cplusplus
38782 }
38783 #endif
38784
38785 int
38786 main ()
38787 {
38788 return f != $ac_func;
38789 ;
38790 return 0;
38791 }
38792 _ACEOF
38793 rm -f conftest.$ac_objext conftest$ac_exeext
38794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38795 (eval $ac_link) 2>conftest.er1
38796 ac_status=$?
38797 grep -v '^ *+' conftest.er1 >conftest.err
38798 rm -f conftest.er1
38799 cat conftest.err >&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); } &&
38802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38805 ac_status=$?
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; } &&
38808 { ac_try='test -s conftest$ac_exeext'
38809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38810 (eval $ac_try) 2>&5
38811 ac_status=$?
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); }; }; then
38814 eval "$as_ac_var=yes"
38815 else
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.$ac_ext >&5
38818
38819 eval "$as_ac_var=no"
38820 fi
38821 rm -f conftest.err conftest.$ac_objext \
38822 conftest$ac_exeext conftest.$ac_ext
38823 fi
38824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38826 if test `eval echo '${'$as_ac_var'}'` = yes; then
38827 cat >>confdefs.h <<_ACEOF
38828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38829 _ACEOF
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_INET_ATON 1
38832 _ACEOF
38833
38834 else
38835
38836 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38837 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38838 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38839 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38840 echo $ECHO_N "(cached) $ECHO_C" >&6
38841 else
38842 ac_check_lib_save_LIBS=$LIBS
38843 LIBS="-l$INET_LINK $LIBS"
38844 cat >conftest.$ac_ext <<_ACEOF
38845 /* confdefs.h. */
38846 _ACEOF
38847 cat confdefs.h >>conftest.$ac_ext
38848 cat >>conftest.$ac_ext <<_ACEOF
38849 /* end confdefs.h. */
38850
38851 /* Override any gcc2 internal prototype to avoid an error. */
38852 #ifdef __cplusplus
38853 extern "C"
38854 #endif
38855 /* We use char because int might match the return type of a gcc2
38856 builtin and then its argument prototype would still apply. */
38857 char inet_aton ();
38858 int
38859 main ()
38860 {
38861 inet_aton ();
38862 ;
38863 return 0;
38864 }
38865 _ACEOF
38866 rm -f conftest.$ac_objext conftest$ac_exeext
38867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38868 (eval $ac_link) 2>conftest.er1
38869 ac_status=$?
38870 grep -v '^ *+' conftest.er1 >conftest.err
38871 rm -f conftest.er1
38872 cat conftest.err >&5
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); } &&
38875 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38878 ac_status=$?
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; } &&
38881 { ac_try='test -s conftest$ac_exeext'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38884 ac_status=$?
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; }; then
38887 eval "$as_ac_Lib=yes"
38888 else
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38891
38892 eval "$as_ac_Lib=no"
38893 fi
38894 rm -f conftest.err conftest.$ac_objext \
38895 conftest$ac_exeext conftest.$ac_ext
38896 LIBS=$ac_check_lib_save_LIBS
38897 fi
38898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38899 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38900 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38901 cat >>confdefs.h <<\_ACEOF
38902 #define HAVE_INET_ATON 1
38903 _ACEOF
38904
38905 fi
38906
38907
38908 fi
38909 done
38910
38911
38912 if test "x$INET_LINK" != "x"; then
38913 cat >>confdefs.h <<\_ACEOF
38914 #define HAVE_INET_ADDR 1
38915 _ACEOF
38916
38917 INET_LINK=" -l$INET_LINK"
38918 fi
38919
38920
38921 for wx_func in fdopen
38922 do
38923 echo "$as_me:$LINENO: checking for $wx_func" >&5
38924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38925 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38927 else
38928
38929 cat >conftest.$ac_ext <<_ACEOF
38930
38931 /* confdefs.h. */
38932 _ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936
38937
38938 $ac_includes_default
38939
38940 int
38941 main ()
38942 {
38943
38944 #ifndef $wx_func
38945 &$wx_func;
38946 #endif
38947
38948
38949 ;
38950 return 0;
38951 }
38952
38953 _ACEOF
38954 rm -f conftest.$ac_objext conftest$ac_exeext
38955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38956 (eval $ac_link) 2>conftest.er1
38957 ac_status=$?
38958 grep -v '^ *+' conftest.er1 >conftest.err
38959 rm -f conftest.er1
38960 cat conftest.err >&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); } &&
38963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38965 (eval $ac_try) 2>&5
38966 ac_status=$?
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); }; } &&
38969 { ac_try='test -s conftest$ac_exeext'
38970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38971 (eval $ac_try) 2>&5
38972 ac_status=$?
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); }; }; then
38975 eval wx_cv_func_$wx_func=yes
38976 else
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.$ac_ext >&5
38979
38980 eval wx_cv_func_$wx_func=no
38981 fi
38982 rm -f conftest.err conftest.$ac_objext \
38983 conftest$ac_exeext conftest.$ac_ext
38984
38985 fi
38986 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38987 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38988
38989 if eval test \$wx_cv_func_$wx_func = yes
38990 then
38991 cat >>confdefs.h <<_ACEOF
38992 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38993 _ACEOF
38994
38995
38996 else
38997 :
38998
38999 fi
39000 done
39001
39002
39003 fi
39004
39005
39006
39007
39008 EXTRALIBS_ESD=
39009 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39010 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39011 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39012 echo $ECHO_N "(cached) $ECHO_C" >&6
39013 else
39014 ac_check_lib_save_LIBS=$LIBS
39015 LIBS="-lesd $LIBS"
39016 cat >conftest.$ac_ext <<_ACEOF
39017 /* confdefs.h. */
39018 _ACEOF
39019 cat confdefs.h >>conftest.$ac_ext
39020 cat >>conftest.$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39022
39023 /* Override any gcc2 internal prototype to avoid an error. */
39024 #ifdef __cplusplus
39025 extern "C"
39026 #endif
39027 /* We use char because int might match the return type of a gcc2
39028 builtin and then its argument prototype would still apply. */
39029 char esd_close ();
39030 int
39031 main ()
39032 {
39033 esd_close ();
39034 ;
39035 return 0;
39036 }
39037 _ACEOF
39038 rm -f conftest.$ac_objext conftest$ac_exeext
39039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39040 (eval $ac_link) 2>conftest.er1
39041 ac_status=$?
39042 grep -v '^ *+' conftest.er1 >conftest.err
39043 rm -f conftest.er1
39044 cat conftest.err >&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); } &&
39047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39049 (eval $ac_try) 2>&5
39050 ac_status=$?
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); }; } &&
39053 { ac_try='test -s conftest$ac_exeext'
39054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39055 (eval $ac_try) 2>&5
39056 ac_status=$?
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); }; }; then
39059 ac_cv_lib_esd_esd_close=yes
39060 else
39061 echo "$as_me: failed program was:" >&5
39062 sed 's/^/| /' conftest.$ac_ext >&5
39063
39064 ac_cv_lib_esd_esd_close=no
39065 fi
39066 rm -f conftest.err conftest.$ac_objext \
39067 conftest$ac_exeext conftest.$ac_ext
39068 LIBS=$ac_check_lib_save_LIBS
39069 fi
39070 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39071 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39072 if test $ac_cv_lib_esd_esd_close = yes; then
39073
39074
39075 for ac_header in esd.h
39076 do
39077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39079 echo "$as_me:$LINENO: checking for $ac_header" >&5
39080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39082 echo $ECHO_N "(cached) $ECHO_C" >&6
39083 fi
39084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39086 else
39087 # Is the header compilable?
39088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39090 cat >conftest.$ac_ext <<_ACEOF
39091 /* confdefs.h. */
39092 _ACEOF
39093 cat confdefs.h >>conftest.$ac_ext
39094 cat >>conftest.$ac_ext <<_ACEOF
39095 /* end confdefs.h. */
39096 $ac_includes_default
39097 #include <$ac_header>
39098 _ACEOF
39099 rm -f conftest.$ac_objext
39100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39101 (eval $ac_compile) 2>conftest.er1
39102 ac_status=$?
39103 grep -v '^ *+' conftest.er1 >conftest.err
39104 rm -f conftest.er1
39105 cat conftest.err >&5
39106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39107 (exit $ac_status); } &&
39108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110 (eval $ac_try) 2>&5
39111 ac_status=$?
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); }; } &&
39114 { ac_try='test -s conftest.$ac_objext'
39115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116 (eval $ac_try) 2>&5
39117 ac_status=$?
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); }; }; then
39120 ac_header_compiler=yes
39121 else
39122 echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.$ac_ext >&5
39124
39125 ac_header_compiler=no
39126 fi
39127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39129 echo "${ECHO_T}$ac_header_compiler" >&6
39130
39131 # Is the header present?
39132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39134 cat >conftest.$ac_ext <<_ACEOF
39135 /* confdefs.h. */
39136 _ACEOF
39137 cat confdefs.h >>conftest.$ac_ext
39138 cat >>conftest.$ac_ext <<_ACEOF
39139 /* end confdefs.h. */
39140 #include <$ac_header>
39141 _ACEOF
39142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39144 ac_status=$?
39145 grep -v '^ *+' conftest.er1 >conftest.err
39146 rm -f conftest.er1
39147 cat conftest.err >&5
39148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39149 (exit $ac_status); } >/dev/null; then
39150 if test -s conftest.err; then
39151 ac_cpp_err=$ac_cxx_preproc_warn_flag
39152 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39153 else
39154 ac_cpp_err=
39155 fi
39156 else
39157 ac_cpp_err=yes
39158 fi
39159 if test -z "$ac_cpp_err"; then
39160 ac_header_preproc=yes
39161 else
39162 echo "$as_me: failed program was:" >&5
39163 sed 's/^/| /' conftest.$ac_ext >&5
39164
39165 ac_header_preproc=no
39166 fi
39167 rm -f conftest.err conftest.$ac_ext
39168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39169 echo "${ECHO_T}$ac_header_preproc" >&6
39170
39171 # So? What about this header?
39172 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39173 yes:no: )
39174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39178 ac_header_preproc=yes
39179 ;;
39180 no:yes:* )
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39193 (
39194 cat <<\_ASBOX
39195 ## ----------------------------------------- ##
39196 ## Report this to wx-dev@lists.wxwidgets.org ##
39197 ## ----------------------------------------- ##
39198 _ASBOX
39199 ) |
39200 sed "s/^/$as_me: WARNING: /" >&2
39201 ;;
39202 esac
39203 echo "$as_me:$LINENO: checking for $ac_header" >&5
39204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 else
39208 eval "$as_ac_Header=\$ac_header_preproc"
39209 fi
39210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39212
39213 fi
39214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39215 cat >>confdefs.h <<_ACEOF
39216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39217 _ACEOF
39218
39219 EXTRALIBS_ESD="-lesd"
39220
39221 fi
39222
39223 done
39224
39225
39226 fi
39227
39228
39229
39230 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39231 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39232 cat >conftest.$ac_ext <<_ACEOF
39233 /* confdefs.h. */
39234 _ACEOF
39235 cat confdefs.h >>conftest.$ac_ext
39236 cat >>conftest.$ac_ext <<_ACEOF
39237 /* end confdefs.h. */
39238 #ifdef __linux__
39239 #include <linux/cdrom.h>
39240 #else
39241 /* For Solaris */
39242 #include <sys/cdio.h>
39243 #endif
39244
39245 int
39246 main ()
39247 {
39248 struct cdrom_tocentry entry, old_entry;
39249 ;
39250 return 0;
39251 }
39252 _ACEOF
39253 rm -f conftest.$ac_objext
39254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39255 (eval $ac_compile) 2>conftest.er1
39256 ac_status=$?
39257 grep -v '^ *+' conftest.er1 >conftest.err
39258 rm -f conftest.er1
39259 cat conftest.err >&5
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); } &&
39262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39264 (eval $ac_try) 2>&5
39265 ac_status=$?
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); }; } &&
39268 { ac_try='test -s conftest.$ac_objext'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39271 ac_status=$?
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; }; then
39274 echo "$as_me:$LINENO: result: yes" >&5
39275 echo "${ECHO_T}yes" >&6
39276 cat >>confdefs.h <<\_ACEOF
39277 #define HAVE_KNOWN_CDROM_INTERFACE 1
39278 _ACEOF
39279
39280 else
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.$ac_ext >&5
39283
39284 echo "$as_me:$LINENO: result: no" >&5
39285 echo "${ECHO_T}no" >&6
39286 fi
39287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39288
39289
39290 cat >confcache <<\_ACEOF
39291 # This file is a shell script that caches the results of configure
39292 # tests run on this system so they can be shared between configure
39293 # scripts and configure runs, see configure's option --config-cache.
39294 # It is not useful on other systems. If it contains results you don't
39295 # want to keep, you may remove or edit it.
39296 #
39297 # config.status only pays attention to the cache file if you give it
39298 # the --recheck option to rerun configure.
39299 #
39300 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39302 # following values.
39303
39304 _ACEOF
39305
39306 # The following way of writing the cache mishandles newlines in values,
39307 # but we know of no workaround that is simple, portable, and efficient.
39308 # So, don't put newlines in cache variables' values.
39309 # Ultrix sh set writes to stderr and can't be redirected directly,
39310 # and sets the high bit in the cache file unless we assign to the vars.
39311 {
39312 (set) 2>&1 |
39313 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39314 *ac_space=\ *)
39315 # `set' does not quote correctly, so add quotes (double-quote
39316 # substitution turns \\\\ into \\, and sed turns \\ into \).
39317 sed -n \
39318 "s/'/'\\\\''/g;
39319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39320 ;;
39321 *)
39322 # `set' quotes correctly as required by POSIX, so do not add quotes.
39323 sed -n \
39324 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39325 ;;
39326 esac;
39327 } |
39328 sed '
39329 t clear
39330 : clear
39331 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39332 t end
39333 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39334 : end' >>confcache
39335 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39336 if test -w $cache_file; then
39337 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39338 cat confcache >$cache_file
39339 else
39340 echo "not updating unwritable cache $cache_file"
39341 fi
39342 fi
39343 rm -f confcache
39344
39345
39346 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39347
39348
39349 THREADS_LINK=
39350 THREADS_CXXFLAGS=
39351
39352 if test "$wxUSE_THREADS" = "yes" ; then
39353 if test "$USE_BEOS" = 1; then
39354 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39355 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39356 wxUSE_THREADS="no"
39357 fi
39358 fi
39359
39360 if test "$wxUSE_THREADS" = "yes" ; then
39361
39362
39363 THREAD_OPTS="-pthread"
39364 case "${host}" in
39365 *-*-solaris2* | *-*-sunos4* )
39366 if test "x$GCC" = "xyes"; then
39367 THREAD_OPTS="-pthreads $THREAD_OPTS"
39368 else
39369 THREAD_OPTS="-mt $THREAD_OPTS"
39370 fi
39371 ;;
39372 *-*-freebsd*)
39373 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39374 ;;
39375 *-*-darwin* | *-*-cygwin* )
39376 THREAD_OPTS=""
39377 ;;
39378 *-*-aix*)
39379 THREAD_OPTS="pthreads"
39380 ;;
39381 *-hp-hpux* )
39382 if test "x$GCC" = "xyes"; then
39383 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39384 THREAD_OPTS=""
39385 else
39386 THREAD_OPTS="-mt"
39387 fi
39388 ;;
39389
39390 *-*-irix* )
39391 if test "x$GCC" = "xyes"; then
39392 THREAD_OPTS=""
39393 fi
39394 ;;
39395
39396 *-*-*UnixWare*)
39397 if test "x$GCC" != "xyes"; then
39398 THREAD_OPTS="-Ethread"
39399 fi
39400 ;;
39401 esac
39402
39403 THREAD_OPTS="$THREAD_OPTS pthread none"
39404
39405 THREADS_OK=no
39406 for flag in $THREAD_OPTS; do
39407 case $flag in
39408 none)
39409 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39410 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39411 ;;
39412
39413 -*)
39414 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39415 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39416 THREADS_CXXFLAGS="$flag"
39417 ;;
39418
39419 *)
39420 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39421 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39422 THREADS_LINK="-l$flag"
39423 ;;
39424 esac
39425
39426 save_LIBS="$LIBS"
39427 save_CXXFLAGS="$CXXFLAGS"
39428 LIBS="$THREADS_LINK $LIBS"
39429 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39430
39431 cat >conftest.$ac_ext <<_ACEOF
39432 /* confdefs.h. */
39433 _ACEOF
39434 cat confdefs.h >>conftest.$ac_ext
39435 cat >>conftest.$ac_ext <<_ACEOF
39436 /* end confdefs.h. */
39437 #include <pthread.h>
39438 int
39439 main ()
39440 {
39441 pthread_create(0,0,0,0);
39442 ;
39443 return 0;
39444 }
39445 _ACEOF
39446 rm -f conftest.$ac_objext conftest$ac_exeext
39447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39448 (eval $ac_link) 2>conftest.er1
39449 ac_status=$?
39450 grep -v '^ *+' conftest.er1 >conftest.err
39451 rm -f conftest.er1
39452 cat conftest.err >&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } &&
39455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457 (eval $ac_try) 2>&5
39458 ac_status=$?
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); }; } &&
39461 { ac_try='test -s conftest$ac_exeext'
39462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39463 (eval $ac_try) 2>&5
39464 ac_status=$?
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); }; }; then
39467 THREADS_OK=yes
39468 else
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39471
39472 fi
39473 rm -f conftest.err conftest.$ac_objext \
39474 conftest$ac_exeext conftest.$ac_ext
39475
39476 LIBS="$save_LIBS"
39477 CXXFLAGS="$save_CXXFLAGS"
39478
39479 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39480 echo "${ECHO_T}$THREADS_OK" >&6
39481 if test "x$THREADS_OK" = "xyes"; then
39482 break;
39483 fi
39484
39485 THREADS_LINK=""
39486 THREADS_CXXFLAGS=""
39487 done
39488
39489 if test "x$THREADS_OK" != "xyes"; then
39490 wxUSE_THREADS=no
39491 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39492 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39493 else
39494 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39495 LIBS="$THREADS_LINK $LIBS"
39496
39497 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39498 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39499 flag=no
39500 case "${host}" in
39501 *-aix*)
39502 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39503 flag="-D_THREAD_SAFE"
39504 ;;
39505 *-freebsd*)
39506 flag="-D_THREAD_SAFE"
39507 ;;
39508 *-hp-hpux* )
39509 flag="-D_REENTRANT"
39510 if test "x$GCC" != "xyes"; then
39511 flag="$flag -D_RWSTD_MULTI_THREAD"
39512 fi
39513 ;;
39514 *solaris* | alpha*-osf*)
39515 flag="-D_REENTRANT"
39516 ;;
39517 esac
39518 echo "$as_me:$LINENO: result: ${flag}" >&5
39519 echo "${ECHO_T}${flag}" >&6
39520 if test "x$flag" != xno; then
39521 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39522 fi
39523
39524 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39525 fi
39526 fi
39527
39528 if test "$wxUSE_THREADS" = "yes" ; then
39529
39530 for ac_func in thr_setconcurrency
39531 do
39532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39533 echo "$as_me:$LINENO: checking for $ac_func" >&5
39534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39535 if eval "test \"\${$as_ac_var+set}\" = set"; then
39536 echo $ECHO_N "(cached) $ECHO_C" >&6
39537 else
39538 cat >conftest.$ac_ext <<_ACEOF
39539 /* confdefs.h. */
39540 _ACEOF
39541 cat confdefs.h >>conftest.$ac_ext
39542 cat >>conftest.$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39546 #define $ac_func innocuous_$ac_func
39547
39548 /* System header to define __stub macros and hopefully few prototypes,
39549 which can conflict with char $ac_func (); below.
39550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39551 <limits.h> exists even on freestanding compilers. */
39552
39553 #ifdef __STDC__
39554 # include <limits.h>
39555 #else
39556 # include <assert.h>
39557 #endif
39558
39559 #undef $ac_func
39560
39561 /* Override any gcc2 internal prototype to avoid an error. */
39562 #ifdef __cplusplus
39563 extern "C"
39564 {
39565 #endif
39566 /* We use char because int might match the return type of a gcc2
39567 builtin and then its argument prototype would still apply. */
39568 char $ac_func ();
39569 /* The GNU C library defines this for functions which it implements
39570 to always fail with ENOSYS. Some functions are actually named
39571 something starting with __ and the normal name is an alias. */
39572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39573 choke me
39574 #else
39575 char (*f) () = $ac_func;
39576 #endif
39577 #ifdef __cplusplus
39578 }
39579 #endif
39580
39581 int
39582 main ()
39583 {
39584 return f != $ac_func;
39585 ;
39586 return 0;
39587 }
39588 _ACEOF
39589 rm -f conftest.$ac_objext conftest$ac_exeext
39590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39591 (eval $ac_link) 2>conftest.er1
39592 ac_status=$?
39593 grep -v '^ *+' conftest.er1 >conftest.err
39594 rm -f conftest.er1
39595 cat conftest.err >&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); } &&
39598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39600 (eval $ac_try) 2>&5
39601 ac_status=$?
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); }; } &&
39604 { ac_try='test -s conftest$ac_exeext'
39605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39606 (eval $ac_try) 2>&5
39607 ac_status=$?
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); }; }; then
39610 eval "$as_ac_var=yes"
39611 else
39612 echo "$as_me: failed program was:" >&5
39613 sed 's/^/| /' conftest.$ac_ext >&5
39614
39615 eval "$as_ac_var=no"
39616 fi
39617 rm -f conftest.err conftest.$ac_objext \
39618 conftest$ac_exeext conftest.$ac_ext
39619 fi
39620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39622 if test `eval echo '${'$as_ac_var'}'` = yes; then
39623 cat >>confdefs.h <<_ACEOF
39624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39625 _ACEOF
39626
39627 fi
39628 done
39629
39630
39631 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39632 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39633 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39634 echo $ECHO_N "(cached) $ECHO_C" >&6
39635 else
39636
39637 cat >conftest.$ac_ext <<_ACEOF
39638 /* confdefs.h. */
39639 _ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 #include <pthread.h>
39644 void ThreadCleanupFunc(void *p);
39645
39646 int
39647 main ()
39648 {
39649
39650 void *p;
39651 pthread_cleanup_push(ThreadCleanupFunc, p);
39652 pthread_cleanup_pop(0);
39653
39654 ;
39655 return 0;
39656 }
39657 _ACEOF
39658 rm -f conftest.$ac_objext
39659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39660 (eval $ac_compile) 2>conftest.er1
39661 ac_status=$?
39662 grep -v '^ *+' conftest.er1 >conftest.err
39663 rm -f conftest.er1
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } &&
39667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39669 (eval $ac_try) 2>&5
39670 ac_status=$?
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); }; } &&
39673 { ac_try='test -s conftest.$ac_objext'
39674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39675 (eval $ac_try) 2>&5
39676 ac_status=$?
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); }; }; then
39679
39680 wx_cv_func_pthread_cleanup=yes
39681
39682 else
39683 echo "$as_me: failed program was:" >&5
39684 sed 's/^/| /' conftest.$ac_ext >&5
39685
39686
39687 wx_cv_func_pthread_cleanup=no
39688
39689
39690 fi
39691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39692
39693 fi
39694 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39695 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39696 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39697 cat >>confdefs.h <<\_ACEOF
39698 #define wxHAVE_PTHREAD_CLEANUP 1
39699 _ACEOF
39700
39701 fi
39702
39703
39704 for ac_header in sched.h
39705 do
39706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39708 echo "$as_me:$LINENO: checking for $ac_header" >&5
39709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39712 fi
39713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39715 else
39716 # Is the header compilable?
39717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39719 cat >conftest.$ac_ext <<_ACEOF
39720 /* confdefs.h. */
39721 _ACEOF
39722 cat confdefs.h >>conftest.$ac_ext
39723 cat >>conftest.$ac_ext <<_ACEOF
39724 /* end confdefs.h. */
39725 $ac_includes_default
39726 #include <$ac_header>
39727 _ACEOF
39728 rm -f conftest.$ac_objext
39729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39730 (eval $ac_compile) 2>conftest.er1
39731 ac_status=$?
39732 grep -v '^ *+' conftest.er1 >conftest.err
39733 rm -f conftest.er1
39734 cat conftest.err >&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } &&
39737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39740 ac_status=$?
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try='test -s conftest.$ac_objext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39746 ac_status=$?
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 ac_header_compiler=yes
39750 else
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.$ac_ext >&5
39753
39754 ac_header_compiler=no
39755 fi
39756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39758 echo "${ECHO_T}$ac_header_compiler" >&6
39759
39760 # Is the header present?
39761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39763 cat >conftest.$ac_ext <<_ACEOF
39764 /* confdefs.h. */
39765 _ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769 #include <$ac_header>
39770 _ACEOF
39771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39773 ac_status=$?
39774 grep -v '^ *+' conftest.er1 >conftest.err
39775 rm -f conftest.er1
39776 cat conftest.err >&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); } >/dev/null; then
39779 if test -s conftest.err; then
39780 ac_cpp_err=$ac_cxx_preproc_warn_flag
39781 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39782 else
39783 ac_cpp_err=
39784 fi
39785 else
39786 ac_cpp_err=yes
39787 fi
39788 if test -z "$ac_cpp_err"; then
39789 ac_header_preproc=yes
39790 else
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794 ac_header_preproc=no
39795 fi
39796 rm -f conftest.err conftest.$ac_ext
39797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39798 echo "${ECHO_T}$ac_header_preproc" >&6
39799
39800 # So? What about this header?
39801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39802 yes:no: )
39803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39807 ac_header_preproc=yes
39808 ;;
39809 no:yes:* )
39810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39822 (
39823 cat <<\_ASBOX
39824 ## ----------------------------------------- ##
39825 ## Report this to wx-dev@lists.wxwidgets.org ##
39826 ## ----------------------------------------- ##
39827 _ASBOX
39828 ) |
39829 sed "s/^/$as_me: WARNING: /" >&2
39830 ;;
39831 esac
39832 echo "$as_me:$LINENO: checking for $ac_header" >&5
39833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39835 echo $ECHO_N "(cached) $ECHO_C" >&6
39836 else
39837 eval "$as_ac_Header=\$ac_header_preproc"
39838 fi
39839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39841
39842 fi
39843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39844 cat >>confdefs.h <<_ACEOF
39845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39846 _ACEOF
39847
39848 fi
39849
39850 done
39851
39852 if test "$ac_cv_header_sched_h" = "yes"; then
39853 echo "$as_me:$LINENO: checking for sched_yield" >&5
39854 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39855 if test "${ac_cv_func_sched_yield+set}" = set; then
39856 echo $ECHO_N "(cached) $ECHO_C" >&6
39857 else
39858 cat >conftest.$ac_ext <<_ACEOF
39859 /* confdefs.h. */
39860 _ACEOF
39861 cat confdefs.h >>conftest.$ac_ext
39862 cat >>conftest.$ac_ext <<_ACEOF
39863 /* end confdefs.h. */
39864 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39866 #define sched_yield innocuous_sched_yield
39867
39868 /* System header to define __stub macros and hopefully few prototypes,
39869 which can conflict with char sched_yield (); below.
39870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39871 <limits.h> exists even on freestanding compilers. */
39872
39873 #ifdef __STDC__
39874 # include <limits.h>
39875 #else
39876 # include <assert.h>
39877 #endif
39878
39879 #undef sched_yield
39880
39881 /* Override any gcc2 internal prototype to avoid an error. */
39882 #ifdef __cplusplus
39883 extern "C"
39884 {
39885 #endif
39886 /* We use char because int might match the return type of a gcc2
39887 builtin and then its argument prototype would still apply. */
39888 char sched_yield ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39893 choke me
39894 #else
39895 char (*f) () = sched_yield;
39896 #endif
39897 #ifdef __cplusplus
39898 }
39899 #endif
39900
39901 int
39902 main ()
39903 {
39904 return f != sched_yield;
39905 ;
39906 return 0;
39907 }
39908 _ACEOF
39909 rm -f conftest.$ac_objext conftest$ac_exeext
39910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39911 (eval $ac_link) 2>conftest.er1
39912 ac_status=$?
39913 grep -v '^ *+' conftest.er1 >conftest.err
39914 rm -f conftest.er1
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } &&
39918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39920 (eval $ac_try) 2>&5
39921 ac_status=$?
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); }; } &&
39924 { ac_try='test -s conftest$ac_exeext'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39927 ac_status=$?
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; }; then
39930 ac_cv_func_sched_yield=yes
39931 else
39932 echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.$ac_ext >&5
39934
39935 ac_cv_func_sched_yield=no
39936 fi
39937 rm -f conftest.err conftest.$ac_objext \
39938 conftest$ac_exeext conftest.$ac_ext
39939 fi
39940 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39941 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39942 if test $ac_cv_func_sched_yield = yes; then
39943 cat >>confdefs.h <<\_ACEOF
39944 #define HAVE_SCHED_YIELD 1
39945 _ACEOF
39946
39947 else
39948
39949 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39950 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39951 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39952 echo $ECHO_N "(cached) $ECHO_C" >&6
39953 else
39954 ac_check_lib_save_LIBS=$LIBS
39955 LIBS="-lposix4 $LIBS"
39956 cat >conftest.$ac_ext <<_ACEOF
39957 /* confdefs.h. */
39958 _ACEOF
39959 cat confdefs.h >>conftest.$ac_ext
39960 cat >>conftest.$ac_ext <<_ACEOF
39961 /* end confdefs.h. */
39962
39963 /* Override any gcc2 internal prototype to avoid an error. */
39964 #ifdef __cplusplus
39965 extern "C"
39966 #endif
39967 /* We use char because int might match the return type of a gcc2
39968 builtin and then its argument prototype would still apply. */
39969 char sched_yield ();
39970 int
39971 main ()
39972 {
39973 sched_yield ();
39974 ;
39975 return 0;
39976 }
39977 _ACEOF
39978 rm -f conftest.$ac_objext conftest$ac_exeext
39979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39980 (eval $ac_link) 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } &&
39987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39990 ac_status=$?
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; } &&
39993 { ac_try='test -s conftest$ac_exeext'
39994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995 (eval $ac_try) 2>&5
39996 ac_status=$?
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); }; }; then
39999 ac_cv_lib_posix4_sched_yield=yes
40000 else
40001 echo "$as_me: failed program was:" >&5
40002 sed 's/^/| /' conftest.$ac_ext >&5
40003
40004 ac_cv_lib_posix4_sched_yield=no
40005 fi
40006 rm -f conftest.err conftest.$ac_objext \
40007 conftest$ac_exeext conftest.$ac_ext
40008 LIBS=$ac_check_lib_save_LIBS
40009 fi
40010 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40011 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40012 if test $ac_cv_lib_posix4_sched_yield = yes; then
40013 cat >>confdefs.h <<\_ACEOF
40014 #define HAVE_SCHED_YIELD 1
40015 _ACEOF
40016 POSIX4_LINK=" -lposix4"
40017 else
40018 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40019 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40020
40021 fi
40022
40023
40024
40025 fi
40026
40027 fi
40028
40029 HAVE_PRIOR_FUNCS=0
40030 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40031 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40032 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40034 else
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h. */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40044
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char pthread_attr_getschedpolicy (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40049
40050 #ifdef __STDC__
40051 # include <limits.h>
40052 #else
40053 # include <assert.h>
40054 #endif
40055
40056 #undef pthread_attr_getschedpolicy
40057
40058 /* Override any gcc2 internal prototype to avoid an error. */
40059 #ifdef __cplusplus
40060 extern "C"
40061 {
40062 #endif
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40065 char pthread_attr_getschedpolicy ();
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40070 choke me
40071 #else
40072 char (*f) () = pthread_attr_getschedpolicy;
40073 #endif
40074 #ifdef __cplusplus
40075 }
40076 #endif
40077
40078 int
40079 main ()
40080 {
40081 return f != pthread_attr_getschedpolicy;
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 rm -f conftest.$ac_objext conftest$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40089 ac_status=$?
40090 grep -v '^ *+' conftest.er1 >conftest.err
40091 rm -f conftest.er1
40092 cat conftest.err >&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40097 (eval $ac_try) 2>&5
40098 ac_status=$?
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); }; } &&
40101 { ac_try='test -s conftest$ac_exeext'
40102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40103 (eval $ac_try) 2>&5
40104 ac_status=$?
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); }; }; then
40107 ac_cv_func_pthread_attr_getschedpolicy=yes
40108 else
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40111
40112 ac_cv_func_pthread_attr_getschedpolicy=no
40113 fi
40114 rm -f conftest.err conftest.$ac_objext \
40115 conftest$ac_exeext conftest.$ac_ext
40116 fi
40117 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40118 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40119 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40120 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40121 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40122 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40123 echo $ECHO_N "(cached) $ECHO_C" >&6
40124 else
40125 cat >conftest.$ac_ext <<_ACEOF
40126 /* confdefs.h. */
40127 _ACEOF
40128 cat confdefs.h >>conftest.$ac_ext
40129 cat >>conftest.$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40131 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40133 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40134
40135 /* System header to define __stub macros and hopefully few prototypes,
40136 which can conflict with char pthread_attr_setschedparam (); below.
40137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40138 <limits.h> exists even on freestanding compilers. */
40139
40140 #ifdef __STDC__
40141 # include <limits.h>
40142 #else
40143 # include <assert.h>
40144 #endif
40145
40146 #undef pthread_attr_setschedparam
40147
40148 /* Override any gcc2 internal prototype to avoid an error. */
40149 #ifdef __cplusplus
40150 extern "C"
40151 {
40152 #endif
40153 /* We use char because int might match the return type of a gcc2
40154 builtin and then its argument prototype would still apply. */
40155 char pthread_attr_setschedparam ();
40156 /* The GNU C library defines this for functions which it implements
40157 to always fail with ENOSYS. Some functions are actually named
40158 something starting with __ and the normal name is an alias. */
40159 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40160 choke me
40161 #else
40162 char (*f) () = pthread_attr_setschedparam;
40163 #endif
40164 #ifdef __cplusplus
40165 }
40166 #endif
40167
40168 int
40169 main ()
40170 {
40171 return f != pthread_attr_setschedparam;
40172 ;
40173 return 0;
40174 }
40175 _ACEOF
40176 rm -f conftest.$ac_objext conftest$ac_exeext
40177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40178 (eval $ac_link) 2>conftest.er1
40179 ac_status=$?
40180 grep -v '^ *+' conftest.er1 >conftest.err
40181 rm -f conftest.er1
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } &&
40185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40187 (eval $ac_try) 2>&5
40188 ac_status=$?
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); }; } &&
40191 { ac_try='test -s conftest$ac_exeext'
40192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40193 (eval $ac_try) 2>&5
40194 ac_status=$?
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); }; }; then
40197 ac_cv_func_pthread_attr_setschedparam=yes
40198 else
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.$ac_ext >&5
40201
40202 ac_cv_func_pthread_attr_setschedparam=no
40203 fi
40204 rm -f conftest.err conftest.$ac_objext \
40205 conftest$ac_exeext conftest.$ac_ext
40206 fi
40207 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40208 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40209 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40210 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40211 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40212 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40213 echo $ECHO_N "(cached) $ECHO_C" >&6
40214 else
40215 cat >conftest.$ac_ext <<_ACEOF
40216 /* confdefs.h. */
40217 _ACEOF
40218 cat confdefs.h >>conftest.$ac_ext
40219 cat >>conftest.$ac_ext <<_ACEOF
40220 /* end confdefs.h. */
40221 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40223 #define sched_get_priority_max innocuous_sched_get_priority_max
40224
40225 /* System header to define __stub macros and hopefully few prototypes,
40226 which can conflict with char sched_get_priority_max (); below.
40227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40228 <limits.h> exists even on freestanding compilers. */
40229
40230 #ifdef __STDC__
40231 # include <limits.h>
40232 #else
40233 # include <assert.h>
40234 #endif
40235
40236 #undef sched_get_priority_max
40237
40238 /* Override any gcc2 internal prototype to avoid an error. */
40239 #ifdef __cplusplus
40240 extern "C"
40241 {
40242 #endif
40243 /* We use char because int might match the return type of a gcc2
40244 builtin and then its argument prototype would still apply. */
40245 char sched_get_priority_max ();
40246 /* The GNU C library defines this for functions which it implements
40247 to always fail with ENOSYS. Some functions are actually named
40248 something starting with __ and the normal name is an alias. */
40249 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40250 choke me
40251 #else
40252 char (*f) () = sched_get_priority_max;
40253 #endif
40254 #ifdef __cplusplus
40255 }
40256 #endif
40257
40258 int
40259 main ()
40260 {
40261 return f != sched_get_priority_max;
40262 ;
40263 return 0;
40264 }
40265 _ACEOF
40266 rm -f conftest.$ac_objext conftest$ac_exeext
40267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40268 (eval $ac_link) 2>conftest.er1
40269 ac_status=$?
40270 grep -v '^ *+' conftest.er1 >conftest.err
40271 rm -f conftest.er1
40272 cat conftest.err >&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } &&
40275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40277 (eval $ac_try) 2>&5
40278 ac_status=$?
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); }; } &&
40281 { ac_try='test -s conftest$ac_exeext'
40282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40283 (eval $ac_try) 2>&5
40284 ac_status=$?
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); }; }; then
40287 ac_cv_func_sched_get_priority_max=yes
40288 else
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.$ac_ext >&5
40291
40292 ac_cv_func_sched_get_priority_max=no
40293 fi
40294 rm -f conftest.err conftest.$ac_objext \
40295 conftest$ac_exeext conftest.$ac_ext
40296 fi
40297 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40298 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40299 if test $ac_cv_func_sched_get_priority_max = yes; then
40300 HAVE_PRIOR_FUNCS=1
40301 else
40302 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40303 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40304 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40305 echo $ECHO_N "(cached) $ECHO_C" >&6
40306 else
40307 ac_check_lib_save_LIBS=$LIBS
40308 LIBS="-lposix4 $LIBS"
40309 cat >conftest.$ac_ext <<_ACEOF
40310 /* confdefs.h. */
40311 _ACEOF
40312 cat confdefs.h >>conftest.$ac_ext
40313 cat >>conftest.$ac_ext <<_ACEOF
40314 /* end confdefs.h. */
40315
40316 /* Override any gcc2 internal prototype to avoid an error. */
40317 #ifdef __cplusplus
40318 extern "C"
40319 #endif
40320 /* We use char because int might match the return type of a gcc2
40321 builtin and then its argument prototype would still apply. */
40322 char sched_get_priority_max ();
40323 int
40324 main ()
40325 {
40326 sched_get_priority_max ();
40327 ;
40328 return 0;
40329 }
40330 _ACEOF
40331 rm -f conftest.$ac_objext conftest$ac_exeext
40332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40333 (eval $ac_link) 2>conftest.er1
40334 ac_status=$?
40335 grep -v '^ *+' conftest.er1 >conftest.err
40336 rm -f conftest.er1
40337 cat conftest.err >&5
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); } &&
40340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40342 (eval $ac_try) 2>&5
40343 ac_status=$?
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); }; } &&
40346 { ac_try='test -s conftest$ac_exeext'
40347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40348 (eval $ac_try) 2>&5
40349 ac_status=$?
40350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40351 (exit $ac_status); }; }; then
40352 ac_cv_lib_posix4_sched_get_priority_max=yes
40353 else
40354 echo "$as_me: failed program was:" >&5
40355 sed 's/^/| /' conftest.$ac_ext >&5
40356
40357 ac_cv_lib_posix4_sched_get_priority_max=no
40358 fi
40359 rm -f conftest.err conftest.$ac_objext \
40360 conftest$ac_exeext conftest.$ac_ext
40361 LIBS=$ac_check_lib_save_LIBS
40362 fi
40363 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40364 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40365 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40366
40367 HAVE_PRIOR_FUNCS=1
40368 POSIX4_LINK=" -lposix4"
40369
40370 fi
40371
40372
40373 fi
40374
40375
40376 fi
40377
40378
40379 fi
40380
40381
40382 if test "$HAVE_PRIOR_FUNCS" = 1; then
40383 cat >>confdefs.h <<\_ACEOF
40384 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40385 _ACEOF
40386
40387 else
40388 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40389 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40390 fi
40391
40392 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40393 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40394 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40395 echo $ECHO_N "(cached) $ECHO_C" >&6
40396 else
40397 cat >conftest.$ac_ext <<_ACEOF
40398 /* confdefs.h. */
40399 _ACEOF
40400 cat confdefs.h >>conftest.$ac_ext
40401 cat >>conftest.$ac_ext <<_ACEOF
40402 /* end confdefs.h. */
40403 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40405 #define pthread_cancel innocuous_pthread_cancel
40406
40407 /* System header to define __stub macros and hopefully few prototypes,
40408 which can conflict with char pthread_cancel (); below.
40409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40410 <limits.h> exists even on freestanding compilers. */
40411
40412 #ifdef __STDC__
40413 # include <limits.h>
40414 #else
40415 # include <assert.h>
40416 #endif
40417
40418 #undef pthread_cancel
40419
40420 /* Override any gcc2 internal prototype to avoid an error. */
40421 #ifdef __cplusplus
40422 extern "C"
40423 {
40424 #endif
40425 /* We use char because int might match the return type of a gcc2
40426 builtin and then its argument prototype would still apply. */
40427 char pthread_cancel ();
40428 /* The GNU C library defines this for functions which it implements
40429 to always fail with ENOSYS. Some functions are actually named
40430 something starting with __ and the normal name is an alias. */
40431 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40432 choke me
40433 #else
40434 char (*f) () = pthread_cancel;
40435 #endif
40436 #ifdef __cplusplus
40437 }
40438 #endif
40439
40440 int
40441 main ()
40442 {
40443 return f != pthread_cancel;
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext conftest$ac_exeext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40450 (eval $ac_link) 2>conftest.er1
40451 ac_status=$?
40452 grep -v '^ *+' conftest.er1 >conftest.err
40453 rm -f conftest.er1
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40460 ac_status=$?
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; } &&
40463 { ac_try='test -s conftest$ac_exeext'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40466 ac_status=$?
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; }; then
40469 ac_cv_func_pthread_cancel=yes
40470 else
40471 echo "$as_me: failed program was:" >&5
40472 sed 's/^/| /' conftest.$ac_ext >&5
40473
40474 ac_cv_func_pthread_cancel=no
40475 fi
40476 rm -f conftest.err conftest.$ac_objext \
40477 conftest$ac_exeext conftest.$ac_ext
40478 fi
40479 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40480 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40481 if test $ac_cv_func_pthread_cancel = yes; then
40482 cat >>confdefs.h <<\_ACEOF
40483 #define HAVE_PTHREAD_CANCEL 1
40484 _ACEOF
40485
40486 else
40487 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40488 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40489 fi
40490
40491
40492 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40493 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40494 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40506
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char pthread_attr_setstacksize (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40511
40512 #ifdef __STDC__
40513 # include <limits.h>
40514 #else
40515 # include <assert.h>
40516 #endif
40517
40518 #undef pthread_attr_setstacksize
40519
40520 /* Override any gcc2 internal prototype to avoid an error. */
40521 #ifdef __cplusplus
40522 extern "C"
40523 {
40524 #endif
40525 /* We use char because int might match the return type of a gcc2
40526 builtin and then its argument prototype would still apply. */
40527 char pthread_attr_setstacksize ();
40528 /* The GNU C library defines this for functions which it implements
40529 to always fail with ENOSYS. Some functions are actually named
40530 something starting with __ and the normal name is an alias. */
40531 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40532 choke me
40533 #else
40534 char (*f) () = pthread_attr_setstacksize;
40535 #endif
40536 #ifdef __cplusplus
40537 }
40538 #endif
40539
40540 int
40541 main ()
40542 {
40543 return f != pthread_attr_setstacksize;
40544 ;
40545 return 0;
40546 }
40547 _ACEOF
40548 rm -f conftest.$ac_objext conftest$ac_exeext
40549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40550 (eval $ac_link) 2>conftest.er1
40551 ac_status=$?
40552 grep -v '^ *+' conftest.er1 >conftest.err
40553 rm -f conftest.er1
40554 cat conftest.err >&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } &&
40557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40560 ac_status=$?
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; } &&
40563 { ac_try='test -s conftest$ac_exeext'
40564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40565 (eval $ac_try) 2>&5
40566 ac_status=$?
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); }; }; then
40569 ac_cv_func_pthread_attr_setstacksize=yes
40570 else
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40573
40574 ac_cv_func_pthread_attr_setstacksize=no
40575 fi
40576 rm -f conftest.err conftest.$ac_objext \
40577 conftest$ac_exeext conftest.$ac_ext
40578 fi
40579 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40580 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40581 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40582 cat >>confdefs.h <<\_ACEOF
40583 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40584 _ACEOF
40585
40586 fi
40587
40588
40589
40590 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40591 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40592 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40593 echo $ECHO_N "(cached) $ECHO_C" >&6
40594 else
40595
40596 cat >conftest.$ac_ext <<_ACEOF
40597 /* confdefs.h. */
40598 _ACEOF
40599 cat confdefs.h >>conftest.$ac_ext
40600 cat >>conftest.$ac_ext <<_ACEOF
40601 /* end confdefs.h. */
40602 #include <pthread.h>
40603 int
40604 main ()
40605 {
40606
40607 pthread_mutexattr_t attr;
40608 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40609
40610 ;
40611 return 0;
40612 }
40613 _ACEOF
40614 rm -f conftest.$ac_objext
40615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40616 (eval $ac_compile) 2>conftest.er1
40617 ac_status=$?
40618 grep -v '^ *+' conftest.er1 >conftest.err
40619 rm -f conftest.er1
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } &&
40623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40625 (eval $ac_try) 2>&5
40626 ac_status=$?
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); }; } &&
40629 { ac_try='test -s conftest.$ac_objext'
40630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40631 (eval $ac_try) 2>&5
40632 ac_status=$?
40633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634 (exit $ac_status); }; }; then
40635 wx_cv_type_pthread_mutexattr_t=yes
40636 else
40637 echo "$as_me: failed program was:" >&5
40638 sed 's/^/| /' conftest.$ac_ext >&5
40639
40640 wx_cv_type_pthread_mutexattr_t=no
40641
40642 fi
40643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40644
40645 fi
40646 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40647 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40648
40649 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40650 cat >>confdefs.h <<\_ACEOF
40651 #define HAVE_PTHREAD_MUTEXATTR_T 1
40652 _ACEOF
40653
40654
40655 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40656 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40657 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40658 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 else
40660
40661 cat >conftest.$ac_ext <<_ACEOF
40662 /* confdefs.h. */
40663 _ACEOF
40664 cat confdefs.h >>conftest.$ac_ext
40665 cat >>conftest.$ac_ext <<_ACEOF
40666 /* end confdefs.h. */
40667 #include <pthread.h>
40668 int
40669 main ()
40670 {
40671
40672 pthread_mutexattr_t attr;
40673 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40674
40675 ;
40676 return 0;
40677 }
40678 _ACEOF
40679 rm -f conftest.$ac_objext
40680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40681 (eval $ac_compile) 2>conftest.er1
40682 ac_status=$?
40683 grep -v '^ *+' conftest.er1 >conftest.err
40684 rm -f conftest.er1
40685 cat conftest.err >&5
40686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40687 (exit $ac_status); } &&
40688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40690 (eval $ac_try) 2>&5
40691 ac_status=$?
40692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40693 (exit $ac_status); }; } &&
40694 { ac_try='test -s conftest.$ac_objext'
40695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40696 (eval $ac_try) 2>&5
40697 ac_status=$?
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); }; }; then
40700 wx_cv_func_pthread_mutexattr_settype_decl=yes
40701 else
40702 echo "$as_me: failed program was:" >&5
40703 sed 's/^/| /' conftest.$ac_ext >&5
40704
40705 wx_cv_func_pthread_mutexattr_settype_decl=no
40706
40707 fi
40708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40709
40710 fi
40711 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40712 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40713 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40714 cat >>confdefs.h <<\_ACEOF
40715 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40716 _ACEOF
40717
40718 fi
40719 else
40720 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40721 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40722 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40723 echo $ECHO_N "(cached) $ECHO_C" >&6
40724 else
40725
40726 cat >conftest.$ac_ext <<_ACEOF
40727 /* confdefs.h. */
40728 _ACEOF
40729 cat confdefs.h >>conftest.$ac_ext
40730 cat >>conftest.$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40732 #include <pthread.h>
40733 int
40734 main ()
40735 {
40736
40737 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40738
40739 ;
40740 return 0;
40741 }
40742 _ACEOF
40743 rm -f conftest.$ac_objext
40744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40745 (eval $ac_compile) 2>conftest.er1
40746 ac_status=$?
40747 grep -v '^ *+' conftest.er1 >conftest.err
40748 rm -f conftest.er1
40749 cat conftest.err >&5
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); } &&
40752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40755 ac_status=$?
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; } &&
40758 { ac_try='test -s conftest.$ac_objext'
40759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40760 (eval $ac_try) 2>&5
40761 ac_status=$?
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); }; }; then
40764
40765 wx_cv_type_pthread_rec_mutex_init=yes
40766
40767 else
40768 echo "$as_me: failed program was:" >&5
40769 sed 's/^/| /' conftest.$ac_ext >&5
40770
40771
40772 wx_cv_type_pthread_rec_mutex_init=no
40773
40774
40775 fi
40776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40777
40778 fi
40779 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40780 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40781 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40782 cat >>confdefs.h <<\_ACEOF
40783 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40784 _ACEOF
40785
40786 else
40787 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40788 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40789 fi
40790 fi
40791 fi
40792
40793 else
40794 if test "$wxUSE_THREADS" = "yes" ; then
40795 case "${host}" in
40796 *-*-mingw32* )
40797 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40798 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40799 if test "${wx_cv_cflags_mthread+set}" = set; then
40800 echo $ECHO_N "(cached) $ECHO_C" >&6
40801 else
40802
40803 CXXFLAGS_OLD="$CXXFLAGS"
40804 CXXFLAGS="-mthreads $CXXFLAGS"
40805 cat >conftest.$ac_ext <<_ACEOF
40806 /* confdefs.h. */
40807 _ACEOF
40808 cat confdefs.h >>conftest.$ac_ext
40809 cat >>conftest.$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40811
40812 int
40813 main ()
40814 {
40815
40816 ;
40817 return 0;
40818 }
40819 _ACEOF
40820 rm -f conftest.$ac_objext
40821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40822 (eval $ac_compile) 2>conftest.er1
40823 ac_status=$?
40824 grep -v '^ *+' conftest.er1 >conftest.err
40825 rm -f conftest.er1
40826 cat conftest.err >&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); } &&
40829 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40831 (eval $ac_try) 2>&5
40832 ac_status=$?
40833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834 (exit $ac_status); }; } &&
40835 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
40841 wx_cv_cflags_mthread=yes
40842 else
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.$ac_ext >&5
40845
40846 wx_cv_cflags_mthread=no
40847
40848 fi
40849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40850
40851
40852 fi
40853 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40854 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40855
40856 if test "$wx_cv_cflags_mthread" = "yes"; then
40857 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40858 LDFLAGS="$LDFLAGS -mthreads"
40859 else
40860 CXXFLAGS="$CXXFLAGS_OLD"
40861 fi
40862 ;;
40863 *-pc-os2*emx )
40864 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40865 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40866 LDFLAGS="$LDFLAGS -Zmt"
40867 ;;
40868 esac
40869 fi
40870 fi
40871
40872 echo "$as_me:$LINENO: checking for localtime_r" >&5
40873 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40874 if test "${ac_cv_func_localtime_r+set}" = set; then
40875 echo $ECHO_N "(cached) $ECHO_C" >&6
40876 else
40877 cat >conftest.$ac_ext <<_ACEOF
40878 /* confdefs.h. */
40879 _ACEOF
40880 cat confdefs.h >>conftest.$ac_ext
40881 cat >>conftest.$ac_ext <<_ACEOF
40882 /* end confdefs.h. */
40883 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40885 #define localtime_r innocuous_localtime_r
40886
40887 /* System header to define __stub macros and hopefully few prototypes,
40888 which can conflict with char localtime_r (); below.
40889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40890 <limits.h> exists even on freestanding compilers. */
40891
40892 #ifdef __STDC__
40893 # include <limits.h>
40894 #else
40895 # include <assert.h>
40896 #endif
40897
40898 #undef localtime_r
40899
40900 /* Override any gcc2 internal prototype to avoid an error. */
40901 #ifdef __cplusplus
40902 extern "C"
40903 {
40904 #endif
40905 /* We use char because int might match the return type of a gcc2
40906 builtin and then its argument prototype would still apply. */
40907 char localtime_r ();
40908 /* The GNU C library defines this for functions which it implements
40909 to always fail with ENOSYS. Some functions are actually named
40910 something starting with __ and the normal name is an alias. */
40911 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40912 choke me
40913 #else
40914 char (*f) () = localtime_r;
40915 #endif
40916 #ifdef __cplusplus
40917 }
40918 #endif
40919
40920 int
40921 main ()
40922 {
40923 return f != localtime_r;
40924 ;
40925 return 0;
40926 }
40927 _ACEOF
40928 rm -f conftest.$ac_objext conftest$ac_exeext
40929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40930 (eval $ac_link) 2>conftest.er1
40931 ac_status=$?
40932 grep -v '^ *+' conftest.er1 >conftest.err
40933 rm -f conftest.er1
40934 cat conftest.err >&5
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); } &&
40937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40939 (eval $ac_try) 2>&5
40940 ac_status=$?
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); }; } &&
40943 { ac_try='test -s conftest$ac_exeext'
40944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40945 (eval $ac_try) 2>&5
40946 ac_status=$?
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); }; }; then
40949 ac_cv_func_localtime_r=yes
40950 else
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.$ac_ext >&5
40953
40954 ac_cv_func_localtime_r=no
40955 fi
40956 rm -f conftest.err conftest.$ac_objext \
40957 conftest$ac_exeext conftest.$ac_ext
40958 fi
40959 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40960 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40961 if test $ac_cv_func_localtime_r = yes; then
40962 cat >>confdefs.h <<\_ACEOF
40963 #define HAVE_LOCALTIME_R 1
40964 _ACEOF
40965
40966 fi
40967
40968 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40969 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40970 if test "${ac_cv_func_gmtime_r+set}" = set; then
40971 echo $ECHO_N "(cached) $ECHO_C" >&6
40972 else
40973 cat >conftest.$ac_ext <<_ACEOF
40974 /* confdefs.h. */
40975 _ACEOF
40976 cat confdefs.h >>conftest.$ac_ext
40977 cat >>conftest.$ac_ext <<_ACEOF
40978 /* end confdefs.h. */
40979 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40981 #define gmtime_r innocuous_gmtime_r
40982
40983 /* System header to define __stub macros and hopefully few prototypes,
40984 which can conflict with char gmtime_r (); below.
40985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40986 <limits.h> exists even on freestanding compilers. */
40987
40988 #ifdef __STDC__
40989 # include <limits.h>
40990 #else
40991 # include <assert.h>
40992 #endif
40993
40994 #undef gmtime_r
40995
40996 /* Override any gcc2 internal prototype to avoid an error. */
40997 #ifdef __cplusplus
40998 extern "C"
40999 {
41000 #endif
41001 /* We use char because int might match the return type of a gcc2
41002 builtin and then its argument prototype would still apply. */
41003 char gmtime_r ();
41004 /* The GNU C library defines this for functions which it implements
41005 to always fail with ENOSYS. Some functions are actually named
41006 something starting with __ and the normal name is an alias. */
41007 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41008 choke me
41009 #else
41010 char (*f) () = gmtime_r;
41011 #endif
41012 #ifdef __cplusplus
41013 }
41014 #endif
41015
41016 int
41017 main ()
41018 {
41019 return f != gmtime_r;
41020 ;
41021 return 0;
41022 }
41023 _ACEOF
41024 rm -f conftest.$ac_objext conftest$ac_exeext
41025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41026 (eval $ac_link) 2>conftest.er1
41027 ac_status=$?
41028 grep -v '^ *+' conftest.er1 >conftest.err
41029 rm -f conftest.er1
41030 cat conftest.err >&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); } &&
41033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41035 (eval $ac_try) 2>&5
41036 ac_status=$?
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); }; } &&
41039 { ac_try='test -s conftest$ac_exeext'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41042 ac_status=$?
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; }; then
41045 ac_cv_func_gmtime_r=yes
41046 else
41047 echo "$as_me: failed program was:" >&5
41048 sed 's/^/| /' conftest.$ac_ext >&5
41049
41050 ac_cv_func_gmtime_r=no
41051 fi
41052 rm -f conftest.err conftest.$ac_objext \
41053 conftest$ac_exeext conftest.$ac_ext
41054 fi
41055 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41056 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41057 if test $ac_cv_func_gmtime_r = yes; then
41058 cat >>confdefs.h <<\_ACEOF
41059 #define HAVE_GMTIME_R 1
41060 _ACEOF
41061
41062 fi
41063
41064 echo "$as_me:$LINENO: checking for readdir_r" >&5
41065 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41066 if test "${ac_cv_func_readdir_r+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41068 else
41069 cat >conftest.$ac_ext <<_ACEOF
41070 /* confdefs.h. */
41071 _ACEOF
41072 cat confdefs.h >>conftest.$ac_ext
41073 cat >>conftest.$ac_ext <<_ACEOF
41074 /* end confdefs.h. */
41075 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41077 #define readdir_r innocuous_readdir_r
41078
41079 /* System header to define __stub macros and hopefully few prototypes,
41080 which can conflict with char readdir_r (); below.
41081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41082 <limits.h> exists even on freestanding compilers. */
41083
41084 #ifdef __STDC__
41085 # include <limits.h>
41086 #else
41087 # include <assert.h>
41088 #endif
41089
41090 #undef readdir_r
41091
41092 /* Override any gcc2 internal prototype to avoid an error. */
41093 #ifdef __cplusplus
41094 extern "C"
41095 {
41096 #endif
41097 /* We use char because int might match the return type of a gcc2
41098 builtin and then its argument prototype would still apply. */
41099 char readdir_r ();
41100 /* The GNU C library defines this for functions which it implements
41101 to always fail with ENOSYS. Some functions are actually named
41102 something starting with __ and the normal name is an alias. */
41103 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41104 choke me
41105 #else
41106 char (*f) () = readdir_r;
41107 #endif
41108 #ifdef __cplusplus
41109 }
41110 #endif
41111
41112 int
41113 main ()
41114 {
41115 return f != readdir_r;
41116 ;
41117 return 0;
41118 }
41119 _ACEOF
41120 rm -f conftest.$ac_objext conftest$ac_exeext
41121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41122 (eval $ac_link) 2>conftest.er1
41123 ac_status=$?
41124 grep -v '^ *+' conftest.er1 >conftest.err
41125 rm -f conftest.er1
41126 cat conftest.err >&5
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); } &&
41129 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131 (eval $ac_try) 2>&5
41132 ac_status=$?
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); }; } &&
41135 { ac_try='test -s conftest$ac_exeext'
41136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41137 (eval $ac_try) 2>&5
41138 ac_status=$?
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); }; }; then
41141 ac_cv_func_readdir_r=yes
41142 else
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.$ac_ext >&5
41145
41146 ac_cv_func_readdir_r=no
41147 fi
41148 rm -f conftest.err conftest.$ac_objext \
41149 conftest$ac_exeext conftest.$ac_ext
41150 fi
41151 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41152 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41153 if test $ac_cv_func_readdir_r = yes; then
41154 cat >>confdefs.h <<\_ACEOF
41155 #define HAVE_READDIR_R 1
41156 _ACEOF
41157
41158 fi
41159
41160
41161
41162
41163 ac_ext=c
41164 ac_cpp='$CPP $CPPFLAGS'
41165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41168
41169 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41170 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41171
41172 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41173 echo $ECHO_N "(cached) $ECHO_C" >&6
41174 else
41175
41176
41177 ################################################################
41178
41179 ac_cv_func_which_gethostbyname_r=unknown
41180
41181 #
41182 # ONE ARGUMENT (sanity check)
41183 #
41184
41185 # This should fail, as there is no variant of gethostbyname_r() that takes
41186 # a single argument. If it actually compiles, then we can assume that
41187 # netdb.h is not declaring the function, and the compiler is thereby
41188 # assuming an implicit prototype. In which case, we're out of luck.
41189 #
41190 cat >conftest.$ac_ext <<_ACEOF
41191 /* confdefs.h. */
41192 _ACEOF
41193 cat confdefs.h >>conftest.$ac_ext
41194 cat >>conftest.$ac_ext <<_ACEOF
41195 /* end confdefs.h. */
41196 #include <netdb.h>
41197 int
41198 main ()
41199 {
41200
41201 char *name = "www.gnu.org";
41202 (void)gethostbyname_r(name) /* ; */
41203
41204 ;
41205 return 0;
41206 }
41207 _ACEOF
41208 rm -f conftest.$ac_objext
41209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41210 (eval $ac_compile) 2>conftest.er1
41211 ac_status=$?
41212 grep -v '^ *+' conftest.er1 >conftest.err
41213 rm -f conftest.er1
41214 cat conftest.err >&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } &&
41217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41219 (eval $ac_try) 2>&5
41220 ac_status=$?
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); }; } &&
41223 { ac_try='test -s conftest.$ac_objext'
41224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41225 (eval $ac_try) 2>&5
41226 ac_status=$?
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); }; }; then
41229 ac_cv_func_which_gethostbyname_r=no
41230 else
41231 echo "$as_me: failed program was:" >&5
41232 sed 's/^/| /' conftest.$ac_ext >&5
41233
41234 fi
41235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41236
41237 #
41238 # SIX ARGUMENTS
41239 # (e.g. Linux)
41240 #
41241
41242 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41243
41244 cat >conftest.$ac_ext <<_ACEOF
41245 /* confdefs.h. */
41246 _ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41250 #include <netdb.h>
41251 int
41252 main ()
41253 {
41254
41255 char *name = "www.gnu.org";
41256 struct hostent ret, *retp;
41257 char buf[1024];
41258 int buflen = 1024;
41259 int my_h_errno;
41260 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41261
41262 ;
41263 return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext
41267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41268 (eval $ac_compile) 2>conftest.er1
41269 ac_status=$?
41270 grep -v '^ *+' conftest.er1 >conftest.err
41271 rm -f conftest.er1
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } &&
41275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41278 ac_status=$?
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; } &&
41281 { ac_try='test -s conftest.$ac_objext'
41282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41283 (eval $ac_try) 2>&5
41284 ac_status=$?
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); }; }; then
41287 ac_cv_func_which_gethostbyname_r=six
41288 else
41289 echo "$as_me: failed program was:" >&5
41290 sed 's/^/| /' conftest.$ac_ext >&5
41291
41292 fi
41293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41294
41295 fi
41296
41297 #
41298 # FIVE ARGUMENTS
41299 # (e.g. Solaris)
41300 #
41301
41302 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41303
41304 cat >conftest.$ac_ext <<_ACEOF
41305 /* confdefs.h. */
41306 _ACEOF
41307 cat confdefs.h >>conftest.$ac_ext
41308 cat >>conftest.$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41310 #include <netdb.h>
41311 int
41312 main ()
41313 {
41314
41315 char *name = "www.gnu.org";
41316 struct hostent ret;
41317 char buf[1024];
41318 int buflen = 1024;
41319 int my_h_errno;
41320 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41321
41322 ;
41323 return 0;
41324 }
41325 _ACEOF
41326 rm -f conftest.$ac_objext
41327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41328 (eval $ac_compile) 2>conftest.er1
41329 ac_status=$?
41330 grep -v '^ *+' conftest.er1 >conftest.err
41331 rm -f conftest.er1
41332 cat conftest.err >&5
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); } &&
41335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41337 (eval $ac_try) 2>&5
41338 ac_status=$?
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); }; } &&
41341 { ac_try='test -s conftest.$ac_objext'
41342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41343 (eval $ac_try) 2>&5
41344 ac_status=$?
41345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41346 (exit $ac_status); }; }; then
41347 ac_cv_func_which_gethostbyname_r=five
41348 else
41349 echo "$as_me: failed program was:" >&5
41350 sed 's/^/| /' conftest.$ac_ext >&5
41351
41352 fi
41353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41354
41355 fi
41356
41357 #
41358 # THREE ARGUMENTS
41359 # (e.g. AIX, HP-UX, Tru64)
41360 #
41361
41362 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41363
41364 cat >conftest.$ac_ext <<_ACEOF
41365 /* confdefs.h. */
41366 _ACEOF
41367 cat confdefs.h >>conftest.$ac_ext
41368 cat >>conftest.$ac_ext <<_ACEOF
41369 /* end confdefs.h. */
41370 #include <netdb.h>
41371 int
41372 main ()
41373 {
41374
41375 char *name = "www.gnu.org";
41376 struct hostent ret;
41377 struct hostent_data data;
41378 (void)gethostbyname_r(name, &ret, &data) /* ; */
41379
41380 ;
41381 return 0;
41382 }
41383 _ACEOF
41384 rm -f conftest.$ac_objext
41385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41386 (eval $ac_compile) 2>conftest.er1
41387 ac_status=$?
41388 grep -v '^ *+' conftest.er1 >conftest.err
41389 rm -f conftest.er1
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } &&
41393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41395 (eval $ac_try) 2>&5
41396 ac_status=$?
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); }; } &&
41399 { ac_try='test -s conftest.$ac_objext'
41400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41401 (eval $ac_try) 2>&5
41402 ac_status=$?
41403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41404 (exit $ac_status); }; }; then
41405 ac_cv_func_which_gethostbyname_r=three
41406 else
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.$ac_ext >&5
41409
41410 fi
41411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41412
41413 fi
41414
41415 ################################################################
41416
41417
41418 fi
41419
41420 case "$ac_cv_func_which_gethostbyname_r" in
41421 three)
41422 echo "$as_me:$LINENO: result: three" >&5
41423 echo "${ECHO_T}three" >&6
41424 cat >>confdefs.h <<\_ACEOF
41425 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41426 _ACEOF
41427
41428 ;;
41429
41430 five)
41431 echo "$as_me:$LINENO: result: five" >&5
41432 echo "${ECHO_T}five" >&6
41433 cat >>confdefs.h <<\_ACEOF
41434 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41435 _ACEOF
41436
41437 ;;
41438
41439 six)
41440 echo "$as_me:$LINENO: result: six" >&5
41441 echo "${ECHO_T}six" >&6
41442 cat >>confdefs.h <<\_ACEOF
41443 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41444 _ACEOF
41445
41446 ;;
41447
41448 no)
41449 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41450 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41451 ;;
41452
41453 unknown)
41454 echo "$as_me:$LINENO: result: can't tell" >&5
41455 echo "${ECHO_T}can't tell" >&6
41456 ;;
41457
41458 *)
41459 { { echo "$as_me:$LINENO: error: internal error" >&5
41460 echo "$as_me: error: internal error" >&2;}
41461 { (exit 1); exit 1; }; }
41462 ;;
41463 esac
41464
41465 ac_ext=cc
41466 ac_cpp='$CXXCPP $CPPFLAGS'
41467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41470
41471
41472
41473 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41474 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41475 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41476 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41477 if test "${ac_cv_func_gethostbyname+set}" = set; then
41478 echo $ECHO_N "(cached) $ECHO_C" >&6
41479 else
41480 cat >conftest.$ac_ext <<_ACEOF
41481 /* confdefs.h. */
41482 _ACEOF
41483 cat confdefs.h >>conftest.$ac_ext
41484 cat >>conftest.$ac_ext <<_ACEOF
41485 /* end confdefs.h. */
41486 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41488 #define gethostbyname innocuous_gethostbyname
41489
41490 /* System header to define __stub macros and hopefully few prototypes,
41491 which can conflict with char gethostbyname (); below.
41492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41493 <limits.h> exists even on freestanding compilers. */
41494
41495 #ifdef __STDC__
41496 # include <limits.h>
41497 #else
41498 # include <assert.h>
41499 #endif
41500
41501 #undef gethostbyname
41502
41503 /* Override any gcc2 internal prototype to avoid an error. */
41504 #ifdef __cplusplus
41505 extern "C"
41506 {
41507 #endif
41508 /* We use char because int might match the return type of a gcc2
41509 builtin and then its argument prototype would still apply. */
41510 char gethostbyname ();
41511 /* The GNU C library defines this for functions which it implements
41512 to always fail with ENOSYS. Some functions are actually named
41513 something starting with __ and the normal name is an alias. */
41514 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41515 choke me
41516 #else
41517 char (*f) () = gethostbyname;
41518 #endif
41519 #ifdef __cplusplus
41520 }
41521 #endif
41522
41523 int
41524 main ()
41525 {
41526 return f != gethostbyname;
41527 ;
41528 return 0;
41529 }
41530 _ACEOF
41531 rm -f conftest.$ac_objext conftest$ac_exeext
41532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41533 (eval $ac_link) 2>conftest.er1
41534 ac_status=$?
41535 grep -v '^ *+' conftest.er1 >conftest.err
41536 rm -f conftest.er1
41537 cat conftest.err >&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); } &&
41540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41542 (eval $ac_try) 2>&5
41543 ac_status=$?
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); }; } &&
41546 { ac_try='test -s conftest$ac_exeext'
41547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41548 (eval $ac_try) 2>&5
41549 ac_status=$?
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); }; }; then
41552 ac_cv_func_gethostbyname=yes
41553 else
41554 echo "$as_me: failed program was:" >&5
41555 sed 's/^/| /' conftest.$ac_ext >&5
41556
41557 ac_cv_func_gethostbyname=no
41558 fi
41559 rm -f conftest.err conftest.$ac_objext \
41560 conftest$ac_exeext conftest.$ac_ext
41561 fi
41562 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41564 if test $ac_cv_func_gethostbyname = yes; then
41565 cat >>confdefs.h <<\_ACEOF
41566 #define HAVE_GETHOSTBYNAME 1
41567 _ACEOF
41568
41569 fi
41570
41571 fi
41572
41573 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41574 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41575 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 else
41578
41579 cat >conftest.$ac_ext <<_ACEOF
41580 /* confdefs.h. */
41581 _ACEOF
41582 cat confdefs.h >>conftest.$ac_ext
41583 cat >>conftest.$ac_ext <<_ACEOF
41584 /* end confdefs.h. */
41585 #include <netdb.h>
41586 int
41587 main ()
41588 {
41589
41590 char *name;
41591 char *proto;
41592 struct servent *se, *res;
41593 char buffer[2048];
41594 int buflen = 2048;
41595 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41596
41597 ;
41598 return 0;
41599 }
41600 _ACEOF
41601 rm -f conftest.$ac_objext
41602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41603 (eval $ac_compile) 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } &&
41610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41613 ac_status=$?
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; } &&
41616 { ac_try='test -s conftest.$ac_objext'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41619 ac_status=$?
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; }; then
41622 ac_cv_func_which_getservbyname_r=six
41623 else
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41626
41627
41628 cat >conftest.$ac_ext <<_ACEOF
41629 /* confdefs.h. */
41630 _ACEOF
41631 cat confdefs.h >>conftest.$ac_ext
41632 cat >>conftest.$ac_ext <<_ACEOF
41633 /* end confdefs.h. */
41634 #include <netdb.h>
41635 int
41636 main ()
41637 {
41638
41639 char *name;
41640 char *proto;
41641 struct servent *se;
41642 char buffer[2048];
41643 int buflen = 2048;
41644 (void) getservbyname_r(name, proto, se, buffer, buflen)
41645
41646 ;
41647 return 0;
41648 }
41649 _ACEOF
41650 rm -f conftest.$ac_objext
41651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41652 (eval $ac_compile) 2>conftest.er1
41653 ac_status=$?
41654 grep -v '^ *+' conftest.er1 >conftest.err
41655 rm -f conftest.er1
41656 cat conftest.err >&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } &&
41659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41661 (eval $ac_try) 2>&5
41662 ac_status=$?
41663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664 (exit $ac_status); }; } &&
41665 { ac_try='test -s conftest.$ac_objext'
41666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41667 (eval $ac_try) 2>&5
41668 ac_status=$?
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); }; }; then
41671 ac_cv_func_which_getservbyname_r=five
41672 else
41673 echo "$as_me: failed program was:" >&5
41674 sed 's/^/| /' conftest.$ac_ext >&5
41675
41676
41677 cat >conftest.$ac_ext <<_ACEOF
41678 /* confdefs.h. */
41679 _ACEOF
41680 cat confdefs.h >>conftest.$ac_ext
41681 cat >>conftest.$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41683 #include <netdb.h>
41684 int
41685 main ()
41686 {
41687
41688 char *name;
41689 char *proto;
41690 struct servent *se;
41691 struct servent_data data;
41692 (void) getservbyname_r(name, proto, se, &data);
41693
41694 ;
41695 return 0;
41696 }
41697 _ACEOF
41698 rm -f conftest.$ac_objext
41699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41700 (eval $ac_compile) 2>conftest.er1
41701 ac_status=$?
41702 grep -v '^ *+' conftest.er1 >conftest.err
41703 rm -f conftest.er1
41704 cat conftest.err >&5
41705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706 (exit $ac_status); } &&
41707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41709 (eval $ac_try) 2>&5
41710 ac_status=$?
41711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712 (exit $ac_status); }; } &&
41713 { ac_try='test -s conftest.$ac_objext'
41714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41715 (eval $ac_try) 2>&5
41716 ac_status=$?
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); }; }; then
41719 ac_cv_func_which_getservbyname_r=four
41720 else
41721 echo "$as_me: failed program was:" >&5
41722 sed 's/^/| /' conftest.$ac_ext >&5
41723
41724 ac_cv_func_which_getservbyname_r=no
41725
41726 fi
41727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41728
41729
41730 fi
41731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41732
41733
41734 fi
41735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41736
41737
41738 fi
41739 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41740 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41741
41742 if test $ac_cv_func_which_getservbyname_r = six; then
41743 cat >>confdefs.h <<\_ACEOF
41744 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41745 _ACEOF
41746
41747 elif test $ac_cv_func_which_getservbyname_r = five; then
41748 cat >>confdefs.h <<\_ACEOF
41749 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41750 _ACEOF
41751
41752 elif test $ac_cv_func_which_getservbyname_r = four; then
41753 cat >>confdefs.h <<\_ACEOF
41754 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41755 _ACEOF
41756
41757 fi
41758
41759
41760 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41761 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41762
41763 for ac_func in getservbyname
41764 do
41765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41766 echo "$as_me:$LINENO: checking for $ac_func" >&5
41767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41768 if eval "test \"\${$as_ac_var+set}\" = set"; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 else
41771 cat >conftest.$ac_ext <<_ACEOF
41772 /* confdefs.h. */
41773 _ACEOF
41774 cat confdefs.h >>conftest.$ac_ext
41775 cat >>conftest.$ac_ext <<_ACEOF
41776 /* end confdefs.h. */
41777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41779 #define $ac_func innocuous_$ac_func
41780
41781 /* System header to define __stub macros and hopefully few prototypes,
41782 which can conflict with char $ac_func (); below.
41783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41784 <limits.h> exists even on freestanding compilers. */
41785
41786 #ifdef __STDC__
41787 # include <limits.h>
41788 #else
41789 # include <assert.h>
41790 #endif
41791
41792 #undef $ac_func
41793
41794 /* Override any gcc2 internal prototype to avoid an error. */
41795 #ifdef __cplusplus
41796 extern "C"
41797 {
41798 #endif
41799 /* We use char because int might match the return type of a gcc2
41800 builtin and then its argument prototype would still apply. */
41801 char $ac_func ();
41802 /* The GNU C library defines this for functions which it implements
41803 to always fail with ENOSYS. Some functions are actually named
41804 something starting with __ and the normal name is an alias. */
41805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41806 choke me
41807 #else
41808 char (*f) () = $ac_func;
41809 #endif
41810 #ifdef __cplusplus
41811 }
41812 #endif
41813
41814 int
41815 main ()
41816 {
41817 return f != $ac_func;
41818 ;
41819 return 0;
41820 }
41821 _ACEOF
41822 rm -f conftest.$ac_objext conftest$ac_exeext
41823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41824 (eval $ac_link) 2>conftest.er1
41825 ac_status=$?
41826 grep -v '^ *+' conftest.er1 >conftest.err
41827 rm -f conftest.er1
41828 cat conftest.err >&5
41829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41830 (exit $ac_status); } &&
41831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41834 ac_status=$?
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41840 ac_status=$?
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 eval "$as_ac_var=yes"
41844 else
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41847
41848 eval "$as_ac_var=no"
41849 fi
41850 rm -f conftest.err conftest.$ac_objext \
41851 conftest$ac_exeext conftest.$ac_ext
41852 fi
41853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41855 if test `eval echo '${'$as_ac_var'}'` = yes; then
41856 cat >>confdefs.h <<_ACEOF
41857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41858 _ACEOF
41859 cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_GETSERVBYNAME 1
41861 _ACEOF
41862
41863 fi
41864 done
41865
41866 fi
41867
41868 if test "$wxUSE_THREADS" = "yes"; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_THREADS 1
41871 _ACEOF
41872
41873
41874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41875 else
41876 if test "$wx_cv_func_strtok_r" = "yes"; then
41877 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41878 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41879 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41880 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41881 echo "$as_me:$LINENO: result: yes" >&5
41882 echo "${ECHO_T}yes" >&6
41883 else
41884 echo "$as_me:$LINENO: result: no" >&5
41885 echo "${ECHO_T}no" >&6
41886 fi
41887 fi
41888 fi
41889
41890 if test "$WXGTK20" = 1 ; then
41891 cat >>confdefs.h <<_ACEOF
41892 #define __WXGTK20__ $WXGTK20
41893 _ACEOF
41894
41895 WXGTK12=1
41896 fi
41897
41898 if test "$WXGTK12" = 1 ; then
41899 cat >>confdefs.h <<_ACEOF
41900 #define __WXGTK12__ $WXGTK12
41901 _ACEOF
41902
41903 fi
41904
41905 if test "$WXGTK127" = 1 ; then
41906 cat >>confdefs.h <<_ACEOF
41907 #define __WXGTK127__ $WXGTK127
41908 _ACEOF
41909
41910 fi
41911
41912 if test "$WXGPE" = 1 ; then
41913 cat >>confdefs.h <<_ACEOF
41914 #define __WXGPE__ $WXGPE
41915 _ACEOF
41916
41917 fi
41918
41919 DEBUG_CFLAGS=
41920 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41921 DEBUG_CFLAGS="-g"
41922 wxUSE_OPTIMISE=no
41923 fi
41924
41925 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41926 wxUSE_DEBUG_INFO=yes
41927 if test "$GCC" = yes; then
41928 DEBUG_CFLAGS="-ggdb"
41929 fi
41930 fi
41931
41932 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41933 cat >>confdefs.h <<\_ACEOF
41934 #define WXDEBUG 1
41935 _ACEOF
41936
41937 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41938 else
41939 if test "$wxUSE_GTK" = 1 ; then
41940 if test "x$wxGTK_VERSION" = "x1" ; then
41941 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41942 fi
41943 fi
41944 fi
41945
41946 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41947 cat >>confdefs.h <<\_ACEOF
41948 #define wxUSE_MEMORY_TRACING 1
41949 _ACEOF
41950
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41953 _ACEOF
41954
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_DEBUG_NEW_ALWAYS 1
41957 _ACEOF
41958
41959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41960 fi
41961
41962 if test "$wxUSE_DMALLOC" = "yes" ; then
41963 DMALLOC_LIBS="-ldmallocthcxx"
41964 fi
41965
41966 PROFILE_FLAGS=
41967 if test "$wxUSE_PROFILE" = "yes" ; then
41968 PROFILE_FLAGS=" -pg"
41969 fi
41970
41971 if test "$GCC" = "yes" ; then
41972 if test "$wxUSE_NO_RTTI" = "yes" ; then
41973 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41974 fi
41975 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41976 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41977 fi
41978 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41979 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41980 fi
41981
41982 case "${host}" in
41983 powerpc*-*-aix* )
41984 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41985 ;;
41986 *-hppa* )
41987 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41988 ;;
41989 esac
41990 fi
41991
41992 OPTIMISE_CFLAGS=
41993 if test "$wxUSE_OPTIMISE" = "no" ; then
41994 if test "$GCC" = yes ; then
41995 OPTIMISE_CFLAGS="-O0"
41996 fi
41997 else
41998 if test "$GCC" = yes ; then
41999 case "${host}" in
42000 *-pc-os2_emx | *-pc-os2-emx )
42001 OPTIMISE_CFLAGS="-O2"
42002 ;;
42003 *)
42004 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42005 ;;
42006 esac
42007 else
42008 OPTIMISE_CFLAGS="-O"
42009 fi
42010 fi
42011
42012
42013 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42014 cat >>confdefs.h <<\_ACEOF
42015 #define WXWIN_COMPATIBILITY_2_4 1
42016 _ACEOF
42017
42018
42019 WXWIN_COMPATIBILITY_2_6="yes"
42020 fi
42021
42022 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42023 cat >>confdefs.h <<\_ACEOF
42024 #define WXWIN_COMPATIBILITY_2_6 1
42025 _ACEOF
42026
42027 fi
42028
42029
42030 if test "$wxUSE_GUI" = "yes"; then
42031 cat >>confdefs.h <<\_ACEOF
42032 #define wxUSE_GUI 1
42033 _ACEOF
42034
42035
42036 fi
42037
42038
42039 if test "$wxUSE_UNIX" = "yes"; then
42040 cat >>confdefs.h <<\_ACEOF
42041 #define wxUSE_UNIX 1
42042 _ACEOF
42043
42044 fi
42045
42046
42047 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42048
42049 HAVE_DL_FUNCS=0
42050 HAVE_SHL_FUNCS=0
42051 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42052 if test "$USE_DARWIN" = 1; then
42053 HAVE_DL_FUNCS=1
42054 elif test "$USE_DOS" = 1; then
42055 HAVE_DL_FUNCS=0
42056 else
42057
42058 for ac_func in dlopen
42059 do
42060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42061 echo "$as_me:$LINENO: checking for $ac_func" >&5
42062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42063 if eval "test \"\${$as_ac_var+set}\" = set"; then
42064 echo $ECHO_N "(cached) $ECHO_C" >&6
42065 else
42066 cat >conftest.$ac_ext <<_ACEOF
42067 /* confdefs.h. */
42068 _ACEOF
42069 cat confdefs.h >>conftest.$ac_ext
42070 cat >>conftest.$ac_ext <<_ACEOF
42071 /* end confdefs.h. */
42072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42074 #define $ac_func innocuous_$ac_func
42075
42076 /* System header to define __stub macros and hopefully few prototypes,
42077 which can conflict with char $ac_func (); below.
42078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42079 <limits.h> exists even on freestanding compilers. */
42080
42081 #ifdef __STDC__
42082 # include <limits.h>
42083 #else
42084 # include <assert.h>
42085 #endif
42086
42087 #undef $ac_func
42088
42089 /* Override any gcc2 internal prototype to avoid an error. */
42090 #ifdef __cplusplus
42091 extern "C"
42092 {
42093 #endif
42094 /* We use char because int might match the return type of a gcc2
42095 builtin and then its argument prototype would still apply. */
42096 char $ac_func ();
42097 /* The GNU C library defines this for functions which it implements
42098 to always fail with ENOSYS. Some functions are actually named
42099 something starting with __ and the normal name is an alias. */
42100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42101 choke me
42102 #else
42103 char (*f) () = $ac_func;
42104 #endif
42105 #ifdef __cplusplus
42106 }
42107 #endif
42108
42109 int
42110 main ()
42111 {
42112 return f != $ac_func;
42113 ;
42114 return 0;
42115 }
42116 _ACEOF
42117 rm -f conftest.$ac_objext conftest$ac_exeext
42118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42119 (eval $ac_link) 2>conftest.er1
42120 ac_status=$?
42121 grep -v '^ *+' conftest.er1 >conftest.err
42122 rm -f conftest.er1
42123 cat conftest.err >&5
42124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42125 (exit $ac_status); } &&
42126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42128 (eval $ac_try) 2>&5
42129 ac_status=$?
42130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42131 (exit $ac_status); }; } &&
42132 { ac_try='test -s conftest$ac_exeext'
42133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42134 (eval $ac_try) 2>&5
42135 ac_status=$?
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); }; }; then
42138 eval "$as_ac_var=yes"
42139 else
42140 echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.$ac_ext >&5
42142
42143 eval "$as_ac_var=no"
42144 fi
42145 rm -f conftest.err conftest.$ac_objext \
42146 conftest$ac_exeext conftest.$ac_ext
42147 fi
42148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42150 if test `eval echo '${'$as_ac_var'}'` = yes; then
42151 cat >>confdefs.h <<_ACEOF
42152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42153 _ACEOF
42154
42155 cat >>confdefs.h <<\_ACEOF
42156 #define HAVE_DLOPEN 1
42157 _ACEOF
42158
42159 HAVE_DL_FUNCS=1
42160
42161 else
42162
42163 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42164 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42165 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42166 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 else
42168 ac_check_lib_save_LIBS=$LIBS
42169 LIBS="-ldl $LIBS"
42170 cat >conftest.$ac_ext <<_ACEOF
42171 /* confdefs.h. */
42172 _ACEOF
42173 cat confdefs.h >>conftest.$ac_ext
42174 cat >>conftest.$ac_ext <<_ACEOF
42175 /* end confdefs.h. */
42176
42177 /* Override any gcc2 internal prototype to avoid an error. */
42178 #ifdef __cplusplus
42179 extern "C"
42180 #endif
42181 /* We use char because int might match the return type of a gcc2
42182 builtin and then its argument prototype would still apply. */
42183 char dlopen ();
42184 int
42185 main ()
42186 {
42187 dlopen ();
42188 ;
42189 return 0;
42190 }
42191 _ACEOF
42192 rm -f conftest.$ac_objext conftest$ac_exeext
42193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42194 (eval $ac_link) 2>conftest.er1
42195 ac_status=$?
42196 grep -v '^ *+' conftest.er1 >conftest.err
42197 rm -f conftest.er1
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } &&
42201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42203 (eval $ac_try) 2>&5
42204 ac_status=$?
42205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206 (exit $ac_status); }; } &&
42207 { ac_try='test -s conftest$ac_exeext'
42208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42209 (eval $ac_try) 2>&5
42210 ac_status=$?
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); }; }; then
42213 ac_cv_lib_dl_dlopen=yes
42214 else
42215 echo "$as_me: failed program was:" >&5
42216 sed 's/^/| /' conftest.$ac_ext >&5
42217
42218 ac_cv_lib_dl_dlopen=no
42219 fi
42220 rm -f conftest.err conftest.$ac_objext \
42221 conftest$ac_exeext conftest.$ac_ext
42222 LIBS=$ac_check_lib_save_LIBS
42223 fi
42224 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42225 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42226 if test $ac_cv_lib_dl_dlopen = yes; then
42227
42228 cat >>confdefs.h <<\_ACEOF
42229 #define HAVE_DLOPEN 1
42230 _ACEOF
42231
42232 HAVE_DL_FUNCS=1
42233 DL_LINK=" -ldl$DL_LINK"
42234
42235 else
42236
42237
42238 for ac_func in shl_load
42239 do
42240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42241 echo "$as_me:$LINENO: checking for $ac_func" >&5
42242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42243 if eval "test \"\${$as_ac_var+set}\" = set"; then
42244 echo $ECHO_N "(cached) $ECHO_C" >&6
42245 else
42246 cat >conftest.$ac_ext <<_ACEOF
42247 /* confdefs.h. */
42248 _ACEOF
42249 cat confdefs.h >>conftest.$ac_ext
42250 cat >>conftest.$ac_ext <<_ACEOF
42251 /* end confdefs.h. */
42252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42254 #define $ac_func innocuous_$ac_func
42255
42256 /* System header to define __stub macros and hopefully few prototypes,
42257 which can conflict with char $ac_func (); below.
42258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42259 <limits.h> exists even on freestanding compilers. */
42260
42261 #ifdef __STDC__
42262 # include <limits.h>
42263 #else
42264 # include <assert.h>
42265 #endif
42266
42267 #undef $ac_func
42268
42269 /* Override any gcc2 internal prototype to avoid an error. */
42270 #ifdef __cplusplus
42271 extern "C"
42272 {
42273 #endif
42274 /* We use char because int might match the return type of a gcc2
42275 builtin and then its argument prototype would still apply. */
42276 char $ac_func ();
42277 /* The GNU C library defines this for functions which it implements
42278 to always fail with ENOSYS. Some functions are actually named
42279 something starting with __ and the normal name is an alias. */
42280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42281 choke me
42282 #else
42283 char (*f) () = $ac_func;
42284 #endif
42285 #ifdef __cplusplus
42286 }
42287 #endif
42288
42289 int
42290 main ()
42291 {
42292 return f != $ac_func;
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42299 (eval $ac_link) 2>conftest.er1
42300 ac_status=$?
42301 grep -v '^ *+' conftest.er1 >conftest.err
42302 rm -f conftest.er1
42303 cat conftest.err >&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } &&
42306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42309 ac_status=$?
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; } &&
42312 { ac_try='test -s conftest$ac_exeext'
42313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42314 (eval $ac_try) 2>&5
42315 ac_status=$?
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); }; }; then
42318 eval "$as_ac_var=yes"
42319 else
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42322
42323 eval "$as_ac_var=no"
42324 fi
42325 rm -f conftest.err conftest.$ac_objext \
42326 conftest$ac_exeext conftest.$ac_ext
42327 fi
42328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42330 if test `eval echo '${'$as_ac_var'}'` = yes; then
42331 cat >>confdefs.h <<_ACEOF
42332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42333 _ACEOF
42334
42335 cat >>confdefs.h <<\_ACEOF
42336 #define HAVE_SHL_LOAD 1
42337 _ACEOF
42338
42339 HAVE_SHL_FUNCS=1
42340
42341 else
42342
42343 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42344 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42345 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42347 else
42348 ac_check_lib_save_LIBS=$LIBS
42349 LIBS="-lshl_load $LIBS"
42350 cat >conftest.$ac_ext <<_ACEOF
42351 /* confdefs.h. */
42352 _ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42356
42357 /* Override any gcc2 internal prototype to avoid an error. */
42358 #ifdef __cplusplus
42359 extern "C"
42360 #endif
42361 /* We use char because int might match the return type of a gcc2
42362 builtin and then its argument prototype would still apply. */
42363 char dld ();
42364 int
42365 main ()
42366 {
42367 dld ();
42368 ;
42369 return 0;
42370 }
42371 _ACEOF
42372 rm -f conftest.$ac_objext conftest$ac_exeext
42373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42374 (eval $ac_link) 2>conftest.er1
42375 ac_status=$?
42376 grep -v '^ *+' conftest.er1 >conftest.err
42377 rm -f conftest.er1
42378 cat conftest.err >&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } &&
42381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383 (eval $ac_try) 2>&5
42384 ac_status=$?
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); }; } &&
42387 { ac_try='test -s conftest$ac_exeext'
42388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42389 (eval $ac_try) 2>&5
42390 ac_status=$?
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); }; }; then
42393 ac_cv_lib_shl_load_dld=yes
42394 else
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.$ac_ext >&5
42397
42398 ac_cv_lib_shl_load_dld=no
42399 fi
42400 rm -f conftest.err conftest.$ac_objext \
42401 conftest$ac_exeext conftest.$ac_ext
42402 LIBS=$ac_check_lib_save_LIBS
42403 fi
42404 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42405 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42406 if test $ac_cv_lib_shl_load_dld = yes; then
42407
42408 HAVE_SHL_FUNCS=1
42409 DL_LINK=" -ldld$DL_LINK"
42410
42411 fi
42412
42413
42414 fi
42415 done
42416
42417
42418 fi
42419
42420
42421 fi
42422 done
42423
42424
42425 if test "$HAVE_DL_FUNCS" = 1; then
42426
42427 for ac_func in dlerror
42428 do
42429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42430 echo "$as_me:$LINENO: checking for $ac_func" >&5
42431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42432 if eval "test \"\${$as_ac_var+set}\" = set"; then
42433 echo $ECHO_N "(cached) $ECHO_C" >&6
42434 else
42435 cat >conftest.$ac_ext <<_ACEOF
42436 /* confdefs.h. */
42437 _ACEOF
42438 cat confdefs.h >>conftest.$ac_ext
42439 cat >>conftest.$ac_ext <<_ACEOF
42440 /* end confdefs.h. */
42441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42443 #define $ac_func innocuous_$ac_func
42444
42445 /* System header to define __stub macros and hopefully few prototypes,
42446 which can conflict with char $ac_func (); below.
42447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42448 <limits.h> exists even on freestanding compilers. */
42449
42450 #ifdef __STDC__
42451 # include <limits.h>
42452 #else
42453 # include <assert.h>
42454 #endif
42455
42456 #undef $ac_func
42457
42458 /* Override any gcc2 internal prototype to avoid an error. */
42459 #ifdef __cplusplus
42460 extern "C"
42461 {
42462 #endif
42463 /* We use char because int might match the return type of a gcc2
42464 builtin and then its argument prototype would still apply. */
42465 char $ac_func ();
42466 /* The GNU C library defines this for functions which it implements
42467 to always fail with ENOSYS. Some functions are actually named
42468 something starting with __ and the normal name is an alias. */
42469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42470 choke me
42471 #else
42472 char (*f) () = $ac_func;
42473 #endif
42474 #ifdef __cplusplus
42475 }
42476 #endif
42477
42478 int
42479 main ()
42480 {
42481 return f != $ac_func;
42482 ;
42483 return 0;
42484 }
42485 _ACEOF
42486 rm -f conftest.$ac_objext conftest$ac_exeext
42487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42488 (eval $ac_link) 2>conftest.er1
42489 ac_status=$?
42490 grep -v '^ *+' conftest.er1 >conftest.err
42491 rm -f conftest.er1
42492 cat conftest.err >&5
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); } &&
42495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42497 (eval $ac_try) 2>&5
42498 ac_status=$?
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); }; } &&
42501 { ac_try='test -s conftest$ac_exeext'
42502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42503 (eval $ac_try) 2>&5
42504 ac_status=$?
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); }; }; then
42507 eval "$as_ac_var=yes"
42508 else
42509 echo "$as_me: failed program was:" >&5
42510 sed 's/^/| /' conftest.$ac_ext >&5
42511
42512 eval "$as_ac_var=no"
42513 fi
42514 rm -f conftest.err conftest.$ac_objext \
42515 conftest$ac_exeext conftest.$ac_ext
42516 fi
42517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42519 if test `eval echo '${'$as_ac_var'}'` = yes; then
42520 cat >>confdefs.h <<_ACEOF
42521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42522 _ACEOF
42523 cat >>confdefs.h <<\_ACEOF
42524 #define HAVE_DLERROR 1
42525 _ACEOF
42526
42527 else
42528
42529 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42530 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42531 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42532 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 else
42534 ac_check_lib_save_LIBS=$LIBS
42535 LIBS="-ldl $LIBS"
42536 cat >conftest.$ac_ext <<_ACEOF
42537 /* confdefs.h. */
42538 _ACEOF
42539 cat confdefs.h >>conftest.$ac_ext
42540 cat >>conftest.$ac_ext <<_ACEOF
42541 /* end confdefs.h. */
42542
42543 /* Override any gcc2 internal prototype to avoid an error. */
42544 #ifdef __cplusplus
42545 extern "C"
42546 #endif
42547 /* We use char because int might match the return type of a gcc2
42548 builtin and then its argument prototype would still apply. */
42549 char dlerror ();
42550 int
42551 main ()
42552 {
42553 dlerror ();
42554 ;
42555 return 0;
42556 }
42557 _ACEOF
42558 rm -f conftest.$ac_objext conftest$ac_exeext
42559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42560 (eval $ac_link) 2>conftest.er1
42561 ac_status=$?
42562 grep -v '^ *+' conftest.er1 >conftest.err
42563 rm -f conftest.er1
42564 cat conftest.err >&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); } &&
42567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42569 (eval $ac_try) 2>&5
42570 ac_status=$?
42571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42572 (exit $ac_status); }; } &&
42573 { ac_try='test -s conftest$ac_exeext'
42574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42575 (eval $ac_try) 2>&5
42576 ac_status=$?
42577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578 (exit $ac_status); }; }; then
42579 ac_cv_lib_dl_dlerror=yes
42580 else
42581 echo "$as_me: failed program was:" >&5
42582 sed 's/^/| /' conftest.$ac_ext >&5
42583
42584 ac_cv_lib_dl_dlerror=no
42585 fi
42586 rm -f conftest.err conftest.$ac_objext \
42587 conftest$ac_exeext conftest.$ac_ext
42588 LIBS=$ac_check_lib_save_LIBS
42589 fi
42590 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42591 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42592 if test $ac_cv_lib_dl_dlerror = yes; then
42593 cat >>confdefs.h <<\_ACEOF
42594 #define HAVE_DLERROR 1
42595 _ACEOF
42596
42597 fi
42598
42599
42600
42601 fi
42602 done
42603
42604 fi
42605 fi
42606
42607 if test "$HAVE_DL_FUNCS" = 0; then
42608 if test "$HAVE_SHL_FUNCS" = 0; then
42609 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42610 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42611 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42612 wxUSE_DYNAMIC_LOADER=no
42613 wxUSE_DYNLIB_CLASS=no
42614 else
42615 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42616 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42617 fi
42618 fi
42619 fi
42620 fi
42621 fi
42622
42623 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_DYNAMIC_LOADER 1
42626 _ACEOF
42627
42628 fi
42629 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_DYNLIB_CLASS 1
42632 _ACEOF
42633
42634 fi
42635
42636
42637
42638 if test "$wxUSE_PLUGINS" = "yes" ; then
42639 if test "$wxUSE_SHARED" = "no" ; then
42640 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42641 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42642 wxUSE_PLUGINS=no
42643 fi
42644 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42645 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42646 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42647 wxUSE_PLUGINS=no
42648 fi
42649 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42650 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42651 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42652 wxUSE_PLUGINS=no
42653 fi
42654 if test "$wxUSE_PLUGINS" = "yes" ; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_PLUGINS 1
42657 _ACEOF
42658
42659 fi
42660 fi
42661
42662
42663 if test "$wxUSE_STL" = "yes"; then
42664 cat >>confdefs.h <<\_ACEOF
42665 #define wxUSE_STL 1
42666 _ACEOF
42667
42668 fi
42669
42670 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42671 cat >>confdefs.h <<\_ACEOF
42672 #define wxUSE_APPLE_IEEE 1
42673 _ACEOF
42674
42675 fi
42676
42677 if test "$wxUSE_TIMER" = "yes"; then
42678 cat >>confdefs.h <<\_ACEOF
42679 #define wxUSE_TIMER 1
42680 _ACEOF
42681
42682 fi
42683
42684 if test "$USE_UNIX" = "1" ; then
42685 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42686 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42687 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42689 else
42690
42691 cat >conftest.$ac_ext <<_ACEOF
42692 /* confdefs.h. */
42693 _ACEOF
42694 cat confdefs.h >>conftest.$ac_ext
42695 cat >>conftest.$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42697
42698 #include <sys/ioctl.h>
42699 #include <sys/soundcard.h>
42700
42701 int
42702 main ()
42703 {
42704
42705 ioctl(0, SNDCTL_DSP_SPEED, 0);
42706
42707 ;
42708 return 0;
42709 }
42710 _ACEOF
42711 rm -f conftest.$ac_objext conftest$ac_exeext
42712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42713 (eval $ac_link) 2>conftest.er1
42714 ac_status=$?
42715 grep -v '^ *+' conftest.er1 >conftest.err
42716 rm -f conftest.er1
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } &&
42720 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42722 (eval $ac_try) 2>&5
42723 ac_status=$?
42724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725 (exit $ac_status); }; } &&
42726 { ac_try='test -s conftest$ac_exeext'
42727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42728 (eval $ac_try) 2>&5
42729 ac_status=$?
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; }; then
42732 ac_cv_header_sys_soundcard=yes
42733 else
42734 echo "$as_me: failed program was:" >&5
42735 sed 's/^/| /' conftest.$ac_ext >&5
42736
42737
42738 saveLibs="$LIBS"
42739 LIBS="$saveLibs -lossaudio"
42740 cat >conftest.$ac_ext <<_ACEOF
42741 /* confdefs.h. */
42742 _ACEOF
42743 cat confdefs.h >>conftest.$ac_ext
42744 cat >>conftest.$ac_ext <<_ACEOF
42745 /* end confdefs.h. */
42746
42747 #include <sys/ioctl.h>
42748 #include <sys/soundcard.h>
42749
42750 int
42751 main ()
42752 {
42753
42754 ioctl(0, SNDCTL_DSP_SPEED, 0);
42755
42756 ;
42757 return 0;
42758 }
42759 _ACEOF
42760 rm -f conftest.$ac_objext conftest$ac_exeext
42761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42762 (eval $ac_link) 2>conftest.er1
42763 ac_status=$?
42764 grep -v '^ *+' conftest.er1 >conftest.err
42765 rm -f conftest.er1
42766 cat conftest.err >&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); } &&
42769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42771 (eval $ac_try) 2>&5
42772 ac_status=$?
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); }; } &&
42775 { ac_try='test -s conftest$ac_exeext'
42776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42777 (eval $ac_try) 2>&5
42778 ac_status=$?
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); }; }; then
42781 ac_cv_header_sys_soundcard=yes
42782 else
42783 echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.$ac_ext >&5
42785
42786
42787 LIBS="$saveLibs"
42788 ac_cv_header_sys_soundcard=no
42789
42790
42791 fi
42792 rm -f conftest.err conftest.$ac_objext \
42793 conftest$ac_exeext conftest.$ac_ext
42794
42795
42796 fi
42797 rm -f conftest.err conftest.$ac_objext \
42798 conftest$ac_exeext conftest.$ac_ext
42799
42800 fi
42801 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42802 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42803
42804 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42805 cat >>confdefs.h <<\_ACEOF
42806 #define HAVE_SYS_SOUNDCARD_H 1
42807 _ACEOF
42808
42809 else
42810 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42811 fi
42812 fi
42813 WITH_PLUGIN_SDL=0
42814 if test "$wxUSE_SOUND" = "yes"; then
42815 if test "$USE_UNIX" = "1" ; then
42816 if test "$wxUSE_LIBSDL" != "no"; then
42817
42818 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42819 if test "${with_sdl_prefix+set}" = set; then
42820 withval="$with_sdl_prefix"
42821 sdl_prefix="$withval"
42822 else
42823 sdl_prefix=""
42824 fi;
42825
42826 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42827 if test "${with_sdl_exec_prefix+set}" = set; then
42828 withval="$with_sdl_exec_prefix"
42829 sdl_exec_prefix="$withval"
42830 else
42831 sdl_exec_prefix=""
42832 fi;
42833 # Check whether --enable-sdltest or --disable-sdltest was given.
42834 if test "${enable_sdltest+set}" = set; then
42835 enableval="$enable_sdltest"
42836
42837 else
42838 enable_sdltest=yes
42839 fi;
42840
42841 if test x$sdl_exec_prefix != x ; then
42842 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42843 if test x${SDL_CONFIG+set} != xset ; then
42844 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42845 fi
42846 fi
42847 if test x$sdl_prefix != x ; then
42848 sdl_args="$sdl_args --prefix=$sdl_prefix"
42849 if test x${SDL_CONFIG+set} != xset ; then
42850 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42851 fi
42852 fi
42853
42854 if test "x$prefix" != xNONE; then
42855 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42856 fi
42857 # Extract the first word of "sdl-config", so it can be a program name with args.
42858 set dummy sdl-config; ac_word=$2
42859 echo "$as_me:$LINENO: checking for $ac_word" >&5
42860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42861 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42862 echo $ECHO_N "(cached) $ECHO_C" >&6
42863 else
42864 case $SDL_CONFIG in
42865 [\\/]* | ?:[\\/]*)
42866 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42867 ;;
42868 *)
42869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42870 for as_dir in $PATH
42871 do
42872 IFS=$as_save_IFS
42873 test -z "$as_dir" && as_dir=.
42874 for ac_exec_ext in '' $ac_executable_extensions; do
42875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42876 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42878 break 2
42879 fi
42880 done
42881 done
42882
42883 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42884 ;;
42885 esac
42886 fi
42887 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42888
42889 if test -n "$SDL_CONFIG"; then
42890 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42891 echo "${ECHO_T}$SDL_CONFIG" >&6
42892 else
42893 echo "$as_me:$LINENO: result: no" >&5
42894 echo "${ECHO_T}no" >&6
42895 fi
42896
42897 min_sdl_version=1.2.0
42898 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42899 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42900 no_sdl=""
42901 if test "$SDL_CONFIG" = "no" ; then
42902 no_sdl=yes
42903 else
42904 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42905 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42906
42907 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42909 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42911 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42913 if test "x$enable_sdltest" = "xyes" ; then
42914 ac_save_CFLAGS="$CFLAGS"
42915 ac_save_CXXFLAGS="$CXXFLAGS"
42916 ac_save_LIBS="$LIBS"
42917 CFLAGS="$CFLAGS $SDL_CFLAGS"
42918 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42919 LIBS="$LIBS $SDL_LIBS"
42920 rm -f conf.sdltest
42921 if test "$cross_compiling" = yes; then
42922 echo $ac_n "cross compiling; assumed OK... $ac_c"
42923 else
42924 cat >conftest.$ac_ext <<_ACEOF
42925 /* confdefs.h. */
42926 _ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42930
42931 #include <stdio.h>
42932 #include <stdlib.h>
42933 #include <string.h>
42934 #include "SDL.h"
42935
42936 char*
42937 my_strdup (char *str)
42938 {
42939 char *new_str;
42940
42941 if (str)
42942 {
42943 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42944 strcpy (new_str, str);
42945 }
42946 else
42947 new_str = NULL;
42948
42949 return new_str;
42950 }
42951
42952 int main (int argc, char *argv[])
42953 {
42954 int major, minor, micro;
42955 char *tmp_version;
42956
42957 /* This hangs on some systems (?)
42958 system ("touch conf.sdltest");
42959 */
42960 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42961
42962 /* HP/UX 9 (%@#!) writes to sscanf strings */
42963 tmp_version = my_strdup("$min_sdl_version");
42964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42965 printf("%s, bad version string\n", "$min_sdl_version");
42966 exit(1);
42967 }
42968
42969 if (($sdl_major_version > major) ||
42970 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42971 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42972 {
42973 return 0;
42974 }
42975 else
42976 {
42977 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42978 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42979 printf("*** best to upgrade to the required version.\n");
42980 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42981 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42982 printf("*** config.cache before re-running configure\n");
42983 return 1;
42984 }
42985 }
42986
42987
42988 _ACEOF
42989 rm -f conftest$ac_exeext
42990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42991 (eval $ac_link) 2>&5
42992 ac_status=$?
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42996 (eval $ac_try) 2>&5
42997 ac_status=$?
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; }; then
43000 :
43001 else
43002 echo "$as_me: program exited with status $ac_status" >&5
43003 echo "$as_me: failed program was:" >&5
43004 sed 's/^/| /' conftest.$ac_ext >&5
43005
43006 ( exit $ac_status )
43007 no_sdl=yes
43008 fi
43009 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43010 fi
43011 CFLAGS="$ac_save_CFLAGS"
43012 CXXFLAGS="$ac_save_CXXFLAGS"
43013 LIBS="$ac_save_LIBS"
43014 fi
43015 fi
43016 if test "x$no_sdl" = x ; then
43017 echo "$as_me:$LINENO: result: yes" >&5
43018 echo "${ECHO_T}yes" >&6
43019
43020 EXTRALIBS_SDL="$SDL_LIBS"
43021 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43022 cat >>confdefs.h <<\_ACEOF
43023 #define wxUSE_LIBSDL 1
43024 _ACEOF
43025
43026
43027 else
43028 echo "$as_me:$LINENO: result: no" >&5
43029 echo "${ECHO_T}no" >&6
43030 if test "$SDL_CONFIG" = "no" ; then
43031 echo "*** The sdl-config script installed by SDL could not be found"
43032 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43033 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43034 echo "*** full path to sdl-config."
43035 else
43036 if test -f conf.sdltest ; then
43037 :
43038 else
43039 echo "*** Could not run SDL test program, checking why..."
43040 CFLAGS="$CFLAGS $SDL_CFLAGS"
43041 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43042 LIBS="$LIBS $SDL_LIBS"
43043 cat >conftest.$ac_ext <<_ACEOF
43044 /* confdefs.h. */
43045 _ACEOF
43046 cat confdefs.h >>conftest.$ac_ext
43047 cat >>conftest.$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43049
43050 #include <stdio.h>
43051 #include "SDL.h"
43052
43053 int main(int argc, char *argv[])
43054 { return 0; }
43055 #undef main
43056 #define main K_and_R_C_main
43057
43058 int
43059 main ()
43060 {
43061 return 0;
43062 ;
43063 return 0;
43064 }
43065 _ACEOF
43066 rm -f conftest.$ac_objext conftest$ac_exeext
43067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43068 (eval $ac_link) 2>conftest.er1
43069 ac_status=$?
43070 grep -v '^ *+' conftest.er1 >conftest.err
43071 rm -f conftest.er1
43072 cat conftest.err >&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } &&
43075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43077 (eval $ac_try) 2>&5
43078 ac_status=$?
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); }; } &&
43081 { ac_try='test -s conftest$ac_exeext'
43082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43083 (eval $ac_try) 2>&5
43084 ac_status=$?
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); }; }; then
43087 echo "*** The test program compiled, but did not run. This usually means"
43088 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43089 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43090 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43091 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43092 echo "*** is required on your system"
43093 echo "***"
43094 echo "*** If you have an old version installed, it is best to remove it, although"
43095 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43096 else
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.$ac_ext >&5
43099
43100 echo "*** The test program failed to compile or link. See the file config.log for the"
43101 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43102 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43103 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43104 fi
43105 rm -f conftest.err conftest.$ac_objext \
43106 conftest$ac_exeext conftest.$ac_ext
43107 CFLAGS="$ac_save_CFLAGS"
43108 CXXFLAGS="$ac_save_CXXFLAGS"
43109 LIBS="$ac_save_LIBS"
43110 fi
43111 fi
43112 SDL_CFLAGS=""
43113 SDL_LIBS=""
43114 wxUSE_LIBSDL="no"
43115 fi
43116
43117
43118 rm -f conf.sdltest
43119
43120 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43121 WITH_PLUGIN_SDL=1
43122 fi
43123 fi
43124 fi
43125
43126 cat >>confdefs.h <<\_ACEOF
43127 #define wxUSE_SOUND 1
43128 _ACEOF
43129
43130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43131 fi
43132
43133 if test "$WXGTK20" = 1; then
43134
43135
43136 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43137 if test -n "$ac_tool_prefix"; then
43138 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43139 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43140 echo "$as_me:$LINENO: checking for $ac_word" >&5
43141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43142 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43143 echo $ECHO_N "(cached) $ECHO_C" >&6
43144 else
43145 case $PKG_CONFIG in
43146 [\\/]* | ?:[\\/]*)
43147 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43148 ;;
43149 *)
43150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43151 for as_dir in $PATH
43152 do
43153 IFS=$as_save_IFS
43154 test -z "$as_dir" && as_dir=.
43155 for ac_exec_ext in '' $ac_executable_extensions; do
43156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43157 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43159 break 2
43160 fi
43161 done
43162 done
43163
43164 ;;
43165 esac
43166 fi
43167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43168
43169 if test -n "$PKG_CONFIG"; then
43170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43171 echo "${ECHO_T}$PKG_CONFIG" >&6
43172 else
43173 echo "$as_me:$LINENO: result: no" >&5
43174 echo "${ECHO_T}no" >&6
43175 fi
43176
43177 fi
43178 if test -z "$ac_cv_path_PKG_CONFIG"; then
43179 ac_pt_PKG_CONFIG=$PKG_CONFIG
43180 # Extract the first word of "pkg-config", so it can be a program name with args.
43181 set dummy pkg-config; ac_word=$2
43182 echo "$as_me:$LINENO: checking for $ac_word" >&5
43183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43184 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43185 echo $ECHO_N "(cached) $ECHO_C" >&6
43186 else
43187 case $ac_pt_PKG_CONFIG in
43188 [\\/]* | ?:[\\/]*)
43189 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43190 ;;
43191 *)
43192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43193 for as_dir in $PATH
43194 do
43195 IFS=$as_save_IFS
43196 test -z "$as_dir" && as_dir=.
43197 for ac_exec_ext in '' $ac_executable_extensions; do
43198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43199 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43201 break 2
43202 fi
43203 done
43204 done
43205
43206 ;;
43207 esac
43208 fi
43209 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43210
43211 if test -n "$ac_pt_PKG_CONFIG"; then
43212 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43213 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43214 else
43215 echo "$as_me:$LINENO: result: no" >&5
43216 echo "${ECHO_T}no" >&6
43217 fi
43218
43219 PKG_CONFIG=$ac_pt_PKG_CONFIG
43220 else
43221 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43222 fi
43223
43224 fi
43225 if test -n "$PKG_CONFIG"; then
43226 _pkg_min_version=0.9.0
43227 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43228 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43229 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43230 echo "$as_me:$LINENO: result: yes" >&5
43231 echo "${ECHO_T}yes" >&6
43232 else
43233 echo "$as_me:$LINENO: result: no" >&5
43234 echo "${ECHO_T}no" >&6
43235 PKG_CONFIG=""
43236 fi
43237
43238 fi
43239
43240 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43241 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43242
43243
43244 pkg_failed=no
43245 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43246 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43247
43248 if test -n "$PKG_CONFIG"; then
43249 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43250 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43251 else
43252 if test -n "$PKG_CONFIG" && \
43253 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43254 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43255 ac_status=$?
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); }; then
43258 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43259 else
43260 pkg_failed=yes
43261 fi
43262 fi
43263 else
43264 pkg_failed=untried
43265 fi
43266 if test -n "$PKG_CONFIG"; then
43267 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43268 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43269 else
43270 if test -n "$PKG_CONFIG" && \
43271 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43272 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43273 ac_status=$?
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; then
43276 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43277 else
43278 pkg_failed=yes
43279 fi
43280 fi
43281 else
43282 pkg_failed=untried
43283 fi
43284
43285
43286
43287 if test $pkg_failed = yes; then
43288
43289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43290 _pkg_short_errors_supported=yes
43291 else
43292 _pkg_short_errors_supported=no
43293 fi
43294 if test $_pkg_short_errors_supported = yes; then
43295 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43296 else
43297 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43298 fi
43299 # Put the nasty error message in config.log where it belongs
43300 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43301
43302
43303 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43304 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43305 wxUSE_LIBGNOMEPRINT="no"
43306
43307
43308 elif test $pkg_failed = untried; then
43309
43310 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43311 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43312 wxUSE_LIBGNOMEPRINT="no"
43313
43314
43315 else
43316 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43317 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43318 echo "$as_me:$LINENO: result: yes" >&5
43319 echo "${ECHO_T}yes" >&6
43320
43321 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43322 cat >>confdefs.h <<\_ACEOF
43323 #define wxUSE_LIBGNOMEPRINT 1
43324 _ACEOF
43325
43326
43327 fi
43328 fi
43329 fi
43330
43331 if test "$wxUSE_MIMETYPE" = "yes" ; then
43332 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43333
43334
43335 pkg_failed=no
43336 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43337 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43338
43339 if test -n "$PKG_CONFIG"; then
43340 if test -n "$GNOMEVFS_CFLAGS"; then
43341 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43342 else
43343 if test -n "$PKG_CONFIG" && \
43344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43345 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43346 ac_status=$?
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; then
43349 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43350 else
43351 pkg_failed=yes
43352 fi
43353 fi
43354 else
43355 pkg_failed=untried
43356 fi
43357 if test -n "$PKG_CONFIG"; then
43358 if test -n "$GNOMEVFS_LIBS"; then
43359 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43360 else
43361 if test -n "$PKG_CONFIG" && \
43362 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43363 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43364 ac_status=$?
43365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43366 (exit $ac_status); }; then
43367 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43368 else
43369 pkg_failed=yes
43370 fi
43371 fi
43372 else
43373 pkg_failed=untried
43374 fi
43375
43376
43377
43378 if test $pkg_failed = yes; then
43379
43380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43381 _pkg_short_errors_supported=yes
43382 else
43383 _pkg_short_errors_supported=no
43384 fi
43385 if test $_pkg_short_errors_supported = yes; then
43386 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43387 else
43388 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43389 fi
43390 # Put the nasty error message in config.log where it belongs
43391 echo "$GNOMEVFS_PKG_ERRORS" >&5
43392
43393
43394 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43395 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43396 wxUSE_LIBGNOMEVFS="no"
43397
43398
43399 elif test $pkg_failed = untried; then
43400
43401 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43402 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43403 wxUSE_LIBGNOMEVFS="no"
43404
43405
43406 else
43407 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43408 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43409 echo "$as_me:$LINENO: result: yes" >&5
43410 echo "${ECHO_T}yes" >&6
43411
43412 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_LIBGNOMEVFS 1
43415 _ACEOF
43416
43417
43418 fi
43419 fi
43420 fi
43421
43422 if test "$wxUSE_LIBHILDON" = "yes" ; then
43423
43424 pkg_failed=no
43425 echo "$as_me:$LINENO: checking for HILDON" >&5
43426 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43427
43428 if test -n "$PKG_CONFIG"; then
43429 if test -n "$HILDON_CFLAGS"; then
43430 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43431 else
43432 if test -n "$PKG_CONFIG" && \
43433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43434 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43435 ac_status=$?
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); }; then
43438 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43439 else
43440 pkg_failed=yes
43441 fi
43442 fi
43443 else
43444 pkg_failed=untried
43445 fi
43446 if test -n "$PKG_CONFIG"; then
43447 if test -n "$HILDON_LIBS"; then
43448 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43449 else
43450 if test -n "$PKG_CONFIG" && \
43451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43452 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43453 ac_status=$?
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); }; then
43456 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43457 else
43458 pkg_failed=yes
43459 fi
43460 fi
43461 else
43462 pkg_failed=untried
43463 fi
43464
43465
43466
43467 if test $pkg_failed = yes; then
43468
43469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43470 _pkg_short_errors_supported=yes
43471 else
43472 _pkg_short_errors_supported=no
43473 fi
43474 if test $_pkg_short_errors_supported = yes; then
43475 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43476 else
43477 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43478 fi
43479 # Put the nasty error message in config.log where it belongs
43480 echo "$HILDON_PKG_ERRORS" >&5
43481
43482
43483 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43484 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43485 wxUSE_LIBHILDON="no"
43486
43487
43488 elif test $pkg_failed = untried; then
43489
43490 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43491 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43492 wxUSE_LIBHILDON="no"
43493
43494
43495 else
43496 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43497 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43498 echo "$as_me:$LINENO: result: yes" >&5
43499 echo "${ECHO_T}yes" >&6
43500
43501 EXTRALIBS_HILDON="$HILDON_LIBS"
43502 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43503 cat >>confdefs.h <<\_ACEOF
43504 #define wxUSE_LIBHILDON 1
43505 _ACEOF
43506
43507
43508 fi
43509 fi
43510 fi
43511
43512 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43513 cat >>confdefs.h <<\_ACEOF
43514 #define wxUSE_CMDLINE_PARSER 1
43515 _ACEOF
43516
43517 fi
43518
43519 if test "$wxUSE_STOPWATCH" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_STOPWATCH 1
43522 _ACEOF
43523
43524 fi
43525
43526 if test "$wxUSE_DATETIME" = "yes"; then
43527 cat >>confdefs.h <<\_ACEOF
43528 #define wxUSE_DATETIME 1
43529 _ACEOF
43530
43531 fi
43532
43533 if test "$wxUSE_FILE" = "yes"; then
43534 cat >>confdefs.h <<\_ACEOF
43535 #define wxUSE_FILE 1
43536 _ACEOF
43537
43538 fi
43539
43540 if test "$wxUSE_FFILE" = "yes"; then
43541 cat >>confdefs.h <<\_ACEOF
43542 #define wxUSE_FFILE 1
43543 _ACEOF
43544
43545 fi
43546
43547 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43548 if test "$wxUSE_STREAMS" != yes; then
43549 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43550 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43551 wxUSE_ARCHIVE_STREAMS=no
43552 else
43553 cat >>confdefs.h <<\_ACEOF
43554 #define wxUSE_ARCHIVE_STREAMS 1
43555 _ACEOF
43556
43557 fi
43558 fi
43559
43560 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43561 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43562 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43563 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43564 elif test "$wxUSE_ZLIB" = "no"; then
43565 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43566 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43567 else
43568 cat >>confdefs.h <<\_ACEOF
43569 #define wxUSE_ZIPSTREAM 1
43570 _ACEOF
43571
43572 fi
43573 fi
43574
43575 if test "$wxUSE_TARSTREAM" = "yes"; then
43576 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43577 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43578 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43579 else
43580 cat >>confdefs.h <<\_ACEOF
43581 #define wxUSE_TARSTREAM 1
43582 _ACEOF
43583
43584 fi
43585 fi
43586
43587 if test "$wxUSE_FILESYSTEM" = "yes"; then
43588 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43589 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43590 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43591 wxUSE_FILESYSTEM=no
43592 else
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_FILESYSTEM 1
43595 _ACEOF
43596
43597 fi
43598 fi
43599
43600 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43601 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43602 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43603 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43604 else
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_FS_ARCHIVE 1
43607 _ACEOF
43608
43609 fi
43610 fi
43611
43612 if test "$wxUSE_FS_ZIP" = "yes"; then
43613 if test "$wxUSE_FS_ARCHIVE" != yes; then
43614 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43615 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43616 else
43617 cat >>confdefs.h <<\_ACEOF
43618 #define wxUSE_FS_ZIP 1
43619 _ACEOF
43620
43621 fi
43622 fi
43623
43624 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43625 if test "$USE_UNIX" != 1; then
43626 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43627 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43628 wxUSE_ON_FATAL_EXCEPTION=no
43629 else
43630 cat >>confdefs.h <<\_ACEOF
43631 #define wxUSE_ON_FATAL_EXCEPTION 1
43632 _ACEOF
43633
43634 fi
43635 fi
43636
43637 if test "$wxUSE_STACKWALKER" = "yes"; then
43638 cat >>confdefs.h <<\_ACEOF
43639 #define wxUSE_STACKWALKER 1
43640 _ACEOF
43641
43642 fi
43643
43644 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43645 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43646 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43647 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43648 wxUSE_DEBUGREPORT=no
43649 else
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_DEBUGREPORT 1
43652 _ACEOF
43653
43654 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43656 fi
43657 fi
43658 fi
43659
43660 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define wxUSE_SNGLINST_CHECKER 1
43663 _ACEOF
43664
43665 fi
43666
43667 if test "$wxUSE_BUSYINFO" = "yes"; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define wxUSE_BUSYINFO 1
43670 _ACEOF
43671
43672 fi
43673
43674 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43675 cat >>confdefs.h <<\_ACEOF
43676 #define wxUSE_STD_IOSTREAM 1
43677 _ACEOF
43678
43679 fi
43680
43681 if test "$wxUSE_STD_STRING" = "yes"; then
43682 cat >>confdefs.h <<\_ACEOF
43683 #define wxUSE_STD_STRING 1
43684 _ACEOF
43685
43686 fi
43687
43688 if test "$wxUSE_STDPATHS" = "yes"; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_STDPATHS 1
43691 _ACEOF
43692
43693 fi
43694
43695 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43696 cat >>confdefs.h <<\_ACEOF
43697 #define wxUSE_TEXTBUFFER 1
43698 _ACEOF
43699
43700 fi
43701
43702 if test "$wxUSE_TEXTFILE" = "yes"; then
43703 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43704 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43705 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43706 else
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_TEXTFILE 1
43709 _ACEOF
43710
43711 fi
43712 fi
43713
43714 if test "$wxUSE_CONFIG" = "yes" ; then
43715 if test "$wxUSE_TEXTFILE" != "yes"; then
43716 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43717 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43718 else
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_CONFIG 1
43721 _ACEOF
43722
43723 cat >>confdefs.h <<\_ACEOF
43724 #define wxUSE_CONFIG_NATIVE 1
43725 _ACEOF
43726
43727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43728 fi
43729 fi
43730
43731 if test "$wxUSE_INTL" = "yes" ; then
43732 if test "$wxUSE_FILE" != "yes"; then
43733 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43734 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43735 else
43736 cat >>confdefs.h <<\_ACEOF
43737 #define wxUSE_INTL 1
43738 _ACEOF
43739
43740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43741 GUIDIST="$GUIDIST INTL_DIST"
43742 fi
43743 fi
43744
43745 if test "$wxUSE_LOG" = "yes"; then
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_LOG 1
43748 _ACEOF
43749
43750
43751 if test "$wxUSE_LOGGUI" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_LOGGUI 1
43754 _ACEOF
43755
43756 fi
43757
43758 if test "$wxUSE_LOGWINDOW" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_LOGWINDOW 1
43761 _ACEOF
43762
43763 fi
43764
43765 if test "$wxUSE_LOGDIALOG" = "yes"; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define wxUSE_LOG_DIALOG 1
43768 _ACEOF
43769
43770 fi
43771
43772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43773 fi
43774
43775 if test "$wxUSE_LONGLONG" = "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define wxUSE_LONGLONG 1
43778 _ACEOF
43779
43780 fi
43781
43782 if test "$wxUSE_GEOMETRY" = "yes"; then
43783 cat >>confdefs.h <<\_ACEOF
43784 #define wxUSE_GEOMETRY 1
43785 _ACEOF
43786
43787 fi
43788
43789 if test "$wxUSE_STREAMS" = "yes" ; then
43790 cat >>confdefs.h <<\_ACEOF
43791 #define wxUSE_STREAMS 1
43792 _ACEOF
43793
43794 fi
43795
43796 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43797 cat >>confdefs.h <<\_ACEOF
43798 #define wxUSE_PRINTF_POS_PARAMS 1
43799 _ACEOF
43800
43801 fi
43802
43803
43804
43805 if test "$wxUSE_DATETIME" = "yes"; then
43806
43807 for ac_func in strptime
43808 do
43809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43810 echo "$as_me:$LINENO: checking for $ac_func" >&5
43811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43812 if eval "test \"\${$as_ac_var+set}\" = set"; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43815 cat >conftest.$ac_ext <<_ACEOF
43816 /* confdefs.h. */
43817 _ACEOF
43818 cat confdefs.h >>conftest.$ac_ext
43819 cat >>conftest.$ac_ext <<_ACEOF
43820 /* end confdefs.h. */
43821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43823 #define $ac_func innocuous_$ac_func
43824
43825 /* System header to define __stub macros and hopefully few prototypes,
43826 which can conflict with char $ac_func (); below.
43827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43828 <limits.h> exists even on freestanding compilers. */
43829
43830 #ifdef __STDC__
43831 # include <limits.h>
43832 #else
43833 # include <assert.h>
43834 #endif
43835
43836 #undef $ac_func
43837
43838 /* Override any gcc2 internal prototype to avoid an error. */
43839 #ifdef __cplusplus
43840 extern "C"
43841 {
43842 #endif
43843 /* We use char because int might match the return type of a gcc2
43844 builtin and then its argument prototype would still apply. */
43845 char $ac_func ();
43846 /* The GNU C library defines this for functions which it implements
43847 to always fail with ENOSYS. Some functions are actually named
43848 something starting with __ and the normal name is an alias. */
43849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43850 choke me
43851 #else
43852 char (*f) () = $ac_func;
43853 #endif
43854 #ifdef __cplusplus
43855 }
43856 #endif
43857
43858 int
43859 main ()
43860 {
43861 return f != $ac_func;
43862 ;
43863 return 0;
43864 }
43865 _ACEOF
43866 rm -f conftest.$ac_objext conftest$ac_exeext
43867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43868 (eval $ac_link) 2>conftest.er1
43869 ac_status=$?
43870 grep -v '^ *+' conftest.er1 >conftest.err
43871 rm -f conftest.er1
43872 cat conftest.err >&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); } &&
43875 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43877 (eval $ac_try) 2>&5
43878 ac_status=$?
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); }; } &&
43881 { ac_try='test -s conftest$ac_exeext'
43882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43883 (eval $ac_try) 2>&5
43884 ac_status=$?
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); }; }; then
43887 eval "$as_ac_var=yes"
43888 else
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43891
43892 eval "$as_ac_var=no"
43893 fi
43894 rm -f conftest.err conftest.$ac_objext \
43895 conftest$ac_exeext conftest.$ac_ext
43896 fi
43897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43899 if test `eval echo '${'$as_ac_var'}'` = yes; then
43900 cat >>confdefs.h <<_ACEOF
43901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43902 _ACEOF
43903
43904 fi
43905 done
43906
43907 if test "$ac_cv_func_strptime" = "yes"; then
43908 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43909 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43910 if test "${wx_cv_func_strptime_decl+set}" = set; then
43911 echo $ECHO_N "(cached) $ECHO_C" >&6
43912 else
43913
43914 cat >conftest.$ac_ext <<_ACEOF
43915 /* confdefs.h. */
43916 _ACEOF
43917 cat confdefs.h >>conftest.$ac_ext
43918 cat >>conftest.$ac_ext <<_ACEOF
43919 /* end confdefs.h. */
43920
43921 #include <time.h>
43922
43923 int
43924 main ()
43925 {
43926
43927 struct tm t;
43928 strptime("foo", "bar", &t);
43929
43930 ;
43931 return 0;
43932 }
43933 _ACEOF
43934 rm -f conftest.$ac_objext
43935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43936 (eval $ac_compile) 2>conftest.er1
43937 ac_status=$?
43938 grep -v '^ *+' conftest.er1 >conftest.err
43939 rm -f conftest.er1
43940 cat conftest.err >&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); } &&
43943 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43946 ac_status=$?
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; } &&
43949 { ac_try='test -s conftest.$ac_objext'
43950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43951 (eval $ac_try) 2>&5
43952 ac_status=$?
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); }; }; then
43955 wx_cv_func_strptime_decl=yes
43956 else
43957 echo "$as_me: failed program was:" >&5
43958 sed 's/^/| /' conftest.$ac_ext >&5
43959
43960 wx_cv_func_strptime_decl=no
43961
43962 fi
43963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43964
43965
43966 fi
43967 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43968 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43969 fi
43970 if test "$wx_cv_func_strptime_decl" = "yes"; then
43971 cat >>confdefs.h <<\_ACEOF
43972 #define HAVE_STRPTIME_DECL 1
43973 _ACEOF
43974
43975 fi
43976
43977 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43978 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43979 if test "${wx_cv_var_timezone+set}" = set; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43981 else
43982
43983 cat >conftest.$ac_ext <<_ACEOF
43984 /* confdefs.h. */
43985 _ACEOF
43986 cat confdefs.h >>conftest.$ac_ext
43987 cat >>conftest.$ac_ext <<_ACEOF
43988 /* end confdefs.h. */
43989
43990 #include <time.h>
43991
43992 int
43993 main ()
43994 {
43995
43996 int tz;
43997 tz = timezone;
43998
43999 ;
44000 return 0;
44001 }
44002 _ACEOF
44003 rm -f conftest.$ac_objext
44004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44005 (eval $ac_compile) 2>conftest.er1
44006 ac_status=$?
44007 grep -v '^ *+' conftest.er1 >conftest.err
44008 rm -f conftest.er1
44009 cat conftest.err >&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); } &&
44012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44014 (eval $ac_try) 2>&5
44015 ac_status=$?
44016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44017 (exit $ac_status); }; } &&
44018 { ac_try='test -s conftest.$ac_objext'
44019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44020 (eval $ac_try) 2>&5
44021 ac_status=$?
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); }; }; then
44024
44025 wx_cv_var_timezone=timezone
44026
44027 else
44028 echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.$ac_ext >&5
44030
44031
44032 cat >conftest.$ac_ext <<_ACEOF
44033 /* confdefs.h. */
44034 _ACEOF
44035 cat confdefs.h >>conftest.$ac_ext
44036 cat >>conftest.$ac_ext <<_ACEOF
44037 /* end confdefs.h. */
44038
44039 #include <time.h>
44040
44041 int
44042 main ()
44043 {
44044
44045 int tz;
44046 tz = _timezone;
44047
44048 ;
44049 return 0;
44050 }
44051 _ACEOF
44052 rm -f conftest.$ac_objext
44053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44054 (eval $ac_compile) 2>conftest.er1
44055 ac_status=$?
44056 grep -v '^ *+' conftest.er1 >conftest.err
44057 rm -f conftest.er1
44058 cat conftest.err >&5
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); } &&
44061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44063 (eval $ac_try) 2>&5
44064 ac_status=$?
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); }; } &&
44067 { ac_try='test -s conftest.$ac_objext'
44068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44069 (eval $ac_try) 2>&5
44070 ac_status=$?
44071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072 (exit $ac_status); }; }; then
44073
44074 wx_cv_var_timezone=_timezone
44075
44076 else
44077 echo "$as_me: failed program was:" >&5
44078 sed 's/^/| /' conftest.$ac_ext >&5
44079
44080
44081 cat >conftest.$ac_ext <<_ACEOF
44082 /* confdefs.h. */
44083 _ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087
44088 #include <time.h>
44089
44090 int
44091 main ()
44092 {
44093
44094 int tz;
44095 tz = __timezone;
44096
44097 ;
44098 return 0;
44099 }
44100 _ACEOF
44101 rm -f conftest.$ac_objext
44102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44103 (eval $ac_compile) 2>conftest.er1
44104 ac_status=$?
44105 grep -v '^ *+' conftest.er1 >conftest.err
44106 rm -f conftest.er1
44107 cat conftest.err >&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } &&
44110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44113 ac_status=$?
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; } &&
44116 { ac_try='test -s conftest.$ac_objext'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44119 ac_status=$?
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44122
44123 wx_cv_var_timezone=__timezone
44124
44125 else
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.$ac_ext >&5
44128
44129
44130 if test "$USE_DOS" = 0 ; then
44131 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44132 echo "$as_me: WARNING: no timezone variable" >&2;}
44133 fi
44134
44135
44136 fi
44137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44138
44139
44140 fi
44141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44142
44143
44144 fi
44145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44146
44147
44148 fi
44149 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44150 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44151
44152 if test "x$wx_cv_var_timezone" != x ; then
44153 cat >>confdefs.h <<_ACEOF
44154 #define WX_TIMEZONE $wx_cv_var_timezone
44155 _ACEOF
44156
44157 fi
44158
44159
44160 for ac_func in localtime
44161 do
44162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44163 echo "$as_me:$LINENO: checking for $ac_func" >&5
44164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44165 if eval "test \"\${$as_ac_var+set}\" = set"; then
44166 echo $ECHO_N "(cached) $ECHO_C" >&6
44167 else
44168 cat >conftest.$ac_ext <<_ACEOF
44169 /* confdefs.h. */
44170 _ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44176 #define $ac_func innocuous_$ac_func
44177
44178 /* System header to define __stub macros and hopefully few prototypes,
44179 which can conflict with char $ac_func (); below.
44180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44181 <limits.h> exists even on freestanding compilers. */
44182
44183 #ifdef __STDC__
44184 # include <limits.h>
44185 #else
44186 # include <assert.h>
44187 #endif
44188
44189 #undef $ac_func
44190
44191 /* Override any gcc2 internal prototype to avoid an error. */
44192 #ifdef __cplusplus
44193 extern "C"
44194 {
44195 #endif
44196 /* We use char because int might match the return type of a gcc2
44197 builtin and then its argument prototype would still apply. */
44198 char $ac_func ();
44199 /* The GNU C library defines this for functions which it implements
44200 to always fail with ENOSYS. Some functions are actually named
44201 something starting with __ and the normal name is an alias. */
44202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44203 choke me
44204 #else
44205 char (*f) () = $ac_func;
44206 #endif
44207 #ifdef __cplusplus
44208 }
44209 #endif
44210
44211 int
44212 main ()
44213 {
44214 return f != $ac_func;
44215 ;
44216 return 0;
44217 }
44218 _ACEOF
44219 rm -f conftest.$ac_objext conftest$ac_exeext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44221 (eval $ac_link) 2>conftest.er1
44222 ac_status=$?
44223 grep -v '^ *+' conftest.er1 >conftest.err
44224 rm -f conftest.er1
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } &&
44228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44230 (eval $ac_try) 2>&5
44231 ac_status=$?
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); }; } &&
44234 { ac_try='test -s conftest$ac_exeext'
44235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236 (eval $ac_try) 2>&5
44237 ac_status=$?
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; }; then
44240 eval "$as_ac_var=yes"
44241 else
44242 echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.$ac_ext >&5
44244
44245 eval "$as_ac_var=no"
44246 fi
44247 rm -f conftest.err conftest.$ac_objext \
44248 conftest$ac_exeext conftest.$ac_ext
44249 fi
44250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44252 if test `eval echo '${'$as_ac_var'}'` = yes; then
44253 cat >>confdefs.h <<_ACEOF
44254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44255 _ACEOF
44256
44257 fi
44258 done
44259
44260
44261 if test "$ac_cv_func_localtime" = "yes"; then
44262 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44263 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44264 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44265 echo $ECHO_N "(cached) $ECHO_C" >&6
44266 else
44267
44268 cat >conftest.$ac_ext <<_ACEOF
44269 /* confdefs.h. */
44270 _ACEOF
44271 cat confdefs.h >>conftest.$ac_ext
44272 cat >>conftest.$ac_ext <<_ACEOF
44273 /* end confdefs.h. */
44274
44275 #include <time.h>
44276
44277 int
44278 main ()
44279 {
44280
44281 struct tm tm;
44282 tm.tm_gmtoff++;
44283
44284 ;
44285 return 0;
44286 }
44287 _ACEOF
44288 rm -f conftest.$ac_objext
44289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44290 (eval $ac_compile) 2>conftest.er1
44291 ac_status=$?
44292 grep -v '^ *+' conftest.er1 >conftest.err
44293 rm -f conftest.er1
44294 cat conftest.err >&5
44295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44296 (exit $ac_status); } &&
44297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44299 (eval $ac_try) 2>&5
44300 ac_status=$?
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); }; } &&
44303 { ac_try='test -s conftest.$ac_objext'
44304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44305 (eval $ac_try) 2>&5
44306 ac_status=$?
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); }; }; then
44309
44310 wx_cv_struct_tm_has_gmtoff=yes
44311
44312 else
44313 echo "$as_me: failed program was:" >&5
44314 sed 's/^/| /' conftest.$ac_ext >&5
44315
44316 wx_cv_struct_tm_has_gmtoff=no
44317
44318 fi
44319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44320
44321 fi
44322 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44323 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44324 fi
44325
44326 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define WX_GMTOFF_IN_TM 1
44329 _ACEOF
44330
44331 fi
44332
44333
44334
44335 for ac_func in gettimeofday ftime
44336 do
44337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44338 echo "$as_me:$LINENO: checking for $ac_func" >&5
44339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44340 if eval "test \"\${$as_ac_var+set}\" = set"; then
44341 echo $ECHO_N "(cached) $ECHO_C" >&6
44342 else
44343 cat >conftest.$ac_ext <<_ACEOF
44344 /* confdefs.h. */
44345 _ACEOF
44346 cat confdefs.h >>conftest.$ac_ext
44347 cat >>conftest.$ac_ext <<_ACEOF
44348 /* end confdefs.h. */
44349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44351 #define $ac_func innocuous_$ac_func
44352
44353 /* System header to define __stub macros and hopefully few prototypes,
44354 which can conflict with char $ac_func (); below.
44355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44356 <limits.h> exists even on freestanding compilers. */
44357
44358 #ifdef __STDC__
44359 # include <limits.h>
44360 #else
44361 # include <assert.h>
44362 #endif
44363
44364 #undef $ac_func
44365
44366 /* Override any gcc2 internal prototype to avoid an error. */
44367 #ifdef __cplusplus
44368 extern "C"
44369 {
44370 #endif
44371 /* We use char because int might match the return type of a gcc2
44372 builtin and then its argument prototype would still apply. */
44373 char $ac_func ();
44374 /* The GNU C library defines this for functions which it implements
44375 to always fail with ENOSYS. Some functions are actually named
44376 something starting with __ and the normal name is an alias. */
44377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44378 choke me
44379 #else
44380 char (*f) () = $ac_func;
44381 #endif
44382 #ifdef __cplusplus
44383 }
44384 #endif
44385
44386 int
44387 main ()
44388 {
44389 return f != $ac_func;
44390 ;
44391 return 0;
44392 }
44393 _ACEOF
44394 rm -f conftest.$ac_objext conftest$ac_exeext
44395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44396 (eval $ac_link) 2>conftest.er1
44397 ac_status=$?
44398 grep -v '^ *+' conftest.er1 >conftest.err
44399 rm -f conftest.er1
44400 cat conftest.err >&5
44401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44402 (exit $ac_status); } &&
44403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44405 (eval $ac_try) 2>&5
44406 ac_status=$?
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); }; } &&
44409 { ac_try='test -s conftest$ac_exeext'
44410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44411 (eval $ac_try) 2>&5
44412 ac_status=$?
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); }; }; then
44415 eval "$as_ac_var=yes"
44416 else
44417 echo "$as_me: failed program was:" >&5
44418 sed 's/^/| /' conftest.$ac_ext >&5
44419
44420 eval "$as_ac_var=no"
44421 fi
44422 rm -f conftest.err conftest.$ac_objext \
44423 conftest$ac_exeext conftest.$ac_ext
44424 fi
44425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44427 if test `eval echo '${'$as_ac_var'}'` = yes; then
44428 cat >>confdefs.h <<_ACEOF
44429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44430 _ACEOF
44431 break
44432 fi
44433 done
44434
44435
44436 if test "$ac_cv_func_gettimeofday" = "yes"; then
44437 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44438 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44439 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44440 echo $ECHO_N "(cached) $ECHO_C" >&6
44441 else
44442
44443 cat >conftest.$ac_ext <<_ACEOF
44444 /* confdefs.h. */
44445 _ACEOF
44446 cat confdefs.h >>conftest.$ac_ext
44447 cat >>conftest.$ac_ext <<_ACEOF
44448 /* end confdefs.h. */
44449
44450 #include <sys/time.h>
44451 #include <unistd.h>
44452
44453 int
44454 main ()
44455 {
44456
44457 struct timeval tv;
44458 gettimeofday(&tv, NULL);
44459
44460 ;
44461 return 0;
44462 }
44463 _ACEOF
44464 rm -f conftest.$ac_objext
44465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44466 (eval $ac_compile) 2>conftest.er1
44467 ac_status=$?
44468 grep -v '^ *+' conftest.er1 >conftest.err
44469 rm -f conftest.er1
44470 cat conftest.err >&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } &&
44473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44475 (eval $ac_try) 2>&5
44476 ac_status=$?
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); }; } &&
44479 { ac_try='test -s conftest.$ac_objext'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; }; then
44485 wx_cv_func_gettimeofday_has_2_args=yes
44486 else
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.$ac_ext >&5
44489
44490 cat >conftest.$ac_ext <<_ACEOF
44491 /* confdefs.h. */
44492 _ACEOF
44493 cat confdefs.h >>conftest.$ac_ext
44494 cat >>conftest.$ac_ext <<_ACEOF
44495 /* end confdefs.h. */
44496
44497 #include <sys/time.h>
44498 #include <unistd.h>
44499
44500 int
44501 main ()
44502 {
44503
44504 struct timeval tv;
44505 gettimeofday(&tv);
44506
44507 ;
44508 return 0;
44509 }
44510 _ACEOF
44511 rm -f conftest.$ac_objext
44512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44513 (eval $ac_compile) 2>conftest.er1
44514 ac_status=$?
44515 grep -v '^ *+' conftest.er1 >conftest.err
44516 rm -f conftest.er1
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } &&
44520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44523 ac_status=$?
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; } &&
44526 { ac_try='test -s conftest.$ac_objext'
44527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528 (eval $ac_try) 2>&5
44529 ac_status=$?
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; }; then
44532 wx_cv_func_gettimeofday_has_2_args=no
44533 else
44534 echo "$as_me: failed program was:" >&5
44535 sed 's/^/| /' conftest.$ac_ext >&5
44536
44537
44538 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44539 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44540 wx_cv_func_gettimeofday_has_2_args=unknown
44541
44542
44543 fi
44544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44545
44546 fi
44547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44548
44549 fi
44550 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44551 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44552
44553 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define WX_GETTIMEOFDAY_NO_TZ 1
44556 _ACEOF
44557
44558 fi
44559 fi
44560
44561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44562 fi
44563
44564
44565 if test "$wxUSE_SOCKETS" = "yes"; then
44566 if test "$wxUSE_MGL" = "1"; then
44567 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44568 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44569 wxUSE_SOCKETS="no"
44570 fi
44571 fi
44572
44573 if test "$wxUSE_SOCKETS" = "yes"; then
44574 if test "$TOOLKIT" != "MSW"; then
44575 echo "$as_me:$LINENO: checking for socket" >&5
44576 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44577 if test "${ac_cv_func_socket+set}" = set; then
44578 echo $ECHO_N "(cached) $ECHO_C" >&6
44579 else
44580 cat >conftest.$ac_ext <<_ACEOF
44581 /* confdefs.h. */
44582 _ACEOF
44583 cat confdefs.h >>conftest.$ac_ext
44584 cat >>conftest.$ac_ext <<_ACEOF
44585 /* end confdefs.h. */
44586 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44588 #define socket innocuous_socket
44589
44590 /* System header to define __stub macros and hopefully few prototypes,
44591 which can conflict with char socket (); below.
44592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44593 <limits.h> exists even on freestanding compilers. */
44594
44595 #ifdef __STDC__
44596 # include <limits.h>
44597 #else
44598 # include <assert.h>
44599 #endif
44600
44601 #undef socket
44602
44603 /* Override any gcc2 internal prototype to avoid an error. */
44604 #ifdef __cplusplus
44605 extern "C"
44606 {
44607 #endif
44608 /* We use char because int might match the return type of a gcc2
44609 builtin and then its argument prototype would still apply. */
44610 char socket ();
44611 /* The GNU C library defines this for functions which it implements
44612 to always fail with ENOSYS. Some functions are actually named
44613 something starting with __ and the normal name is an alias. */
44614 #if defined (__stub_socket) || defined (__stub___socket)
44615 choke me
44616 #else
44617 char (*f) () = socket;
44618 #endif
44619 #ifdef __cplusplus
44620 }
44621 #endif
44622
44623 int
44624 main ()
44625 {
44626 return f != socket;
44627 ;
44628 return 0;
44629 }
44630 _ACEOF
44631 rm -f conftest.$ac_objext conftest$ac_exeext
44632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44633 (eval $ac_link) 2>conftest.er1
44634 ac_status=$?
44635 grep -v '^ *+' conftest.er1 >conftest.err
44636 rm -f conftest.er1
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } &&
44640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44642 (eval $ac_try) 2>&5
44643 ac_status=$?
44644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44645 (exit $ac_status); }; } &&
44646 { ac_try='test -s conftest$ac_exeext'
44647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44648 (eval $ac_try) 2>&5
44649 ac_status=$?
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); }; }; then
44652 ac_cv_func_socket=yes
44653 else
44654 echo "$as_me: failed program was:" >&5
44655 sed 's/^/| /' conftest.$ac_ext >&5
44656
44657 ac_cv_func_socket=no
44658 fi
44659 rm -f conftest.err conftest.$ac_objext \
44660 conftest$ac_exeext conftest.$ac_ext
44661 fi
44662 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44663 echo "${ECHO_T}$ac_cv_func_socket" >&6
44664 if test $ac_cv_func_socket = yes; then
44665 :
44666 else
44667
44668 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44669 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44670 if test "${ac_cv_lib_socket_socket+set}" = set; then
44671 echo $ECHO_N "(cached) $ECHO_C" >&6
44672 else
44673 ac_check_lib_save_LIBS=$LIBS
44674 LIBS="-lsocket $LIBS"
44675 cat >conftest.$ac_ext <<_ACEOF
44676 /* confdefs.h. */
44677 _ACEOF
44678 cat confdefs.h >>conftest.$ac_ext
44679 cat >>conftest.$ac_ext <<_ACEOF
44680 /* end confdefs.h. */
44681
44682 /* Override any gcc2 internal prototype to avoid an error. */
44683 #ifdef __cplusplus
44684 extern "C"
44685 #endif
44686 /* We use char because int might match the return type of a gcc2
44687 builtin and then its argument prototype would still apply. */
44688 char socket ();
44689 int
44690 main ()
44691 {
44692 socket ();
44693 ;
44694 return 0;
44695 }
44696 _ACEOF
44697 rm -f conftest.$ac_objext conftest$ac_exeext
44698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44699 (eval $ac_link) 2>conftest.er1
44700 ac_status=$?
44701 grep -v '^ *+' conftest.er1 >conftest.err
44702 rm -f conftest.er1
44703 cat conftest.err >&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } &&
44706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44708 (eval $ac_try) 2>&5
44709 ac_status=$?
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); }; } &&
44712 { ac_try='test -s conftest$ac_exeext'
44713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44714 (eval $ac_try) 2>&5
44715 ac_status=$?
44716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44717 (exit $ac_status); }; }; then
44718 ac_cv_lib_socket_socket=yes
44719 else
44720 echo "$as_me: failed program was:" >&5
44721 sed 's/^/| /' conftest.$ac_ext >&5
44722
44723 ac_cv_lib_socket_socket=no
44724 fi
44725 rm -f conftest.err conftest.$ac_objext \
44726 conftest$ac_exeext conftest.$ac_ext
44727 LIBS=$ac_check_lib_save_LIBS
44728 fi
44729 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44730 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44731 if test $ac_cv_lib_socket_socket = yes; then
44732 if test "$INET_LINK" != " -lsocket"; then
44733 INET_LINK="$INET_LINK -lsocket"
44734 fi
44735 else
44736
44737 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44738 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44739 wxUSE_SOCKETS=no
44740
44741
44742 fi
44743
44744
44745
44746 fi
44747
44748 fi
44749 fi
44750
44751 if test "$wxUSE_SOCKETS" = "yes" ; then
44752 if test "$TOOLKIT" != "MSW"; then
44753 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44754 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44755 if test "${wx_cv_type_getsockname3+set}" = set; then
44756 echo $ECHO_N "(cached) $ECHO_C" >&6
44757 else
44758
44759 cat >conftest.$ac_ext <<_ACEOF
44760 /* confdefs.h. */
44761 _ACEOF
44762 cat confdefs.h >>conftest.$ac_ext
44763 cat >>conftest.$ac_ext <<_ACEOF
44764 /* end confdefs.h. */
44765
44766 #include <sys/types.h>
44767 #include <sys/socket.h>
44768
44769 int
44770 main ()
44771 {
44772
44773 socklen_t len;
44774 getsockname(0, 0, &len);
44775
44776 ;
44777 return 0;
44778 }
44779 _ACEOF
44780 rm -f conftest.$ac_objext
44781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44782 (eval $ac_compile) 2>conftest.er1
44783 ac_status=$?
44784 grep -v '^ *+' conftest.er1 >conftest.err
44785 rm -f conftest.er1
44786 cat conftest.err >&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); } &&
44789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44791 (eval $ac_try) 2>&5
44792 ac_status=$?
44793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44794 (exit $ac_status); }; } &&
44795 { ac_try='test -s conftest.$ac_objext'
44796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44797 (eval $ac_try) 2>&5
44798 ac_status=$?
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); }; }; then
44801 wx_cv_type_getsockname3=socklen_t
44802 else
44803 echo "$as_me: failed program was:" >&5
44804 sed 's/^/| /' conftest.$ac_ext >&5
44805
44806
44807 CXXFLAGS_OLD="$CXXFLAGS"
44808 if test "$GCC" = yes ; then
44809 CXXFLAGS="-Werror $CXXFLAGS"
44810 fi
44811
44812 cat >conftest.$ac_ext <<_ACEOF
44813 /* confdefs.h. */
44814 _ACEOF
44815 cat confdefs.h >>conftest.$ac_ext
44816 cat >>conftest.$ac_ext <<_ACEOF
44817 /* end confdefs.h. */
44818
44819 #include <sys/types.h>
44820 #include <sys/socket.h>
44821
44822 int
44823 main ()
44824 {
44825
44826 size_t len;
44827 getsockname(0, 0, &len);
44828
44829 ;
44830 return 0;
44831 }
44832 _ACEOF
44833 rm -f conftest.$ac_objext
44834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44835 (eval $ac_compile) 2>conftest.er1
44836 ac_status=$?
44837 grep -v '^ *+' conftest.er1 >conftest.err
44838 rm -f conftest.er1
44839 cat conftest.err >&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); } &&
44842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44845 ac_status=$?
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; } &&
44848 { ac_try='test -s conftest.$ac_objext'
44849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44850 (eval $ac_try) 2>&5
44851 ac_status=$?
44852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44853 (exit $ac_status); }; }; then
44854 wx_cv_type_getsockname3=size_t
44855 else
44856 echo "$as_me: failed program was:" >&5
44857 sed 's/^/| /' conftest.$ac_ext >&5
44858
44859 cat >conftest.$ac_ext <<_ACEOF
44860 /* confdefs.h. */
44861 _ACEOF
44862 cat confdefs.h >>conftest.$ac_ext
44863 cat >>conftest.$ac_ext <<_ACEOF
44864 /* end confdefs.h. */
44865
44866 #include <sys/types.h>
44867 #include <sys/socket.h>
44868
44869 int
44870 main ()
44871 {
44872
44873 int len;
44874 getsockname(0, 0, &len);
44875
44876 ;
44877 return 0;
44878 }
44879 _ACEOF
44880 rm -f conftest.$ac_objext
44881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44882 (eval $ac_compile) 2>conftest.er1
44883 ac_status=$?
44884 grep -v '^ *+' conftest.er1 >conftest.err
44885 rm -f conftest.er1
44886 cat conftest.err >&5
44887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888 (exit $ac_status); } &&
44889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44891 (eval $ac_try) 2>&5
44892 ac_status=$?
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; } &&
44895 { ac_try='test -s conftest.$ac_objext'
44896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44897 (eval $ac_try) 2>&5
44898 ac_status=$?
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; }; then
44901 wx_cv_type_getsockname3=int
44902 else
44903 echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.$ac_ext >&5
44905
44906 wx_cv_type_getsockname3=unknown
44907
44908 fi
44909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44910
44911 fi
44912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44913
44914 CXXFLAGS="$CXXFLAGS_OLD"
44915
44916
44917 fi
44918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44919
44920 fi
44921 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44922 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44923
44924 if test "$wx_cv_type_getsockname3" = "unknown"; then
44925 wxUSE_SOCKETS=no
44926 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44927 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44928 else
44929 cat >>confdefs.h <<_ACEOF
44930 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44931 _ACEOF
44932
44933 fi
44934 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44935 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44936 if test "${wx_cv_type_getsockopt5+set}" = set; then
44937 echo $ECHO_N "(cached) $ECHO_C" >&6
44938 else
44939
44940 cat >conftest.$ac_ext <<_ACEOF
44941 /* confdefs.h. */
44942 _ACEOF
44943 cat confdefs.h >>conftest.$ac_ext
44944 cat >>conftest.$ac_ext <<_ACEOF
44945 /* end confdefs.h. */
44946
44947 #include <sys/types.h>
44948 #include <sys/socket.h>
44949
44950 int
44951 main ()
44952 {
44953
44954 socklen_t len;
44955 getsockopt(0, 0, 0, 0, &len);
44956
44957 ;
44958 return 0;
44959 }
44960 _ACEOF
44961 rm -f conftest.$ac_objext
44962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44963 (eval $ac_compile) 2>conftest.er1
44964 ac_status=$?
44965 grep -v '^ *+' conftest.er1 >conftest.err
44966 rm -f conftest.er1
44967 cat conftest.err >&5
44968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44969 (exit $ac_status); } &&
44970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44972 (eval $ac_try) 2>&5
44973 ac_status=$?
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); }; } &&
44976 { ac_try='test -s conftest.$ac_objext'
44977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44978 (eval $ac_try) 2>&5
44979 ac_status=$?
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); }; }; then
44982 wx_cv_type_getsockopt5=socklen_t
44983 else
44984 echo "$as_me: failed program was:" >&5
44985 sed 's/^/| /' conftest.$ac_ext >&5
44986
44987
44988 CXXFLAGS_OLD="$CXXFLAGS"
44989 if test "$GCC" = yes ; then
44990 CXXFLAGS="-Werror $CXXFLAGS"
44991 fi
44992
44993 cat >conftest.$ac_ext <<_ACEOF
44994 /* confdefs.h. */
44995 _ACEOF
44996 cat confdefs.h >>conftest.$ac_ext
44997 cat >>conftest.$ac_ext <<_ACEOF
44998 /* end confdefs.h. */
44999
45000 #include <sys/types.h>
45001 #include <sys/socket.h>
45002
45003 int
45004 main ()
45005 {
45006
45007 size_t len;
45008 getsockopt(0, 0, 0, 0, &len);
45009
45010 ;
45011 return 0;
45012 }
45013 _ACEOF
45014 rm -f conftest.$ac_objext
45015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45016 (eval $ac_compile) 2>conftest.er1
45017 ac_status=$?
45018 grep -v '^ *+' conftest.er1 >conftest.err
45019 rm -f conftest.er1
45020 cat conftest.err >&5
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); } &&
45023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45025 (eval $ac_try) 2>&5
45026 ac_status=$?
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; } &&
45029 { ac_try='test -s conftest.$ac_objext'
45030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45031 (eval $ac_try) 2>&5
45032 ac_status=$?
45033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45034 (exit $ac_status); }; }; then
45035 wx_cv_type_getsockopt5=size_t
45036 else
45037 echo "$as_me: failed program was:" >&5
45038 sed 's/^/| /' conftest.$ac_ext >&5
45039
45040 cat >conftest.$ac_ext <<_ACEOF
45041 /* confdefs.h. */
45042 _ACEOF
45043 cat confdefs.h >>conftest.$ac_ext
45044 cat >>conftest.$ac_ext <<_ACEOF
45045 /* end confdefs.h. */
45046
45047 #include <sys/types.h>
45048 #include <sys/socket.h>
45049
45050 int
45051 main ()
45052 {
45053
45054 int len;
45055 getsockopt(0, 0, 0, 0, &len);
45056
45057 ;
45058 return 0;
45059 }
45060 _ACEOF
45061 rm -f conftest.$ac_objext
45062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45063 (eval $ac_compile) 2>conftest.er1
45064 ac_status=$?
45065 grep -v '^ *+' conftest.er1 >conftest.err
45066 rm -f conftest.er1
45067 cat conftest.err >&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); } &&
45070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072 (eval $ac_try) 2>&5
45073 ac_status=$?
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; } &&
45076 { ac_try='test -s conftest.$ac_objext'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45079 ac_status=$?
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; }; then
45082 wx_cv_type_getsockopt5=int
45083 else
45084 echo "$as_me: failed program was:" >&5
45085 sed 's/^/| /' conftest.$ac_ext >&5
45086
45087 wx_cv_type_getsockopt5=unknown
45088
45089 fi
45090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45091
45092 fi
45093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45094
45095 CXXFLAGS="$CXXFLAGS_OLD"
45096
45097
45098 fi
45099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45100
45101 fi
45102 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45103 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45104
45105 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45106 wxUSE_SOCKETS=no
45107 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45108 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45109 else
45110 cat >>confdefs.h <<_ACEOF
45111 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45112 _ACEOF
45113
45114 fi
45115 fi
45116 fi
45117
45118 if test "$wxUSE_SOCKETS" = "yes" ; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_SOCKETS 1
45121 _ACEOF
45122
45123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45124 fi
45125
45126 if test "$wxUSE_PROTOCOL" = "yes"; then
45127 if test "$wxUSE_SOCKETS" != "yes"; then
45128 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45129 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45130 wxUSE_PROTOCOL=no
45131 fi
45132 fi
45133
45134 if test "$wxUSE_PROTOCOL" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_PROTOCOL 1
45137 _ACEOF
45138
45139
45140 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45141 cat >>confdefs.h <<\_ACEOF
45142 #define wxUSE_PROTOCOL_HTTP 1
45143 _ACEOF
45144
45145 fi
45146 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_PROTOCOL_FTP 1
45149 _ACEOF
45150
45151 fi
45152 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_PROTOCOL_FILE 1
45155 _ACEOF
45156
45157 fi
45158 else
45159 if test "$wxUSE_FS_INET" = "yes"; then
45160 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45161 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45162 wxUSE_FS_INET="no"
45163 fi
45164 fi
45165
45166 if test "$wxUSE_URL" = "yes"; then
45167 if test "$wxUSE_PROTOCOL" != "yes"; then
45168 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45169 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45170 wxUSE_URL=no
45171 fi
45172 if test "$wxUSE_URL" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_URL 1
45175 _ACEOF
45176
45177 fi
45178 fi
45179
45180 if test "$wxUSE_VARIANT" = "yes"; then
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_VARIANT 1
45183 _ACEOF
45184
45185 fi
45186
45187 if test "$wxUSE_FS_INET" = "yes"; then
45188 cat >>confdefs.h <<\_ACEOF
45189 #define wxUSE_FS_INET 1
45190 _ACEOF
45191
45192 fi
45193
45194
45195 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45196 wxUSE_JOYSTICK=no
45197
45198 if test "$TOOLKIT" = "MSW"; then
45199 wxUSE_JOYSTICK=yes
45200
45201 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45202 if test "$USE_DARWIN" = 1; then
45203 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45204 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45205 cat >conftest.$ac_ext <<_ACEOF
45206 /* confdefs.h. */
45207 _ACEOF
45208 cat confdefs.h >>conftest.$ac_ext
45209 cat >>conftest.$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45211 #include <IOKit/hid/IOHIDLib.h>
45212 int
45213 main ()
45214 {
45215 IOHIDQueueInterface *qi = NULL;
45216 IOHIDCallbackFunction cb = NULL;
45217 qi->setEventCallout(NULL, cb, NULL, NULL);
45218 ;
45219 return 0;
45220 }
45221 _ACEOF
45222 rm -f conftest.$ac_objext
45223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45224 (eval $ac_compile) 2>conftest.er1
45225 ac_status=$?
45226 grep -v '^ *+' conftest.er1 >conftest.err
45227 rm -f conftest.er1
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233 (eval $ac_try) 2>&5
45234 ac_status=$?
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); }; } &&
45237 { ac_try='test -s conftest.$ac_objext'
45238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239 (eval $ac_try) 2>&5
45240 ac_status=$?
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); }; }; then
45243 wxUSE_JOYSTICK=yes
45244
45245 else
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45248
45249 fi
45250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45251 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45252 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45253 fi
45254
45255 else
45256
45257 for ac_header in linux/joystick.h
45258 do
45259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45261 echo "$as_me:$LINENO: checking for $ac_header" >&5
45262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45264 echo $ECHO_N "(cached) $ECHO_C" >&6
45265 fi
45266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45268 else
45269 # Is the header compilable?
45270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45272 cat >conftest.$ac_ext <<_ACEOF
45273 /* confdefs.h. */
45274 _ACEOF
45275 cat confdefs.h >>conftest.$ac_ext
45276 cat >>conftest.$ac_ext <<_ACEOF
45277 /* end confdefs.h. */
45278 $ac_includes_default
45279 #include <$ac_header>
45280 _ACEOF
45281 rm -f conftest.$ac_objext
45282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45283 (eval $ac_compile) 2>conftest.er1
45284 ac_status=$?
45285 grep -v '^ *+' conftest.er1 >conftest.err
45286 rm -f conftest.er1
45287 cat conftest.err >&5
45288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289 (exit $ac_status); } &&
45290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45293 ac_status=$?
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; } &&
45296 { ac_try='test -s conftest.$ac_objext'
45297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45298 (eval $ac_try) 2>&5
45299 ac_status=$?
45300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45301 (exit $ac_status); }; }; then
45302 ac_header_compiler=yes
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45306
45307 ac_header_compiler=no
45308 fi
45309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45311 echo "${ECHO_T}$ac_header_compiler" >&6
45312
45313 # Is the header present?
45314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45316 cat >conftest.$ac_ext <<_ACEOF
45317 /* confdefs.h. */
45318 _ACEOF
45319 cat confdefs.h >>conftest.$ac_ext
45320 cat >>conftest.$ac_ext <<_ACEOF
45321 /* end confdefs.h. */
45322 #include <$ac_header>
45323 _ACEOF
45324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45326 ac_status=$?
45327 grep -v '^ *+' conftest.er1 >conftest.err
45328 rm -f conftest.er1
45329 cat conftest.err >&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } >/dev/null; then
45332 if test -s conftest.err; then
45333 ac_cpp_err=$ac_cxx_preproc_warn_flag
45334 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45335 else
45336 ac_cpp_err=
45337 fi
45338 else
45339 ac_cpp_err=yes
45340 fi
45341 if test -z "$ac_cpp_err"; then
45342 ac_header_preproc=yes
45343 else
45344 echo "$as_me: failed program was:" >&5
45345 sed 's/^/| /' conftest.$ac_ext >&5
45346
45347 ac_header_preproc=no
45348 fi
45349 rm -f conftest.err conftest.$ac_ext
45350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45351 echo "${ECHO_T}$ac_header_preproc" >&6
45352
45353 # So? What about this header?
45354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45355 yes:no: )
45356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45360 ac_header_preproc=yes
45361 ;;
45362 no:yes:* )
45363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45375 (
45376 cat <<\_ASBOX
45377 ## ----------------------------------------- ##
45378 ## Report this to wx-dev@lists.wxwidgets.org ##
45379 ## ----------------------------------------- ##
45380 _ASBOX
45381 ) |
45382 sed "s/^/$as_me: WARNING: /" >&2
45383 ;;
45384 esac
45385 echo "$as_me:$LINENO: checking for $ac_header" >&5
45386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45388 echo $ECHO_N "(cached) $ECHO_C" >&6
45389 else
45390 eval "$as_ac_Header=\$ac_header_preproc"
45391 fi
45392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45394
45395 fi
45396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45397 cat >>confdefs.h <<_ACEOF
45398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45399 _ACEOF
45400 wxUSE_JOYSTICK=yes
45401 fi
45402
45403 done
45404
45405 fi
45406
45407 if test "$wxUSE_JOYSTICK" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_JOYSTICK 1
45410 _ACEOF
45411
45412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45413 else
45414 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45415 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45416 fi
45417 fi
45418
45419
45420
45421 if test "$wxUSE_FONTMAP" = "yes" ; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_FONTMAP 1
45424 _ACEOF
45425
45426 fi
45427
45428 if test "$wxUSE_UNICODE" = "yes" ; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_UNICODE 1
45431 _ACEOF
45432
45433
45434 if test "$USE_WIN32" != 1; then
45435 wxUSE_UNICODE_MSLU=no
45436 fi
45437
45438 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45439 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45440 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45441 if test "${ac_cv_lib_unicows_main+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 else
45444 ac_check_lib_save_LIBS=$LIBS
45445 LIBS="-lunicows $LIBS"
45446 cat >conftest.$ac_ext <<_ACEOF
45447 /* confdefs.h. */
45448 _ACEOF
45449 cat confdefs.h >>conftest.$ac_ext
45450 cat >>conftest.$ac_ext <<_ACEOF
45451 /* end confdefs.h. */
45452
45453
45454 int
45455 main ()
45456 {
45457 main ();
45458 ;
45459 return 0;
45460 }
45461 _ACEOF
45462 rm -f conftest.$ac_objext conftest$ac_exeext
45463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45464 (eval $ac_link) 2>conftest.er1
45465 ac_status=$?
45466 grep -v '^ *+' conftest.er1 >conftest.err
45467 rm -f conftest.er1
45468 cat conftest.err >&5
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); } &&
45471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45473 (eval $ac_try) 2>&5
45474 ac_status=$?
45475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45476 (exit $ac_status); }; } &&
45477 { ac_try='test -s conftest$ac_exeext'
45478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45479 (eval $ac_try) 2>&5
45480 ac_status=$?
45481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482 (exit $ac_status); }; }; then
45483 ac_cv_lib_unicows_main=yes
45484 else
45485 echo "$as_me: failed program was:" >&5
45486 sed 's/^/| /' conftest.$ac_ext >&5
45487
45488 ac_cv_lib_unicows_main=no
45489 fi
45490 rm -f conftest.err conftest.$ac_objext \
45491 conftest$ac_exeext conftest.$ac_ext
45492 LIBS=$ac_check_lib_save_LIBS
45493 fi
45494 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45495 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45496 if test $ac_cv_lib_unicows_main = yes; then
45497
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_UNICODE_MSLU 1
45500 _ACEOF
45501
45502
45503 else
45504
45505 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45506 Applications will only run on Windows NT/2000/XP!" >&5
45507 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45508 Applications will only run on Windows NT/2000/XP!" >&2;}
45509 wxUSE_UNICODE_MSLU=no
45510
45511 fi
45512
45513 fi
45514 fi
45515
45516 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_EXPERIMENTAL_PRINTF 1
45519 _ACEOF
45520
45521 fi
45522
45523
45524 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_POSTSCRIPT 1
45527 _ACEOF
45528
45529 fi
45530
45531 cat >>confdefs.h <<\_ACEOF
45532 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45533 _ACEOF
45534
45535
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_NORMALIZED_PS_FONTS 1
45538 _ACEOF
45539
45540
45541
45542 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_CONSTRAINTS 1
45545 _ACEOF
45546
45547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45548 fi
45549
45550 if test "$wxUSE_MDI" = "yes"; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_MDI 1
45553 _ACEOF
45554
45555
45556 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_MDI_ARCHITECTURE 1
45559 _ACEOF
45560
45561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45562 fi
45563 fi
45564
45565 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45568 _ACEOF
45569
45570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45571 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45573 fi
45574 fi
45575
45576 if test "$wxUSE_HELP" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_HELP 1
45579 _ACEOF
45580
45581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45582
45583 if test "$wxUSE_MSW" = 1; then
45584 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_MS_HTML_HELP 1
45587 _ACEOF
45588
45589 fi
45590 fi
45591
45592 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45593 if test "$wxUSE_HTML" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_WXHTML_HELP 1
45596 _ACEOF
45597
45598 else
45599 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45600 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45601 wxUSE_WXHTML_HELP=no
45602 fi
45603 fi
45604 fi
45605
45606 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45607 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45608 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45609 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45610 else
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_PRINTING_ARCHITECTURE 1
45613 _ACEOF
45614
45615 fi
45616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45617 fi
45618
45619 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45620 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45621 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45622 { (exit 1); exit 1; }; }
45623 fi
45624
45625
45626 if test "$wxUSE_METAFILE" = "yes"; then
45627 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45628 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45629 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45630 wxUSE_METAFILE=no
45631 fi
45632 fi
45633
45634
45635 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45636 -o "$wxUSE_CLIPBOARD" = "yes" \
45637 -o "$wxUSE_OLE" = "yes" \
45638 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45639
45640 for ac_header in ole2.h
45641 do
45642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45644 echo "$as_me:$LINENO: checking for $ac_header" >&5
45645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45647 echo $ECHO_N "(cached) $ECHO_C" >&6
45648 fi
45649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45651 else
45652 # Is the header compilable?
45653 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45655 cat >conftest.$ac_ext <<_ACEOF
45656 /* confdefs.h. */
45657 _ACEOF
45658 cat confdefs.h >>conftest.$ac_ext
45659 cat >>conftest.$ac_ext <<_ACEOF
45660 /* end confdefs.h. */
45661 $ac_includes_default
45662 #include <$ac_header>
45663 _ACEOF
45664 rm -f conftest.$ac_objext
45665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45666 (eval $ac_compile) 2>conftest.er1
45667 ac_status=$?
45668 grep -v '^ *+' conftest.er1 >conftest.err
45669 rm -f conftest.er1
45670 cat conftest.err >&5
45671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45672 (exit $ac_status); } &&
45673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45675 (eval $ac_try) 2>&5
45676 ac_status=$?
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); }; } &&
45679 { ac_try='test -s conftest.$ac_objext'
45680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45681 (eval $ac_try) 2>&5
45682 ac_status=$?
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); }; }; then
45685 ac_header_compiler=yes
45686 else
45687 echo "$as_me: failed program was:" >&5
45688 sed 's/^/| /' conftest.$ac_ext >&5
45689
45690 ac_header_compiler=no
45691 fi
45692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45694 echo "${ECHO_T}$ac_header_compiler" >&6
45695
45696 # Is the header present?
45697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45699 cat >conftest.$ac_ext <<_ACEOF
45700 /* confdefs.h. */
45701 _ACEOF
45702 cat confdefs.h >>conftest.$ac_ext
45703 cat >>conftest.$ac_ext <<_ACEOF
45704 /* end confdefs.h. */
45705 #include <$ac_header>
45706 _ACEOF
45707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45709 ac_status=$?
45710 grep -v '^ *+' conftest.er1 >conftest.err
45711 rm -f conftest.er1
45712 cat conftest.err >&5
45713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45714 (exit $ac_status); } >/dev/null; then
45715 if test -s conftest.err; then
45716 ac_cpp_err=$ac_cxx_preproc_warn_flag
45717 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45718 else
45719 ac_cpp_err=
45720 fi
45721 else
45722 ac_cpp_err=yes
45723 fi
45724 if test -z "$ac_cpp_err"; then
45725 ac_header_preproc=yes
45726 else
45727 echo "$as_me: failed program was:" >&5
45728 sed 's/^/| /' conftest.$ac_ext >&5
45729
45730 ac_header_preproc=no
45731 fi
45732 rm -f conftest.err conftest.$ac_ext
45733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45734 echo "${ECHO_T}$ac_header_preproc" >&6
45735
45736 # So? What about this header?
45737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45738 yes:no: )
45739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45743 ac_header_preproc=yes
45744 ;;
45745 no:yes:* )
45746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45758 (
45759 cat <<\_ASBOX
45760 ## ----------------------------------------- ##
45761 ## Report this to wx-dev@lists.wxwidgets.org ##
45762 ## ----------------------------------------- ##
45763 _ASBOX
45764 ) |
45765 sed "s/^/$as_me: WARNING: /" >&2
45766 ;;
45767 esac
45768 echo "$as_me:$LINENO: checking for $ac_header" >&5
45769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45771 echo $ECHO_N "(cached) $ECHO_C" >&6
45772 else
45773 eval "$as_ac_Header=\$ac_header_preproc"
45774 fi
45775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45777
45778 fi
45779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45780 cat >>confdefs.h <<_ACEOF
45781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45782 _ACEOF
45783
45784 fi
45785
45786 done
45787
45788
45789 if test "$ac_cv_header_ole2_h" = "yes" ; then
45790 if test "$GCC" = yes ; then
45791 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45792 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45793 cat >conftest.$ac_ext <<_ACEOF
45794 /* confdefs.h. */
45795 _ACEOF
45796 cat confdefs.h >>conftest.$ac_ext
45797 cat >>conftest.$ac_ext <<_ACEOF
45798 /* end confdefs.h. */
45799 #include <windows.h>
45800 #include <ole2.h>
45801 int
45802 main ()
45803 {
45804
45805 ;
45806 return 0;
45807 }
45808 _ACEOF
45809 rm -f conftest.$ac_objext
45810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45811 (eval $ac_compile) 2>conftest.er1
45812 ac_status=$?
45813 grep -v '^ *+' conftest.er1 >conftest.err
45814 rm -f conftest.er1
45815 cat conftest.err >&5
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); } &&
45818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45820 (eval $ac_try) 2>&5
45821 ac_status=$?
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); }; } &&
45824 { ac_try='test -s conftest.$ac_objext'
45825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45826 (eval $ac_try) 2>&5
45827 ac_status=$?
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); }; }; then
45830 echo "$as_me:$LINENO: result: no" >&5
45831 echo "${ECHO_T}no" >&6
45832 else
45833 echo "$as_me: failed program was:" >&5
45834 sed 's/^/| /' conftest.$ac_ext >&5
45835
45836 echo "$as_me:$LINENO: result: yes" >&5
45837 echo "${ECHO_T}yes" >&6
45838 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45839 fi
45840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45841 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45842 if test "$wxUSE_OLE" = "yes" ; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_OLE 1
45845 _ACEOF
45846
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_OLE_AUTOMATION 1
45849 _ACEOF
45850
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_OLE_ACTIVEX 1
45853 _ACEOF
45854
45855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45856 fi
45857 fi
45858
45859 if test "$wxUSE_DATAOBJ" = "yes" ; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_DATAOBJ 1
45862 _ACEOF
45863
45864 fi
45865 else
45866 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45867 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45868
45869 wxUSE_CLIPBOARD=no
45870 wxUSE_DRAG_AND_DROP=no
45871 wxUSE_DATAOBJ=no
45872 wxUSE_OLE=no
45873 fi
45874
45875 if test "$wxUSE_METAFILE" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_METAFILE 1
45878 _ACEOF
45879
45880
45881 cat >>confdefs.h <<\_ACEOF
45882 #define wxUSE_ENH_METAFILE 1
45883 _ACEOF
45884
45885 fi
45886 fi
45887
45888 if test "$wxUSE_IPC" = "yes"; then
45889 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45890 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45891 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45892 wxUSE_IPC=no
45893 fi
45894
45895 if test "$wxUSE_IPC" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_IPC 1
45898 _ACEOF
45899
45900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45901 fi
45902 fi
45903
45904 if test "$wxUSE_DATAOBJ" = "yes"; then
45905 if test "$wxUSE_MGL" = 1; then
45906 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45907 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45908 wxUSE_DATAOBJ=no
45909 else
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_DATAOBJ 1
45912 _ACEOF
45913
45914 fi
45915 else
45916 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45917 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45918 wxUSE_CLIPBOARD=no
45919 wxUSE_DRAG_AND_DROP=no
45920 fi
45921
45922 if test "$wxUSE_CLIPBOARD" = "yes"; then
45923 if test "$wxUSE_MGL" = 1; then
45924 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45925 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45926 wxUSE_CLIPBOARD=no
45927 fi
45928
45929 if test "$wxUSE_CLIPBOARD" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_CLIPBOARD 1
45932 _ACEOF
45933
45934 fi
45935 fi
45936
45937 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45938 if test "$wxUSE_GTK" = 1; then
45939 if test "$WXGTK12" != 1; then
45940 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45941 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45942 wxUSE_DRAG_AND_DROP=no
45943 fi
45944 fi
45945
45946 if test "$wxUSE_MOTIF" = 1; then
45947 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45948 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45949 wxUSE_DRAG_AND_DROP=no
45950 fi
45951
45952 if test "$wxUSE_X11" = 1; then
45953 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45954 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45955 wxUSE_DRAG_AND_DROP=no
45956 fi
45957
45958 if test "$wxUSE_MGL" = 1; then
45959 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45960 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45961 wxUSE_DRAG_AND_DROP=no
45962 fi
45963
45964 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45965 cat >>confdefs.h <<\_ACEOF
45966 #define wxUSE_DRAG_AND_DROP 1
45967 _ACEOF
45968
45969 fi
45970
45971 fi
45972
45973 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45975 fi
45976
45977 if test "$wxUSE_SPLINES" = "yes" ; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_SPLINES 1
45980 _ACEOF
45981
45982 fi
45983
45984 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_MOUSEWHEEL 1
45987 _ACEOF
45988
45989 fi
45990
45991
45992 USES_CONTROLS=0
45993 if test "$wxUSE_CONTROLS" = "yes"; then
45994 USES_CONTROLS=1
45995 fi
45996
45997 if test "$wxUSE_ACCEL" = "yes"; then
45998 cat >>confdefs.h <<\_ACEOF
45999 #define wxUSE_ACCEL 1
46000 _ACEOF
46001
46002 USES_CONTROLS=1
46003 fi
46004
46005 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_ANIMATIONCTRL 1
46008 _ACEOF
46009
46010 USES_CONTROLS=1
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46012 fi
46013
46014 if test "$wxUSE_BUTTON" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_BUTTON 1
46017 _ACEOF
46018
46019 USES_CONTROLS=1
46020 fi
46021
46022 if test "$wxUSE_BMPBUTTON" = "yes"; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_BMPBUTTON 1
46025 _ACEOF
46026
46027 USES_CONTROLS=1
46028 fi
46029
46030 if test "$wxUSE_CALCTRL" = "yes"; then
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_CALENDARCTRL 1
46033 _ACEOF
46034
46035 USES_CONTROLS=1
46036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46037 fi
46038
46039 if test "$wxUSE_CARET" = "yes"; then
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_CARET 1
46042 _ACEOF
46043
46044 USES_CONTROLS=1
46045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46046 fi
46047
46048 if test "$wxUSE_COLLPANE" = "yes"; then
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_COLLPANE 1
46051 _ACEOF
46052
46053 USES_CONTROLS=1
46054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46055 fi
46056
46057 if test "$wxUSE_COMBOBOX" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_COMBOBOX 1
46060 _ACEOF
46061
46062 USES_CONTROLS=1
46063 fi
46064
46065 if test "$wxUSE_COMBOCTRL" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_COMBOCTRL 1
46068 _ACEOF
46069
46070 USES_CONTROLS=1
46071 fi
46072
46073 if test "$wxUSE_CHOICE" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_CHOICE 1
46076 _ACEOF
46077
46078 USES_CONTROLS=1
46079 fi
46080
46081 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define wxUSE_CHOICEBOOK 1
46084 _ACEOF
46085
46086 USES_CONTROLS=1
46087 fi
46088
46089 if test "$wxUSE_CHECKBOX" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_CHECKBOX 1
46092 _ACEOF
46093
46094 USES_CONTROLS=1
46095 fi
46096
46097 if test "$wxUSE_CHECKLST" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_CHECKLISTBOX 1
46100 _ACEOF
46101
46102 USES_CONTROLS=1
46103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46104 fi
46105
46106 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_COLOURPICKERCTRL 1
46109 _ACEOF
46110
46111 USES_CONTROLS=1
46112 fi
46113
46114 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_DATEPICKCTRL 1
46117 _ACEOF
46118
46119 USES_CONTROLS=1
46120 fi
46121
46122 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_DIRPICKERCTRL 1
46125 _ACEOF
46126
46127 USES_CONTROLS=1
46128 fi
46129
46130 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_FILEPICKERCTRL 1
46133 _ACEOF
46134
46135 USES_CONTROLS=1
46136 fi
46137
46138 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_FONTPICKERCTRL 1
46141 _ACEOF
46142
46143 USES_CONTROLS=1
46144 fi
46145
46146 if test "$wxUSE_DISPLAY" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_DISPLAY 1
46149 _ACEOF
46150
46151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46152 fi
46153
46154 if test "$wxUSE_DETECT_SM" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_DETECT_SM 1
46157 _ACEOF
46158
46159 fi
46160
46161 if test "$wxUSE_GAUGE" = "yes"; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_GAUGE 1
46164 _ACEOF
46165
46166 USES_CONTROLS=1
46167 fi
46168
46169 if test "$wxUSE_GRID" = "yes"; then
46170 cat >>confdefs.h <<\_ACEOF
46171 #define wxUSE_GRID 1
46172 _ACEOF
46173
46174 USES_CONTROLS=1
46175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46176 fi
46177
46178 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_HYPERLINKCTRL 1
46181 _ACEOF
46182
46183 USES_CONTROLS=1
46184 fi
46185
46186 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_BITMAPCOMBOBOX 1
46189 _ACEOF
46190
46191 USES_CONTROLS=1
46192 fi
46193
46194 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_DATAVIEWCTRL 1
46197 _ACEOF
46198
46199 USES_CONTROLS=1
46200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46201 fi
46202
46203 if test "$wxUSE_IMAGLIST" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_IMAGLIST 1
46206 _ACEOF
46207
46208 fi
46209
46210 if test "$wxUSE_LISTBOOK" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_LISTBOOK 1
46213 _ACEOF
46214
46215 USES_CONTROLS=1
46216 fi
46217
46218 if test "$wxUSE_LISTBOX" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_LISTBOX 1
46221 _ACEOF
46222
46223 USES_CONTROLS=1
46224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46225 fi
46226
46227 if test "$wxUSE_LISTCTRL" = "yes"; then
46228 if test "$wxUSE_IMAGLIST" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_LISTCTRL 1
46231 _ACEOF
46232
46233 USES_CONTROLS=1
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46235 else
46236 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46237 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46238 fi
46239 fi
46240
46241 if test "$wxUSE_NOTEBOOK" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_NOTEBOOK 1
46244 _ACEOF
46245
46246 USES_CONTROLS=1
46247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46248 fi
46249
46250 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_ODCOMBOBOX 1
46253 _ACEOF
46254
46255 USES_CONTROLS=1
46256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46257 fi
46258
46259
46260 if test "$wxUSE_RADIOBOX" = "yes"; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_RADIOBOX 1
46263 _ACEOF
46264
46265 USES_CONTROLS=1
46266 fi
46267
46268 if test "$wxUSE_RADIOBTN" = "yes"; then
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_RADIOBTN 1
46271 _ACEOF
46272
46273 USES_CONTROLS=1
46274 fi
46275
46276 if test "$wxUSE_SASH" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_SASH 1
46279 _ACEOF
46280
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46282 fi
46283
46284 if test "$wxUSE_SCROLLBAR" = "yes"; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_SCROLLBAR 1
46287 _ACEOF
46288
46289 USES_CONTROLS=1
46290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46291 fi
46292
46293 if test "$wxUSE_SLIDER" = "yes"; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_SLIDER 1
46296 _ACEOF
46297
46298 USES_CONTROLS=1
46299 fi
46300
46301 if test "$wxUSE_SPINBTN" = "yes"; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_SPINBTN 1
46304 _ACEOF
46305
46306 USES_CONTROLS=1
46307 fi
46308
46309 if test "$wxUSE_SPINCTRL" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_SPINCTRL 1
46312 _ACEOF
46313
46314 USES_CONTROLS=1
46315 fi
46316
46317 if test "$wxUSE_SPLITTER" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_SPLITTER 1
46320 _ACEOF
46321
46322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46323 fi
46324
46325 if test "$wxUSE_STATBMP" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_STATBMP 1
46328 _ACEOF
46329
46330 USES_CONTROLS=1
46331 fi
46332
46333 if test "$wxUSE_STATBOX" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_STATBOX 1
46336 _ACEOF
46337
46338 USES_CONTROLS=1
46339 fi
46340
46341 if test "$wxUSE_STATTEXT" = "yes"; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_STATTEXT 1
46344 _ACEOF
46345
46346 USES_CONTROLS=1
46347 fi
46348
46349 if test "$wxUSE_STATLINE" = "yes"; then
46350 cat >>confdefs.h <<\_ACEOF
46351 #define wxUSE_STATLINE 1
46352 _ACEOF
46353
46354 USES_CONTROLS=1
46355 fi
46356
46357 if test "$wxUSE_STATUSBAR" = "yes"; then
46358 cat >>confdefs.h <<\_ACEOF
46359 #define wxUSE_NATIVE_STATUSBAR 1
46360 _ACEOF
46361
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_STATUSBAR 1
46364 _ACEOF
46365
46366 USES_CONTROLS=1
46367
46368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46369 fi
46370
46371 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_TAB_DIALOG 1
46374 _ACEOF
46375
46376 fi
46377
46378 if test "$wxUSE_TEXTCTRL" = "yes"; then
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_TEXTCTRL 1
46381 _ACEOF
46382
46383 USES_CONTROLS=1
46384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46385 fi
46386
46387 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46388 if test "$wxUSE_COCOA" = 1 ; then
46389 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46390 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46391 wxUSE_TOGGLEBTN=no
46392 fi
46393
46394 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_TOGGLEBTN 1
46397 _ACEOF
46398
46399 USES_CONTROLS=1
46400 fi
46401 fi
46402
46403 if test "$wxUSE_TOOLBAR" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_TOOLBAR 1
46406 _ACEOF
46407
46408 USES_CONTROLS=1
46409
46410 if test "$wxUSE_UNIVERSAL" = "yes"; then
46411 wxUSE_TOOLBAR_NATIVE="no"
46412 else
46413 wxUSE_TOOLBAR_NATIVE="yes"
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_TOOLBAR_NATIVE 1
46416 _ACEOF
46417
46418 fi
46419
46420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46421 fi
46422
46423 if test "$wxUSE_TOOLTIPS" = "yes"; then
46424 if test "$wxUSE_MOTIF" = 1; then
46425 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46426 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46427 else
46428 if test "$wxUSE_UNIVERSAL" = "yes"; then
46429 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46430 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46431 else
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_TOOLTIPS 1
46434 _ACEOF
46435
46436 fi
46437 fi
46438 fi
46439
46440 if test "$wxUSE_TREEBOOK" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_TREEBOOK 1
46443 _ACEOF
46444
46445 USES_CONTROLS=1
46446 fi
46447
46448 if test "$wxUSE_TOOLBOOK" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_TOOLBOOK 1
46451 _ACEOF
46452
46453 USES_CONTROLS=1
46454 fi
46455
46456 if test "$wxUSE_TREECTRL" = "yes"; then
46457 if test "$wxUSE_IMAGLIST" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_TREECTRL 1
46460 _ACEOF
46461
46462 USES_CONTROLS=1
46463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46464 else
46465 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46466 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46467 fi
46468 fi
46469
46470 if test "$wxUSE_POPUPWIN" = "yes"; then
46471 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46472 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46473 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46474 else
46475 if test "$wxUSE_PM" = 1; then
46476 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46477 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46478 else
46479 cat >>confdefs.h <<\_ACEOF
46480 #define wxUSE_POPUPWIN 1
46481 _ACEOF
46482
46483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46484
46485 USES_CONTROLS=1
46486 fi
46487 fi
46488 fi
46489
46490 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46491 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46492 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46493 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46494 else
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_DIALUP_MANAGER 1
46497 _ACEOF
46498
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46500 fi
46501 fi
46502
46503 if test "$wxUSE_TIPWINDOW" = "yes"; then
46504 if test "$wxUSE_PM" = 1; then
46505 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46506 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46507 else
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_TIPWINDOW 1
46510 _ACEOF
46511
46512 fi
46513 fi
46514
46515 if test "$USES_CONTROLS" = 1; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_CONTROLS 1
46518 _ACEOF
46519
46520 fi
46521
46522
46523 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_ACCESSIBILITY 1
46526 _ACEOF
46527
46528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46529 fi
46530
46531 if test "$wxUSE_DC_CACHEING" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_DC_CACHEING 1
46534 _ACEOF
46535
46536 fi
46537
46538 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_DRAGIMAGE 1
46541 _ACEOF
46542
46543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46544 fi
46545
46546 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46547 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46548 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46549 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46550 else
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_EXCEPTIONS 1
46553 _ACEOF
46554
46555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46556 fi
46557 fi
46558
46559 USE_HTML=0
46560 if test "$wxUSE_HTML" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_HTML 1
46563 _ACEOF
46564
46565 USE_HTML=1
46566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46567 if test "$wxUSE_MAC" = 1; then
46568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46569 fi
46570 fi
46571 if test "$wxUSE_WEBKIT" = "yes"; then
46572 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46573 old_CPPFLAGS="$CPPFLAGS"
46574 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46575 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46576 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46577 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46578 echo $ECHO_N "(cached) $ECHO_C" >&6
46579 else
46580 cat >conftest.$ac_ext <<_ACEOF
46581 /* confdefs.h. */
46582 _ACEOF
46583 cat confdefs.h >>conftest.$ac_ext
46584 cat >>conftest.$ac_ext <<_ACEOF
46585 /* end confdefs.h. */
46586 #include <Carbon/Carbon.h>
46587
46588 #include <WebKit/HIWebView.h>
46589 _ACEOF
46590 rm -f conftest.$ac_objext
46591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46592 (eval $ac_compile) 2>conftest.er1
46593 ac_status=$?
46594 grep -v '^ *+' conftest.er1 >conftest.err
46595 rm -f conftest.er1
46596 cat conftest.err >&5
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); } &&
46599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46601 (eval $ac_try) 2>&5
46602 ac_status=$?
46603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46604 (exit $ac_status); }; } &&
46605 { ac_try='test -s conftest.$ac_objext'
46606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46607 (eval $ac_try) 2>&5
46608 ac_status=$?
46609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46610 (exit $ac_status); }; }; then
46611 ac_cv_header_WebKit_HIWebView_h=yes
46612 else
46613 echo "$as_me: failed program was:" >&5
46614 sed 's/^/| /' conftest.$ac_ext >&5
46615
46616 ac_cv_header_WebKit_HIWebView_h=no
46617 fi
46618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46619 fi
46620 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46621 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46622 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46623
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_WEBKIT 1
46626 _ACEOF
46627
46628 WEBKIT_LINK="-framework WebKit"
46629
46630 else
46631
46632 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46633 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46634 wxUSE_WEBKIT=no
46635
46636 fi
46637
46638
46639 CPPFLAGS="$old_CPPFLAGS"
46640 elif test "$wxUSE_COCOA" = 1; then
46641 cat >>confdefs.h <<\_ACEOF
46642 #define wxUSE_WEBKIT 1
46643 _ACEOF
46644
46645 else
46646 wxUSE_WEBKIT=no
46647 fi
46648 fi
46649
46650 USE_XRC=0
46651 if test "$wxUSE_XRC" = "yes"; then
46652 if test "$wxUSE_XML" != "yes"; then
46653 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46654 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46655 wxUSE_XRC=no
46656 else
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_XRC 1
46659 _ACEOF
46660
46661 USE_XRC=1
46662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46663 fi
46664 fi
46665
46666 USE_AUI=0
46667 if test "$wxUSE_AUI" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_AUI 1
46670 _ACEOF
46671
46672 USE_AUI=1
46673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46674 fi
46675
46676 if test "$wxUSE_MENUS" = "yes"; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_MENUS 1
46679 _ACEOF
46680
46681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46682 fi
46683
46684 if test "$wxUSE_METAFILE" = "yes"; then
46685 cat >>confdefs.h <<\_ACEOF
46686 #define wxUSE_METAFILE 1
46687 _ACEOF
46688
46689 fi
46690
46691 if test "$wxUSE_MIMETYPE" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_MIMETYPE 1
46694 _ACEOF
46695
46696 fi
46697
46698 if test "$wxUSE_MINIFRAME" = "yes"; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_MINIFRAME 1
46701 _ACEOF
46702
46703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46704 fi
46705
46706 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46707 cat >>confdefs.h <<\_ACEOF
46708 #define wxUSE_SYSTEM_OPTIONS 1
46709 _ACEOF
46710
46711 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46712 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46714 fi
46715 fi
46716
46717
46718 if test "$wxUSE_VALIDATORS" = "yes"; then
46719 cat >>confdefs.h <<\_ACEOF
46720 #define wxUSE_VALIDATORS 1
46721 _ACEOF
46722
46723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46724 fi
46725
46726 if test "$wxUSE_PALETTE" = "yes" ; then
46727 cat >>confdefs.h <<\_ACEOF
46728 #define wxUSE_PALETTE 1
46729 _ACEOF
46730
46731 fi
46732
46733 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46734 LIBS=" -lunicows $LIBS"
46735 fi
46736
46737 USE_RICHTEXT=0
46738 if test "$wxUSE_RICHTEXT" = "yes"; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_RICHTEXT 1
46741 _ACEOF
46742
46743 USE_RICHTEXT=1
46744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46745 fi
46746
46747
46748 if test "$wxUSE_IMAGE" = "yes" ; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_IMAGE 1
46751 _ACEOF
46752
46753
46754 if test "$wxUSE_GIF" = "yes" ; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_GIF 1
46757 _ACEOF
46758
46759 fi
46760
46761 if test "$wxUSE_PCX" = "yes" ; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_PCX 1
46764 _ACEOF
46765
46766 fi
46767
46768 if test "$wxUSE_TGA" = "yes" ; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_TGA 1
46771 _ACEOF
46772
46773 fi
46774
46775 if test "$wxUSE_IFF" = "yes" ; then
46776 cat >>confdefs.h <<\_ACEOF
46777 #define wxUSE_IFF 1
46778 _ACEOF
46779
46780 fi
46781
46782 if test "$wxUSE_PNM" = "yes" ; then
46783 cat >>confdefs.h <<\_ACEOF
46784 #define wxUSE_PNM 1
46785 _ACEOF
46786
46787 fi
46788
46789 if test "$wxUSE_XPM" = "yes" ; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_XPM 1
46792 _ACEOF
46793
46794 fi
46795
46796 if test "$wxUSE_ICO_CUR" = "yes" ; then
46797 cat >>confdefs.h <<\_ACEOF
46798 #define wxUSE_ICO_CUR 1
46799 _ACEOF
46800
46801 fi
46802 fi
46803
46804
46805 if test "$wxUSE_ABOUTDLG" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_ABOUTDLG 1
46808 _ACEOF
46809
46810 fi
46811
46812 if test "$wxUSE_CHOICEDLG" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_CHOICEDLG 1
46815 _ACEOF
46816
46817 fi
46818
46819 if test "$wxUSE_COLOURDLG" = "yes"; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_COLOURDLG 1
46822 _ACEOF
46823
46824 fi
46825
46826 if test "$wxUSE_FILEDLG" = "yes"; then
46827 cat >>confdefs.h <<\_ACEOF
46828 #define wxUSE_FILEDLG 1
46829 _ACEOF
46830
46831 fi
46832
46833 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_FINDREPLDLG 1
46836 _ACEOF
46837
46838 fi
46839
46840 if test "$wxUSE_FONTDLG" = "yes"; then
46841 cat >>confdefs.h <<\_ACEOF
46842 #define wxUSE_FONTDLG 1
46843 _ACEOF
46844
46845 fi
46846
46847 if test "$wxUSE_DIRDLG" = "yes"; then
46848 if test "$wxUSE_TREECTRL" != "yes"; then
46849 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46850 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46851 else
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_DIRDLG 1
46854 _ACEOF
46855
46856 fi
46857 fi
46858
46859 if test "$wxUSE_MSGDLG" = "yes"; then
46860 cat >>confdefs.h <<\_ACEOF
46861 #define wxUSE_MSGDLG 1
46862 _ACEOF
46863
46864 fi
46865
46866 if test "$wxUSE_NUMBERDLG" = "yes"; then
46867 cat >>confdefs.h <<\_ACEOF
46868 #define wxUSE_NUMBERDLG 1
46869 _ACEOF
46870
46871 fi
46872
46873 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46874 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46875 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46876 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46877 else
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_PROGRESSDLG 1
46880 _ACEOF
46881
46882 fi
46883 fi
46884
46885 if test "$wxUSE_SPLASH" = "yes"; then
46886 cat >>confdefs.h <<\_ACEOF
46887 #define wxUSE_SPLASH 1
46888 _ACEOF
46889
46890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46891 fi
46892
46893 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46894 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46895 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46896 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46897 else
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_STARTUP_TIPS 1
46900 _ACEOF
46901
46902 fi
46903 fi
46904
46905 if test "$wxUSE_TEXTDLG" = "yes"; then
46906 cat >>confdefs.h <<\_ACEOF
46907 #define wxUSE_TEXTDLG 1
46908 _ACEOF
46909
46910 fi
46911
46912 if test "$wxUSE_WIZARDDLG" = "yes"; then
46913 cat >>confdefs.h <<\_ACEOF
46914 #define wxUSE_WIZARDDLG 1
46915 _ACEOF
46916
46917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46918 fi
46919
46920
46921 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46922 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46923 cat >>confdefs.h <<\_ACEOF
46924 #define wxUSE_GRAPHICS_CONTEXT 1
46925 _ACEOF
46926
46927 elif test "$wxUSE_GTK" != 1; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_GRAPHICS_CONTEXT 1
46930 _ACEOF
46931
46932 else
46933
46934 pkg_failed=no
46935 echo "$as_me:$LINENO: checking for CAIRO" >&5
46936 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46937
46938 if test -n "$PKG_CONFIG"; then
46939 if test -n "$CAIRO_CFLAGS"; then
46940 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46941 else
46942 if test -n "$PKG_CONFIG" && \
46943 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46944 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46945 ac_status=$?
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; then
46948 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46949 else
46950 pkg_failed=yes
46951 fi
46952 fi
46953 else
46954 pkg_failed=untried
46955 fi
46956 if test -n "$PKG_CONFIG"; then
46957 if test -n "$CAIRO_LIBS"; then
46958 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46959 else
46960 if test -n "$PKG_CONFIG" && \
46961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46962 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46963 ac_status=$?
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); }; then
46966 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46967 else
46968 pkg_failed=yes
46969 fi
46970 fi
46971 else
46972 pkg_failed=untried
46973 fi
46974
46975
46976
46977 if test $pkg_failed = yes; then
46978
46979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46980 _pkg_short_errors_supported=yes
46981 else
46982 _pkg_short_errors_supported=no
46983 fi
46984 if test $_pkg_short_errors_supported = yes; then
46985 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46986 else
46987 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46988 fi
46989 # Put the nasty error message in config.log where it belongs
46990 echo "$CAIRO_PKG_ERRORS" >&5
46991
46992 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46993 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46994
46995 elif test $pkg_failed = untried; then
46996 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46997 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46998
46999 else
47000 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47001 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47002 echo "$as_me:$LINENO: result: yes" >&5
47003 echo "${ECHO_T}yes" >&6
47004 cat >>confdefs.h <<\_ACEOF
47005 #define wxUSE_GRAPHICS_CONTEXT 1
47006 _ACEOF
47007
47008 fi
47009 fi
47010 fi
47011
47012
47013 USE_MEDIA=0
47014
47015 if test "$wxUSE_MEDIACTRL" = "yes"; then
47016 USE_MEDIA=1
47017
47018 if test "$wxUSE_GTK" = 1; then
47019 wxUSE_GSTREAMER="no"
47020
47021 GST_VERSION_MAJOR=0
47022 GST_VERSION_MINOR=10
47023 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47024
47025 if test "$wxUSE_GSTREAMER8" = "no"; then
47026
47027 pkg_failed=no
47028 echo "$as_me:$LINENO: checking for GST" >&5
47029 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47030
47031 if test -n "$PKG_CONFIG"; then
47032 if test -n "$GST_CFLAGS"; then
47033 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47034 else
47035 if test -n "$PKG_CONFIG" && \
47036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47037 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47038 ac_status=$?
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); }; then
47041 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47042 else
47043 pkg_failed=yes
47044 fi
47045 fi
47046 else
47047 pkg_failed=untried
47048 fi
47049 if test -n "$PKG_CONFIG"; then
47050 if test -n "$GST_LIBS"; then
47051 pkg_cv_GST_LIBS="$GST_LIBS"
47052 else
47053 if test -n "$PKG_CONFIG" && \
47054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47055 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47056 ac_status=$?
47057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47058 (exit $ac_status); }; then
47059 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47060 else
47061 pkg_failed=yes
47062 fi
47063 fi
47064 else
47065 pkg_failed=untried
47066 fi
47067
47068
47069
47070 if test $pkg_failed = yes; then
47071
47072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47073 _pkg_short_errors_supported=yes
47074 else
47075 _pkg_short_errors_supported=no
47076 fi
47077 if test $_pkg_short_errors_supported = yes; then
47078 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47079 else
47080 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47081 fi
47082 # Put the nasty error message in config.log where it belongs
47083 echo "$GST_PKG_ERRORS" >&5
47084
47085
47086 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47087 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47088 GST_VERSION_MINOR=8
47089
47090
47091 elif test $pkg_failed = untried; then
47092
47093 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47094 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47095 GST_VERSION_MINOR=8
47096
47097
47098 else
47099 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47100 GST_LIBS=$pkg_cv_GST_LIBS
47101 echo "$as_me:$LINENO: result: yes" >&5
47102 echo "${ECHO_T}yes" >&6
47103
47104 wxUSE_GSTREAMER="yes"
47105 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47106
47107 fi
47108 else
47109 GST_VERSION_MINOR=8
47110 fi
47111
47112 if test $GST_VERSION_MINOR = "8"; then
47113 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47114
47115 pkg_failed=no
47116 echo "$as_me:$LINENO: checking for GST" >&5
47117 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47118
47119 if test -n "$PKG_CONFIG"; then
47120 if test -n "$GST_CFLAGS"; then
47121 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47122 else
47123 if test -n "$PKG_CONFIG" && \
47124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47125 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47126 ac_status=$?
47127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47128 (exit $ac_status); }; then
47129 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47130 else
47131 pkg_failed=yes
47132 fi
47133 fi
47134 else
47135 pkg_failed=untried
47136 fi
47137 if test -n "$PKG_CONFIG"; then
47138 if test -n "$GST_LIBS"; then
47139 pkg_cv_GST_LIBS="$GST_LIBS"
47140 else
47141 if test -n "$PKG_CONFIG" && \
47142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47143 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47144 ac_status=$?
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); }; then
47147 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47148 else
47149 pkg_failed=yes
47150 fi
47151 fi
47152 else
47153 pkg_failed=untried
47154 fi
47155
47156
47157
47158 if test $pkg_failed = yes; then
47159
47160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47161 _pkg_short_errors_supported=yes
47162 else
47163 _pkg_short_errors_supported=no
47164 fi
47165 if test $_pkg_short_errors_supported = yes; then
47166 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47167 else
47168 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47169 fi
47170 # Put the nasty error message in config.log where it belongs
47171 echo "$GST_PKG_ERRORS" >&5
47172
47173
47174 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47175 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47176
47177 elif test $pkg_failed = untried; then
47178
47179 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47180 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47181
47182 else
47183 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47184 GST_LIBS=$pkg_cv_GST_LIBS
47185 echo "$as_me:$LINENO: result: yes" >&5
47186 echo "${ECHO_T}yes" >&6
47187 wxUSE_GSTREAMER="yes"
47188 fi
47189 fi
47190
47191
47192 if test "$wxUSE_GSTREAMER" = "yes"; then
47193 case "${host}" in
47194 *-*-solaris2* )
47195 if "$GCC" = yes; then
47196 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47197 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47198 fi
47199 esac
47200
47201 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47202 LIBS="$GST_LIBS $LIBS"
47203
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_GSTREAMER 1
47206 _ACEOF
47207
47208 else
47209 USE_MEDIA=0
47210 fi
47211 fi
47212
47213 if test $USE_MEDIA = 1; then
47214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_MEDIACTRL 1
47217 _ACEOF
47218
47219 fi
47220 fi
47221
47222
47223 if test "$cross_compiling" = "yes"; then
47224 OSINFO="\"$host\""
47225 else
47226 OSINFO=`uname -s -r -m`
47227 OSINFO="\"$OSINFO\""
47228 fi
47229
47230 cat >>confdefs.h <<_ACEOF
47231 #define WXWIN_OS_DESCRIPTION $OSINFO
47232 _ACEOF
47233
47234
47235
47236 if test "x$prefix" != "xNONE"; then
47237 wxPREFIX=$prefix
47238 else
47239 wxPREFIX=$ac_default_prefix
47240 fi
47241
47242 cat >>confdefs.h <<_ACEOF
47243 #define wxINSTALL_PREFIX "$wxPREFIX"
47244 _ACEOF
47245
47246
47247
47248
47249 CORE_BASE_LIBS="net base"
47250 CORE_GUI_LIBS="adv core"
47251
47252 if test "$wxUSE_XML" = "yes" ; then
47253 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47254 fi
47255 if test "$wxUSE_ODBC" != "no" ; then
47256 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47257 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47258 fi
47259 if test "$wxUSE_HTML" = "yes" ; then
47260 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47261 fi
47262 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47263 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47264 fi
47265 if test "$wxUSE_XRC" = "yes" ; then
47266 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47267 fi
47268 if test "$wxUSE_AUI" = "yes" ; then
47269 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47270 fi
47271
47272 if test "$wxUSE_GUI" != "yes"; then
47273 CORE_GUI_LIBS=""
47274 fi
47275
47276
47277
47278
47279
47280 ac_ext=c
47281 ac_cpp='$CPP $CPPFLAGS'
47282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47285
47286
47287
47288 if test "$wxUSE_MAC" = 1 ; then
47289 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47290 if test "$USE_DARWIN" = 1; then
47291 LDFLAGS="$LDFLAGS -framework QuickTime"
47292 else
47293 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47294 fi
47295 fi
47296 if test "$USE_DARWIN" = 1; then
47297 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47298 else
47299 LDFLAGS="$LDFLAGS -lCarbonLib"
47300 fi
47301 fi
47302 if test "$wxUSE_COCOA" = 1 ; then
47303 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47304 if test "$wxUSE_MEDIACTRL" = "yes"; then
47305 LDFLAGS="$LDFLAGS -framework QuickTime"
47306 fi
47307 fi
47308 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47309 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47310 fi
47311
47312 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47313
47314 if test "$wxUSE_GUI" = "yes"; then
47315
47316
47317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47318 dynamic erase event exec font image minimal mobile \
47319 mobile/wxedit mobile/styles propsize render \
47320 rotate shaped vscroll widgets"
47321
47322 if test "$wxUSE_MONOLITHIC" != "yes"; then
47323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47324 fi
47325 if test "$TOOLKIT" = "MSW"; then
47326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47327 if test "$wxUSE_UNIVERSAL" != "yes"; then
47328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47329 fi
47330 fi
47331 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47333 fi
47334 else
47335 SAMPLES_SUBDIRS="console"
47336 fi
47337
47338
47339 if test "x$INTELCC" = "xyes" ; then
47340 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47341 elif test "$GCC" = yes ; then
47342 CWARNINGS="-Wall -Wundef"
47343 fi
47344
47345 if test "x$INTELCXX" = "xyes" ; then
47346 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47347 elif test "$GXX" = yes ; then
47348 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47349 fi
47350
47351
47352 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47353 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47354
47355
47356 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47357 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47358 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47359 $CPPFLAGS `
47360
47361 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47362 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47363 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47364
47365 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47366
47367
47368 if test "x$MWCC" = "xyes"; then
47369
47370 CC="$CC -cwd source -I-"
47371 CXX="$CXX -cwd source -I-"
47372 fi
47373
47374
47375 LIBS=`echo $LIBS`
47376 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47377 EXTRALIBS_XML="$EXPAT_LINK"
47378 EXTRALIBS_HTML="$MSPACK_LINK"
47379 EXTRALIBS_ODBC="$ODBC_LINK"
47380 if test "$wxUSE_GUI" = "yes"; then
47381 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47382 fi
47383 if test "$wxUSE_OPENGL" = "yes"; then
47384 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47385 fi
47386
47387 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47388
47389 WXCONFIG_LIBS="$LIBS"
47390
47391 if test "$wxUSE_REGEX" = "builtin" ; then
47392 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47393 fi
47394 if test "$wxUSE_EXPAT" = "builtin" ; then
47395 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47396 fi
47397 if test "$wxUSE_ODBC" = "builtin" ; then
47398 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47399 fi
47400 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47401 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47402 fi
47403 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47404 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47405 fi
47406 if test "$wxUSE_LIBPNG" = "builtin" ; then
47407 wxconfig_3rdparty="png $wxconfig_3rdparty"
47408 fi
47409 if test "$wxUSE_ZLIB" = "builtin" ; then
47410 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47411 fi
47412
47413 for i in $wxconfig_3rdparty ; do
47414 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47415 done
47416
47417
47418 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47419 WXUNIV=1
47420
47421 case "$wxUNIV_THEMES" in
47422 ''|all)
47423 cat >>confdefs.h <<\_ACEOF
47424 #define wxUSE_ALL_THEMES 1
47425 _ACEOF
47426
47427 ;;
47428
47429 *)
47430 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47431 cat >>confdefs.h <<_ACEOF
47432 #define wxUSE_THEME_$t 1
47433 _ACEOF
47434
47435 done
47436 esac
47437 else
47438 WXUNIV=0
47439 fi
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449 if test $wxUSE_MONOLITHIC = "yes" ; then
47450 MONOLITHIC=1
47451 else
47452 MONOLITHIC=0
47453 fi
47454
47455 if test $wxUSE_PLUGINS = "yes" ; then
47456 USE_PLUGINS=1
47457 else
47458 USE_PLUGINS=0
47459 fi
47460
47461 if test $wxUSE_ODBC != "no" ; then
47462 USE_ODBC=1
47463 else
47464 USE_ODBC=0
47465 fi
47466
47467 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47468 USE_QA=1
47469 else
47470 USE_QA=0
47471 fi
47472
47473 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47474 OFFICIAL_BUILD=1
47475 else
47476 OFFICIAL_BUILD=0
47477 fi
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47504
47505
47506
47507
47508
47509
47510
47511
47512 case "$TOOLKIT" in
47513 GTK)
47514 TOOLKIT_DESC="GTK+"
47515 if test "$WXGTK20" = 1; then
47516 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47517 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47518 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47519 fi
47520 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47521 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47522 fi
47523 if test "$wxUSE_LIBHILDON" = "yes"; then
47524 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47525 fi
47526
47527 if test "$TOOLKIT_EXTRA" != ""; then
47528 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47529 fi
47530 fi
47531 ;;
47532
47533 ?*)
47534 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47535 ;;
47536
47537 *)
47538 TOOLKIT_DESC="base only"
47539 ;;
47540 esac
47541
47542 if test "$wxUSE_WINE" = "yes"; then
47543 BAKEFILE_FORCE_PLATFORM=win32
47544 fi
47545
47546 if test "$wxUSE_MAC" = 1 ; then
47547 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47548 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47549 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47550 else
47551 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47552 fi
47553 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47554 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47555 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47556 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47557 bk_use_pch=no
47558 fi
47559 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47560 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47561 fi
47562
47563 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47564 then
47565 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47566 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47567 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47568 echo $ECHO_N "(cached) $ECHO_C" >&6
47569 else
47570
47571 echo '#include <stdio.h>
47572 const wchar_t test_var[] = L"awidetest";' > conftest.h
47573
47574 echo '#include "conftest.h"
47575 int main()
47576 {
47577 printf("%ls", test_var);
47578 return 0;
47579 }' > conftest.cpp
47580
47581 wx_cv_gcc_pch_bug="pch not supported"
47582
47583 if $CXX conftest.h >/dev/null 2>&1
47584 then
47585 wx_cv_gcc_pch_bug=
47586
47587 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47588 then
47589 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47590 grep awidetest >/dev/null
47591 then
47592 wx_cv_gcc_pch_bug=no
47593 else
47594 wx_cv_gcc_pch_bug=yes
47595 fi
47596 fi
47597 fi
47598
47599 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47600
47601 fi
47602 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47603 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47604
47605 if test "$wx_cv_gcc_pch_bug" = yes; then
47606 bk_use_pch=no
47607 fi
47608 fi
47609
47610
47611
47612
47613 if test "x$BAKEFILE_HOST" = "x"; then
47614 if test "x${host}" = "x" ; then
47615 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47616 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47617 { (exit 1); exit 1; }; }
47618 fi
47619
47620 BAKEFILE_HOST="${host}"
47621 fi
47622
47623 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47624
47625 if test -n "$ac_tool_prefix"; then
47626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47628 echo "$as_me:$LINENO: checking for $ac_word" >&5
47629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47630 if test "${ac_cv_prog_RANLIB+set}" = set; then
47631 echo $ECHO_N "(cached) $ECHO_C" >&6
47632 else
47633 if test -n "$RANLIB"; then
47634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47635 else
47636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47637 for as_dir in $PATH
47638 do
47639 IFS=$as_save_IFS
47640 test -z "$as_dir" && as_dir=.
47641 for ac_exec_ext in '' $ac_executable_extensions; do
47642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47645 break 2
47646 fi
47647 done
47648 done
47649
47650 fi
47651 fi
47652 RANLIB=$ac_cv_prog_RANLIB
47653 if test -n "$RANLIB"; then
47654 echo "$as_me:$LINENO: result: $RANLIB" >&5
47655 echo "${ECHO_T}$RANLIB" >&6
47656 else
47657 echo "$as_me:$LINENO: result: no" >&5
47658 echo "${ECHO_T}no" >&6
47659 fi
47660
47661 fi
47662 if test -z "$ac_cv_prog_RANLIB"; then
47663 ac_ct_RANLIB=$RANLIB
47664 # Extract the first word of "ranlib", so it can be a program name with args.
47665 set dummy ranlib; ac_word=$2
47666 echo "$as_me:$LINENO: checking for $ac_word" >&5
47667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47669 echo $ECHO_N "(cached) $ECHO_C" >&6
47670 else
47671 if test -n "$ac_ct_RANLIB"; then
47672 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47673 else
47674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47675 for as_dir in $PATH
47676 do
47677 IFS=$as_save_IFS
47678 test -z "$as_dir" && as_dir=.
47679 for ac_exec_ext in '' $ac_executable_extensions; do
47680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47681 ac_cv_prog_ac_ct_RANLIB="ranlib"
47682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47683 break 2
47684 fi
47685 done
47686 done
47687
47688 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47689 fi
47690 fi
47691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47692 if test -n "$ac_ct_RANLIB"; then
47693 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47694 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47695 else
47696 echo "$as_me:$LINENO: result: no" >&5
47697 echo "${ECHO_T}no" >&6
47698 fi
47699
47700 RANLIB=$ac_ct_RANLIB
47701 else
47702 RANLIB="$ac_cv_prog_RANLIB"
47703 fi
47704
47705 # Find a good install program. We prefer a C program (faster),
47706 # so one script is as good as another. But avoid the broken or
47707 # incompatible versions:
47708 # SysV /etc/install, /usr/sbin/install
47709 # SunOS /usr/etc/install
47710 # IRIX /sbin/install
47711 # AIX /bin/install
47712 # AmigaOS /C/install, which installs bootblocks on floppy discs
47713 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47714 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47715 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47716 # OS/2's system install, which has a completely different semantic
47717 # ./install, which can be erroneously created by make from ./install.sh.
47718 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47719 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47720 if test -z "$INSTALL"; then
47721 if test "${ac_cv_path_install+set}" = set; then
47722 echo $ECHO_N "(cached) $ECHO_C" >&6
47723 else
47724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47725 for as_dir in $PATH
47726 do
47727 IFS=$as_save_IFS
47728 test -z "$as_dir" && as_dir=.
47729 # Account for people who put trailing slashes in PATH elements.
47730 case $as_dir/ in
47731 ./ | .// | /cC/* | \
47732 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47733 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47734 /usr/ucb/* ) ;;
47735 *)
47736 # OSF1 and SCO ODT 3.0 have their own names for install.
47737 # Don't use installbsd from OSF since it installs stuff as root
47738 # by default.
47739 for ac_prog in ginstall scoinst install; do
47740 for ac_exec_ext in '' $ac_executable_extensions; do
47741 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47742 if test $ac_prog = install &&
47743 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47744 # AIX install. It has an incompatible calling convention.
47745 :
47746 elif test $ac_prog = install &&
47747 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47748 # program-specific install script used by HP pwplus--don't use.
47749 :
47750 else
47751 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47752 break 3
47753 fi
47754 fi
47755 done
47756 done
47757 ;;
47758 esac
47759 done
47760
47761
47762 fi
47763 if test "${ac_cv_path_install+set}" = set; then
47764 INSTALL=$ac_cv_path_install
47765 else
47766 # As a last resort, use the slow shell script. We don't cache a
47767 # path for INSTALL within a source directory, because that will
47768 # break other packages using the cache if that directory is
47769 # removed, or if the path is relative.
47770 INSTALL=$ac_install_sh
47771 fi
47772 fi
47773 echo "$as_me:$LINENO: result: $INSTALL" >&5
47774 echo "${ECHO_T}$INSTALL" >&6
47775
47776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47777 # It thinks the first close brace ends the variable substitution.
47778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47779
47780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47781
47782 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47783
47784 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47785 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47786 LN_S=$as_ln_s
47787 if test "$LN_S" = "ln -s"; then
47788 echo "$as_me:$LINENO: result: yes" >&5
47789 echo "${ECHO_T}yes" >&6
47790 else
47791 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47792 echo "${ECHO_T}no, using $LN_S" >&6
47793 fi
47794
47795
47796 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47798 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47799 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47800 echo $ECHO_N "(cached) $ECHO_C" >&6
47801 else
47802 cat >conftest.make <<\_ACEOF
47803 all:
47804 @echo 'ac_maketemp="$(MAKE)"'
47805 _ACEOF
47806 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47807 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47808 if test -n "$ac_maketemp"; then
47809 eval ac_cv_prog_make_${ac_make}_set=yes
47810 else
47811 eval ac_cv_prog_make_${ac_make}_set=no
47812 fi
47813 rm -f conftest.make
47814 fi
47815 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47816 echo "$as_me:$LINENO: result: yes" >&5
47817 echo "${ECHO_T}yes" >&6
47818 SET_MAKE=
47819 else
47820 echo "$as_me:$LINENO: result: no" >&5
47821 echo "${ECHO_T}no" >&6
47822 SET_MAKE="MAKE=${MAKE-make}"
47823 fi
47824
47825
47826
47827 if test -n "$ac_tool_prefix"; then
47828 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47829 set dummy ${ac_tool_prefix}ar; ac_word=$2
47830 echo "$as_me:$LINENO: checking for $ac_word" >&5
47831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47832 if test "${ac_cv_prog_AR+set}" = set; then
47833 echo $ECHO_N "(cached) $ECHO_C" >&6
47834 else
47835 if test -n "$AR"; then
47836 ac_cv_prog_AR="$AR" # Let the user override the test.
47837 else
47838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47839 for as_dir in $PATH
47840 do
47841 IFS=$as_save_IFS
47842 test -z "$as_dir" && as_dir=.
47843 for ac_exec_ext in '' $ac_executable_extensions; do
47844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47845 ac_cv_prog_AR="${ac_tool_prefix}ar"
47846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47847 break 2
47848 fi
47849 done
47850 done
47851
47852 fi
47853 fi
47854 AR=$ac_cv_prog_AR
47855 if test -n "$AR"; then
47856 echo "$as_me:$LINENO: result: $AR" >&5
47857 echo "${ECHO_T}$AR" >&6
47858 else
47859 echo "$as_me:$LINENO: result: no" >&5
47860 echo "${ECHO_T}no" >&6
47861 fi
47862
47863 fi
47864 if test -z "$ac_cv_prog_AR"; then
47865 ac_ct_AR=$AR
47866 # Extract the first word of "ar", so it can be a program name with args.
47867 set dummy ar; ac_word=$2
47868 echo "$as_me:$LINENO: checking for $ac_word" >&5
47869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47870 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47871 echo $ECHO_N "(cached) $ECHO_C" >&6
47872 else
47873 if test -n "$ac_ct_AR"; then
47874 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47875 else
47876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47877 for as_dir in $PATH
47878 do
47879 IFS=$as_save_IFS
47880 test -z "$as_dir" && as_dir=.
47881 for ac_exec_ext in '' $ac_executable_extensions; do
47882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47883 ac_cv_prog_ac_ct_AR="ar"
47884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47885 break 2
47886 fi
47887 done
47888 done
47889
47890 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47891 fi
47892 fi
47893 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47894 if test -n "$ac_ct_AR"; then
47895 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47896 echo "${ECHO_T}$ac_ct_AR" >&6
47897 else
47898 echo "$as_me:$LINENO: result: no" >&5
47899 echo "${ECHO_T}no" >&6
47900 fi
47901
47902 AR=$ac_ct_AR
47903 else
47904 AR="$ac_cv_prog_AR"
47905 fi
47906
47907 if test -n "$ac_tool_prefix"; then
47908 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47909 set dummy ${ac_tool_prefix}strip; ac_word=$2
47910 echo "$as_me:$LINENO: checking for $ac_word" >&5
47911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47912 if test "${ac_cv_prog_STRIP+set}" = set; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 else
47915 if test -n "$STRIP"; then
47916 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47917 else
47918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47919 for as_dir in $PATH
47920 do
47921 IFS=$as_save_IFS
47922 test -z "$as_dir" && as_dir=.
47923 for ac_exec_ext in '' $ac_executable_extensions; do
47924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47925 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47927 break 2
47928 fi
47929 done
47930 done
47931
47932 fi
47933 fi
47934 STRIP=$ac_cv_prog_STRIP
47935 if test -n "$STRIP"; then
47936 echo "$as_me:$LINENO: result: $STRIP" >&5
47937 echo "${ECHO_T}$STRIP" >&6
47938 else
47939 echo "$as_me:$LINENO: result: no" >&5
47940 echo "${ECHO_T}no" >&6
47941 fi
47942
47943 fi
47944 if test -z "$ac_cv_prog_STRIP"; then
47945 ac_ct_STRIP=$STRIP
47946 # Extract the first word of "strip", so it can be a program name with args.
47947 set dummy strip; ac_word=$2
47948 echo "$as_me:$LINENO: checking for $ac_word" >&5
47949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47950 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47951 echo $ECHO_N "(cached) $ECHO_C" >&6
47952 else
47953 if test -n "$ac_ct_STRIP"; then
47954 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47955 else
47956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47957 for as_dir in $PATH
47958 do
47959 IFS=$as_save_IFS
47960 test -z "$as_dir" && as_dir=.
47961 for ac_exec_ext in '' $ac_executable_extensions; do
47962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47963 ac_cv_prog_ac_ct_STRIP="strip"
47964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47965 break 2
47966 fi
47967 done
47968 done
47969
47970 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47971 fi
47972 fi
47973 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47974 if test -n "$ac_ct_STRIP"; then
47975 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47976 echo "${ECHO_T}$ac_ct_STRIP" >&6
47977 else
47978 echo "$as_me:$LINENO: result: no" >&5
47979 echo "${ECHO_T}no" >&6
47980 fi
47981
47982 STRIP=$ac_ct_STRIP
47983 else
47984 STRIP="$ac_cv_prog_STRIP"
47985 fi
47986
47987 if test -n "$ac_tool_prefix"; then
47988 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47989 set dummy ${ac_tool_prefix}nm; ac_word=$2
47990 echo "$as_me:$LINENO: checking for $ac_word" >&5
47991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47992 if test "${ac_cv_prog_NM+set}" = set; then
47993 echo $ECHO_N "(cached) $ECHO_C" >&6
47994 else
47995 if test -n "$NM"; then
47996 ac_cv_prog_NM="$NM" # Let the user override the test.
47997 else
47998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47999 for as_dir in $PATH
48000 do
48001 IFS=$as_save_IFS
48002 test -z "$as_dir" && as_dir=.
48003 for ac_exec_ext in '' $ac_executable_extensions; do
48004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48005 ac_cv_prog_NM="${ac_tool_prefix}nm"
48006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48007 break 2
48008 fi
48009 done
48010 done
48011
48012 fi
48013 fi
48014 NM=$ac_cv_prog_NM
48015 if test -n "$NM"; then
48016 echo "$as_me:$LINENO: result: $NM" >&5
48017 echo "${ECHO_T}$NM" >&6
48018 else
48019 echo "$as_me:$LINENO: result: no" >&5
48020 echo "${ECHO_T}no" >&6
48021 fi
48022
48023 fi
48024 if test -z "$ac_cv_prog_NM"; then
48025 ac_ct_NM=$NM
48026 # Extract the first word of "nm", so it can be a program name with args.
48027 set dummy nm; ac_word=$2
48028 echo "$as_me:$LINENO: checking for $ac_word" >&5
48029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48030 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48031 echo $ECHO_N "(cached) $ECHO_C" >&6
48032 else
48033 if test -n "$ac_ct_NM"; then
48034 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48035 else
48036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48037 for as_dir in $PATH
48038 do
48039 IFS=$as_save_IFS
48040 test -z "$as_dir" && as_dir=.
48041 for ac_exec_ext in '' $ac_executable_extensions; do
48042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48043 ac_cv_prog_ac_ct_NM="nm"
48044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48045 break 2
48046 fi
48047 done
48048 done
48049
48050 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48051 fi
48052 fi
48053 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48054 if test -n "$ac_ct_NM"; then
48055 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48056 echo "${ECHO_T}$ac_ct_NM" >&6
48057 else
48058 echo "$as_me:$LINENO: result: no" >&5
48059 echo "${ECHO_T}no" >&6
48060 fi
48061
48062 NM=$ac_ct_NM
48063 else
48064 NM="$ac_cv_prog_NM"
48065 fi
48066
48067
48068 case ${BAKEFILE_HOST} in
48069 *-hp-hpux* )
48070 INSTALL_DIR="mkdir -p"
48071 ;;
48072 *) INSTALL_DIR="$INSTALL -d"
48073 ;;
48074 esac
48075
48076
48077 LDFLAGS_GUI=
48078 case ${BAKEFILE_HOST} in
48079 *-*-cygwin* | *-*-mingw32* )
48080 LDFLAGS_GUI="-mwindows"
48081 esac
48082
48083
48084 fi
48085
48086 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48087 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48088 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48089 echo $ECHO_N "(cached) $ECHO_C" >&6
48090 else
48091
48092 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48093 egrep -s GNU > /dev/null); then
48094 bakefile_cv_prog_makeisgnu="yes"
48095 else
48096 bakefile_cv_prog_makeisgnu="no"
48097 fi
48098
48099 fi
48100 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48101 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48102
48103 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48104 IF_GNU_MAKE=""
48105 else
48106 IF_GNU_MAKE="#"
48107 fi
48108
48109
48110
48111 PLATFORM_UNIX=0
48112 PLATFORM_WIN32=0
48113 PLATFORM_MSDOS=0
48114 PLATFORM_MAC=0
48115 PLATFORM_MACOS=0
48116 PLATFORM_MACOSX=0
48117 PLATFORM_OS2=0
48118 PLATFORM_BEOS=0
48119
48120 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48121 case "${BAKEFILE_HOST}" in
48122 *-*-mingw32* )
48123 PLATFORM_WIN32=1
48124 ;;
48125 *-pc-msdosdjgpp )
48126 PLATFORM_MSDOS=1
48127 ;;
48128 *-pc-os2_emx | *-pc-os2-emx )
48129 PLATFORM_OS2=1
48130 ;;
48131 *-*-darwin* )
48132 PLATFORM_MAC=1
48133 PLATFORM_MACOSX=1
48134 ;;
48135 *-*-beos* )
48136 PLATFORM_BEOS=1
48137 ;;
48138 powerpc-apple-macos* )
48139 PLATFORM_MAC=1
48140 PLATFORM_MACOS=1
48141 ;;
48142 * )
48143 PLATFORM_UNIX=1
48144 ;;
48145 esac
48146 else
48147 case "$BAKEFILE_FORCE_PLATFORM" in
48148 win32 )
48149 PLATFORM_WIN32=1
48150 ;;
48151 msdos )
48152 PLATFORM_MSDOS=1
48153 ;;
48154 os2 )
48155 PLATFORM_OS2=1
48156 ;;
48157 darwin )
48158 PLATFORM_MAC=1
48159 PLATFORM_MACOSX=1
48160 ;;
48161 unix )
48162 PLATFORM_UNIX=1
48163 ;;
48164 beos )
48165 PLATFORM_BEOS=1
48166 ;;
48167 * )
48168 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48169 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48170 { (exit 1); exit 1; }; }
48171 ;;
48172 esac
48173 fi
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185 # Check whether --enable-omf or --disable-omf was given.
48186 if test "${enable_omf+set}" = set; then
48187 enableval="$enable_omf"
48188 bk_os2_use_omf="$enableval"
48189 fi;
48190
48191 case "${BAKEFILE_HOST}" in
48192 *-*-darwin* )
48193 if test "x$GCC" = "xyes"; then
48194 CFLAGS="$CFLAGS -fno-common"
48195 CXXFLAGS="$CXXFLAGS -fno-common"
48196 fi
48197 if test "x$XLCC" = "xyes"; then
48198 CFLAGS="$CFLAGS -qnocommon"
48199 CXXFLAGS="$CXXFLAGS -qnocommon"
48200 fi
48201 ;;
48202
48203 *-pc-os2_emx | *-pc-os2-emx )
48204 if test "x$bk_os2_use_omf" = "xyes" ; then
48205 AR=emxomfar
48206 RANLIB=:
48207 LDFLAGS="-Zomf $LDFLAGS"
48208 CFLAGS="-Zomf $CFLAGS"
48209 CXXFLAGS="-Zomf $CXXFLAGS"
48210 OS2_LIBEXT="lib"
48211 else
48212 OS2_LIBEXT="a"
48213 fi
48214 ;;
48215
48216 i*86-*-beos* )
48217 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48218 ;;
48219 esac
48220
48221
48222 SO_SUFFIX="so"
48223 SO_SUFFIX_MODULE="so"
48224 EXEEXT=""
48225 LIBPREFIX="lib"
48226 LIBEXT=".a"
48227 DLLPREFIX="lib"
48228 DLLPREFIX_MODULE=""
48229 DLLIMP_SUFFIX=""
48230 dlldir="$libdir"
48231
48232 case "${BAKEFILE_HOST}" in
48233 *-hp-hpux* )
48234 SO_SUFFIX="sl"
48235 SO_SUFFIX_MODULE="sl"
48236 ;;
48237 *-*-aix* )
48238 SO_SUFFIX="a"
48239 SO_SUFFIX_MODULE="a"
48240 ;;
48241 *-*-cygwin* )
48242 SO_SUFFIX="dll"
48243 SO_SUFFIX_MODULE="dll"
48244 DLLIMP_SUFFIX="dll.a"
48245 EXEEXT=".exe"
48246 DLLPREFIX="cyg"
48247 dlldir="$bindir"
48248 ;;
48249 *-*-mingw32* )
48250 SO_SUFFIX="dll"
48251 SO_SUFFIX_MODULE="dll"
48252 DLLIMP_SUFFIX="dll.a"
48253 EXEEXT=".exe"
48254 DLLPREFIX=""
48255 dlldir="$bindir"
48256 ;;
48257 *-pc-msdosdjgpp )
48258 EXEEXT=".exe"
48259 DLLPREFIX=""
48260 dlldir="$bindir"
48261 ;;
48262 *-pc-os2_emx | *-pc-os2-emx )
48263 SO_SUFFIX="dll"
48264 SO_SUFFIX_MODULE="dll"
48265 DLLIMP_SUFFIX=$OS2_LIBEXT
48266 EXEEXT=".exe"
48267 DLLPREFIX=""
48268 LIBPREFIX=""
48269 LIBEXT=".$OS2_LIBEXT"
48270 dlldir="$bindir"
48271 ;;
48272 *-*-darwin* )
48273 SO_SUFFIX="dylib"
48274 SO_SUFFIX_MODULE="bundle"
48275 ;;
48276 esac
48277
48278 if test "x$DLLIMP_SUFFIX" = "x" ; then
48279 DLLIMP_SUFFIX="$SO_SUFFIX"
48280 fi
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293 PIC_FLAG=""
48294 if test "x$GCC" = "xyes"; then
48295 PIC_FLAG="-fPIC"
48296 fi
48297
48298 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48299 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48300 WINDOWS_IMPLIB=0
48301
48302 case "${BAKEFILE_HOST}" in
48303 *-hp-hpux* )
48304 if test "x$GCC" != "xyes"; then
48305 LDFLAGS="$LDFLAGS -L/usr/lib"
48306
48307 SHARED_LD_CC="${CC} -b -o"
48308 SHARED_LD_CXX="${CXX} -b -o"
48309 PIC_FLAG="+Z"
48310 fi
48311 ;;
48312
48313 *-*-linux* )
48314 if test "x$GCC" != "xyes"; then
48315 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48316 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48317 if test "${bakefile_cv_prog_icc+set}" = set; then
48318 echo $ECHO_N "(cached) $ECHO_C" >&6
48319 else
48320
48321 cat >conftest.$ac_ext <<_ACEOF
48322 /* confdefs.h. */
48323 _ACEOF
48324 cat confdefs.h >>conftest.$ac_ext
48325 cat >>conftest.$ac_ext <<_ACEOF
48326 /* end confdefs.h. */
48327
48328 int
48329 main ()
48330 {
48331
48332 #ifndef __INTEL_COMPILER
48333 This is not ICC
48334 #endif
48335
48336 ;
48337 return 0;
48338 }
48339 _ACEOF
48340 rm -f conftest.$ac_objext
48341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48342 (eval $ac_compile) 2>conftest.er1
48343 ac_status=$?
48344 grep -v '^ *+' conftest.er1 >conftest.err
48345 rm -f conftest.er1
48346 cat conftest.err >&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48351 (eval $ac_try) 2>&5
48352 ac_status=$?
48353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48354 (exit $ac_status); }; } &&
48355 { ac_try='test -s conftest.$ac_objext'
48356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48357 (eval $ac_try) 2>&5
48358 ac_status=$?
48359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48360 (exit $ac_status); }; }; then
48361 bakefile_cv_prog_icc=yes
48362 else
48363 echo "$as_me: failed program was:" >&5
48364 sed 's/^/| /' conftest.$ac_ext >&5
48365
48366 bakefile_cv_prog_icc=no
48367
48368 fi
48369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48370
48371 fi
48372 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48373 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48374 if test "$bakefile_cv_prog_icc" = "yes"; then
48375 PIC_FLAG="-KPIC"
48376 fi
48377 fi
48378 ;;
48379
48380 *-*-solaris2* )
48381 if test "x$GCC" != xyes ; then
48382 SHARED_LD_CC="${CC} -G -o"
48383 SHARED_LD_CXX="${CXX} -G -o"
48384 PIC_FLAG="-KPIC"
48385 fi
48386 ;;
48387
48388 *-*-darwin* )
48389
48390 D='$'
48391 cat <<EOF >shared-ld-sh
48392 #!/bin/sh
48393 #-----------------------------------------------------------------------------
48394 #-- Name: distrib/mac/shared-ld-sh
48395 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48396 #-- Author: Gilles Depeyrot
48397 #-- Copyright: (c) 2002 Gilles Depeyrot
48398 #-- Licence: any use permitted
48399 #-----------------------------------------------------------------------------
48400
48401 verbose=0
48402 args=""
48403 objects=""
48404 linking_flag="-dynamiclib"
48405 ldargs="-r -keep_private_externs -nostdlib"
48406
48407 while test ${D}# -gt 0; do
48408 case ${D}1 in
48409
48410 -v)
48411 verbose=1
48412 ;;
48413
48414 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48415 # collect these options and values
48416 args="${D}{args} ${D}1 ${D}2"
48417 shift
48418 ;;
48419
48420 -s|-Wl,*)
48421 # collect these load args
48422 ldargs="${D}{ldargs} ${D}1"
48423 ;;
48424
48425 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48426 # collect these options
48427 args="${D}{args} ${D}1"
48428 ;;
48429
48430 -dynamiclib|-bundle)
48431 linking_flag="${D}1"
48432 ;;
48433
48434 -*)
48435 echo "shared-ld: unhandled option '${D}1'"
48436 exit 1
48437 ;;
48438
48439 *.o | *.a | *.dylib)
48440 # collect object files
48441 objects="${D}{objects} ${D}1"
48442 ;;
48443
48444 *)
48445 echo "shared-ld: unhandled argument '${D}1'"
48446 exit 1
48447 ;;
48448
48449 esac
48450 shift
48451 done
48452
48453 status=0
48454
48455 #
48456 # Link one module containing all the others
48457 #
48458 if test ${D}{verbose} = 1; then
48459 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48460 fi
48461 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48462 status=${D}?
48463
48464 #
48465 # Link the shared library from the single module created, but only if the
48466 # previous command didn't fail:
48467 #
48468 if test ${D}{status} = 0; then
48469 if test ${D}{verbose} = 1; then
48470 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48471 fi
48472 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48473 status=${D}?
48474 fi
48475
48476 #
48477 # Remove intermediate module
48478 #
48479 rm -f master.${D}${D}.o
48480
48481 exit ${D}status
48482 EOF
48483
48484 chmod +x shared-ld-sh
48485
48486 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48487 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48488
48489
48490 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48491 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48492 if test "${bakefile_cv_gcc31+set}" = set; then
48493 echo $ECHO_N "(cached) $ECHO_C" >&6
48494 else
48495
48496 cat >conftest.$ac_ext <<_ACEOF
48497 /* confdefs.h. */
48498 _ACEOF
48499 cat confdefs.h >>conftest.$ac_ext
48500 cat >>conftest.$ac_ext <<_ACEOF
48501 /* end confdefs.h. */
48502
48503 int
48504 main ()
48505 {
48506
48507 #if (__GNUC__ < 3) || \
48508 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48509 This is old gcc
48510 #endif
48511
48512 ;
48513 return 0;
48514 }
48515 _ACEOF
48516 rm -f conftest.$ac_objext
48517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48518 (eval $ac_compile) 2>conftest.er1
48519 ac_status=$?
48520 grep -v '^ *+' conftest.er1 >conftest.err
48521 rm -f conftest.er1
48522 cat conftest.err >&5
48523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48524 (exit $ac_status); } &&
48525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527 (eval $ac_try) 2>&5
48528 ac_status=$?
48529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530 (exit $ac_status); }; } &&
48531 { ac_try='test -s conftest.$ac_objext'
48532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48533 (eval $ac_try) 2>&5
48534 ac_status=$?
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); }; }; then
48537
48538 bakefile_cv_gcc31=yes
48539
48540 else
48541 echo "$as_me: failed program was:" >&5
48542 sed 's/^/| /' conftest.$ac_ext >&5
48543
48544
48545 bakefile_cv_gcc31=no
48546
48547
48548 fi
48549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48550
48551 fi
48552 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48553 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48554 if test "$bakefile_cv_gcc31" = "no"; then
48555 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48556 SHARED_LD_CXX="$SHARED_LD_CC"
48557 else
48558 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48559 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48560 fi
48561
48562 if test "x$GCC" == "xyes"; then
48563 PIC_FLAG="-dynamic -fPIC"
48564 fi
48565 if test "x$XLCC" = "xyes"; then
48566 PIC_FLAG="-dynamic -DPIC"
48567 fi
48568 ;;
48569
48570 *-*-aix* )
48571 if test "x$GCC" = "xyes"; then
48572 PIC_FLAG=""
48573
48574 case "${BAKEFILE_HOST}" in
48575 *-*-aix5* )
48576 LD_EXPFULL="-Wl,-bexpfull"
48577 ;;
48578 esac
48579
48580 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48581 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48582 else
48583 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48584 set dummy makeC++SharedLib; ac_word=$2
48585 echo "$as_me:$LINENO: checking for $ac_word" >&5
48586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48587 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48588 echo $ECHO_N "(cached) $ECHO_C" >&6
48589 else
48590 if test -n "$AIX_CXX_LD"; then
48591 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48592 else
48593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48594 for as_dir in $PATH
48595 do
48596 IFS=$as_save_IFS
48597 test -z "$as_dir" && as_dir=.
48598 for ac_exec_ext in '' $ac_executable_extensions; do
48599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48600 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48602 break 2
48603 fi
48604 done
48605 done
48606
48607 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48608 fi
48609 fi
48610 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48611 if test -n "$AIX_CXX_LD"; then
48612 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48613 echo "${ECHO_T}$AIX_CXX_LD" >&6
48614 else
48615 echo "$as_me:$LINENO: result: no" >&5
48616 echo "${ECHO_T}no" >&6
48617 fi
48618
48619 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48620 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48621 fi
48622 ;;
48623
48624 *-*-beos* )
48625 SHARED_LD_CC="${LD} -nostart -o"
48626 SHARED_LD_CXX="${LD} -nostart -o"
48627 ;;
48628
48629 *-*-irix* )
48630 if test "x$GCC" != "xyes"; then
48631 PIC_FLAG="-KPIC"
48632 fi
48633 ;;
48634
48635 *-*-cygwin* | *-*-mingw32* )
48636 PIC_FLAG=""
48637 SHARED_LD_CC="\$(CC) -shared -o"
48638 SHARED_LD_CXX="\$(CXX) -shared -o"
48639 WINDOWS_IMPLIB=1
48640 ;;
48641
48642 *-pc-os2_emx | *-pc-os2-emx )
48643 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48644 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48645 PIC_FLAG=""
48646
48647 D='$'
48648 cat <<EOF >dllar.sh
48649 #!/bin/sh
48650 #
48651 # dllar - a tool to build both a .dll and an .a file
48652 # from a set of object (.o) files for EMX/OS2.
48653 #
48654 # Written by Andrew Zabolotny, bit@freya.etu.ru
48655 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48656 #
48657 # This script will accept a set of files on the command line.
48658 # All the public symbols from the .o files will be exported into
48659 # a .DEF file, then linker will be run (through gcc) against them to
48660 # build a shared library consisting of all given .o files. All libraries
48661 # (.a) will be first decompressed into component .o files then act as
48662 # described above. You can optionally give a description (-d "description")
48663 # which will be put into .DLL. To see the list of accepted options (as well
48664 # as command-line format) simply run this program without options. The .DLL
48665 # is built to be imported by name (there is no guarantee that new versions
48666 # of the library you build will have same ordinals for same symbols).
48667 #
48668 # dllar is free software; you can redistribute it and/or modify
48669 # it under the terms of the GNU General Public License as published by
48670 # the Free Software Foundation; either version 2, or (at your option)
48671 # any later version.
48672 #
48673 # dllar is distributed in the hope that it will be useful,
48674 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48675 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48676 # GNU General Public License for more details.
48677 #
48678 # You should have received a copy of the GNU General Public License
48679 # along with dllar; see the file COPYING. If not, write to the Free
48680 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48681 # 02111-1307, USA.
48682
48683 # To successfuly run this program you will need:
48684 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48685 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48686 # - gcc
48687 # (used to build the .dll)
48688 # - emxexp
48689 # (used to create .def file from .o files)
48690 # - emximp
48691 # (used to create .a file from .def file)
48692 # - GNU text utilites (cat, sort, uniq)
48693 # used to process emxexp output
48694 # - GNU file utilities (mv, rm)
48695 # - GNU sed
48696 # - lxlite (optional, see flag below)
48697 # (used for general .dll cleanup)
48698 #
48699
48700 flag_USE_LXLITE=1;
48701
48702 #
48703 # helper functions
48704 # basnam, variant of basename, which does _not_ remove the path, _iff_
48705 # second argument (suffix to remove) is given
48706 basnam(){
48707 case ${D}# in
48708 1)
48709 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48710 ;;
48711 2)
48712 echo ${D}1 | sed 's/'${D}2'${D}//'
48713 ;;
48714 *)
48715 echo "error in basnam ${D}*"
48716 exit 8
48717 ;;
48718 esac
48719 }
48720
48721 # Cleanup temporary files and output
48722 CleanUp() {
48723 cd ${D}curDir
48724 for i in ${D}inputFiles ; do
48725 case ${D}i in
48726 *!)
48727 rm -rf \`basnam ${D}i !\`
48728 ;;
48729 *)
48730 ;;
48731 esac
48732 done
48733
48734 # Kill result in case of failure as there is just to many stupid make/nmake
48735 # things out there which doesn't do this.
48736 if [ ${D}# -eq 0 ]; then
48737 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48738 fi
48739 }
48740
48741 # Print usage and exit script with rc=1.
48742 PrintHelp() {
48743 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48744 echo ' [-name-mangler-script script.sh]'
48745 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48746 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48747 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48748 echo ' [*.o] [*.a]'
48749 echo '*> "output_file" should have no extension.'
48750 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48751 echo ' The import library name is derived from this and is set to "name".a,'
48752 echo ' unless overridden by -import'
48753 echo '*> "importlib_name" should have no extension.'
48754 echo ' If it has the .o, or .a extension, it is automatically removed.'
48755 echo ' This name is used as the import library name and may be longer and'
48756 echo ' more descriptive than the DLL name which has to follow the old '
48757 echo ' 8.3 convention of FAT.'
48758 echo '*> "script.sh may be given to override the output_file name by a'
48759 echo ' different name. It is mainly useful if the regular make process'
48760 echo ' of some package does not take into account OS/2 restriction of'
48761 echo ' DLL name lengths. It takes the importlib name as input and is'
48762 echo ' supposed to procude a shorter name as output. The script should'
48763 echo ' expect to get importlib_name without extension and should produce'
48764 echo ' a (max.) 8 letter name without extension.'
48765 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48766 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48767 echo ' These flags will be put at the start of GCC command line.'
48768 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48769 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48770 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48771 echo ' If the last character of a symbol is "*", all symbols beginning'
48772 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48773 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48774 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48775 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48776 echo ' C runtime DLLs.'
48777 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48778 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48779 echo ' unchanged to GCC at the end of command line.'
48780 echo '*> If you create a DLL from a library and you do not specify -o,'
48781 echo ' the basename for DLL and import library will be set to library name,'
48782 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48783 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48784 echo ' library will be renamed into gcc_s.a.'
48785 echo '--------'
48786 echo 'Example:'
48787 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48788 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48789 CleanUp
48790 exit 1
48791 }
48792
48793 # Execute a command.
48794 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48795 # @Uses Whatever CleanUp() uses.
48796 doCommand() {
48797 echo "${D}*"
48798 eval ${D}*
48799 rcCmd=${D}?
48800
48801 if [ ${D}rcCmd -ne 0 ]; then
48802 echo "command failed, exit code="${D}rcCmd
48803 CleanUp
48804 exit ${D}rcCmd
48805 fi
48806 }
48807
48808 # main routine
48809 # setup globals
48810 cmdLine=${D}*
48811 outFile=""
48812 outimpFile=""
48813 inputFiles=""
48814 renameScript=""
48815 description=""
48816 CC=gcc.exe
48817 CFLAGS="-s -Zcrtdll"
48818 EXTRA_CFLAGS=""
48819 EXPORT_BY_ORDINALS=0
48820 exclude_symbols=""
48821 library_flags=""
48822 curDir=\`pwd\`
48823 curDirS=curDir
48824 case ${D}curDirS in
48825 */)
48826 ;;
48827 *)
48828 curDirS=${D}{curDirS}"/"
48829 ;;
48830 esac
48831 # Parse commandline
48832 libsToLink=0
48833 omfLinking=0
48834 while [ ${D}1 ]; do
48835 case ${D}1 in
48836 -ord*)
48837 EXPORT_BY_ORDINALS=1;
48838 ;;
48839 -o*)
48840 shift
48841 outFile=${D}1
48842 ;;
48843 -i*)
48844 shift
48845 outimpFile=${D}1
48846 ;;
48847 -name-mangler-script)
48848 shift
48849 renameScript=${D}1
48850 ;;
48851 -d*)
48852 shift
48853 description=${D}1
48854 ;;
48855 -f*)
48856 shift
48857 CFLAGS=${D}1
48858 ;;
48859 -c*)
48860 shift
48861 CC=${D}1
48862 ;;
48863 -h*)
48864 PrintHelp
48865 ;;
48866 -ex*)
48867 shift
48868 exclude_symbols=${D}{exclude_symbols}${D}1" "
48869 ;;
48870 -libf*)
48871 shift
48872 library_flags=${D}{library_flags}${D}1" "
48873 ;;
48874 -nocrt*)
48875 CFLAGS="-s"
48876 ;;
48877 -nolxl*)
48878 flag_USE_LXLITE=0
48879 ;;
48880 -* | /*)
48881 case ${D}1 in
48882 -L* | -l*)
48883 libsToLink=1
48884 ;;
48885 -Zomf)
48886 omfLinking=1
48887 ;;
48888 *)
48889 ;;
48890 esac
48891 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48892 ;;
48893 *.dll)
48894 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48895 if [ ${D}omfLinking -eq 1 ]; then
48896 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48897 else
48898 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48899 fi
48900 ;;
48901 *)
48902 found=0;
48903 if [ ${D}libsToLink -ne 0 ]; then
48904 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48905 else
48906 for file in ${D}1 ; do
48907 if [ -f ${D}file ]; then
48908 inputFiles="${D}{inputFiles} ${D}file"
48909 found=1
48910 fi
48911 done
48912 if [ ${D}found -eq 0 ]; then
48913 echo "ERROR: No file(s) found: "${D}1
48914 exit 8
48915 fi
48916 fi
48917 ;;
48918 esac
48919 shift
48920 done # iterate cmdline words
48921
48922 #
48923 if [ -z "${D}inputFiles" ]; then
48924 echo "dllar: no input files"
48925 PrintHelp
48926 fi
48927
48928 # Now extract all .o files from .a files
48929 newInputFiles=""
48930 for file in ${D}inputFiles ; do
48931 case ${D}file in
48932 *.a | *.lib)
48933 case ${D}file in
48934 *.a)
48935 suffix=".a"
48936 AR="ar"
48937 ;;
48938 *.lib)
48939 suffix=".lib"
48940 AR="emxomfar"
48941 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48942 ;;
48943 *)
48944 ;;
48945 esac
48946 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48947 mkdir ${D}dirname
48948 if [ ${D}? -ne 0 ]; then
48949 echo "Failed to create subdirectory ./${D}dirname"
48950 CleanUp
48951 exit 8;
48952 fi
48953 # Append '!' to indicate archive
48954 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48955 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48956 cd ${D}curDir
48957 found=0;
48958 for subfile in ${D}dirname/*.o* ; do
48959 if [ -f ${D}subfile ]; then
48960 found=1
48961 if [ -s ${D}subfile ]; then
48962 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48963 newInputFiles="${D}newInputFiles ${D}subfile"
48964 fi
48965 fi
48966 done
48967 if [ ${D}found -eq 0 ]; then
48968 echo "WARNING: there are no files in archive \\'${D}file\\'"
48969 fi
48970 ;;
48971 *)
48972 newInputFiles="${D}{newInputFiles} ${D}file"
48973 ;;
48974 esac
48975 done
48976 inputFiles="${D}newInputFiles"
48977
48978 # Output filename(s).
48979 do_backup=0;
48980 if [ -z ${D}outFile ]; then
48981 do_backup=1;
48982 set outFile ${D}inputFiles; outFile=${D}2
48983 fi
48984
48985 # If it is an archive, remove the '!' and the '_%' suffixes
48986 case ${D}outFile in
48987 *_%!)
48988 outFile=\`basnam ${D}outFile _%!\`
48989 ;;
48990 *)
48991 ;;
48992 esac
48993 case ${D}outFile in
48994 *.dll)
48995 outFile=\`basnam ${D}outFile .dll\`
48996 ;;
48997 *.DLL)
48998 outFile=\`basnam ${D}outFile .DLL\`
48999 ;;
49000 *.o)
49001 outFile=\`basnam ${D}outFile .o\`
49002 ;;
49003 *.obj)
49004 outFile=\`basnam ${D}outFile .obj\`
49005 ;;
49006 *.a)
49007 outFile=\`basnam ${D}outFile .a\`
49008 ;;
49009 *.lib)
49010 outFile=\`basnam ${D}outFile .lib\`
49011 ;;
49012 *)
49013 ;;
49014 esac
49015 case ${D}outimpFile in
49016 *.a)
49017 outimpFile=\`basnam ${D}outimpFile .a\`
49018 ;;
49019 *.lib)
49020 outimpFile=\`basnam ${D}outimpFile .lib\`
49021 ;;
49022 *)
49023 ;;
49024 esac
49025 if [ -z ${D}outimpFile ]; then
49026 outimpFile=${D}outFile
49027 fi
49028 defFile="${D}{outFile}.def"
49029 arcFile="${D}{outimpFile}.a"
49030 arcFile2="${D}{outimpFile}.lib"
49031
49032 #create ${D}dllFile as something matching 8.3 restrictions,
49033 if [ -z ${D}renameScript ] ; then
49034 dllFile="${D}outFile"
49035 else
49036 dllFile=\`${D}renameScript ${D}outimpFile\`
49037 fi
49038
49039 if [ ${D}do_backup -ne 0 ] ; then
49040 if [ -f ${D}arcFile ] ; then
49041 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49042 fi
49043 if [ -f ${D}arcFile2 ] ; then
49044 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49045 fi
49046 fi
49047
49048 # Extract public symbols from all the object files.
49049 tmpdefFile=${D}{defFile}_%
49050 rm -f ${D}tmpdefFile
49051 for file in ${D}inputFiles ; do
49052 case ${D}file in
49053 *!)
49054 ;;
49055 *)
49056 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49057 ;;
49058 esac
49059 done
49060
49061 # Create the def file.
49062 rm -f ${D}defFile
49063 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49064 dllFile="${D}{dllFile}.dll"
49065 if [ ! -z ${D}description ]; then
49066 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49067 fi
49068 echo "EXPORTS" >> ${D}defFile
49069
49070 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49071 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49072
49073 # Checks if the export is ok or not.
49074 for word in ${D}exclude_symbols; do
49075 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49076 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49077 done
49078
49079
49080 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49081 sed "=" < ${D}tmpdefFile | \\
49082 sed '
49083 N
49084 : loop
49085 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49086 t loop
49087 ' > ${D}{tmpdefFile}%
49088 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49089 else
49090 rm -f ${D}{tmpdefFile}%
49091 fi
49092 cat ${D}tmpdefFile >> ${D}defFile
49093 rm -f ${D}tmpdefFile
49094
49095 # Do linking, create implib, and apply lxlite.
49096 gccCmdl="";
49097 for file in ${D}inputFiles ; do
49098 case ${D}file in
49099 *!)
49100 ;;
49101 *)
49102 gccCmdl="${D}gccCmdl ${D}file"
49103 ;;
49104 esac
49105 done
49106 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49107 touch "${D}{outFile}.dll"
49108
49109 doCommand "emximp -o ${D}arcFile ${D}defFile"
49110 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49111 add_flags="";
49112 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49113 add_flags="-ynd"
49114 fi
49115 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49116 fi
49117 doCommand "emxomf -s -l ${D}arcFile"
49118
49119 # Successful exit.
49120 CleanUp 1
49121 exit 0
49122 EOF
49123
49124 chmod +x dllar.sh
49125 ;;
49126
49127 powerpc-apple-macos* | \
49128 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49129 *-*-sunos4* | \
49130 *-*-osf* | \
49131 *-*-dgux5* | \
49132 *-*-sysv5* | \
49133 *-pc-msdosdjgpp )
49134 ;;
49135
49136 *)
49137 esac
49138
49139 if test "x$PIC_FLAG" != "x" ; then
49140 PIC_FLAG="$PIC_FLAG -DPIC"
49141 fi
49142
49143 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49144 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49145 fi
49146 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49147 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49148 fi
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158 USE_SOVERSION=0
49159 USE_SOVERLINUX=0
49160 USE_SOVERSOLARIS=0
49161 USE_SOVERCYGWIN=0
49162 USE_SOSYMLINKS=0
49163 USE_MACVERSION=0
49164 SONAME_FLAG=
49165
49166 case "${BAKEFILE_HOST}" in
49167 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49168 SONAME_FLAG="-Wl,-soname,"
49169 USE_SOVERSION=1
49170 USE_SOVERLINUX=1
49171 USE_SOSYMLINKS=1
49172 ;;
49173
49174 *-*-solaris2* )
49175 SONAME_FLAG="-h "
49176 USE_SOVERSION=1
49177 USE_SOVERSOLARIS=1
49178 USE_SOSYMLINKS=1
49179 ;;
49180
49181 *-*-darwin* )
49182 USE_MACVERSION=1
49183 USE_SOVERSION=1
49184 USE_SOSYMLINKS=1
49185 ;;
49186
49187 *-*-cygwin* )
49188 USE_SOVERSION=1
49189 USE_SOVERCYGWIN=1
49190 ;;
49191 esac
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49203 if test "${enable_dependency_tracking+set}" = set; then
49204 enableval="$enable_dependency_tracking"
49205 bk_use_trackdeps="$enableval"
49206 fi;
49207
49208 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49209 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49210
49211 if test "x$bk_use_trackdeps" = "xno" ; then
49212 DEPS_TRACKING=0
49213 echo "$as_me:$LINENO: result: disabled" >&5
49214 echo "${ECHO_T}disabled" >&6
49215 else
49216 DEPS_TRACKING=1
49217
49218 if test "x$GCC" = "xyes"; then
49219 DEPSMODE=gcc
49220 case "${BAKEFILE_HOST}" in
49221 *-*-darwin* )
49222 DEPSFLAG="-no-cpp-precomp -MMD"
49223 ;;
49224 * )
49225 DEPSFLAG="-MMD"
49226 ;;
49227 esac
49228 echo "$as_me:$LINENO: result: gcc" >&5
49229 echo "${ECHO_T}gcc" >&6
49230 elif test "x$MWCC" = "xyes"; then
49231 DEPSMODE=mwcc
49232 DEPSFLAG="-MM"
49233 echo "$as_me:$LINENO: result: mwcc" >&5
49234 echo "${ECHO_T}mwcc" >&6
49235 elif test "x$SUNCC" = "xyes"; then
49236 DEPSMODE=unixcc
49237 DEPSFLAG="-xM1"
49238 echo "$as_me:$LINENO: result: Sun cc" >&5
49239 echo "${ECHO_T}Sun cc" >&6
49240 elif test "x$SGICC" = "xyes"; then
49241 DEPSMODE=unixcc
49242 DEPSFLAG="-M"
49243 echo "$as_me:$LINENO: result: SGI cc" >&5
49244 echo "${ECHO_T}SGI cc" >&6
49245 elif test "x$HPCC" = "xyes"; then
49246 DEPSMODE=unixcc
49247 DEPSFLAG="+make"
49248 echo "$as_me:$LINENO: result: HP cc" >&5
49249 echo "${ECHO_T}HP cc" >&6
49250 elif test "x$COMPAQCC" = "xyes"; then
49251 DEPSMODE=gcc
49252 DEPSFLAG="-MD"
49253 echo "$as_me:$LINENO: result: Compaq cc" >&5
49254 echo "${ECHO_T}Compaq cc" >&6
49255 else
49256 DEPS_TRACKING=0
49257 echo "$as_me:$LINENO: result: none" >&5
49258 echo "${ECHO_T}none" >&6
49259 fi
49260
49261 if test $DEPS_TRACKING = 1 ; then
49262
49263 D='$'
49264 cat <<EOF >bk-deps
49265 #!/bin/sh
49266
49267 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49268 # script. It is used to track C/C++ files dependencies in portable way.
49269 #
49270 # Permission is given to use this file in any way.
49271
49272 DEPSMODE=${DEPSMODE}
49273 DEPSDIR=.deps
49274 DEPSFLAG="${DEPSFLAG}"
49275
49276 mkdir -p ${D}DEPSDIR
49277
49278 if test ${D}DEPSMODE = gcc ; then
49279 ${D}* ${D}{DEPSFLAG}
49280 status=${D}?
49281 if test ${D}{status} != 0 ; then
49282 exit ${D}{status}
49283 fi
49284 # move created file to the location we want it in:
49285 while test ${D}# -gt 0; do
49286 case "${D}1" in
49287 -o )
49288 shift
49289 objfile=${D}1
49290 ;;
49291 -* )
49292 ;;
49293 * )
49294 srcfile=${D}1
49295 ;;
49296 esac
49297 shift
49298 done
49299 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49300 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49301 if test -f ${D}depfile ; then
49302 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49303 rm -f ${D}depfile
49304 else
49305 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49306 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49307 if test ! -f ${D}depfile ; then
49308 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49309 depfile="${D}objfile.d"
49310 fi
49311 if test -f ${D}depfile ; then
49312 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49313 rm -f ${D}depfile
49314 fi
49315 fi
49316 exit 0
49317 elif test ${D}DEPSMODE = mwcc ; then
49318 ${D}* || exit ${D}?
49319 # Run mwcc again with -MM and redirect into the dep file we want
49320 # NOTE: We can't use shift here because we need ${D}* to be valid
49321 prevarg=
49322 for arg in ${D}* ; do
49323 if test "${D}prevarg" = "-o"; then
49324 objfile=${D}arg
49325 else
49326 case "${D}arg" in
49327 -* )
49328 ;;
49329 * )
49330 srcfile=${D}arg
49331 ;;
49332 esac
49333 fi
49334 prevarg="${D}arg"
49335 done
49336 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49337 exit 0
49338 elif test ${D}DEPSMODE = unixcc; then
49339 ${D}* || exit ${D}?
49340 # Run compiler again with deps flag and redirect into the dep file.
49341 # It doesn't work if the '-o FILE' option is used, but without it the
49342 # dependency file will contain the wrong name for the object. So it is
49343 # removed from the command line, and the dep file is fixed with sed.
49344 cmd=""
49345 while test ${D}# -gt 0; do
49346 case "${D}1" in
49347 -o )
49348 shift
49349 objfile=${D}1
49350 ;;
49351 * )
49352 eval arg${D}#=\\${D}1
49353 cmd="${D}cmd \\${D}arg${D}#"
49354 ;;
49355 esac
49356 shift
49357 done
49358 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49359 exit 0
49360 else
49361 ${D}*
49362 exit ${D}?
49363 fi
49364 EOF
49365
49366 chmod +x bk-deps
49367 fi
49368 fi
49369
49370
49371
49372
49373 case ${BAKEFILE_HOST} in
49374 *-*-cygwin* | *-*-mingw32* )
49375 if test -n "$ac_tool_prefix"; then
49376 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49377 set dummy ${ac_tool_prefix}windres; ac_word=$2
49378 echo "$as_me:$LINENO: checking for $ac_word" >&5
49379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49380 if test "${ac_cv_prog_WINDRES+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 else
49383 if test -n "$WINDRES"; then
49384 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49385 else
49386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49387 for as_dir in $PATH
49388 do
49389 IFS=$as_save_IFS
49390 test -z "$as_dir" && as_dir=.
49391 for ac_exec_ext in '' $ac_executable_extensions; do
49392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49393 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49395 break 2
49396 fi
49397 done
49398 done
49399
49400 fi
49401 fi
49402 WINDRES=$ac_cv_prog_WINDRES
49403 if test -n "$WINDRES"; then
49404 echo "$as_me:$LINENO: result: $WINDRES" >&5
49405 echo "${ECHO_T}$WINDRES" >&6
49406 else
49407 echo "$as_me:$LINENO: result: no" >&5
49408 echo "${ECHO_T}no" >&6
49409 fi
49410
49411 fi
49412 if test -z "$ac_cv_prog_WINDRES"; then
49413 ac_ct_WINDRES=$WINDRES
49414 # Extract the first word of "windres", so it can be a program name with args.
49415 set dummy windres; ac_word=$2
49416 echo "$as_me:$LINENO: checking for $ac_word" >&5
49417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49418 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49419 echo $ECHO_N "(cached) $ECHO_C" >&6
49420 else
49421 if test -n "$ac_ct_WINDRES"; then
49422 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49423 else
49424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49425 for as_dir in $PATH
49426 do
49427 IFS=$as_save_IFS
49428 test -z "$as_dir" && as_dir=.
49429 for ac_exec_ext in '' $ac_executable_extensions; do
49430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49431 ac_cv_prog_ac_ct_WINDRES="windres"
49432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49433 break 2
49434 fi
49435 done
49436 done
49437
49438 fi
49439 fi
49440 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49441 if test -n "$ac_ct_WINDRES"; then
49442 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49443 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49444 else
49445 echo "$as_me:$LINENO: result: no" >&5
49446 echo "${ECHO_T}no" >&6
49447 fi
49448
49449 WINDRES=$ac_ct_WINDRES
49450 else
49451 WINDRES="$ac_cv_prog_WINDRES"
49452 fi
49453
49454 ;;
49455
49456 *-*-darwin* | powerpc-apple-macos* )
49457 # Extract the first word of "Rez", so it can be a program name with args.
49458 set dummy Rez; ac_word=$2
49459 echo "$as_me:$LINENO: checking for $ac_word" >&5
49460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49461 if test "${ac_cv_prog_REZ+set}" = set; then
49462 echo $ECHO_N "(cached) $ECHO_C" >&6
49463 else
49464 if test -n "$REZ"; then
49465 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49466 else
49467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49468 for as_dir in $PATH
49469 do
49470 IFS=$as_save_IFS
49471 test -z "$as_dir" && as_dir=.
49472 for ac_exec_ext in '' $ac_executable_extensions; do
49473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49474 ac_cv_prog_REZ="Rez"
49475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49476 break 2
49477 fi
49478 done
49479 done
49480
49481 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49482 fi
49483 fi
49484 REZ=$ac_cv_prog_REZ
49485 if test -n "$REZ"; then
49486 echo "$as_me:$LINENO: result: $REZ" >&5
49487 echo "${ECHO_T}$REZ" >&6
49488 else
49489 echo "$as_me:$LINENO: result: no" >&5
49490 echo "${ECHO_T}no" >&6
49491 fi
49492
49493 # Extract the first word of "SetFile", so it can be a program name with args.
49494 set dummy SetFile; ac_word=$2
49495 echo "$as_me:$LINENO: checking for $ac_word" >&5
49496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49497 if test "${ac_cv_prog_SETFILE+set}" = set; then
49498 echo $ECHO_N "(cached) $ECHO_C" >&6
49499 else
49500 if test -n "$SETFILE"; then
49501 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49502 else
49503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49504 for as_dir in $PATH
49505 do
49506 IFS=$as_save_IFS
49507 test -z "$as_dir" && as_dir=.
49508 for ac_exec_ext in '' $ac_executable_extensions; do
49509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49510 ac_cv_prog_SETFILE="SetFile"
49511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49512 break 2
49513 fi
49514 done
49515 done
49516
49517 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49518 fi
49519 fi
49520 SETFILE=$ac_cv_prog_SETFILE
49521 if test -n "$SETFILE"; then
49522 echo "$as_me:$LINENO: result: $SETFILE" >&5
49523 echo "${ECHO_T}$SETFILE" >&6
49524 else
49525 echo "$as_me:$LINENO: result: no" >&5
49526 echo "${ECHO_T}no" >&6
49527 fi
49528
49529 ;;
49530 esac
49531
49532
49533
49534
49535
49536
49537 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49538
49539
49540 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49541
49542
49543
49544 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49545 if test "${enable_precomp_headers+set}" = set; then
49546 enableval="$enable_precomp_headers"
49547 bk_use_pch="$enableval"
49548 fi;
49549
49550 GCC_PCH=0
49551 ICC_PCH=0
49552 USE_PCH=0
49553
49554 case ${BAKEFILE_HOST} in
49555 *-*-cygwin* )
49556 bk_use_pch="no"
49557 ;;
49558 esac
49559
49560 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49561 if test "x$GCC" = "xyes"; then
49562 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49563 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49564 cat >conftest.$ac_ext <<_ACEOF
49565 /* confdefs.h. */
49566 _ACEOF
49567 cat confdefs.h >>conftest.$ac_ext
49568 cat >>conftest.$ac_ext <<_ACEOF
49569 /* end confdefs.h. */
49570
49571 int
49572 main ()
49573 {
49574
49575 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49576 There is no PCH support
49577 #endif
49578 #if (__GNUC__ < 3)
49579 There is no PCH support
49580 #endif
49581 #if (__GNUC__ == 3) && \
49582 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49583 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49584 ( defined(__INTEL_COMPILER) )
49585 There is no PCH support
49586 #endif
49587
49588 ;
49589 return 0;
49590 }
49591 _ACEOF
49592 rm -f conftest.$ac_objext
49593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49594 (eval $ac_compile) 2>conftest.er1
49595 ac_status=$?
49596 grep -v '^ *+' conftest.er1 >conftest.err
49597 rm -f conftest.er1
49598 cat conftest.err >&5
49599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49600 (exit $ac_status); } &&
49601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49603 (eval $ac_try) 2>&5
49604 ac_status=$?
49605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606 (exit $ac_status); }; } &&
49607 { ac_try='test -s conftest.$ac_objext'
49608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49609 (eval $ac_try) 2>&5
49610 ac_status=$?
49611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49612 (exit $ac_status); }; }; then
49613
49614 echo "$as_me:$LINENO: result: yes" >&5
49615 echo "${ECHO_T}yes" >&6
49616 GCC_PCH=1
49617
49618 else
49619 echo "$as_me: failed program was:" >&5
49620 sed 's/^/| /' conftest.$ac_ext >&5
49621
49622
49623 cat >conftest.$ac_ext <<_ACEOF
49624 /* confdefs.h. */
49625 _ACEOF
49626 cat confdefs.h >>conftest.$ac_ext
49627 cat >>conftest.$ac_ext <<_ACEOF
49628 /* end confdefs.h. */
49629
49630 int
49631 main ()
49632 {
49633
49634 #if !defined(__INTEL_COMPILER) || \
49635 (__INTEL_COMPILER < 800)
49636 There is no PCH support
49637 #endif
49638
49639 ;
49640 return 0;
49641 }
49642 _ACEOF
49643 rm -f conftest.$ac_objext
49644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49645 (eval $ac_compile) 2>conftest.er1
49646 ac_status=$?
49647 grep -v '^ *+' conftest.er1 >conftest.err
49648 rm -f conftest.er1
49649 cat conftest.err >&5
49650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49651 (exit $ac_status); } &&
49652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654 (eval $ac_try) 2>&5
49655 ac_status=$?
49656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657 (exit $ac_status); }; } &&
49658 { ac_try='test -s conftest.$ac_objext'
49659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49660 (eval $ac_try) 2>&5
49661 ac_status=$?
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); }; }; then
49664
49665 echo "$as_me:$LINENO: result: yes" >&5
49666 echo "${ECHO_T}yes" >&6
49667 ICC_PCH=1
49668
49669 else
49670 echo "$as_me: failed program was:" >&5
49671 sed 's/^/| /' conftest.$ac_ext >&5
49672
49673
49674 echo "$as_me:$LINENO: result: no" >&5
49675 echo "${ECHO_T}no" >&6
49676
49677 fi
49678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49679
49680 fi
49681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49682 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49683 USE_PCH=1
49684
49685 D='$'
49686 cat <<EOF >bk-make-pch
49687 #!/bin/sh
49688
49689 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49690 # script. It is used to generated precompiled headers.
49691 #
49692 # Permission is given to use this file in any way.
49693
49694 outfile="${D}{1}"
49695 header="${D}{2}"
49696 shift
49697 shift
49698
49699 compiler=""
49700 headerfile=""
49701
49702 while test ${D}{#} -gt 0; do
49703 add_to_cmdline=1
49704 case "${D}{1}" in
49705 -I* )
49706 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49707 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49708 headerfile="${D}{incdir}/${D}{header}"
49709 fi
49710 ;;
49711 -use-pch|-use_pch )
49712 shift
49713 add_to_cmdline=0
49714 ;;
49715 esac
49716 if test ${D}add_to_cmdline = 1 ; then
49717 compiler="${D}{compiler} ${D}{1}"
49718 fi
49719 shift
49720 done
49721
49722 if test "x${D}{headerfile}" = "x" ; then
49723 echo "error: can't find header ${D}{header} in include paths" >&2
49724 else
49725 if test -f ${D}{outfile} ; then
49726 rm -f ${D}{outfile}
49727 else
49728 mkdir -p \`dirname ${D}{outfile}\`
49729 fi
49730 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49731 mkdir -p .deps
49732 if test "x${GCC_PCH}" = "x1" ; then
49733 # can do this because gcc is >= 3.4:
49734 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49735 elif test "x${ICC_PCH}" = "x1" ; then
49736 filename=pch_gen-${D}${D}
49737 file=${D}{filename}.c
49738 dfile=${D}{filename}.d
49739 cat > ${D}file <<EOT
49740 #include "${D}header"
49741 EOT
49742 # using -MF icc complains about differing command lines in creation/use
49743 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49744 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49745 rm -f ${D}file ${D}dfile ${D}{filename}.o
49746 fi
49747 exit ${D}{?}
49748 fi
49749 EOF
49750
49751 chmod +x bk-make-pch
49752 fi
49753 fi
49754 fi
49755
49756
49757
49758
49759 COND_BUILD_DEBUG="#"
49760 if test "x$BUILD" = "xdebug" ; then
49761 COND_BUILD_DEBUG=""
49762 fi
49763
49764 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49765 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49766 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49767 fi
49768
49769 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49770 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49771 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49772 fi
49773
49774 COND_BUILD_DEBUG_UNICODE_0="#"
49775 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49776 COND_BUILD_DEBUG_UNICODE_0=""
49777 fi
49778
49779 COND_BUILD_DEBUG_UNICODE_1="#"
49780 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49781 COND_BUILD_DEBUG_UNICODE_1=""
49782 fi
49783
49784 COND_BUILD_RELEASE="#"
49785 if test "x$BUILD" = "xrelease" ; then
49786 COND_BUILD_RELEASE=""
49787 fi
49788
49789 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49790 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49791 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49792 fi
49793
49794 COND_BUILD_RELEASE_UNICODE_0="#"
49795 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49796 COND_BUILD_RELEASE_UNICODE_0=""
49797 fi
49798
49799 COND_BUILD_RELEASE_UNICODE_1="#"
49800 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49801 COND_BUILD_RELEASE_UNICODE_1=""
49802 fi
49803
49804 COND_DEBUG_FLAG_1="#"
49805 if test "x$DEBUG_FLAG" = "x1" ; then
49806 COND_DEBUG_FLAG_1=""
49807 fi
49808
49809 COND_DEBUG_INFO_0="#"
49810 if test "x$DEBUG_INFO" = "x0" ; then
49811 COND_DEBUG_INFO_0=""
49812 fi
49813
49814 COND_DEBUG_INFO_1="#"
49815 if test "x$DEBUG_INFO" = "x1" ; then
49816 COND_DEBUG_INFO_1=""
49817 fi
49818
49819 COND_DEPS_TRACKING_0="#"
49820 if test "x$DEPS_TRACKING" = "x0" ; then
49821 COND_DEPS_TRACKING_0=""
49822 fi
49823
49824 COND_DEPS_TRACKING_1="#"
49825 if test "x$DEPS_TRACKING" = "x1" ; then
49826 COND_DEPS_TRACKING_1=""
49827 fi
49828
49829 COND_GCC_PCH_1="#"
49830 if test "x$GCC_PCH" = "x1" ; then
49831 COND_GCC_PCH_1=""
49832 fi
49833
49834 COND_ICC_PCH_1="#"
49835 if test "x$ICC_PCH" = "x1" ; then
49836 COND_ICC_PCH_1=""
49837 fi
49838
49839 COND_MONOLITHIC_0="#"
49840 if test "x$MONOLITHIC" = "x0" ; then
49841 COND_MONOLITHIC_0=""
49842 fi
49843
49844 COND_MONOLITHIC_0_SHARED_0="#"
49845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49846 COND_MONOLITHIC_0_SHARED_0=""
49847 fi
49848
49849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49851 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49852 fi
49853
49854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49857 fi
49858
49859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49862 fi
49863
49864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49867 fi
49868
49869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49872 fi
49873
49874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49877 fi
49878
49879 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49881 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49882 fi
49883
49884 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49886 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49887 fi
49888
49889 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49891 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49892 fi
49893
49894 COND_MONOLITHIC_0_SHARED_1="#"
49895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49896 COND_MONOLITHIC_0_SHARED_1=""
49897 fi
49898
49899 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49901 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49902 fi
49903
49904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49907 fi
49908
49909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49911 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49912 fi
49913
49914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49917 fi
49918
49919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49922 fi
49923
49924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49927 fi
49928
49929 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49931 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49932 fi
49933
49934 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49936 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49937 fi
49938
49939 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49941 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49942 fi
49943
49944 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49945 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49946 COND_MONOLITHIC_0_USE_MEDIA_1=""
49947 fi
49948
49949 COND_MONOLITHIC_0_USE_ODBC_1="#"
49950 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49951 COND_MONOLITHIC_0_USE_ODBC_1=""
49952 fi
49953
49954 COND_MONOLITHIC_1="#"
49955 if test "x$MONOLITHIC" = "x1" ; then
49956 COND_MONOLITHIC_1=""
49957 fi
49958
49959 COND_MONOLITHIC_1_SHARED_0="#"
49960 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49961 COND_MONOLITHIC_1_SHARED_0=""
49962 fi
49963
49964 COND_MONOLITHIC_1_SHARED_1="#"
49965 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49966 COND_MONOLITHIC_1_SHARED_1=""
49967 fi
49968
49969 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49970 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49971 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49972 fi
49973
49974 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49975 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49976 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49977 fi
49978
49979 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49980 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49981 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49982 fi
49983
49984 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49985 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49986 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49987 fi
49988
49989 COND_PLATFORM_MACOSX_1="#"
49990 if test "x$PLATFORM_MACOSX" = "x1" ; then
49991 COND_PLATFORM_MACOSX_1=""
49992 fi
49993
49994 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49997 fi
49998
49999 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50001 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50002 fi
50003
50004 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50006 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50007 fi
50008
50009 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50011 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50012 fi
50013
50014 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50016 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50017 fi
50018
50019 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50021 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50022 fi
50023
50024 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50026 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50027 fi
50028
50029 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50031 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50032 fi
50033
50034 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50036 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50037 fi
50038
50039 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50041 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50042 fi
50043
50044 COND_PLATFORM_MACOS_1="#"
50045 if test "x$PLATFORM_MACOS" = "x1" ; then
50046 COND_PLATFORM_MACOS_1=""
50047 fi
50048
50049 COND_PLATFORM_MAC_1="#"
50050 if test "x$PLATFORM_MAC" = "x1" ; then
50051 COND_PLATFORM_MAC_1=""
50052 fi
50053
50054 COND_PLATFORM_MSDOS_0="#"
50055 if test "x$PLATFORM_MSDOS" = "x0" ; then
50056 COND_PLATFORM_MSDOS_0=""
50057 fi
50058
50059 COND_PLATFORM_MSDOS_1="#"
50060 if test "x$PLATFORM_MSDOS" = "x1" ; then
50061 COND_PLATFORM_MSDOS_1=""
50062 fi
50063
50064 COND_PLATFORM_OS2_1="#"
50065 if test "x$PLATFORM_OS2" = "x1" ; then
50066 COND_PLATFORM_OS2_1=""
50067 fi
50068
50069 COND_PLATFORM_UNIX_0="#"
50070 if test "x$PLATFORM_UNIX" = "x0" ; then
50071 COND_PLATFORM_UNIX_0=""
50072 fi
50073
50074 COND_PLATFORM_UNIX_1="#"
50075 if test "x$PLATFORM_UNIX" = "x1" ; then
50076 COND_PLATFORM_UNIX_1=""
50077 fi
50078
50079 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50080 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50081 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50082 fi
50083
50084 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50085 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50086 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50087 fi
50088
50089 COND_PLATFORM_WIN32_0="#"
50090 if test "x$PLATFORM_WIN32" = "x0" ; then
50091 COND_PLATFORM_WIN32_0=""
50092 fi
50093
50094 COND_PLATFORM_WIN32_1="#"
50095 if test "x$PLATFORM_WIN32" = "x1" ; then
50096 COND_PLATFORM_WIN32_1=""
50097 fi
50098
50099 COND_SHARED_0="#"
50100 if test "x$SHARED" = "x0" ; then
50101 COND_SHARED_0=""
50102 fi
50103
50104 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50105 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50106 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50107 fi
50108
50109 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50110 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50111 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50112 fi
50113
50114 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50115 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50116 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50117 fi
50118
50119 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50120 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50121 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50122 fi
50123
50124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50125 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50126 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50127 fi
50128
50129 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50130 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50131 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50132 fi
50133
50134 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50135 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50136 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50137 fi
50138
50139 COND_SHARED_0_USE_XRC_1="#"
50140 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50141 COND_SHARED_0_USE_XRC_1=""
50142 fi
50143
50144 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50145 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50146 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50147 fi
50148
50149 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50150 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50151 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50152 fi
50153
50154 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50155 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50156 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50157 fi
50158
50159 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50160 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50161 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50162 fi
50163
50164 COND_SHARED_1="#"
50165 if test "x$SHARED" = "x1" ; then
50166 COND_SHARED_1=""
50167 fi
50168
50169 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50170 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50171 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50172 fi
50173
50174 COND_SHARED_1_USE_XRC_1="#"
50175 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50176 COND_SHARED_1_USE_XRC_1=""
50177 fi
50178
50179 COND_TOOLKIT_="#"
50180 if test "x$TOOLKIT" = "x" ; then
50181 COND_TOOLKIT_=""
50182 fi
50183
50184 COND_TOOLKIT_COCOA="#"
50185 if test "x$TOOLKIT" = "xCOCOA" ; then
50186 COND_TOOLKIT_COCOA=""
50187 fi
50188
50189 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50190 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50191 COND_TOOLKIT_COCOA_USE_GUI_1=""
50192 fi
50193
50194 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50195 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50196 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50197 fi
50198
50199 COND_TOOLKIT_DFB="#"
50200 if test "x$TOOLKIT" = "xDFB" ; then
50201 COND_TOOLKIT_DFB=""
50202 fi
50203
50204 COND_TOOLKIT_DFB_USE_GUI_1="#"
50205 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50206 COND_TOOLKIT_DFB_USE_GUI_1=""
50207 fi
50208
50209 COND_TOOLKIT_GTK="#"
50210 if test "x$TOOLKIT" = "xGTK" ; then
50211 COND_TOOLKIT_GTK=""
50212 fi
50213
50214 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50215 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50217 fi
50218
50219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50222 fi
50223
50224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50225 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50227 fi
50228
50229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50230 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50232 fi
50233
50234 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50235 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50236 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50237 fi
50238
50239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50241 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50242 fi
50243
50244 COND_TOOLKIT_GTK_USE_GUI_1="#"
50245 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50246 COND_TOOLKIT_GTK_USE_GUI_1=""
50247 fi
50248
50249 COND_TOOLKIT_MAC="#"
50250 if test "x$TOOLKIT" = "xMAC" ; then
50251 COND_TOOLKIT_MAC=""
50252 fi
50253
50254 COND_TOOLKIT_MAC_USE_GUI_1="#"
50255 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50256 COND_TOOLKIT_MAC_USE_GUI_1=""
50257 fi
50258
50259 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50260 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50261 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50262 fi
50263
50264 COND_TOOLKIT_MGL="#"
50265 if test "x$TOOLKIT" = "xMGL" ; then
50266 COND_TOOLKIT_MGL=""
50267 fi
50268
50269 COND_TOOLKIT_MGL_USE_GUI_1="#"
50270 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50271 COND_TOOLKIT_MGL_USE_GUI_1=""
50272 fi
50273
50274 COND_TOOLKIT_MOTIF="#"
50275 if test "x$TOOLKIT" = "xMOTIF" ; then
50276 COND_TOOLKIT_MOTIF=""
50277 fi
50278
50279 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50280 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50281 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50282 fi
50283
50284 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50285 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50286 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50287 fi
50288
50289 COND_TOOLKIT_MSW="#"
50290 if test "x$TOOLKIT" = "xMSW" ; then
50291 COND_TOOLKIT_MSW=""
50292 fi
50293
50294 COND_TOOLKIT_MSW_USE_GUI_1="#"
50295 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50296 COND_TOOLKIT_MSW_USE_GUI_1=""
50297 fi
50298
50299 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50300 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50301 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50302 fi
50303
50304 COND_TOOLKIT_MSW_WXUNIV_0="#"
50305 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50306 COND_TOOLKIT_MSW_WXUNIV_0=""
50307 fi
50308
50309 COND_TOOLKIT_PM="#"
50310 if test "x$TOOLKIT" = "xPM" ; then
50311 COND_TOOLKIT_PM=""
50312 fi
50313
50314 COND_TOOLKIT_PM_USE_GUI_1="#"
50315 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50316 COND_TOOLKIT_PM_USE_GUI_1=""
50317 fi
50318
50319 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50321 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50322 fi
50323
50324 COND_TOOLKIT_WINCE="#"
50325 if test "x$TOOLKIT" = "xWINCE" ; then
50326 COND_TOOLKIT_WINCE=""
50327 fi
50328
50329 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50330 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50331 COND_TOOLKIT_WINCE_USE_GUI_1=""
50332 fi
50333
50334 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50336 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50337 fi
50338
50339 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50340 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50341 COND_TOOLKIT_WINCE_WXUNIV_0=""
50342 fi
50343
50344 COND_TOOLKIT_X11="#"
50345 if test "x$TOOLKIT" = "xX11" ; then
50346 COND_TOOLKIT_X11=""
50347 fi
50348
50349 COND_TOOLKIT_X11_USE_GUI_1="#"
50350 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50351 COND_TOOLKIT_X11_USE_GUI_1=""
50352 fi
50353
50354 COND_UNICODE_1="#"
50355 if test "x$UNICODE" = "x1" ; then
50356 COND_UNICODE_1=""
50357 fi
50358
50359 COND_USE_EXCEPTIONS_0="#"
50360 if test "x$USE_EXCEPTIONS" = "x0" ; then
50361 COND_USE_EXCEPTIONS_0=""
50362 fi
50363
50364 COND_USE_EXCEPTIONS_1="#"
50365 if test "x$USE_EXCEPTIONS" = "x1" ; then
50366 COND_USE_EXCEPTIONS_1=""
50367 fi
50368
50369 COND_USE_GUI_0="#"
50370 if test "x$USE_GUI" = "x0" ; then
50371 COND_USE_GUI_0=""
50372 fi
50373
50374 COND_USE_GUI_1="#"
50375 if test "x$USE_GUI" = "x1" ; then
50376 COND_USE_GUI_1=""
50377 fi
50378
50379 COND_USE_GUI_1_WXUNIV_0="#"
50380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50381 COND_USE_GUI_1_WXUNIV_0=""
50382 fi
50383
50384 COND_USE_GUI_1_WXUNIV_1="#"
50385 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50386 COND_USE_GUI_1_WXUNIV_1=""
50387 fi
50388
50389 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50391 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50392 fi
50393
50394 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50396 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50397 fi
50398
50399 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50401 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50402 fi
50403
50404 COND_USE_ODBC_1="#"
50405 if test "x$USE_ODBC" = "x1" ; then
50406 COND_USE_ODBC_1=""
50407 fi
50408
50409 COND_USE_OPENGL_1="#"
50410 if test "x$USE_OPENGL" = "x1" ; then
50411 COND_USE_OPENGL_1=""
50412 fi
50413
50414 COND_USE_PCH_1="#"
50415 if test "x$USE_PCH" = "x1" ; then
50416 COND_USE_PCH_1=""
50417 fi
50418
50419 COND_USE_PLUGINS_0="#"
50420 if test "x$USE_PLUGINS" = "x0" ; then
50421 COND_USE_PLUGINS_0=""
50422 fi
50423
50424 COND_USE_RTTI_0="#"
50425 if test "x$USE_RTTI" = "x0" ; then
50426 COND_USE_RTTI_0=""
50427 fi
50428
50429 COND_USE_RTTI_1="#"
50430 if test "x$USE_RTTI" = "x1" ; then
50431 COND_USE_RTTI_1=""
50432 fi
50433
50434 COND_USE_SOSYMLINKS_1="#"
50435 if test "x$USE_SOSYMLINKS" = "x1" ; then
50436 COND_USE_SOSYMLINKS_1=""
50437 fi
50438
50439 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50440 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50441 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50442 fi
50443
50444 COND_USE_SOVERLINUX_1="#"
50445 if test "x$USE_SOVERLINUX" = "x1" ; then
50446 COND_USE_SOVERLINUX_1=""
50447 fi
50448
50449 COND_USE_SOVERSION_0="#"
50450 if test "x$USE_SOVERSION" = "x0" ; then
50451 COND_USE_SOVERSION_0=""
50452 fi
50453
50454 COND_USE_SOVERSOLARIS_1="#"
50455 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50456 COND_USE_SOVERSOLARIS_1=""
50457 fi
50458
50459 COND_USE_THREADS_0="#"
50460 if test "x$USE_THREADS" = "x0" ; then
50461 COND_USE_THREADS_0=""
50462 fi
50463
50464 COND_USE_THREADS_1="#"
50465 if test "x$USE_THREADS" = "x1" ; then
50466 COND_USE_THREADS_1=""
50467 fi
50468
50469 COND_USE_XRC_1="#"
50470 if test "x$USE_XRC" = "x1" ; then
50471 COND_USE_XRC_1=""
50472 fi
50473
50474 COND_WINDOWS_IMPLIB_1="#"
50475 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50476 COND_WINDOWS_IMPLIB_1=""
50477 fi
50478
50479 COND_WITH_PLUGIN_SDL_1="#"
50480 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50481 COND_WITH_PLUGIN_SDL_1=""
50482 fi
50483
50484 COND_WXUNIV_0="#"
50485 if test "x$WXUNIV" = "x0" ; then
50486 COND_WXUNIV_0=""
50487 fi
50488
50489 COND_WXUNIV_1="#"
50490 if test "x$WXUNIV" = "x1" ; then
50491 COND_WXUNIV_1=""
50492 fi
50493
50494 COND_WXUSE_EXPAT_BUILTIN="#"
50495 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50496 COND_WXUSE_EXPAT_BUILTIN=""
50497 fi
50498
50499 COND_WXUSE_LIBJPEG_BUILTIN="#"
50500 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50501 COND_WXUSE_LIBJPEG_BUILTIN=""
50502 fi
50503
50504 COND_WXUSE_LIBPNG_BUILTIN="#"
50505 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50506 COND_WXUSE_LIBPNG_BUILTIN=""
50507 fi
50508
50509 COND_WXUSE_LIBTIFF_BUILTIN="#"
50510 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50511 COND_WXUSE_LIBTIFF_BUILTIN=""
50512 fi
50513
50514 COND_WXUSE_ODBC_BUILTIN="#"
50515 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50516 COND_WXUSE_ODBC_BUILTIN=""
50517 fi
50518
50519 COND_WXUSE_REGEX_BUILTIN="#"
50520 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50521 COND_WXUSE_REGEX_BUILTIN=""
50522 fi
50523
50524 COND_WXUSE_ZLIB_BUILTIN="#"
50525 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50526 COND_WXUSE_ZLIB_BUILTIN=""
50527 fi
50528
50529
50530
50531 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50532 { { 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
50533 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;}
50534 { (exit 1); exit 1; }; }
50535 fi
50536
50537 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50538 { { 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
50539 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;}
50540 { (exit 1); exit 1; }; }
50541 fi
50542
50543
50544 if test $GCC_PCH = 1
50545 then
50546 if test "$wx_cv_gcc_pch_bug" = yes; then
50547 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50548 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50549 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50550 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50551 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50552 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50553 fi
50554
50555 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50556 fi
50557
50558
50559 if test "$wxUSE_MAC" = 1 ; then
50560 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50561 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50562 mv temp bk-deps
50563 chmod +x bk-deps
50564 fi
50565 fi
50566
50567 if test "$wxUSE_SHARED" = "yes"; then
50568
50569 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50570 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50571
50572 case "${host}" in
50573 *-pc-os2_emx | *-pc-os2-emx )
50574 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50575 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50576 cp -p ${srcdir}/src/os2/dllnames.sh .
50577 cp -p ${srcdir}/src/os2/dllar.sh .
50578 ;;
50579 esac
50580 else
50581
50582 EXE_LINKER="$CXX -o"
50583
50584 fi
50585 if test "$wxUSE_OMF" = "yes"; then
50586 case "${host}" in
50587 *-pc-os2_emx | *-pc-os2-emx )
50588 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50589 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50590 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50591 ;;
50592 esac
50593 fi
50594
50595 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50596
50597 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50598
50599
50600
50601
50602
50603
50604
50605
50606
50607
50608
50609
50610
50611
50612
50613
50614
50615
50616
50617
50618
50619
50620
50621
50622
50623
50624
50625
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647
50648
50649
50650
50651
50652
50653
50654
50655
50656
50657
50658
50659 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50660 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50661 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50662 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50663 echo $ECHO_N "(cached) $ECHO_C" >&6
50664 else
50665 cat >conftest.make <<\_ACEOF
50666 all:
50667 @echo 'ac_maketemp="$(MAKE)"'
50668 _ACEOF
50669 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50670 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50671 if test -n "$ac_maketemp"; then
50672 eval ac_cv_prog_make_${ac_make}_set=yes
50673 else
50674 eval ac_cv_prog_make_${ac_make}_set=no
50675 fi
50676 rm -f conftest.make
50677 fi
50678 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50679 echo "$as_me:$LINENO: result: yes" >&5
50680 echo "${ECHO_T}yes" >&6
50681 SET_MAKE=
50682 else
50683 echo "$as_me:$LINENO: result: no" >&5
50684 echo "${ECHO_T}no" >&6
50685 SET_MAKE="MAKE=${MAKE-make}"
50686 fi
50687
50688
50689
50690 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50691
50692
50693 if test "$USE_WIN32" = 1; then
50694 ac_config_commands="$ac_config_commands
50695 rcdefs.h
50696 "
50697
50698 fi
50699
50700 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50701
50702
50703 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50704
50705
50706 ac_config_files="$ac_config_files version-script Makefile"
50707
50708
50709 ac_config_commands="$ac_config_commands wx-config"
50710
50711
50712
50713 if test "$wxWITH_SUBDIRS" != "no"; then
50714 if test "$wxUSE_GUI" = "yes"; then
50715 SUBDIRS="samples demos utils contrib"
50716 else SUBDIRS="samples utils"
50717 fi
50718
50719
50720
50721 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50722 if test "${with_cppunit_prefix+set}" = set; then
50723 withval="$with_cppunit_prefix"
50724 cppunit_config_prefix="$withval"
50725 else
50726 cppunit_config_prefix=""
50727 fi;
50728
50729 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50730 if test "${with_cppunit_exec_prefix+set}" = set; then
50731 withval="$with_cppunit_exec_prefix"
50732 cppunit_config_exec_prefix="$withval"
50733 else
50734 cppunit_config_exec_prefix=""
50735 fi;
50736
50737 if test x$cppunit_config_exec_prefix != x ; then
50738 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50739 if test x${CPPUNIT_CONFIG+set} != xset ; then
50740 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50741 fi
50742 fi
50743 if test x$cppunit_config_prefix != x ; then
50744 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50745 if test x${CPPUNIT_CONFIG+set} != xset ; then
50746 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50747 fi
50748 fi
50749
50750 # Extract the first word of "cppunit-config", so it can be a program name with args.
50751 set dummy cppunit-config; ac_word=$2
50752 echo "$as_me:$LINENO: checking for $ac_word" >&5
50753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50754 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50755 echo $ECHO_N "(cached) $ECHO_C" >&6
50756 else
50757 case $CPPUNIT_CONFIG in
50758 [\\/]* | ?:[\\/]*)
50759 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50760 ;;
50761 *)
50762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50763 for as_dir in $PATH
50764 do
50765 IFS=$as_save_IFS
50766 test -z "$as_dir" && as_dir=.
50767 for ac_exec_ext in '' $ac_executable_extensions; do
50768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50769 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50771 break 2
50772 fi
50773 done
50774 done
50775
50776 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50777 ;;
50778 esac
50779 fi
50780 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50781
50782 if test -n "$CPPUNIT_CONFIG"; then
50783 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50784 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50785 else
50786 echo "$as_me:$LINENO: result: no" >&5
50787 echo "${ECHO_T}no" >&6
50788 fi
50789
50790 cppunit_version_min=1.8.0
50791
50792 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50793 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50794 no_cppunit=""
50795 if test "$CPPUNIT_CONFIG" = "no" ; then
50796 echo "$as_me:$LINENO: result: no" >&5
50797 echo "${ECHO_T}no" >&6
50798 no_cppunit=yes
50799 else
50800 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50801 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50802 cppunit_version=`$CPPUNIT_CONFIG --version`
50803
50804 cppunit_major_version=`echo $cppunit_version | \
50805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50806 cppunit_minor_version=`echo $cppunit_version | \
50807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50808 cppunit_micro_version=`echo $cppunit_version | \
50809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50810
50811 cppunit_major_min=`echo $cppunit_version_min | \
50812 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50813 cppunit_minor_min=`echo $cppunit_version_min | \
50814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50815 cppunit_micro_min=`echo $cppunit_version_min | \
50816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50817
50818 cppunit_version_proper=`expr \
50819 $cppunit_major_version \> $cppunit_major_min \| \
50820 $cppunit_major_version \= $cppunit_major_min \& \
50821 $cppunit_minor_version \> $cppunit_minor_min \| \
50822 $cppunit_major_version \= $cppunit_major_min \& \
50823 $cppunit_minor_version \= $cppunit_minor_min \& \
50824 $cppunit_micro_version \>= $cppunit_micro_min `
50825
50826 if test "$cppunit_version_proper" = "1" ; then
50827 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50828 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50829 else
50830 echo "$as_me:$LINENO: result: no" >&5
50831 echo "${ECHO_T}no" >&6
50832 no_cppunit=yes
50833 fi
50834 fi
50835
50836 if test "x$no_cppunit" = x ; then
50837 SUBDIRS="$SUBDIRS tests"
50838 else
50839 CPPUNIT_CFLAGS=""
50840 CPPUNIT_LIBS=""
50841 :
50842 fi
50843
50844
50845
50846
50847
50848 for subdir in `echo $SUBDIRS`; do
50849 if test -d ${srcdir}/${subdir} ; then
50850 if test "$wxUSE_GUI" = "yes"; then
50851 if test ${subdir} = "samples"; then
50852 makefiles="samples/Makefile.in $makefiles"
50853 for sample in `echo $SAMPLES_SUBDIRS`; do
50854 if test -d $srcdir/samples/$sample; then
50855 makefiles="samples/$sample/Makefile.in $makefiles"
50856 fi
50857 done
50858 else
50859 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50860 eval "disabled=\$$disabled_var"
50861 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50862 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50863 fi
50864 else if test ${subdir} = "samples"; then
50865 makefiles="samples/Makefile.in samples/console/Makefile.in"
50866 elif test ${subdir} = "utils"; then
50867 makefiles=""
50868 for util in HelpGen tex2rtf ; do
50869 if test -d $srcdir/utils/$util ; then
50870 makefiles="utils/$util/Makefile.in \
50871 utils/$util/src/Makefile.in \
50872 $makefiles"
50873 fi
50874 done
50875 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50876 fi
50877 fi
50878
50879 for mkin in $makefiles ; do
50880 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50881 ac_config_files="$ac_config_files $mk"
50882
50883 done
50884 fi
50885 done
50886 fi
50887 cat >confcache <<\_ACEOF
50888 # This file is a shell script that caches the results of configure
50889 # tests run on this system so they can be shared between configure
50890 # scripts and configure runs, see configure's option --config-cache.
50891 # It is not useful on other systems. If it contains results you don't
50892 # want to keep, you may remove or edit it.
50893 #
50894 # config.status only pays attention to the cache file if you give it
50895 # the --recheck option to rerun configure.
50896 #
50897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50899 # following values.
50900
50901 _ACEOF
50902
50903 # The following way of writing the cache mishandles newlines in values,
50904 # but we know of no workaround that is simple, portable, and efficient.
50905 # So, don't put newlines in cache variables' values.
50906 # Ultrix sh set writes to stderr and can't be redirected directly,
50907 # and sets the high bit in the cache file unless we assign to the vars.
50908 {
50909 (set) 2>&1 |
50910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50911 *ac_space=\ *)
50912 # `set' does not quote correctly, so add quotes (double-quote
50913 # substitution turns \\\\ into \\, and sed turns \\ into \).
50914 sed -n \
50915 "s/'/'\\\\''/g;
50916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50917 ;;
50918 *)
50919 # `set' quotes correctly as required by POSIX, so do not add quotes.
50920 sed -n \
50921 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50922 ;;
50923 esac;
50924 } |
50925 sed '
50926 t clear
50927 : clear
50928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50929 t end
50930 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50931 : end' >>confcache
50932 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50933 if test -w $cache_file; then
50934 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50935 cat confcache >$cache_file
50936 else
50937 echo "not updating unwritable cache $cache_file"
50938 fi
50939 fi
50940 rm -f confcache
50941
50942 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50943 # Let make expand exec_prefix.
50944 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50945
50946 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50947 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50948 # trailing colons and then remove the whole line if VPATH becomes empty
50949 # (actually we leave an empty line to preserve line numbers).
50950 if test "x$srcdir" = x.; then
50951 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50952 s/:*\$(srcdir):*/:/;
50953 s/:*\${srcdir}:*/:/;
50954 s/:*@srcdir@:*/:/;
50955 s/^\([^=]*=[ ]*\):*/\1/;
50956 s/:*$//;
50957 s/^[^=]*=[ ]*$//;
50958 }'
50959 fi
50960
50961 DEFS=-DHAVE_CONFIG_H
50962
50963 ac_libobjs=
50964 ac_ltlibobjs=
50965 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50966 # 1. Remove the extension, and $U if already installed.
50967 ac_i=`echo "$ac_i" |
50968 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50969 # 2. Add them.
50970 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50971 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50972 done
50973 LIBOBJS=$ac_libobjs
50974
50975 LTLIBOBJS=$ac_ltlibobjs
50976
50977
50978
50979 : ${CONFIG_STATUS=./config.status}
50980 ac_clean_files_save=$ac_clean_files
50981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50982 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50983 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50984 cat >$CONFIG_STATUS <<_ACEOF
50985 #! $SHELL
50986 # Generated by $as_me.
50987 # Run this file to recreate the current configuration.
50988 # Compiler output produced by configure, useful for debugging
50989 # configure, is in config.log if it exists.
50990
50991 debug=false
50992 ac_cs_recheck=false
50993 ac_cs_silent=false
50994 SHELL=\${CONFIG_SHELL-$SHELL}
50995 _ACEOF
50996
50997 cat >>$CONFIG_STATUS <<\_ACEOF
50998 ## --------------------- ##
50999 ## M4sh Initialization. ##
51000 ## --------------------- ##
51001
51002 # Be Bourne compatible
51003 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51004 emulate sh
51005 NULLCMD=:
51006 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51007 # is contrary to our usage. Disable this feature.
51008 alias -g '${1+"$@"}'='"$@"'
51009 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51010 set -o posix
51011 fi
51012 DUALCASE=1; export DUALCASE # for MKS sh
51013
51014 # Support unset when possible.
51015 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51016 as_unset=unset
51017 else
51018 as_unset=false
51019 fi
51020
51021
51022 # Work around bugs in pre-3.0 UWIN ksh.
51023 $as_unset ENV MAIL MAILPATH
51024 PS1='$ '
51025 PS2='> '
51026 PS4='+ '
51027
51028 # NLS nuisances.
51029 for as_var in \
51030 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51031 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51032 LC_TELEPHONE LC_TIME
51033 do
51034 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51035 eval $as_var=C; export $as_var
51036 else
51037 $as_unset $as_var
51038 fi
51039 done
51040
51041 # Required to use basename.
51042 if expr a : '\(a\)' >/dev/null 2>&1; then
51043 as_expr=expr
51044 else
51045 as_expr=false
51046 fi
51047
51048 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51049 as_basename=basename
51050 else
51051 as_basename=false
51052 fi
51053
51054
51055 # Name of the executable.
51056 as_me=`$as_basename "$0" ||
51057 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51058 X"$0" : 'X\(//\)$' \| \
51059 X"$0" : 'X\(/\)$' \| \
51060 . : '\(.\)' 2>/dev/null ||
51061 echo X/"$0" |
51062 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51063 /^X\/\(\/\/\)$/{ s//\1/; q; }
51064 /^X\/\(\/\).*/{ s//\1/; q; }
51065 s/.*/./; q'`
51066
51067
51068 # PATH needs CR, and LINENO needs CR and PATH.
51069 # Avoid depending upon Character Ranges.
51070 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51071 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51072 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51073 as_cr_digits='0123456789'
51074 as_cr_alnum=$as_cr_Letters$as_cr_digits
51075
51076 # The user is always right.
51077 if test "${PATH_SEPARATOR+set}" != set; then
51078 echo "#! /bin/sh" >conf$$.sh
51079 echo "exit 0" >>conf$$.sh
51080 chmod +x conf$$.sh
51081 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51082 PATH_SEPARATOR=';'
51083 else
51084 PATH_SEPARATOR=:
51085 fi
51086 rm -f conf$$.sh
51087 fi
51088
51089
51090 as_lineno_1=$LINENO
51091 as_lineno_2=$LINENO
51092 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51093 test "x$as_lineno_1" != "x$as_lineno_2" &&
51094 test "x$as_lineno_3" = "x$as_lineno_2" || {
51095 # Find who we are. Look in the path if we contain no path at all
51096 # relative or not.
51097 case $0 in
51098 *[\\/]* ) as_myself=$0 ;;
51099 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51100 for as_dir in $PATH
51101 do
51102 IFS=$as_save_IFS
51103 test -z "$as_dir" && as_dir=.
51104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51105 done
51106
51107 ;;
51108 esac
51109 # We did not find ourselves, most probably we were run as `sh COMMAND'
51110 # in which case we are not to be found in the path.
51111 if test "x$as_myself" = x; then
51112 as_myself=$0
51113 fi
51114 if test ! -f "$as_myself"; then
51115 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51116 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51117 { (exit 1); exit 1; }; }
51118 fi
51119 case $CONFIG_SHELL in
51120 '')
51121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51122 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51123 do
51124 IFS=$as_save_IFS
51125 test -z "$as_dir" && as_dir=.
51126 for as_base in sh bash ksh sh5; do
51127 case $as_dir in
51128 /*)
51129 if ("$as_dir/$as_base" -c '
51130 as_lineno_1=$LINENO
51131 as_lineno_2=$LINENO
51132 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51133 test "x$as_lineno_1" != "x$as_lineno_2" &&
51134 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51135 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51136 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51137 CONFIG_SHELL=$as_dir/$as_base
51138 export CONFIG_SHELL
51139 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51140 fi;;
51141 esac
51142 done
51143 done
51144 ;;
51145 esac
51146
51147 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51148 # uniformly replaced by the line number. The first 'sed' inserts a
51149 # line-number line before each line; the second 'sed' does the real
51150 # work. The second script uses 'N' to pair each line-number line
51151 # with the numbered line, and appends trailing '-' during
51152 # substitution so that $LINENO is not a special case at line end.
51153 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51154 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51155 sed '=' <$as_myself |
51156 sed '
51157 N
51158 s,$,-,
51159 : loop
51160 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51161 t loop
51162 s,-$,,
51163 s,^['$as_cr_digits']*\n,,
51164 ' >$as_me.lineno &&
51165 chmod +x $as_me.lineno ||
51166 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51167 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51168 { (exit 1); exit 1; }; }
51169
51170 # Don't try to exec as it changes $[0], causing all sort of problems
51171 # (the dirname of $[0] is not the place where we might find the
51172 # original and so on. Autoconf is especially sensible to this).
51173 . ./$as_me.lineno
51174 # Exit status is that of the last command.
51175 exit
51176 }
51177
51178
51179 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51180 *c*,-n*) ECHO_N= ECHO_C='
51181 ' ECHO_T=' ' ;;
51182 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51183 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51184 esac
51185
51186 if expr a : '\(a\)' >/dev/null 2>&1; then
51187 as_expr=expr
51188 else
51189 as_expr=false
51190 fi
51191
51192 rm -f conf$$ conf$$.exe conf$$.file
51193 echo >conf$$.file
51194 if ln -s conf$$.file conf$$ 2>/dev/null; then
51195 # We could just check for DJGPP; but this test a) works b) is more generic
51196 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51197 if test -f conf$$.exe; then
51198 # Don't use ln at all; we don't have any links
51199 as_ln_s='cp -p'
51200 else
51201 as_ln_s='ln -s'
51202 fi
51203 elif ln conf$$.file conf$$ 2>/dev/null; then
51204 as_ln_s=ln
51205 else
51206 as_ln_s='cp -p'
51207 fi
51208 rm -f conf$$ conf$$.exe conf$$.file
51209
51210 if mkdir -p . 2>/dev/null; then
51211 as_mkdir_p=:
51212 else
51213 test -d ./-p && rmdir ./-p
51214 as_mkdir_p=false
51215 fi
51216
51217 as_executable_p="test -f"
51218
51219 # Sed expression to map a string onto a valid CPP name.
51220 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51221
51222 # Sed expression to map a string onto a valid variable name.
51223 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51224
51225
51226 # IFS
51227 # We need space, tab and new line, in precisely that order.
51228 as_nl='
51229 '
51230 IFS=" $as_nl"
51231
51232 # CDPATH.
51233 $as_unset CDPATH
51234
51235 exec 6>&1
51236
51237 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51238 # report actual input values of CONFIG_FILES etc. instead of their
51239 # values after options handling. Logging --version etc. is OK.
51240 exec 5>>config.log
51241 {
51242 echo
51243 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51244 ## Running $as_me. ##
51245 _ASBOX
51246 } >&5
51247 cat >&5 <<_CSEOF
51248
51249 This file was extended by wxWidgets $as_me 2.7.1, which was
51250 generated by GNU Autoconf 2.59. Invocation command line was
51251
51252 CONFIG_FILES = $CONFIG_FILES
51253 CONFIG_HEADERS = $CONFIG_HEADERS
51254 CONFIG_LINKS = $CONFIG_LINKS
51255 CONFIG_COMMANDS = $CONFIG_COMMANDS
51256 $ $0 $@
51257
51258 _CSEOF
51259 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51260 echo >&5
51261 _ACEOF
51262
51263 # Files that config.status was made for.
51264 if test -n "$ac_config_files"; then
51265 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51266 fi
51267
51268 if test -n "$ac_config_headers"; then
51269 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51270 fi
51271
51272 if test -n "$ac_config_links"; then
51273 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51274 fi
51275
51276 if test -n "$ac_config_commands"; then
51277 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51278 fi
51279
51280 cat >>$CONFIG_STATUS <<\_ACEOF
51281
51282 ac_cs_usage="\
51283 \`$as_me' instantiates files from templates according to the
51284 current configuration.
51285
51286 Usage: $0 [OPTIONS] [FILE]...
51287
51288 -h, --help print this help, then exit
51289 -V, --version print version number, then exit
51290 -q, --quiet do not print progress messages
51291 -d, --debug don't remove temporary files
51292 --recheck update $as_me by reconfiguring in the same conditions
51293 --file=FILE[:TEMPLATE]
51294 instantiate the configuration file FILE
51295 --header=FILE[:TEMPLATE]
51296 instantiate the configuration header FILE
51297
51298 Configuration files:
51299 $config_files
51300
51301 Configuration headers:
51302 $config_headers
51303
51304 Configuration commands:
51305 $config_commands
51306
51307 Report bugs to <bug-autoconf@gnu.org>."
51308 _ACEOF
51309
51310 cat >>$CONFIG_STATUS <<_ACEOF
51311 ac_cs_version="\\
51312 wxWidgets config.status 2.7.1
51313 configured by $0, generated by GNU Autoconf 2.59,
51314 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51315
51316 Copyright (C) 2003 Free Software Foundation, Inc.
51317 This config.status script is free software; the Free Software Foundation
51318 gives unlimited permission to copy, distribute and modify it."
51319 srcdir=$srcdir
51320 INSTALL="$INSTALL"
51321 _ACEOF
51322
51323 cat >>$CONFIG_STATUS <<\_ACEOF
51324 # If no file are specified by the user, then we need to provide default
51325 # value. By we need to know if files were specified by the user.
51326 ac_need_defaults=:
51327 while test $# != 0
51328 do
51329 case $1 in
51330 --*=*)
51331 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51332 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51333 ac_shift=:
51334 ;;
51335 -*)
51336 ac_option=$1
51337 ac_optarg=$2
51338 ac_shift=shift
51339 ;;
51340 *) # This is not an option, so the user has probably given explicit
51341 # arguments.
51342 ac_option=$1
51343 ac_need_defaults=false;;
51344 esac
51345
51346 case $ac_option in
51347 # Handling of the options.
51348 _ACEOF
51349 cat >>$CONFIG_STATUS <<\_ACEOF
51350 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51351 ac_cs_recheck=: ;;
51352 --version | --vers* | -V )
51353 echo "$ac_cs_version"; exit 0 ;;
51354 --he | --h)
51355 # Conflict between --help and --header
51356 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51357 Try \`$0 --help' for more information." >&5
51358 echo "$as_me: error: ambiguous option: $1
51359 Try \`$0 --help' for more information." >&2;}
51360 { (exit 1); exit 1; }; };;
51361 --help | --hel | -h )
51362 echo "$ac_cs_usage"; exit 0 ;;
51363 --debug | --d* | -d )
51364 debug=: ;;
51365 --file | --fil | --fi | --f )
51366 $ac_shift
51367 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51368 ac_need_defaults=false;;
51369 --header | --heade | --head | --hea )
51370 $ac_shift
51371 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51372 ac_need_defaults=false;;
51373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51374 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51375 ac_cs_silent=: ;;
51376
51377 # This is an error.
51378 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51379 Try \`$0 --help' for more information." >&5
51380 echo "$as_me: error: unrecognized option: $1
51381 Try \`$0 --help' for more information." >&2;}
51382 { (exit 1); exit 1; }; } ;;
51383
51384 *) ac_config_targets="$ac_config_targets $1" ;;
51385
51386 esac
51387 shift
51388 done
51389
51390 ac_configure_extra_args=
51391
51392 if $ac_cs_silent; then
51393 exec 6>/dev/null
51394 ac_configure_extra_args="$ac_configure_extra_args --silent"
51395 fi
51396
51397 _ACEOF
51398 cat >>$CONFIG_STATUS <<_ACEOF
51399 if \$ac_cs_recheck; then
51400 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51401 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51402 fi
51403
51404 _ACEOF
51405
51406 cat >>$CONFIG_STATUS <<_ACEOF
51407 #
51408 # INIT-COMMANDS section.
51409 #
51410
51411
51412 CPP="$CPP"
51413 infile="$srcdir/include/wx/msw/genrcdefs.h"
51414 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51415
51416
51417 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51418 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51419 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51420 LN_S="${LN_S}"
51421
51422
51423 _ACEOF
51424
51425
51426
51427 cat >>$CONFIG_STATUS <<\_ACEOF
51428 for ac_config_target in $ac_config_targets
51429 do
51430 case "$ac_config_target" in
51431 # Handling of arguments.
51432 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51433 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51434 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51435 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51436 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51437 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51438 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51439 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51440 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51441 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51442 { (exit 1); exit 1; }; };;
51443 esac
51444 done
51445
51446 # If the user did not use the arguments to specify the items to instantiate,
51447 # then the envvar interface is used. Set only those that are not.
51448 # We use the long form for the default assignment because of an extremely
51449 # bizarre bug on SunOS 4.1.3.
51450 if $ac_need_defaults; then
51451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51454 fi
51455
51456 # Have a temporary directory for convenience. Make it in the build tree
51457 # simply because there is no reason to put it here, and in addition,
51458 # creating and moving files from /tmp can sometimes cause problems.
51459 # Create a temporary directory, and hook for its removal unless debugging.
51460 $debug ||
51461 {
51462 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51463 trap '{ (exit 1); exit 1; }' 1 2 13 15
51464 }
51465
51466 # Create a (secure) tmp directory for tmp files.
51467
51468 {
51469 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51470 test -n "$tmp" && test -d "$tmp"
51471 } ||
51472 {
51473 tmp=./confstat$$-$RANDOM
51474 (umask 077 && mkdir $tmp)
51475 } ||
51476 {
51477 echo "$me: cannot create a temporary directory in ." >&2
51478 { (exit 1); exit 1; }
51479 }
51480
51481 _ACEOF
51482
51483 cat >>$CONFIG_STATUS <<_ACEOF
51484
51485 #
51486 # CONFIG_FILES section.
51487 #
51488
51489 # No need to generate the scripts if there are no CONFIG_FILES.
51490 # This happens for instance when ./config.status config.h
51491 if test -n "\$CONFIG_FILES"; then
51492 # Protect against being on the right side of a sed subst in config.status.
51493 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51494 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51495 s,@SHELL@,$SHELL,;t t
51496 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51497 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51498 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51499 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51500 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51501 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51502 s,@exec_prefix@,$exec_prefix,;t t
51503 s,@prefix@,$prefix,;t t
51504 s,@program_transform_name@,$program_transform_name,;t t
51505 s,@bindir@,$bindir,;t t
51506 s,@sbindir@,$sbindir,;t t
51507 s,@libexecdir@,$libexecdir,;t t
51508 s,@datadir@,$datadir,;t t
51509 s,@sysconfdir@,$sysconfdir,;t t
51510 s,@sharedstatedir@,$sharedstatedir,;t t
51511 s,@localstatedir@,$localstatedir,;t t
51512 s,@libdir@,$libdir,;t t
51513 s,@includedir@,$includedir,;t t
51514 s,@oldincludedir@,$oldincludedir,;t t
51515 s,@infodir@,$infodir,;t t
51516 s,@mandir@,$mandir,;t t
51517 s,@build_alias@,$build_alias,;t t
51518 s,@host_alias@,$host_alias,;t t
51519 s,@target_alias@,$target_alias,;t t
51520 s,@DEFS@,$DEFS,;t t
51521 s,@ECHO_C@,$ECHO_C,;t t
51522 s,@ECHO_N@,$ECHO_N,;t t
51523 s,@ECHO_T@,$ECHO_T,;t t
51524 s,@LIBS@,$LIBS,;t t
51525 s,@build@,$build,;t t
51526 s,@build_cpu@,$build_cpu,;t t
51527 s,@build_vendor@,$build_vendor,;t t
51528 s,@build_os@,$build_os,;t t
51529 s,@host@,$host,;t t
51530 s,@host_cpu@,$host_cpu,;t t
51531 s,@host_vendor@,$host_vendor,;t t
51532 s,@host_os@,$host_os,;t t
51533 s,@target@,$target,;t t
51534 s,@target_cpu@,$target_cpu,;t t
51535 s,@target_vendor@,$target_vendor,;t t
51536 s,@target_os@,$target_os,;t t
51537 s,@CC@,$CC,;t t
51538 s,@CFLAGS@,$CFLAGS,;t t
51539 s,@LDFLAGS@,$LDFLAGS,;t t
51540 s,@CPPFLAGS@,$CPPFLAGS,;t t
51541 s,@ac_ct_CC@,$ac_ct_CC,;t t
51542 s,@EXEEXT@,$EXEEXT,;t t
51543 s,@OBJEXT@,$OBJEXT,;t t
51544 s,@CPP@,$CPP,;t t
51545 s,@EGREP@,$EGREP,;t t
51546 s,@CXX@,$CXX,;t t
51547 s,@CXXFLAGS@,$CXXFLAGS,;t t
51548 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51549 s,@RANLIB@,$RANLIB,;t t
51550 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51551 s,@AR@,$AR,;t t
51552 s,@ac_ct_AR@,$ac_ct_AR,;t t
51553 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51554 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51555 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51556 s,@STRIP@,$STRIP,;t t
51557 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51558 s,@WINDRES@,$WINDRES,;t t
51559 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51560 s,@DLLTOOL@,$DLLTOOL,;t t
51561 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51562 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51563 s,@LN_S@,$LN_S,;t t
51564 s,@CXXCPP@,$CXXCPP,;t t
51565 s,@subdirs@,$subdirs,;t t
51566 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51567 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51568 s,@GTK_LIBS@,$GTK_LIBS,;t t
51569 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51570 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51571 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51572 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51573 s,@X_CFLAGS@,$X_CFLAGS,;t t
51574 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51575 s,@X_LIBS@,$X_LIBS,;t t
51576 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51577 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51578 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51579 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51580 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51581 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51582 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51583 s,@REZ@,$REZ,;t t
51584 s,@DEREZ@,$DEREZ,;t t
51585 s,@SETFILE@,$SETFILE,;t t
51586 s,@LIBICONV@,$LIBICONV,;t t
51587 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51588 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51589 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51590 s,@SDL_LIBS@,$SDL_LIBS,;t t
51591 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51592 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51593 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51594 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51595 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51596 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51597 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51598 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51599 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51600 s,@GST_LIBS@,$GST_LIBS,;t t
51601 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51602 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51603 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51604 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51605 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51606 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51607 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51608 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51609 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51610 s,@VENDOR@,$VENDOR,;t t
51611 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51612 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51613 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51614 s,@WXUNIV@,$WXUNIV,;t t
51615 s,@MONOLITHIC@,$MONOLITHIC,;t t
51616 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51617 s,@EXTRALIBS@,$EXTRALIBS,;t t
51618 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51619 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51620 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51621 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51622 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51623 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51624 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51625 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51626 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51627 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51628 s,@UNICODE@,$UNICODE,;t t
51629 s,@BUILD@,$BUILD,;t t
51630 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51631 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51632 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51633 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51634 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51635 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51636 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51637 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51638 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51639 s,@SET_MAKE@,$SET_MAKE,;t t
51640 s,@MAKE_SET@,$MAKE_SET,;t t
51641 s,@NM@,$NM,;t t
51642 s,@ac_ct_NM@,$ac_ct_NM,;t t
51643 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51644 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51645 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51646 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51647 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51648 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51649 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51650 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51651 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51652 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51653 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51654 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51655 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51656 s,@LIBPREFIX@,$LIBPREFIX,;t t
51657 s,@LIBEXT@,$LIBEXT,;t t
51658 s,@DLLPREFIX@,$DLLPREFIX,;t t
51659 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51660 s,@dlldir@,$dlldir,;t t
51661 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51662 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51663 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51664 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51665 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51666 s,@PIC_FLAG@,$PIC_FLAG,;t t
51667 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51668 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51669 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51670 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51671 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51672 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51673 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51674 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51675 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51676 s,@GCC_PCH@,$GCC_PCH,;t t
51677 s,@ICC_PCH@,$ICC_PCH,;t t
51678 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51679 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51680 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51681 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51682 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51683 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51684 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51685 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51686 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51687 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51688 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51689 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51690 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51691 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51692 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51693 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51694 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51695 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51696 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51697 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51698 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
51699 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
51700 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
51701 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
51702 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51703 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51704 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51705 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51706 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51707 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51708 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
51709 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
51710 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
51711 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
51712 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51713 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51714 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51715 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51716 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51717 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51718 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51719 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51720 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51721 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51722 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51723 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51724 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51725 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51726 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51727 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51728 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51729 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51730 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
51731 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51732 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51733 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51734 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51735 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51736 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51737 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51738 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51739 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51740 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51741 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51742 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51743 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51744 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51745 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51746 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51747 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51748 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51749 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51750 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51751 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51752 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51753 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51754 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51755 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51756 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51757 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51758 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51759 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51760 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51761 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51762 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51763 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51764 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51765 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51766 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51767 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51768 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51769 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51770 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51771 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51772 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
51773 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51774 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51775 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51776 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51777 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51778 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51779 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51780 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51781 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51782 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51783 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51784 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51785 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51786 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51787 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51788 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51789 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51790 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51791 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51792 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51793 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51794 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51795 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51796 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51797 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51798 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51799 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51800 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51801 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51802 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51803 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51804 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51805 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51806 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51807 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51808 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51809 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51810 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51811 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51812 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51813 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51814 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51815 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51816 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51817 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51818 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51819 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51820 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51821 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51822 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51823 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51824 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51825 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51826 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51827 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51828 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51829 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51830 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51831 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51832 s,@SHARED@,$SHARED,;t t
51833 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51834 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51835 s,@USE_GUI@,$USE_GUI,;t t
51836 s,@AFMINSTALL@,$AFMINSTALL,;t t
51837 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51838 s,@TOOLKIT@,$TOOLKIT,;t t
51839 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51840 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51841 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51842 s,@cross_compiling@,$cross_compiling,;t t
51843 s,@WIDGET_SET@,$WIDGET_SET,;t t
51844 s,@WX_RELEASE@,$WX_RELEASE,;t t
51845 s,@WX_VERSION@,$WX_VERSION,;t t
51846 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51847 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51848 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51849 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51850 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51851 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51852 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51853 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51854 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51855 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51856 s,@EXE_LINKER@,$EXE_LINKER,;t t
51857 s,@GUIDIST@,$GUIDIST,;t t
51858 s,@DISTDIR@,$DISTDIR,;t t
51859 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51860 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51861 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51862 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51863 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51864 s,@RESCOMP@,$RESCOMP,;t t
51865 s,@RESFLAGS@,$RESFLAGS,;t t
51866 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51867 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51868 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51869 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51870 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51871 s,@MACSETFILE@,$MACSETFILE,;t t
51872 s,@GCC@,$GCC,;t t
51873 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51874 s,@LIBOBJS@,$LIBOBJS,;t t
51875 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51876 CEOF
51877
51878 _ACEOF
51879
51880 cat >>$CONFIG_STATUS <<\_ACEOF
51881 # Split the substitutions into bite-sized pieces for seds with
51882 # small command number limits, like on Digital OSF/1 and HP-UX.
51883 ac_max_sed_lines=48
51884 ac_sed_frag=1 # Number of current file.
51885 ac_beg=1 # First line for current file.
51886 ac_end=$ac_max_sed_lines # Line after last line for current file.
51887 ac_more_lines=:
51888 ac_sed_cmds=
51889 while $ac_more_lines; do
51890 if test $ac_beg -gt 1; then
51891 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51892 else
51893 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51894 fi
51895 if test ! -s $tmp/subs.frag; then
51896 ac_more_lines=false
51897 else
51898 # The purpose of the label and of the branching condition is to
51899 # speed up the sed processing (if there are no `@' at all, there
51900 # is no need to browse any of the substitutions).
51901 # These are the two extra sed commands mentioned above.
51902 (echo ':t
51903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51904 if test -z "$ac_sed_cmds"; then
51905 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51906 else
51907 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51908 fi
51909 ac_sed_frag=`expr $ac_sed_frag + 1`
51910 ac_beg=$ac_end
51911 ac_end=`expr $ac_end + $ac_max_sed_lines`
51912 fi
51913 done
51914 if test -z "$ac_sed_cmds"; then
51915 ac_sed_cmds=cat
51916 fi
51917 fi # test -n "$CONFIG_FILES"
51918
51919 _ACEOF
51920 cat >>$CONFIG_STATUS <<\_ACEOF
51921 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51922 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51923 case $ac_file in
51924 - | *:- | *:-:* ) # input from stdin
51925 cat >$tmp/stdin
51926 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51927 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51928 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51929 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51930 * ) ac_file_in=$ac_file.in ;;
51931 esac
51932
51933 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51934 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51936 X"$ac_file" : 'X\(//\)[^/]' \| \
51937 X"$ac_file" : 'X\(//\)$' \| \
51938 X"$ac_file" : 'X\(/\)' \| \
51939 . : '\(.\)' 2>/dev/null ||
51940 echo X"$ac_file" |
51941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51943 /^X\(\/\/\)$/{ s//\1/; q; }
51944 /^X\(\/\).*/{ s//\1/; q; }
51945 s/.*/./; q'`
51946 { if $as_mkdir_p; then
51947 mkdir -p "$ac_dir"
51948 else
51949 as_dir="$ac_dir"
51950 as_dirs=
51951 while test ! -d "$as_dir"; do
51952 as_dirs="$as_dir $as_dirs"
51953 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51955 X"$as_dir" : 'X\(//\)[^/]' \| \
51956 X"$as_dir" : 'X\(//\)$' \| \
51957 X"$as_dir" : 'X\(/\)' \| \
51958 . : '\(.\)' 2>/dev/null ||
51959 echo X"$as_dir" |
51960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51962 /^X\(\/\/\)$/{ s//\1/; q; }
51963 /^X\(\/\).*/{ s//\1/; q; }
51964 s/.*/./; q'`
51965 done
51966 test ! -n "$as_dirs" || mkdir $as_dirs
51967 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51969 { (exit 1); exit 1; }; }; }
51970
51971 ac_builddir=.
51972
51973 if test "$ac_dir" != .; then
51974 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51975 # A "../" for each directory in $ac_dir_suffix.
51976 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51977 else
51978 ac_dir_suffix= ac_top_builddir=
51979 fi
51980
51981 case $srcdir in
51982 .) # No --srcdir option. We are building in place.
51983 ac_srcdir=.
51984 if test -z "$ac_top_builddir"; then
51985 ac_top_srcdir=.
51986 else
51987 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51988 fi ;;
51989 [\\/]* | ?:[\\/]* ) # Absolute path.
51990 ac_srcdir=$srcdir$ac_dir_suffix;
51991 ac_top_srcdir=$srcdir ;;
51992 *) # Relative path.
51993 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51994 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51995 esac
51996
51997 # Do not use `cd foo && pwd` to compute absolute paths, because
51998 # the directories may not exist.
51999 case `pwd` in
52000 .) ac_abs_builddir="$ac_dir";;
52001 *)
52002 case "$ac_dir" in
52003 .) ac_abs_builddir=`pwd`;;
52004 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52005 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52006 esac;;
52007 esac
52008 case $ac_abs_builddir in
52009 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52010 *)
52011 case ${ac_top_builddir}. in
52012 .) ac_abs_top_builddir=$ac_abs_builddir;;
52013 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52014 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52015 esac;;
52016 esac
52017 case $ac_abs_builddir in
52018 .) ac_abs_srcdir=$ac_srcdir;;
52019 *)
52020 case $ac_srcdir in
52021 .) ac_abs_srcdir=$ac_abs_builddir;;
52022 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52023 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52024 esac;;
52025 esac
52026 case $ac_abs_builddir in
52027 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52028 *)
52029 case $ac_top_srcdir in
52030 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52031 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52032 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52033 esac;;
52034 esac
52035
52036
52037 case $INSTALL in
52038 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52039 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52040 esac
52041
52042 # Let's still pretend it is `configure' which instantiates (i.e., don't
52043 # use $as_me), people would be surprised to read:
52044 # /* config.h. Generated by config.status. */
52045 if test x"$ac_file" = x-; then
52046 configure_input=
52047 else
52048 configure_input="$ac_file. "
52049 fi
52050 configure_input=$configure_input"Generated from `echo $ac_file_in |
52051 sed 's,.*/,,'` by configure."
52052
52053 # First look for the input files in the build tree, otherwise in the
52054 # src tree.
52055 ac_file_inputs=`IFS=:
52056 for f in $ac_file_in; do
52057 case $f in
52058 -) echo $tmp/stdin ;;
52059 [\\/$]*)
52060 # Absolute (can't be DOS-style, as IFS=:)
52061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52062 echo "$as_me: error: cannot find input file: $f" >&2;}
52063 { (exit 1); exit 1; }; }
52064 echo "$f";;
52065 *) # Relative
52066 if test -f "$f"; then
52067 # Build tree
52068 echo "$f"
52069 elif test -f "$srcdir/$f"; then
52070 # Source tree
52071 echo "$srcdir/$f"
52072 else
52073 # /dev/null tree
52074 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52075 echo "$as_me: error: cannot find input file: $f" >&2;}
52076 { (exit 1); exit 1; }; }
52077 fi;;
52078 esac
52079 done` || { (exit 1); exit 1; }
52080
52081 if test x"$ac_file" != x-; then
52082 { echo "$as_me:$LINENO: creating $ac_file" >&5
52083 echo "$as_me: creating $ac_file" >&6;}
52084 rm -f "$ac_file"
52085 fi
52086 _ACEOF
52087 cat >>$CONFIG_STATUS <<_ACEOF
52088 sed "$ac_vpsub
52089 $extrasub
52090 _ACEOF
52091 cat >>$CONFIG_STATUS <<\_ACEOF
52092 :t
52093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52094 s,@configure_input@,$configure_input,;t t
52095 s,@srcdir@,$ac_srcdir,;t t
52096 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52097 s,@top_srcdir@,$ac_top_srcdir,;t t
52098 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52099 s,@builddir@,$ac_builddir,;t t
52100 s,@abs_builddir@,$ac_abs_builddir,;t t
52101 s,@top_builddir@,$ac_top_builddir,;t t
52102 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52103 s,@INSTALL@,$ac_INSTALL,;t t
52104 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52105 rm -f $tmp/stdin
52106 if test x"$ac_file" != x-; then
52107 mv $tmp/out $ac_file
52108 else
52109 cat $tmp/out
52110 rm -f $tmp/out
52111 fi
52112
52113 # Run the commands associated with the file.
52114 case $ac_file in
52115 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52116 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52117 esac
52118 done
52119 _ACEOF
52120 cat >>$CONFIG_STATUS <<\_ACEOF
52121
52122 #
52123 # CONFIG_HEADER section.
52124 #
52125
52126 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52127 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52128 #
52129 # ac_d sets the value in "#define NAME VALUE" lines.
52130 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52131 ac_dB='[ ].*$,\1#\2'
52132 ac_dC=' '
52133 ac_dD=',;t'
52134 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52135 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52136 ac_uB='$,\1#\2define\3'
52137 ac_uC=' '
52138 ac_uD=',;t'
52139
52140 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52141 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52142 case $ac_file in
52143 - | *:- | *:-:* ) # input from stdin
52144 cat >$tmp/stdin
52145 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52146 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52147 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52148 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52149 * ) ac_file_in=$ac_file.in ;;
52150 esac
52151
52152 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52153 echo "$as_me: creating $ac_file" >&6;}
52154
52155 # First look for the input files in the build tree, otherwise in the
52156 # src tree.
52157 ac_file_inputs=`IFS=:
52158 for f in $ac_file_in; do
52159 case $f in
52160 -) echo $tmp/stdin ;;
52161 [\\/$]*)
52162 # Absolute (can't be DOS-style, as IFS=:)
52163 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52164 echo "$as_me: error: cannot find input file: $f" >&2;}
52165 { (exit 1); exit 1; }; }
52166 # Do quote $f, to prevent DOS paths from being IFS'd.
52167 echo "$f";;
52168 *) # Relative
52169 if test -f "$f"; then
52170 # Build tree
52171 echo "$f"
52172 elif test -f "$srcdir/$f"; then
52173 # Source tree
52174 echo "$srcdir/$f"
52175 else
52176 # /dev/null tree
52177 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52178 echo "$as_me: error: cannot find input file: $f" >&2;}
52179 { (exit 1); exit 1; }; }
52180 fi;;
52181 esac
52182 done` || { (exit 1); exit 1; }
52183 # Remove the trailing spaces.
52184 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52185
52186 _ACEOF
52187
52188 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52189 # `conftest.undefs', that substitutes the proper values into
52190 # config.h.in to produce config.h. The first handles `#define'
52191 # templates, and the second `#undef' templates.
52192 # And first: Protect against being on the right side of a sed subst in
52193 # config.status. Protect against being in an unquoted here document
52194 # in config.status.
52195 rm -f conftest.defines conftest.undefs
52196 # Using a here document instead of a string reduces the quoting nightmare.
52197 # Putting comments in sed scripts is not portable.
52198 #
52199 # `end' is used to avoid that the second main sed command (meant for
52200 # 0-ary CPP macros) applies to n-ary macro definitions.
52201 # See the Autoconf documentation for `clear'.
52202 cat >confdef2sed.sed <<\_ACEOF
52203 s/[\\&,]/\\&/g
52204 s,[\\$`],\\&,g
52205 t clear
52206 : clear
52207 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52208 t end
52209 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52210 : end
52211 _ACEOF
52212 # If some macros were called several times there might be several times
52213 # the same #defines, which is useless. Nevertheless, we may not want to
52214 # sort them, since we want the *last* AC-DEFINE to be honored.
52215 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52216 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52217 rm -f confdef2sed.sed
52218
52219 # This sed command replaces #undef with comments. This is necessary, for
52220 # example, in the case of _POSIX_SOURCE, which is predefined and required
52221 # on some systems where configure will not decide to define it.
52222 cat >>conftest.undefs <<\_ACEOF
52223 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52224 _ACEOF
52225
52226 # Break up conftest.defines because some shells have a limit on the size
52227 # of here documents, and old seds have small limits too (100 cmds).
52228 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52229 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52230 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52231 echo ' :' >>$CONFIG_STATUS
52232 rm -f conftest.tail
52233 while grep . conftest.defines >/dev/null
52234 do
52235 # Write a limited-size here document to $tmp/defines.sed.
52236 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52237 # Speed up: don't consider the non `#define' lines.
52238 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52239 # Work around the forget-to-reset-the-flag bug.
52240 echo 't clr' >>$CONFIG_STATUS
52241 echo ': clr' >>$CONFIG_STATUS
52242 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52243 echo 'CEOF
52244 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52245 rm -f $tmp/in
52246 mv $tmp/out $tmp/in
52247 ' >>$CONFIG_STATUS
52248 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52249 rm -f conftest.defines
52250 mv conftest.tail conftest.defines
52251 done
52252 rm -f conftest.defines
52253 echo ' fi # grep' >>$CONFIG_STATUS
52254 echo >>$CONFIG_STATUS
52255
52256 # Break up conftest.undefs because some shells have a limit on the size
52257 # of here documents, and old seds have small limits too (100 cmds).
52258 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52259 rm -f conftest.tail
52260 while grep . conftest.undefs >/dev/null
52261 do
52262 # Write a limited-size here document to $tmp/undefs.sed.
52263 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52264 # Speed up: don't consider the non `#undef'
52265 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52266 # Work around the forget-to-reset-the-flag bug.
52267 echo 't clr' >>$CONFIG_STATUS
52268 echo ': clr' >>$CONFIG_STATUS
52269 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52270 echo 'CEOF
52271 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52272 rm -f $tmp/in
52273 mv $tmp/out $tmp/in
52274 ' >>$CONFIG_STATUS
52275 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52276 rm -f conftest.undefs
52277 mv conftest.tail conftest.undefs
52278 done
52279 rm -f conftest.undefs
52280
52281 cat >>$CONFIG_STATUS <<\_ACEOF
52282 # Let's still pretend it is `configure' which instantiates (i.e., don't
52283 # use $as_me), people would be surprised to read:
52284 # /* config.h. Generated by config.status. */
52285 if test x"$ac_file" = x-; then
52286 echo "/* Generated by configure. */" >$tmp/config.h
52287 else
52288 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52289 fi
52290 cat $tmp/in >>$tmp/config.h
52291 rm -f $tmp/in
52292 if test x"$ac_file" != x-; then
52293 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52294 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52295 echo "$as_me: $ac_file is unchanged" >&6;}
52296 else
52297 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52298 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52299 X"$ac_file" : 'X\(//\)[^/]' \| \
52300 X"$ac_file" : 'X\(//\)$' \| \
52301 X"$ac_file" : 'X\(/\)' \| \
52302 . : '\(.\)' 2>/dev/null ||
52303 echo X"$ac_file" |
52304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52306 /^X\(\/\/\)$/{ s//\1/; q; }
52307 /^X\(\/\).*/{ s//\1/; q; }
52308 s/.*/./; q'`
52309 { if $as_mkdir_p; then
52310 mkdir -p "$ac_dir"
52311 else
52312 as_dir="$ac_dir"
52313 as_dirs=
52314 while test ! -d "$as_dir"; do
52315 as_dirs="$as_dir $as_dirs"
52316 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52318 X"$as_dir" : 'X\(//\)[^/]' \| \
52319 X"$as_dir" : 'X\(//\)$' \| \
52320 X"$as_dir" : 'X\(/\)' \| \
52321 . : '\(.\)' 2>/dev/null ||
52322 echo X"$as_dir" |
52323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52325 /^X\(\/\/\)$/{ s//\1/; q; }
52326 /^X\(\/\).*/{ s//\1/; q; }
52327 s/.*/./; q'`
52328 done
52329 test ! -n "$as_dirs" || mkdir $as_dirs
52330 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52331 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52332 { (exit 1); exit 1; }; }; }
52333
52334 rm -f $ac_file
52335 mv $tmp/config.h $ac_file
52336 fi
52337 else
52338 cat $tmp/config.h
52339 rm -f $tmp/config.h
52340 fi
52341 done
52342 _ACEOF
52343 cat >>$CONFIG_STATUS <<\_ACEOF
52344
52345 #
52346 # CONFIG_COMMANDS section.
52347 #
52348 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52349 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52350 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52351 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52352 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52353 X"$ac_dest" : 'X\(//\)[^/]' \| \
52354 X"$ac_dest" : 'X\(//\)$' \| \
52355 X"$ac_dest" : 'X\(/\)' \| \
52356 . : '\(.\)' 2>/dev/null ||
52357 echo X"$ac_dest" |
52358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52360 /^X\(\/\/\)$/{ s//\1/; q; }
52361 /^X\(\/\).*/{ s//\1/; q; }
52362 s/.*/./; q'`
52363 { if $as_mkdir_p; then
52364 mkdir -p "$ac_dir"
52365 else
52366 as_dir="$ac_dir"
52367 as_dirs=
52368 while test ! -d "$as_dir"; do
52369 as_dirs="$as_dir $as_dirs"
52370 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52372 X"$as_dir" : 'X\(//\)[^/]' \| \
52373 X"$as_dir" : 'X\(//\)$' \| \
52374 X"$as_dir" : 'X\(/\)' \| \
52375 . : '\(.\)' 2>/dev/null ||
52376 echo X"$as_dir" |
52377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52378 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52379 /^X\(\/\/\)$/{ s//\1/; q; }
52380 /^X\(\/\).*/{ s//\1/; q; }
52381 s/.*/./; q'`
52382 done
52383 test ! -n "$as_dirs" || mkdir $as_dirs
52384 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52385 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52386 { (exit 1); exit 1; }; }; }
52387
52388 ac_builddir=.
52389
52390 if test "$ac_dir" != .; then
52391 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52392 # A "../" for each directory in $ac_dir_suffix.
52393 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52394 else
52395 ac_dir_suffix= ac_top_builddir=
52396 fi
52397
52398 case $srcdir in
52399 .) # No --srcdir option. We are building in place.
52400 ac_srcdir=.
52401 if test -z "$ac_top_builddir"; then
52402 ac_top_srcdir=.
52403 else
52404 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52405 fi ;;
52406 [\\/]* | ?:[\\/]* ) # Absolute path.
52407 ac_srcdir=$srcdir$ac_dir_suffix;
52408 ac_top_srcdir=$srcdir ;;
52409 *) # Relative path.
52410 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52411 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52412 esac
52413
52414 # Do not use `cd foo && pwd` to compute absolute paths, because
52415 # the directories may not exist.
52416 case `pwd` in
52417 .) ac_abs_builddir="$ac_dir";;
52418 *)
52419 case "$ac_dir" in
52420 .) ac_abs_builddir=`pwd`;;
52421 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52422 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52423 esac;;
52424 esac
52425 case $ac_abs_builddir in
52426 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52427 *)
52428 case ${ac_top_builddir}. in
52429 .) ac_abs_top_builddir=$ac_abs_builddir;;
52430 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52431 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52432 esac;;
52433 esac
52434 case $ac_abs_builddir in
52435 .) ac_abs_srcdir=$ac_srcdir;;
52436 *)
52437 case $ac_srcdir in
52438 .) ac_abs_srcdir=$ac_abs_builddir;;
52439 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52440 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52441 esac;;
52442 esac
52443 case $ac_abs_builddir in
52444 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52445 *)
52446 case $ac_top_srcdir in
52447 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52448 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52449 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52450 esac;;
52451 esac
52452
52453
52454 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52455 echo "$as_me: executing $ac_dest commands" >&6;}
52456 case $ac_dest in
52457 rcdefs.h )
52458 mkdir -p $outdir &&
52459 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52460 ;;
52461 wx-config ) rm -f wx-config
52462 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52463 ;;
52464 esac
52465 done
52466 _ACEOF
52467
52468 cat >>$CONFIG_STATUS <<\_ACEOF
52469
52470 { (exit 0); exit 0; }
52471 _ACEOF
52472 chmod +x $CONFIG_STATUS
52473 ac_clean_files=$ac_clean_files_save
52474
52475
52476 # configure is writing to config.log, and then calls config.status.
52477 # config.status does its own redirection, appending to config.log.
52478 # Unfortunately, on DOS this fails, as config.log is still kept open
52479 # by configure, so config.status won't be able to write to it; its
52480 # output is simply discarded. So we exec the FD to /dev/null,
52481 # effectively closing config.log, so it can be properly (re)opened and
52482 # appended to by config.status. When coming back to configure, we
52483 # need to make the FD available again.
52484 if test "$no_create" != yes; then
52485 ac_cs_success=:
52486 ac_config_status_args=
52487 test "$silent" = yes &&
52488 ac_config_status_args="$ac_config_status_args --quiet"
52489 exec 5>/dev/null
52490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52491 exec 5>>config.log
52492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52493 # would make configure fail if this is the last instruction.
52494 $ac_cs_success || { (exit 1); exit 1; }
52495 fi
52496
52497 #
52498 # CONFIG_SUBDIRS section.
52499 #
52500 if test "$no_recursion" != yes; then
52501
52502 # Remove --cache-file and --srcdir arguments so they do not pile up.
52503 ac_sub_configure_args=
52504 ac_prev=
52505 for ac_arg in $ac_configure_args; do
52506 if test -n "$ac_prev"; then
52507 ac_prev=
52508 continue
52509 fi
52510 case $ac_arg in
52511 -cache-file | --cache-file | --cache-fil | --cache-fi \
52512 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52513 ac_prev=cache_file ;;
52514 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52515 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52516 | --c=*)
52517 ;;
52518 --config-cache | -C)
52519 ;;
52520 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52521 ac_prev=srcdir ;;
52522 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52523 ;;
52524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52525 ac_prev=prefix ;;
52526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52527 ;;
52528 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52529 esac
52530 done
52531
52532 # Always prepend --prefix to ensure using the same prefix
52533 # in subdir configurations.
52534 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52535
52536 ac_popdir=`pwd`
52537 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52538
52539 # Do not complain, so a configure script can configure whichever
52540 # parts of a large source tree are present.
52541 test -d $srcdir/$ac_dir || continue
52542
52543 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52544 echo "$as_me: configuring in $ac_dir" >&6;}
52545 { if $as_mkdir_p; then
52546 mkdir -p "$ac_dir"
52547 else
52548 as_dir="$ac_dir"
52549 as_dirs=
52550 while test ! -d "$as_dir"; do
52551 as_dirs="$as_dir $as_dirs"
52552 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52554 X"$as_dir" : 'X\(//\)[^/]' \| \
52555 X"$as_dir" : 'X\(//\)$' \| \
52556 X"$as_dir" : 'X\(/\)' \| \
52557 . : '\(.\)' 2>/dev/null ||
52558 echo X"$as_dir" |
52559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52561 /^X\(\/\/\)$/{ s//\1/; q; }
52562 /^X\(\/\).*/{ s//\1/; q; }
52563 s/.*/./; q'`
52564 done
52565 test ! -n "$as_dirs" || mkdir $as_dirs
52566 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52567 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52568 { (exit 1); exit 1; }; }; }
52569
52570 ac_builddir=.
52571
52572 if test "$ac_dir" != .; then
52573 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52574 # A "../" for each directory in $ac_dir_suffix.
52575 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52576 else
52577 ac_dir_suffix= ac_top_builddir=
52578 fi
52579
52580 case $srcdir in
52581 .) # No --srcdir option. We are building in place.
52582 ac_srcdir=.
52583 if test -z "$ac_top_builddir"; then
52584 ac_top_srcdir=.
52585 else
52586 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52587 fi ;;
52588 [\\/]* | ?:[\\/]* ) # Absolute path.
52589 ac_srcdir=$srcdir$ac_dir_suffix;
52590 ac_top_srcdir=$srcdir ;;
52591 *) # Relative path.
52592 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52593 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52594 esac
52595
52596 # Do not use `cd foo && pwd` to compute absolute paths, because
52597 # the directories may not exist.
52598 case `pwd` in
52599 .) ac_abs_builddir="$ac_dir";;
52600 *)
52601 case "$ac_dir" in
52602 .) ac_abs_builddir=`pwd`;;
52603 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52604 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52605 esac;;
52606 esac
52607 case $ac_abs_builddir in
52608 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52609 *)
52610 case ${ac_top_builddir}. in
52611 .) ac_abs_top_builddir=$ac_abs_builddir;;
52612 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52613 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52614 esac;;
52615 esac
52616 case $ac_abs_builddir in
52617 .) ac_abs_srcdir=$ac_srcdir;;
52618 *)
52619 case $ac_srcdir in
52620 .) ac_abs_srcdir=$ac_abs_builddir;;
52621 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52622 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52623 esac;;
52624 esac
52625 case $ac_abs_builddir in
52626 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52627 *)
52628 case $ac_top_srcdir in
52629 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52630 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52631 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52632 esac;;
52633 esac
52634
52635
52636 cd $ac_dir
52637
52638 # Check for guested configure; otherwise get Cygnus style configure.
52639 if test -f $ac_srcdir/configure.gnu; then
52640 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52641 elif test -f $ac_srcdir/configure; then
52642 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52643 elif test -f $ac_srcdir/configure.in; then
52644 ac_sub_configure=$ac_configure
52645 else
52646 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52647 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52648 ac_sub_configure=
52649 fi
52650
52651 # The recursion is here.
52652 if test -n "$ac_sub_configure"; then
52653 # Make the cache file name correct relative to the subdirectory.
52654 case $cache_file in
52655 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52656 *) # Relative path.
52657 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52658 esac
52659
52660 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52661 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52662 # The eval makes quoting arguments work.
52663 eval $ac_sub_configure $ac_sub_configure_args \
52664 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52665 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52666 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52667 { (exit 1); exit 1; }; }
52668 fi
52669
52670 cd "$ac_popdir"
52671 done
52672 fi
52673
52674
52675 echo
52676 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52677 echo ""
52678 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52679 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52680
52681 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52682 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52683 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52684
52685 echo " What level of wxWidgets compatibility should be enabled?"
52686 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52687 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52688
52689 echo " Which libraries should wxWidgets use?"
52690 echo " jpeg ${wxUSE_LIBJPEG-none}"
52691 echo " png ${wxUSE_LIBPNG-none}"
52692 echo " regex ${wxUSE_REGEX}"
52693 echo " tiff ${wxUSE_LIBTIFF-none}"
52694 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52695 echo " xpm ${wxUSE_LIBXPM-none}"
52696 fi
52697 echo " zlib ${wxUSE_ZLIB}"
52698 echo " odbc ${wxUSE_ODBC}"
52699 echo " expat ${wxUSE_EXPAT}"
52700 echo " libmspack ${wxUSE_LIBMSPACK}"
52701 echo " sdl ${wxUSE_LIBSDL}"
52702
52703 echo ""
52704