]> git.saurik.com Git - wxWidgets.git/blob - configure
a2279f16ce366cb2999b33ece7e346300a578026
[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}-richtext" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7544 no_cache=0
7545 # Check whether --enable-richtext or --disable-richtext was given.
7546 if test "${enable_richtext+set}" = set; then
7547 enableval="$enable_richtext"
7548
7549 if test "$enableval" = yes; then
7550 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7551 else
7552 ac_cv_use_richtext='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_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7565
7566 fi;
7567
7568 eval "$ac_cv_use_richtext"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_richtext >> ${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 else
11911 ac_ext=c
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916 if test -n "$ac_tool_prefix"; then
11917 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11918 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11919 echo "$as_me:$LINENO: checking for $ac_word" >&5
11920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11921 if test "${ac_cv_prog_CC+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else
11924 if test -n "$CC"; then
11925 ac_cv_prog_CC="$CC" # Let the user override the test.
11926 else
11927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11928 for as_dir in $PATH
11929 do
11930 IFS=$as_save_IFS
11931 test -z "$as_dir" && as_dir=.
11932 for ac_exec_ext in '' $ac_executable_extensions; do
11933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11934 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11936 break 2
11937 fi
11938 done
11939 done
11940
11941 fi
11942 fi
11943 CC=$ac_cv_prog_CC
11944 if test -n "$CC"; then
11945 echo "$as_me:$LINENO: result: $CC" >&5
11946 echo "${ECHO_T}$CC" >&6
11947 else
11948 echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6
11950 fi
11951
11952 fi
11953 if test -z "$ac_cv_prog_CC"; then
11954 ac_ct_CC=$CC
11955 # Extract the first word of "gcc", so it can be a program name with args.
11956 set dummy gcc; ac_word=$2
11957 echo "$as_me:$LINENO: checking for $ac_word" >&5
11958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 else
11962 if test -n "$ac_ct_CC"; then
11963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11964 else
11965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11966 for as_dir in $PATH
11967 do
11968 IFS=$as_save_IFS
11969 test -z "$as_dir" && as_dir=.
11970 for ac_exec_ext in '' $ac_executable_extensions; do
11971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11972 ac_cv_prog_ac_ct_CC="gcc"
11973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11974 break 2
11975 fi
11976 done
11977 done
11978
11979 fi
11980 fi
11981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11982 if test -n "$ac_ct_CC"; then
11983 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11984 echo "${ECHO_T}$ac_ct_CC" >&6
11985 else
11986 echo "$as_me:$LINENO: result: no" >&5
11987 echo "${ECHO_T}no" >&6
11988 fi
11989
11990 CC=$ac_ct_CC
11991 else
11992 CC="$ac_cv_prog_CC"
11993 fi
11994
11995 if test -z "$CC"; then
11996 if test -n "$ac_tool_prefix"; then
11997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11998 set dummy ${ac_tool_prefix}cc; ac_word=$2
11999 echo "$as_me:$LINENO: checking for $ac_word" >&5
12000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12001 if test "${ac_cv_prog_CC+set}" = set; then
12002 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 else
12004 if test -n "$CC"; then
12005 ac_cv_prog_CC="$CC" # Let the user override the test.
12006 else
12007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008 for as_dir in $PATH
12009 do
12010 IFS=$as_save_IFS
12011 test -z "$as_dir" && as_dir=.
12012 for ac_exec_ext in '' $ac_executable_extensions; do
12013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12014 ac_cv_prog_CC="${ac_tool_prefix}cc"
12015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12016 break 2
12017 fi
12018 done
12019 done
12020
12021 fi
12022 fi
12023 CC=$ac_cv_prog_CC
12024 if test -n "$CC"; then
12025 echo "$as_me:$LINENO: result: $CC" >&5
12026 echo "${ECHO_T}$CC" >&6
12027 else
12028 echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6
12030 fi
12031
12032 fi
12033 if test -z "$ac_cv_prog_CC"; then
12034 ac_ct_CC=$CC
12035 # Extract the first word of "cc", so it can be a program name with args.
12036 set dummy cc; ac_word=$2
12037 echo "$as_me:$LINENO: checking for $ac_word" >&5
12038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12039 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 if test -n "$ac_ct_CC"; then
12043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12044 else
12045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12046 for as_dir in $PATH
12047 do
12048 IFS=$as_save_IFS
12049 test -z "$as_dir" && as_dir=.
12050 for ac_exec_ext in '' $ac_executable_extensions; do
12051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12052 ac_cv_prog_ac_ct_CC="cc"
12053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 break 2
12055 fi
12056 done
12057 done
12058
12059 fi
12060 fi
12061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12062 if test -n "$ac_ct_CC"; then
12063 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12064 echo "${ECHO_T}$ac_ct_CC" >&6
12065 else
12066 echo "$as_me:$LINENO: result: no" >&5
12067 echo "${ECHO_T}no" >&6
12068 fi
12069
12070 CC=$ac_ct_CC
12071 else
12072 CC="$ac_cv_prog_CC"
12073 fi
12074
12075 fi
12076 if test -z "$CC"; then
12077 # Extract the first word of "cc", so it can be a program name with args.
12078 set dummy cc; ac_word=$2
12079 echo "$as_me:$LINENO: checking for $ac_word" >&5
12080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12081 if test "${ac_cv_prog_CC+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 else
12084 if test -n "$CC"; then
12085 ac_cv_prog_CC="$CC" # Let the user override the test.
12086 else
12087 ac_prog_rejected=no
12088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12089 for as_dir in $PATH
12090 do
12091 IFS=$as_save_IFS
12092 test -z "$as_dir" && as_dir=.
12093 for ac_exec_ext in '' $ac_executable_extensions; do
12094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12095 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12096 ac_prog_rejected=yes
12097 continue
12098 fi
12099 ac_cv_prog_CC="cc"
12100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12101 break 2
12102 fi
12103 done
12104 done
12105
12106 if test $ac_prog_rejected = yes; then
12107 # We found a bogon in the path, so make sure we never use it.
12108 set dummy $ac_cv_prog_CC
12109 shift
12110 if test $# != 0; then
12111 # We chose a different compiler from the bogus one.
12112 # However, it has the same basename, so the bogon will be chosen
12113 # first if we set CC to just the basename; use the full file name.
12114 shift
12115 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12116 fi
12117 fi
12118 fi
12119 fi
12120 CC=$ac_cv_prog_CC
12121 if test -n "$CC"; then
12122 echo "$as_me:$LINENO: result: $CC" >&5
12123 echo "${ECHO_T}$CC" >&6
12124 else
12125 echo "$as_me:$LINENO: result: no" >&5
12126 echo "${ECHO_T}no" >&6
12127 fi
12128
12129 fi
12130 if test -z "$CC"; then
12131 if test -n "$ac_tool_prefix"; then
12132 for ac_prog in cl
12133 do
12134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12135 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12136 echo "$as_me:$LINENO: checking for $ac_word" >&5
12137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12138 if test "${ac_cv_prog_CC+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12140 else
12141 if test -n "$CC"; then
12142 ac_cv_prog_CC="$CC" # Let the user override the test.
12143 else
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12146 do
12147 IFS=$as_save_IFS
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12153 break 2
12154 fi
12155 done
12156 done
12157
12158 fi
12159 fi
12160 CC=$ac_cv_prog_CC
12161 if test -n "$CC"; then
12162 echo "$as_me:$LINENO: result: $CC" >&5
12163 echo "${ECHO_T}$CC" >&6
12164 else
12165 echo "$as_me:$LINENO: result: no" >&5
12166 echo "${ECHO_T}no" >&6
12167 fi
12168
12169 test -n "$CC" && break
12170 done
12171 fi
12172 if test -z "$CC"; then
12173 ac_ct_CC=$CC
12174 for ac_prog in cl
12175 do
12176 # Extract the first word of "$ac_prog", so it can be a program name with args.
12177 set dummy $ac_prog; ac_word=$2
12178 echo "$as_me:$LINENO: checking for $ac_word" >&5
12179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12181 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 else
12183 if test -n "$ac_ct_CC"; then
12184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12185 else
12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12187 for as_dir in $PATH
12188 do
12189 IFS=$as_save_IFS
12190 test -z "$as_dir" && as_dir=.
12191 for ac_exec_ext in '' $ac_executable_extensions; do
12192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12193 ac_cv_prog_ac_ct_CC="$ac_prog"
12194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 break 2
12196 fi
12197 done
12198 done
12199
12200 fi
12201 fi
12202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12203 if test -n "$ac_ct_CC"; then
12204 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12205 echo "${ECHO_T}$ac_ct_CC" >&6
12206 else
12207 echo "$as_me:$LINENO: result: no" >&5
12208 echo "${ECHO_T}no" >&6
12209 fi
12210
12211 test -n "$ac_ct_CC" && break
12212 done
12213
12214 CC=$ac_ct_CC
12215 fi
12216
12217 fi
12218
12219
12220 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12221 See \`config.log' for more details." >&5
12222 echo "$as_me: error: no acceptable C compiler found in \$PATH
12223 See \`config.log' for more details." >&2;}
12224 { (exit 1); exit 1; }; }
12225
12226 # Provide some information about the compiler.
12227 echo "$as_me:$LINENO:" \
12228 "checking for C compiler version" >&5
12229 ac_compiler=`set X $ac_compile; echo $2`
12230 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12231 (eval $ac_compiler --version </dev/null >&5) 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }
12235 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12236 (eval $ac_compiler -v </dev/null >&5) 2>&5
12237 ac_status=$?
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }
12240 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12241 (eval $ac_compiler -V </dev/null >&5) 2>&5
12242 ac_status=$?
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }
12245
12246 cat >conftest.$ac_ext <<_ACEOF
12247 /* confdefs.h. */
12248 _ACEOF
12249 cat confdefs.h >>conftest.$ac_ext
12250 cat >>conftest.$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12252
12253 int
12254 main ()
12255 {
12256
12257 ;
12258 return 0;
12259 }
12260 _ACEOF
12261 ac_clean_files_save=$ac_clean_files
12262 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12263 # Try to create an executable without -o first, disregard a.out.
12264 # It will help us diagnose broken compilers, and finding out an intuition
12265 # of exeext.
12266 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12267 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12268 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12269 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12270 (eval $ac_link_default) 2>&5
12271 ac_status=$?
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; then
12274 # Find the output, starting from the most likely. This scheme is
12275 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12276 # resort.
12277
12278 # Be careful to initialize this variable, since it used to be cached.
12279 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12280 ac_cv_exeext=
12281 # b.out is created by i960 compilers.
12282 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12283 do
12284 test -f "$ac_file" || continue
12285 case $ac_file in
12286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12287 ;;
12288 conftest.$ac_ext )
12289 # This is the source file.
12290 ;;
12291 [ab].out )
12292 # We found the default executable, but exeext='' is most
12293 # certainly right.
12294 break;;
12295 *.* )
12296 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12297 # FIXME: I believe we export ac_cv_exeext for Libtool,
12298 # but it would be cool to find out if it's true. Does anybody
12299 # maintain Libtool? --akim.
12300 export ac_cv_exeext
12301 break;;
12302 * )
12303 break;;
12304 esac
12305 done
12306 else
12307 echo "$as_me: failed program was:" >&5
12308 sed 's/^/| /' conftest.$ac_ext >&5
12309
12310 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12311 See \`config.log' for more details." >&5
12312 echo "$as_me: error: C compiler cannot create executables
12313 See \`config.log' for more details." >&2;}
12314 { (exit 77); exit 77; }; }
12315 fi
12316
12317 ac_exeext=$ac_cv_exeext
12318 echo "$as_me:$LINENO: result: $ac_file" >&5
12319 echo "${ECHO_T}$ac_file" >&6
12320
12321 # Check the compiler produces executables we can run. If not, either
12322 # the compiler is broken, or we cross compile.
12323 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12324 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12325 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12326 # If not cross compiling, check that we can run a simple program.
12327 if test "$cross_compiling" != yes; then
12328 if { ac_try='./$ac_file'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12334 cross_compiling=no
12335 else
12336 if test "$cross_compiling" = maybe; then
12337 cross_compiling=yes
12338 else
12339 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12340 If you meant to cross compile, use \`--host'.
12341 See \`config.log' for more details." >&5
12342 echo "$as_me: error: cannot run C compiled programs.
12343 If you meant to cross compile, use \`--host'.
12344 See \`config.log' for more details." >&2;}
12345 { (exit 1); exit 1; }; }
12346 fi
12347 fi
12348 fi
12349 echo "$as_me:$LINENO: result: yes" >&5
12350 echo "${ECHO_T}yes" >&6
12351
12352 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12353 ac_clean_files=$ac_clean_files_save
12354 # Check the compiler produces executables we can run. If not, either
12355 # the compiler is broken, or we cross compile.
12356 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12357 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12358 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12359 echo "${ECHO_T}$cross_compiling" >&6
12360
12361 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12362 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12364 (eval $ac_link) 2>&5
12365 ac_status=$?
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; then
12368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12370 # work properly (i.e., refer to `conftest.exe'), while it won't with
12371 # `rm'.
12372 for ac_file in conftest.exe conftest conftest.*; do
12373 test -f "$ac_file" || continue
12374 case $ac_file in
12375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12376 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12377 export ac_cv_exeext
12378 break;;
12379 * ) break;;
12380 esac
12381 done
12382 else
12383 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12384 See \`config.log' for more details." >&5
12385 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12386 See \`config.log' for more details." >&2;}
12387 { (exit 1); exit 1; }; }
12388 fi
12389
12390 rm -f conftest$ac_cv_exeext
12391 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12392 echo "${ECHO_T}$ac_cv_exeext" >&6
12393
12394 rm -f conftest.$ac_ext
12395 EXEEXT=$ac_cv_exeext
12396 ac_exeext=$EXEEXT
12397 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12398 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12399 if test "${ac_cv_objext+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12401 else
12402 cat >conftest.$ac_ext <<_ACEOF
12403 /* confdefs.h. */
12404 _ACEOF
12405 cat confdefs.h >>conftest.$ac_ext
12406 cat >>conftest.$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408
12409 int
12410 main ()
12411 {
12412
12413 ;
12414 return 0;
12415 }
12416 _ACEOF
12417 rm -f conftest.o conftest.obj
12418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12419 (eval $ac_compile) 2>&5
12420 ac_status=$?
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; then
12423 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12424 case $ac_file in
12425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12426 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12427 break;;
12428 esac
12429 done
12430 else
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12433
12434 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12435 See \`config.log' for more details." >&5
12436 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12437 See \`config.log' for more details." >&2;}
12438 { (exit 1); exit 1; }; }
12439 fi
12440
12441 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12442 fi
12443 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12444 echo "${ECHO_T}$ac_cv_objext" >&6
12445 OBJEXT=$ac_cv_objext
12446 ac_objext=$OBJEXT
12447 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12448 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12449 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 else
12452 cat >conftest.$ac_ext <<_ACEOF
12453 /* confdefs.h. */
12454 _ACEOF
12455 cat confdefs.h >>conftest.$ac_ext
12456 cat >>conftest.$ac_ext <<_ACEOF
12457 /* end confdefs.h. */
12458
12459 int
12460 main ()
12461 {
12462 #ifndef __GNUC__
12463 choke me
12464 #endif
12465
12466 ;
12467 return 0;
12468 }
12469 _ACEOF
12470 rm -f conftest.$ac_objext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>conftest.er1
12473 ac_status=$?
12474 grep -v '^ *+' conftest.er1 >conftest.err
12475 rm -f conftest.er1
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try='test -s conftest.$ac_objext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12488 ac_status=$?
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_compiler_gnu=yes
12492 else
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12495
12496 ac_compiler_gnu=no
12497 fi
12498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12500
12501 fi
12502 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12503 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12504 GCC=`test $ac_compiler_gnu = yes && echo yes`
12505 ac_test_CFLAGS=${CFLAGS+set}
12506 ac_save_CFLAGS=$CFLAGS
12507 CFLAGS="-g"
12508 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12509 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12510 if test "${ac_cv_prog_cc_g+set}" = set; then
12511 echo $ECHO_N "(cached) $ECHO_C" >&6
12512 else
12513 cat >conftest.$ac_ext <<_ACEOF
12514 /* confdefs.h. */
12515 _ACEOF
12516 cat confdefs.h >>conftest.$ac_ext
12517 cat >>conftest.$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12519
12520 int
12521 main ()
12522 {
12523
12524 ;
12525 return 0;
12526 }
12527 _ACEOF
12528 rm -f conftest.$ac_objext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12530 (eval $ac_compile) 2>conftest.er1
12531 ac_status=$?
12532 grep -v '^ *+' conftest.er1 >conftest.err
12533 rm -f conftest.er1
12534 cat conftest.err >&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12540 ac_status=$?
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try='test -s conftest.$ac_objext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12546 ac_status=$?
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_cv_prog_cc_g=yes
12550 else
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.$ac_ext >&5
12553
12554 ac_cv_prog_cc_g=no
12555 fi
12556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12559 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12560 if test "$ac_test_CFLAGS" = set; then
12561 CFLAGS=$ac_save_CFLAGS
12562 elif test $ac_cv_prog_cc_g = yes; then
12563 if test "$GCC" = yes; then
12564 CFLAGS="-g -O2"
12565 else
12566 CFLAGS="-g"
12567 fi
12568 else
12569 if test "$GCC" = yes; then
12570 CFLAGS="-O2"
12571 else
12572 CFLAGS=
12573 fi
12574 fi
12575 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12576 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12577 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 else
12580 ac_cv_prog_cc_stdc=no
12581 ac_save_CC=$CC
12582 cat >conftest.$ac_ext <<_ACEOF
12583 /* confdefs.h. */
12584 _ACEOF
12585 cat confdefs.h >>conftest.$ac_ext
12586 cat >>conftest.$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12588 #include <stdarg.h>
12589 #include <stdio.h>
12590 #include <sys/types.h>
12591 #include <sys/stat.h>
12592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12593 struct buf { int x; };
12594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12595 static char *e (p, i)
12596 char **p;
12597 int i;
12598 {
12599 return p[i];
12600 }
12601 static char *f (char * (*g) (char **, int), char **p, ...)
12602 {
12603 char *s;
12604 va_list v;
12605 va_start (v,p);
12606 s = g (p, va_arg (v,int));
12607 va_end (v);
12608 return s;
12609 }
12610
12611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12612 function prototypes and stuff, but not '\xHH' hex character constants.
12613 These don't provoke an error unfortunately, instead are silently treated
12614 as 'x'. The following induces an error, until -std1 is added to get
12615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12616 array size at least. It's necessary to write '\x00'==0 to get something
12617 that's true only with -std1. */
12618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12619
12620 int test (int i, double x);
12621 struct s1 {int (*f) (int a);};
12622 struct s2 {int (*f) (double a);};
12623 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12624 int argc;
12625 char **argv;
12626 int
12627 main ()
12628 {
12629 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12630 ;
12631 return 0;
12632 }
12633 _ACEOF
12634 # Don't try gcc -ansi; that turns off useful extensions and
12635 # breaks some systems' header files.
12636 # AIX -qlanglvl=ansi
12637 # Ultrix and OSF/1 -std1
12638 # HP-UX 10.20 and later -Ae
12639 # HP-UX older versions -Aa -D_HPUX_SOURCE
12640 # SVR4 -Xc -D__EXTENSIONS__
12641 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12642 do
12643 CC="$ac_save_CC $ac_arg"
12644 rm -f conftest.$ac_objext
12645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12646 (eval $ac_compile) 2>conftest.er1
12647 ac_status=$?
12648 grep -v '^ *+' conftest.er1 >conftest.err
12649 rm -f conftest.er1
12650 cat conftest.err >&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } &&
12653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12656 ac_status=$?
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; } &&
12659 { ac_try='test -s conftest.$ac_objext'
12660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 (eval $ac_try) 2>&5
12662 ac_status=$?
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 ac_cv_prog_cc_stdc=$ac_arg
12666 break
12667 else
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.$ac_ext >&5
12670
12671 fi
12672 rm -f conftest.err conftest.$ac_objext
12673 done
12674 rm -f conftest.$ac_ext conftest.$ac_objext
12675 CC=$ac_save_CC
12676
12677 fi
12678
12679 case "x$ac_cv_prog_cc_stdc" in
12680 x|xno)
12681 echo "$as_me:$LINENO: result: none needed" >&5
12682 echo "${ECHO_T}none needed" >&6 ;;
12683 *)
12684 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12685 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12686 CC="$CC $ac_cv_prog_cc_stdc" ;;
12687 esac
12688
12689 # Some people use a C++ compiler to compile C. Since we use `exit',
12690 # in C++ we need to declare it. In case someone uses the same compiler
12691 # for both compiling C and C++ we need to have the C++ compiler decide
12692 # the declaration of exit, since it's the most demanding environment.
12693 cat >conftest.$ac_ext <<_ACEOF
12694 #ifndef __cplusplus
12695 choke me
12696 #endif
12697 _ACEOF
12698 rm -f conftest.$ac_objext
12699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12700 (eval $ac_compile) 2>conftest.er1
12701 ac_status=$?
12702 grep -v '^ *+' conftest.er1 >conftest.err
12703 rm -f conftest.er1
12704 cat conftest.err >&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } &&
12707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12710 ac_status=$?
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; } &&
12713 { ac_try='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12716 ac_status=$?
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 for ac_declaration in \
12720 '' \
12721 'extern "C" void std::exit (int) throw (); using std::exit;' \
12722 'extern "C" void std::exit (int); using std::exit;' \
12723 'extern "C" void exit (int) throw ();' \
12724 'extern "C" void exit (int);' \
12725 'void exit (int);'
12726 do
12727 cat >conftest.$ac_ext <<_ACEOF
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 $ac_declaration
12734 #include <stdlib.h>
12735 int
12736 main ()
12737 {
12738 exit (42);
12739 ;
12740 return 0;
12741 }
12742 _ACEOF
12743 rm -f conftest.$ac_objext
12744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12745 (eval $ac_compile) 2>conftest.er1
12746 ac_status=$?
12747 grep -v '^ *+' conftest.er1 >conftest.err
12748 rm -f conftest.er1
12749 cat conftest.err >&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } &&
12752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 :
12765 else
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.$ac_ext >&5
12768
12769 continue
12770 fi
12771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12772 cat >conftest.$ac_ext <<_ACEOF
12773 /* confdefs.h. */
12774 _ACEOF
12775 cat confdefs.h >>conftest.$ac_ext
12776 cat >>conftest.$ac_ext <<_ACEOF
12777 /* end confdefs.h. */
12778 $ac_declaration
12779 int
12780 main ()
12781 {
12782 exit (42);
12783 ;
12784 return 0;
12785 }
12786 _ACEOF
12787 rm -f conftest.$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>conftest.er1
12790 ac_status=$?
12791 grep -v '^ *+' conftest.er1 >conftest.err
12792 rm -f conftest.er1
12793 cat conftest.err >&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12799 ac_status=$?
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; } &&
12802 { ac_try='test -s conftest.$ac_objext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12808 break
12809 else
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.$ac_ext >&5
12812
12813 fi
12814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12815 done
12816 rm -f conftest*
12817 if test -n "$ac_declaration"; then
12818 echo '#ifdef __cplusplus' >>confdefs.h
12819 echo $ac_declaration >>confdefs.h
12820 echo '#endif' >>confdefs.h
12821 fi
12822
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12826
12827 fi
12828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12829 ac_ext=c
12830 ac_cpp='$CPP $CPPFLAGS'
12831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12834
12835
12836 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
12837 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
12838 if test "${wx_cv_nocygwin+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 else
12841
12842 cat >conftest.$ac_ext <<_ACEOF
12843 /* confdefs.h. */
12844 _ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848
12849 int
12850 main ()
12851 {
12852
12853 #ifdef __MINGW32__
12854 choke me
12855 #endif
12856
12857 ;
12858 return 0;
12859 }
12860 _ACEOF
12861 rm -f conftest.$ac_objext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>conftest.er1
12864 ac_status=$?
12865 grep -v '^ *+' conftest.er1 >conftest.err
12866 rm -f conftest.er1
12867 cat conftest.err >&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } &&
12870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12872 (eval $ac_try) 2>&5
12873 ac_status=$?
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); }; } &&
12876 { ac_try='test -s conftest.$ac_objext'
12877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12878 (eval $ac_try) 2>&5
12879 ac_status=$?
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); }; }; then
12882 wx_cv_nocygwin=no
12883 else
12884 echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.$ac_ext >&5
12886
12887 wx_cv_nocygwin=yes
12888
12889 fi
12890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12891
12892
12893 fi
12894 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
12895 echo "${ECHO_T}$wx_cv_nocygwin" >&6
12896
12897 if test "$wx_cv_nocygwin" = "yes"; then
12898 wants_win32=1
12899 else
12900 doesnt_want_win32=1
12901 fi
12902 fi
12903 if test "$wants_win32" = 1 ; then
12904 BAKEFILE_FORCE_PLATFORM=win32
12905 fi
12906 ;;
12907 *-*-mingw*)
12908 wants_win32=1
12909 ;;
12910 esac
12911
12912 if test "$wxUSE_WINE" = "yes"; then
12913 wants_win32=1
12914 CC=winegcc
12915 CXX=wineg++
12916 LDFLAGS_GUI="-mwindows"
12917 fi
12918
12919 if test "$wants_win32" = 1 ; then
12920 USE_UNIX=0
12921 USE_WIN32=1
12922 cat >>confdefs.h <<\_ACEOF
12923 #define __WIN32__ 1
12924 _ACEOF
12925
12926 cat >>confdefs.h <<\_ACEOF
12927 #define __WIN95__ 1
12928 _ACEOF
12929
12930 cat >>confdefs.h <<\_ACEOF
12931 #define __WINDOWS__ 1
12932 _ACEOF
12933
12934 cat >>confdefs.h <<\_ACEOF
12935 #define __GNUWIN32__ 1
12936 _ACEOF
12937
12938 cat >>confdefs.h <<\_ACEOF
12939 #define STRICT 1
12940 _ACEOF
12941
12942 fi
12943 if test "$doesnt_want_win32" = 1 ; then
12944 USE_UNIX=1
12945 USE_WIN32=0
12946 fi
12947
12948 if test "$USE_UNIX" = 1 ; then
12949 wxUSE_UNIX=yes
12950 cat >>confdefs.h <<\_ACEOF
12951 #define __UNIX__ 1
12952 _ACEOF
12953
12954 fi
12955
12956
12957 cat >confcache <<\_ACEOF
12958 # This file is a shell script that caches the results of configure
12959 # tests run on this system so they can be shared between configure
12960 # scripts and configure runs, see configure's option --config-cache.
12961 # It is not useful on other systems. If it contains results you don't
12962 # want to keep, you may remove or edit it.
12963 #
12964 # config.status only pays attention to the cache file if you give it
12965 # the --recheck option to rerun configure.
12966 #
12967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12969 # following values.
12970
12971 _ACEOF
12972
12973 # The following way of writing the cache mishandles newlines in values,
12974 # but we know of no workaround that is simple, portable, and efficient.
12975 # So, don't put newlines in cache variables' values.
12976 # Ultrix sh set writes to stderr and can't be redirected directly,
12977 # and sets the high bit in the cache file unless we assign to the vars.
12978 {
12979 (set) 2>&1 |
12980 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12981 *ac_space=\ *)
12982 # `set' does not quote correctly, so add quotes (double-quote
12983 # substitution turns \\\\ into \\, and sed turns \\ into \).
12984 sed -n \
12985 "s/'/'\\\\''/g;
12986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12987 ;;
12988 *)
12989 # `set' quotes correctly as required by POSIX, so do not add quotes.
12990 sed -n \
12991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12992 ;;
12993 esac;
12994 } |
12995 sed '
12996 t clear
12997 : clear
12998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12999 t end
13000 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13001 : end' >>confcache
13002 if diff $cache_file confcache >/dev/null 2>&1; then :; else
13003 if test -w $cache_file; then
13004 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13005 cat confcache >$cache_file
13006 else
13007 echo "not updating unwritable cache $cache_file"
13008 fi
13009 fi
13010 rm -f confcache
13011
13012 CFLAGS=${CFLAGS:=}
13013
13014
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 if test -n "$ac_tool_prefix"; then
13021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13022 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13023 echo "$as_me:$LINENO: checking for $ac_word" >&5
13024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13025 if test "${ac_cv_prog_CC+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 else
13028 if test -n "$CC"; then
13029 ac_cv_prog_CC="$CC" # Let the user override the test.
13030 else
13031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13032 for as_dir in $PATH
13033 do
13034 IFS=$as_save_IFS
13035 test -z "$as_dir" && as_dir=.
13036 for ac_exec_ext in '' $ac_executable_extensions; do
13037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13038 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13040 break 2
13041 fi
13042 done
13043 done
13044
13045 fi
13046 fi
13047 CC=$ac_cv_prog_CC
13048 if test -n "$CC"; then
13049 echo "$as_me:$LINENO: result: $CC" >&5
13050 echo "${ECHO_T}$CC" >&6
13051 else
13052 echo "$as_me:$LINENO: result: no" >&5
13053 echo "${ECHO_T}no" >&6
13054 fi
13055
13056 fi
13057 if test -z "$ac_cv_prog_CC"; then
13058 ac_ct_CC=$CC
13059 # Extract the first word of "gcc", so it can be a program name with args.
13060 set dummy gcc; ac_word=$2
13061 echo "$as_me:$LINENO: checking for $ac_word" >&5
13062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13064 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 else
13066 if test -n "$ac_ct_CC"; then
13067 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13068 else
13069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13070 for as_dir in $PATH
13071 do
13072 IFS=$as_save_IFS
13073 test -z "$as_dir" && as_dir=.
13074 for ac_exec_ext in '' $ac_executable_extensions; do
13075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13076 ac_cv_prog_ac_ct_CC="gcc"
13077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13078 break 2
13079 fi
13080 done
13081 done
13082
13083 fi
13084 fi
13085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13086 if test -n "$ac_ct_CC"; then
13087 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13088 echo "${ECHO_T}$ac_ct_CC" >&6
13089 else
13090 echo "$as_me:$LINENO: result: no" >&5
13091 echo "${ECHO_T}no" >&6
13092 fi
13093
13094 CC=$ac_ct_CC
13095 else
13096 CC="$ac_cv_prog_CC"
13097 fi
13098
13099 if test -z "$CC"; then
13100 if test -n "$ac_tool_prefix"; then
13101 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13102 set dummy ${ac_tool_prefix}cc; ac_word=$2
13103 echo "$as_me:$LINENO: checking for $ac_word" >&5
13104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13105 if test "${ac_cv_prog_CC+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 else
13108 if test -n "$CC"; then
13109 ac_cv_prog_CC="$CC" # Let the user override the test.
13110 else
13111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13112 for as_dir in $PATH
13113 do
13114 IFS=$as_save_IFS
13115 test -z "$as_dir" && as_dir=.
13116 for ac_exec_ext in '' $ac_executable_extensions; do
13117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13118 ac_cv_prog_CC="${ac_tool_prefix}cc"
13119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13120 break 2
13121 fi
13122 done
13123 done
13124
13125 fi
13126 fi
13127 CC=$ac_cv_prog_CC
13128 if test -n "$CC"; then
13129 echo "$as_me:$LINENO: result: $CC" >&5
13130 echo "${ECHO_T}$CC" >&6
13131 else
13132 echo "$as_me:$LINENO: result: no" >&5
13133 echo "${ECHO_T}no" >&6
13134 fi
13135
13136 fi
13137 if test -z "$ac_cv_prog_CC"; then
13138 ac_ct_CC=$CC
13139 # Extract the first word of "cc", so it can be a program name with args.
13140 set dummy cc; ac_word=$2
13141 echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 else
13146 if test -n "$ac_ct_CC"; then
13147 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13148 else
13149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13150 for as_dir in $PATH
13151 do
13152 IFS=$as_save_IFS
13153 test -z "$as_dir" && as_dir=.
13154 for ac_exec_ext in '' $ac_executable_extensions; do
13155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13156 ac_cv_prog_ac_ct_CC="cc"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13158 break 2
13159 fi
13160 done
13161 done
13162
13163 fi
13164 fi
13165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13166 if test -n "$ac_ct_CC"; then
13167 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13168 echo "${ECHO_T}$ac_ct_CC" >&6
13169 else
13170 echo "$as_me:$LINENO: result: no" >&5
13171 echo "${ECHO_T}no" >&6
13172 fi
13173
13174 CC=$ac_ct_CC
13175 else
13176 CC="$ac_cv_prog_CC"
13177 fi
13178
13179 fi
13180 if test -z "$CC"; then
13181 # Extract the first word of "cc", so it can be a program name with args.
13182 set dummy cc; ac_word=$2
13183 echo "$as_me:$LINENO: checking for $ac_word" >&5
13184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13185 if test "${ac_cv_prog_CC+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 else
13188 if test -n "$CC"; then
13189 ac_cv_prog_CC="$CC" # Let the user override the test.
13190 else
13191 ac_prog_rejected=no
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $PATH
13194 do
13195 IFS=$as_save_IFS
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13200 ac_prog_rejected=yes
13201 continue
13202 fi
13203 ac_cv_prog_CC="cc"
13204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13205 break 2
13206 fi
13207 done
13208 done
13209
13210 if test $ac_prog_rejected = yes; then
13211 # We found a bogon in the path, so make sure we never use it.
13212 set dummy $ac_cv_prog_CC
13213 shift
13214 if test $# != 0; then
13215 # We chose a different compiler from the bogus one.
13216 # However, it has the same basename, so the bogon will be chosen
13217 # first if we set CC to just the basename; use the full file name.
13218 shift
13219 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13220 fi
13221 fi
13222 fi
13223 fi
13224 CC=$ac_cv_prog_CC
13225 if test -n "$CC"; then
13226 echo "$as_me:$LINENO: result: $CC" >&5
13227 echo "${ECHO_T}$CC" >&6
13228 else
13229 echo "$as_me:$LINENO: result: no" >&5
13230 echo "${ECHO_T}no" >&6
13231 fi
13232
13233 fi
13234 if test -z "$CC"; then
13235 if test -n "$ac_tool_prefix"; then
13236 for ac_prog in cl
13237 do
13238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13240 echo "$as_me:$LINENO: checking for $ac_word" >&5
13241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13242 if test "${ac_cv_prog_CC+set}" = set; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13244 else
13245 if test -n "$CC"; then
13246 ac_cv_prog_CC="$CC" # Let the user override the test.
13247 else
13248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13249 for as_dir in $PATH
13250 do
13251 IFS=$as_save_IFS
13252 test -z "$as_dir" && as_dir=.
13253 for ac_exec_ext in '' $ac_executable_extensions; do
13254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13255 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13257 break 2
13258 fi
13259 done
13260 done
13261
13262 fi
13263 fi
13264 CC=$ac_cv_prog_CC
13265 if test -n "$CC"; then
13266 echo "$as_me:$LINENO: result: $CC" >&5
13267 echo "${ECHO_T}$CC" >&6
13268 else
13269 echo "$as_me:$LINENO: result: no" >&5
13270 echo "${ECHO_T}no" >&6
13271 fi
13272
13273 test -n "$CC" && break
13274 done
13275 fi
13276 if test -z "$CC"; then
13277 ac_ct_CC=$CC
13278 for ac_prog in cl
13279 do
13280 # Extract the first word of "$ac_prog", so it can be a program name with args.
13281 set dummy $ac_prog; ac_word=$2
13282 echo "$as_me:$LINENO: checking for $ac_word" >&5
13283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13287 if test -n "$ac_ct_CC"; then
13288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13289 else
13290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13291 for as_dir in $PATH
13292 do
13293 IFS=$as_save_IFS
13294 test -z "$as_dir" && as_dir=.
13295 for ac_exec_ext in '' $ac_executable_extensions; do
13296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13297 ac_cv_prog_ac_ct_CC="$ac_prog"
13298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13299 break 2
13300 fi
13301 done
13302 done
13303
13304 fi
13305 fi
13306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13307 if test -n "$ac_ct_CC"; then
13308 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13309 echo "${ECHO_T}$ac_ct_CC" >&6
13310 else
13311 echo "$as_me:$LINENO: result: no" >&5
13312 echo "${ECHO_T}no" >&6
13313 fi
13314
13315 test -n "$ac_ct_CC" && break
13316 done
13317
13318 CC=$ac_ct_CC
13319 fi
13320
13321 fi
13322
13323
13324 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13325 See \`config.log' for more details." >&5
13326 echo "$as_me: error: no acceptable C compiler found in \$PATH
13327 See \`config.log' for more details." >&2;}
13328 { (exit 1); exit 1; }; }
13329
13330 # Provide some information about the compiler.
13331 echo "$as_me:$LINENO:" \
13332 "checking for C compiler version" >&5
13333 ac_compiler=`set X $ac_compile; echo $2`
13334 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13335 (eval $ac_compiler --version </dev/null >&5) 2>&5
13336 ac_status=$?
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }
13339 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13340 (eval $ac_compiler -v </dev/null >&5) 2>&5
13341 ac_status=$?
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }
13344 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13345 (eval $ac_compiler -V </dev/null >&5) 2>&5
13346 ac_status=$?
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }
13349
13350 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13351 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
13352 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361
13362 int
13363 main ()
13364 {
13365 #ifndef __GNUC__
13366 choke me
13367 #endif
13368
13369 ;
13370 return 0;
13371 }
13372 _ACEOF
13373 rm -f conftest.$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13376 ac_status=$?
13377 grep -v '^ *+' conftest.er1 >conftest.err
13378 rm -f conftest.er1
13379 cat conftest.err >&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try='test -s conftest.$ac_objext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 ac_compiler_gnu=yes
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13398
13399 ac_compiler_gnu=no
13400 fi
13401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13402 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13403
13404 fi
13405 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13406 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
13407 GCC=`test $ac_compiler_gnu = yes && echo yes`
13408 ac_test_CFLAGS=${CFLAGS+set}
13409 ac_save_CFLAGS=$CFLAGS
13410 CFLAGS="-g"
13411 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13412 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13413 if test "${ac_cv_prog_cc_g+set}" = set; then
13414 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 else
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h. */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13422
13423 int
13424 main ()
13425 {
13426
13427 ;
13428 return 0;
13429 }
13430 _ACEOF
13431 rm -f conftest.$ac_objext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13433 (eval $ac_compile) 2>conftest.er1
13434 ac_status=$?
13435 grep -v '^ *+' conftest.er1 >conftest.err
13436 rm -f conftest.er1
13437 cat conftest.err >&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } &&
13440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13443 ac_status=$?
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; } &&
13446 { ac_try='test -s conftest.$ac_objext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_cv_prog_cc_g=yes
13453 else
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13456
13457 ac_cv_prog_cc_g=no
13458 fi
13459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13460 fi
13461 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13462 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13463 if test "$ac_test_CFLAGS" = set; then
13464 CFLAGS=$ac_save_CFLAGS
13465 elif test $ac_cv_prog_cc_g = yes; then
13466 if test "$GCC" = yes; then
13467 CFLAGS="-g -O2"
13468 else
13469 CFLAGS="-g"
13470 fi
13471 else
13472 if test "$GCC" = yes; then
13473 CFLAGS="-O2"
13474 else
13475 CFLAGS=
13476 fi
13477 fi
13478 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
13479 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
13480 if test "${ac_cv_prog_cc_stdc+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 else
13483 ac_cv_prog_cc_stdc=no
13484 ac_save_CC=$CC
13485 cat >conftest.$ac_ext <<_ACEOF
13486 /* confdefs.h. */
13487 _ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 #include <stdarg.h>
13492 #include <stdio.h>
13493 #include <sys/types.h>
13494 #include <sys/stat.h>
13495 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13496 struct buf { int x; };
13497 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13498 static char *e (p, i)
13499 char **p;
13500 int i;
13501 {
13502 return p[i];
13503 }
13504 static char *f (char * (*g) (char **, int), char **p, ...)
13505 {
13506 char *s;
13507 va_list v;
13508 va_start (v,p);
13509 s = g (p, va_arg (v,int));
13510 va_end (v);
13511 return s;
13512 }
13513
13514 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13515 function prototypes and stuff, but not '\xHH' hex character constants.
13516 These don't provoke an error unfortunately, instead are silently treated
13517 as 'x'. The following induces an error, until -std1 is added to get
13518 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13519 array size at least. It's necessary to write '\x00'==0 to get something
13520 that's true only with -std1. */
13521 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13522
13523 int test (int i, double x);
13524 struct s1 {int (*f) (int a);};
13525 struct s2 {int (*f) (double a);};
13526 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13527 int argc;
13528 char **argv;
13529 int
13530 main ()
13531 {
13532 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13533 ;
13534 return 0;
13535 }
13536 _ACEOF
13537 # Don't try gcc -ansi; that turns off useful extensions and
13538 # breaks some systems' header files.
13539 # AIX -qlanglvl=ansi
13540 # Ultrix and OSF/1 -std1
13541 # HP-UX 10.20 and later -Ae
13542 # HP-UX older versions -Aa -D_HPUX_SOURCE
13543 # SVR4 -Xc -D__EXTENSIONS__
13544 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13545 do
13546 CC="$ac_save_CC $ac_arg"
13547 rm -f conftest.$ac_objext
13548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13549 (eval $ac_compile) 2>conftest.er1
13550 ac_status=$?
13551 grep -v '^ *+' conftest.er1 >conftest.err
13552 rm -f conftest.er1
13553 cat conftest.err >&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } &&
13556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13559 ac_status=$?
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; } &&
13562 { ac_try='test -s conftest.$ac_objext'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13565 ac_status=$?
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; }; then
13568 ac_cv_prog_cc_stdc=$ac_arg
13569 break
13570 else
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.$ac_ext >&5
13573
13574 fi
13575 rm -f conftest.err conftest.$ac_objext
13576 done
13577 rm -f conftest.$ac_ext conftest.$ac_objext
13578 CC=$ac_save_CC
13579
13580 fi
13581
13582 case "x$ac_cv_prog_cc_stdc" in
13583 x|xno)
13584 echo "$as_me:$LINENO: result: none needed" >&5
13585 echo "${ECHO_T}none needed" >&6 ;;
13586 *)
13587 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13588 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13589 CC="$CC $ac_cv_prog_cc_stdc" ;;
13590 esac
13591
13592 # Some people use a C++ compiler to compile C. Since we use `exit',
13593 # in C++ we need to declare it. In case someone uses the same compiler
13594 # for both compiling C and C++ we need to have the C++ compiler decide
13595 # the declaration of exit, since it's the most demanding environment.
13596 cat >conftest.$ac_ext <<_ACEOF
13597 #ifndef __cplusplus
13598 choke me
13599 #endif
13600 _ACEOF
13601 rm -f conftest.$ac_objext
13602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13603 (eval $ac_compile) 2>conftest.er1
13604 ac_status=$?
13605 grep -v '^ *+' conftest.er1 >conftest.err
13606 rm -f conftest.er1
13607 cat conftest.err >&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } &&
13610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; } &&
13616 { ac_try='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13619 ac_status=$?
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 for ac_declaration in \
13623 '' \
13624 'extern "C" void std::exit (int) throw (); using std::exit;' \
13625 'extern "C" void std::exit (int); using std::exit;' \
13626 'extern "C" void exit (int) throw ();' \
13627 'extern "C" void exit (int);' \
13628 'void exit (int);'
13629 do
13630 cat >conftest.$ac_ext <<_ACEOF
13631 /* confdefs.h. */
13632 _ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 $ac_declaration
13637 #include <stdlib.h>
13638 int
13639 main ()
13640 {
13641 exit (42);
13642 ;
13643 return 0;
13644 }
13645 _ACEOF
13646 rm -f conftest.$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>conftest.er1
13649 ac_status=$?
13650 grep -v '^ *+' conftest.er1 >conftest.err
13651 rm -f conftest.er1
13652 cat conftest.err >&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13658 ac_status=$?
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; } &&
13661 { ac_try='test -s conftest.$ac_objext'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13664 ac_status=$?
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then
13667 :
13668 else
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13671
13672 continue
13673 fi
13674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13675 cat >conftest.$ac_ext <<_ACEOF
13676 /* confdefs.h. */
13677 _ACEOF
13678 cat confdefs.h >>conftest.$ac_ext
13679 cat >>conftest.$ac_ext <<_ACEOF
13680 /* end confdefs.h. */
13681 $ac_declaration
13682 int
13683 main ()
13684 {
13685 exit (42);
13686 ;
13687 return 0;
13688 }
13689 _ACEOF
13690 rm -f conftest.$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>conftest.er1
13693 ac_status=$?
13694 grep -v '^ *+' conftest.er1 >conftest.err
13695 rm -f conftest.er1
13696 cat conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } &&
13699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13702 ac_status=$?
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; } &&
13705 { ac_try='test -s conftest.$ac_objext'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13708 ac_status=$?
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; }; then
13711 break
13712 else
13713 echo "$as_me: failed program was:" >&5
13714 sed 's/^/| /' conftest.$ac_ext >&5
13715
13716 fi
13717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13718 done
13719 rm -f conftest*
13720 if test -n "$ac_declaration"; then
13721 echo '#ifdef __cplusplus' >>confdefs.h
13722 echo $ac_declaration >>confdefs.h
13723 echo '#endif' >>confdefs.h
13724 fi
13725
13726 else
13727 echo "$as_me: failed program was:" >&5
13728 sed 's/^/| /' conftest.$ac_ext >&5
13729
13730 fi
13731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13732 ac_ext=c
13733 ac_cpp='$CPP $CPPFLAGS'
13734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13737
13738
13739
13740 ac_ext=c
13741 ac_cpp='$CPP $CPPFLAGS'
13742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13745
13746 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13747 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13748 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 else
13751 cat >conftest.$ac_ext <<_ACEOF
13752 /* confdefs.h. */
13753 _ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757
13758 int
13759 main ()
13760 {
13761
13762 #ifndef __INTEL_COMPILER
13763 choke me
13764 #endif
13765
13766 ;
13767 return 0;
13768 }
13769 _ACEOF
13770 rm -f conftest.$ac_objext
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>conftest.er1
13773 ac_status=$?
13774 grep -v '^ *+' conftest.er1 >conftest.err
13775 rm -f conftest.er1
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); } &&
13779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13782 ac_status=$?
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; } &&
13785 { ac_try='test -s conftest.$ac_objext'
13786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13787 (eval $ac_try) 2>&5
13788 ac_status=$?
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); }; }; then
13791 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13792 else
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.$ac_ext >&5
13795
13796 bakefile_cv_c_compiler___INTEL_COMPILER=no
13797
13798 fi
13799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13800
13801
13802 fi
13803 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13804 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13805 ac_ext=c
13806 ac_cpp='$CPP $CPPFLAGS'
13807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13810
13811 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13812 :; INTELCC=yes
13813 else
13814 :;
13815 fi
13816
13817
13818 if test "x$GCC" != "xyes"; then
13819 if test "xCC" = "xC"; then
13820 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13821 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13822 if test "${bakefile_cv_c_exto+set}" = set; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 else
13825 cat >conftest.$ac_ext <<_ACEOF
13826 /* confdefs.h. */
13827 _ACEOF
13828 cat confdefs.h >>conftest.$ac_ext
13829 cat >>conftest.$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831
13832 int
13833 main ()
13834 {
13835
13836 ;
13837 return 0;
13838 }
13839 _ACEOF
13840 rm -f conftest.$ac_objext conftest.$ac_ext.o
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13847 case $ac_file in
13848 conftest.$ac_ext.o)
13849 bakefile_cv_c_exto="-ext o"
13850 ;;
13851 *)
13852 ;;
13853 esac
13854 done
13855 else
13856 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13857 See \`config.log' for more details." >&5
13858 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13859 See \`config.log' for more details." >&2;}
13860 { (exit 1); exit 1; }; }
13861
13862 fi
13863
13864 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13865
13866 fi
13867 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13868 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13869 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13870 if test "c" = "c"; then
13871 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13872 fi
13873 if test "c" = "cxx"; then
13874 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13875 fi
13876 fi
13877
13878 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13879 unset ac_cv_prog_cc_g
13880 ac_test_CFLAGS=${CFLAGS+set}
13881 ac_save_CFLAGS=$CFLAGS
13882 CFLAGS="-g"
13883 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13884 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13885 if test "${ac_cv_prog_cc_g+set}" = set; then
13886 echo $ECHO_N "(cached) $ECHO_C" >&6
13887 else
13888 cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h. */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894
13895 int
13896 main ()
13897 {
13898
13899 ;
13900 return 0;
13901 }
13902 _ACEOF
13903 rm -f conftest.$ac_objext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13905 (eval $ac_compile) 2>conftest.er1
13906 ac_status=$?
13907 grep -v '^ *+' conftest.er1 >conftest.err
13908 rm -f conftest.er1
13909 cat conftest.err >&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13915 ac_status=$?
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try='test -s conftest.$ac_objext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13921 ac_status=$?
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 ac_cv_prog_cc_g=yes
13925 else
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13928
13929 ac_cv_prog_cc_g=no
13930 fi
13931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13932 fi
13933 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13935 if test "$ac_test_CFLAGS" = set; then
13936 CFLAGS=$ac_save_CFLAGS
13937 elif test $ac_cv_prog_cc_g = yes; then
13938 if test "$GCC" = yes; then
13939 CFLAGS="-g -O2"
13940 else
13941 CFLAGS="-g"
13942 fi
13943 else
13944 if test "$GCC" = yes; then
13945 CFLAGS="-O2"
13946 else
13947 CFLAGS=
13948 fi
13949 fi
13950 fi
13951 fi
13952
13953 case `uname -s` in
13954 AIX*)
13955 ac_ext=c
13956 ac_cpp='$CPP $CPPFLAGS'
13957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13960
13961 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13962 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13963 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13964 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 else
13966 cat >conftest.$ac_ext <<_ACEOF
13967 /* confdefs.h. */
13968 _ACEOF
13969 cat confdefs.h >>conftest.$ac_ext
13970 cat >>conftest.$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13972
13973 int
13974 main ()
13975 {
13976 #ifndef __xlC__
13977 choke me
13978 #endif
13979
13980 ;
13981 return 0;
13982 }
13983 _ACEOF
13984 rm -f conftest.$ac_objext
13985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13986 (eval $ac_compile) 2>conftest.er1
13987 ac_status=$?
13988 grep -v '^ *+' conftest.er1 >conftest.err
13989 rm -f conftest.er1
13990 cat conftest.err >&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } &&
13993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try='test -s conftest.$ac_objext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 bakefile_compiler_xlc=yes
14006 else
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.$ac_ext >&5
14009
14010 bakefile_compiler_xlc=no
14011 fi
14012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14013 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14014
14015 fi
14016 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14017 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
14018
14019 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14020 ac_ext=c
14021 ac_cpp='$CPP $CPPFLAGS'
14022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14025
14026
14027 ;;
14028
14029 Darwin)
14030 ac_ext=c
14031 ac_cpp='$CPP $CPPFLAGS'
14032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14035
14036 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14037 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
14038 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14041 cat >conftest.$ac_ext <<_ACEOF
14042 /* confdefs.h. */
14043 _ACEOF
14044 cat confdefs.h >>conftest.$ac_ext
14045 cat >>conftest.$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14047
14048 int
14049 main ()
14050 {
14051 #ifndef __MWERKS__
14052 choke me
14053 #endif
14054
14055 ;
14056 return 0;
14057 }
14058 _ACEOF
14059 rm -f conftest.$ac_objext
14060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14061 (eval $ac_compile) 2>conftest.er1
14062 ac_status=$?
14063 grep -v '^ *+' conftest.er1 >conftest.err
14064 rm -f conftest.er1
14065 cat conftest.err >&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); } &&
14068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14071 ac_status=$?
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; } &&
14074 { ac_try='test -s conftest.$ac_objext'
14075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14076 (eval $ac_try) 2>&5
14077 ac_status=$?
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); }; }; then
14080 bakefile_compiler_mwerks=yes
14081 else
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.$ac_ext >&5
14084
14085 bakefile_compiler_mwerks=no
14086 fi
14087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14088 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14089
14090 fi
14091 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14092 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
14093
14094 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14095 ac_ext=c
14096 ac_cpp='$CPP $CPPFLAGS'
14097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14100
14101
14102 ac_ext=c
14103 ac_cpp='$CPP $CPPFLAGS'
14104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14107
14108 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14109 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
14110 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113 cat >conftest.$ac_ext <<_ACEOF
14114 /* confdefs.h. */
14115 _ACEOF
14116 cat confdefs.h >>conftest.$ac_ext
14117 cat >>conftest.$ac_ext <<_ACEOF
14118 /* end confdefs.h. */
14119
14120 int
14121 main ()
14122 {
14123 #ifndef __xlC__
14124 choke me
14125 #endif
14126
14127 ;
14128 return 0;
14129 }
14130 _ACEOF
14131 rm -f conftest.$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>conftest.er1
14134 ac_status=$?
14135 grep -v '^ *+' conftest.er1 >conftest.err
14136 rm -f conftest.er1
14137 cat conftest.err >&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } &&
14140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14143 ac_status=$?
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; } &&
14146 { ac_try='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then
14152 bakefile_compiler_xlc=yes
14153 else
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14156
14157 bakefile_compiler_xlc=no
14158 fi
14159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14160 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14161
14162 fi
14163 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14164 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
14165
14166 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14167 ac_ext=c
14168 ac_cpp='$CPP $CPPFLAGS'
14169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14172
14173
14174 ;;
14175
14176 IRIX*)
14177
14178
14179 ac_ext=c
14180 ac_cpp='$CPP $CPPFLAGS'
14181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14184
14185 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14186 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
14187 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14189 else
14190 cat >conftest.$ac_ext <<_ACEOF
14191 /* confdefs.h. */
14192 _ACEOF
14193 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14196
14197 int
14198 main ()
14199 {
14200
14201 #ifndef _SGI_COMPILER_VERSION
14202 choke me
14203 #endif
14204
14205 ;
14206 return 0;
14207 }
14208 _ACEOF
14209 rm -f conftest.$ac_objext
14210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14211 (eval $ac_compile) 2>conftest.er1
14212 ac_status=$?
14213 grep -v '^ *+' conftest.er1 >conftest.err
14214 rm -f conftest.er1
14215 cat conftest.err >&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); } &&
14218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; } &&
14224 { ac_try='test -s conftest.$ac_objext'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14227 ac_status=$?
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; }; then
14230 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14231 else
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.$ac_ext >&5
14234
14235 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14236
14237 fi
14238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239
14240
14241 fi
14242 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14243 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
14244 ac_ext=c
14245 ac_cpp='$CPP $CPPFLAGS'
14246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14249
14250 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14251 :; SGICC=yes
14252 else
14253 :;
14254 fi
14255
14256
14257 ;;
14258
14259 HP-UX*)
14260
14261
14262 ac_ext=c
14263 ac_cpp='$CPP $CPPFLAGS'
14264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14267
14268 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14269 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
14270 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h. */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279
14280 int
14281 main ()
14282 {
14283
14284 #ifndef __HP_cc
14285 choke me
14286 #endif
14287
14288 ;
14289 return 0;
14290 }
14291 _ACEOF
14292 rm -f conftest.$ac_objext
14293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14294 (eval $ac_compile) 2>conftest.er1
14295 ac_status=$?
14296 grep -v '^ *+' conftest.er1 >conftest.err
14297 rm -f conftest.er1
14298 cat conftest.err >&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); } &&
14301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; } &&
14307 { ac_try='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 bakefile_cv_c_compiler___HP_cc=yes
14314 else
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14317
14318 bakefile_cv_c_compiler___HP_cc=no
14319
14320 fi
14321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14322
14323
14324 fi
14325 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14326 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
14327 ac_ext=c
14328 ac_cpp='$CPP $CPPFLAGS'
14329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14332
14333 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14334 :; HPCC=yes
14335 else
14336 :;
14337 fi
14338
14339
14340 ;;
14341
14342 OSF1)
14343
14344
14345 ac_ext=c
14346 ac_cpp='$CPP $CPPFLAGS'
14347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14350
14351 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14352 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
14353 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 cat >conftest.$ac_ext <<_ACEOF
14357 /* confdefs.h. */
14358 _ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362
14363 int
14364 main ()
14365 {
14366
14367 #ifndef __DECC
14368 choke me
14369 #endif
14370
14371 ;
14372 return 0;
14373 }
14374 _ACEOF
14375 rm -f conftest.$ac_objext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14377 (eval $ac_compile) 2>conftest.er1
14378 ac_status=$?
14379 grep -v '^ *+' conftest.er1 >conftest.err
14380 rm -f conftest.er1
14381 cat conftest.err >&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } &&
14384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; } &&
14390 { ac_try='test -s conftest.$ac_objext'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14396 bakefile_cv_c_compiler___DECC=yes
14397 else
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.$ac_ext >&5
14400
14401 bakefile_cv_c_compiler___DECC=no
14402
14403 fi
14404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14405
14406
14407 fi
14408 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14409 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
14410 ac_ext=c
14411 ac_cpp='$CPP $CPPFLAGS'
14412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14415
14416 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14417 :; COMPAQCC=yes
14418 else
14419 :;
14420 fi
14421
14422
14423 ;;
14424
14425 SunOS)
14426
14427
14428 ac_ext=c
14429 ac_cpp='$CPP $CPPFLAGS'
14430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14433
14434 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14435 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
14436 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 else
14439 cat >conftest.$ac_ext <<_ACEOF
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445
14446 int
14447 main ()
14448 {
14449
14450 #ifndef __SUNPRO_C
14451 choke me
14452 #endif
14453
14454 ;
14455 return 0;
14456 }
14457 _ACEOF
14458 rm -f conftest.$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>conftest.er1
14461 ac_status=$?
14462 grep -v '^ *+' conftest.er1 >conftest.err
14463 rm -f conftest.er1
14464 cat conftest.err >&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 bakefile_cv_c_compiler___SUNPRO_C=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 bakefile_cv_c_compiler___SUNPRO_C=no
14485
14486 fi
14487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14488
14489
14490 fi
14491 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14492 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
14493 ac_ext=c
14494 ac_cpp='$CPP $CPPFLAGS'
14495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14498
14499 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14500 :; SUNCC=yes
14501 else
14502 :;
14503 fi
14504
14505
14506 ;;
14507 esac
14508 fi
14509
14510
14511
14512 ac_ext=c
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14518 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14519 # On Suns, sometimes $CPP names a directory.
14520 if test -n "$CPP" && test -d "$CPP"; then
14521 CPP=
14522 fi
14523 if test -z "$CPP"; then
14524 if test "${ac_cv_prog_CPP+set}" = set; then
14525 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 else
14527 # Double quotes because CPP needs to be expanded
14528 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14529 do
14530 ac_preproc_ok=false
14531 for ac_c_preproc_warn_flag in '' yes
14532 do
14533 # Use a header file that comes with gcc, so configuring glibc
14534 # with a fresh cross-compiler works.
14535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14536 # <limits.h> exists even on freestanding compilers.
14537 # On the NeXT, cc -E runs the code through the compiler's parser,
14538 # not just through cpp. "Syntax error" is here to catch this case.
14539 cat >conftest.$ac_ext <<_ACEOF
14540 /* confdefs.h. */
14541 _ACEOF
14542 cat confdefs.h >>conftest.$ac_ext
14543 cat >>conftest.$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545 #ifdef __STDC__
14546 # include <limits.h>
14547 #else
14548 # include <assert.h>
14549 #endif
14550 Syntax error
14551 _ACEOF
14552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14553 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14554 ac_status=$?
14555 grep -v '^ *+' conftest.er1 >conftest.err
14556 rm -f conftest.er1
14557 cat conftest.err >&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } >/dev/null; then
14560 if test -s conftest.err; then
14561 ac_cpp_err=$ac_c_preproc_warn_flag
14562 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14563 else
14564 ac_cpp_err=
14565 fi
14566 else
14567 ac_cpp_err=yes
14568 fi
14569 if test -z "$ac_cpp_err"; then
14570 :
14571 else
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14574
14575 # Broken: fails on valid input.
14576 continue
14577 fi
14578 rm -f conftest.err conftest.$ac_ext
14579
14580 # OK, works on sane cases. Now check whether non-existent headers
14581 # can be detected and how.
14582 cat >conftest.$ac_ext <<_ACEOF
14583 /* confdefs.h. */
14584 _ACEOF
14585 cat confdefs.h >>conftest.$ac_ext
14586 cat >>conftest.$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 #include <ac_nonexistent.h>
14589 _ACEOF
14590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14592 ac_status=$?
14593 grep -v '^ *+' conftest.er1 >conftest.err
14594 rm -f conftest.er1
14595 cat conftest.err >&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } >/dev/null; then
14598 if test -s conftest.err; then
14599 ac_cpp_err=$ac_c_preproc_warn_flag
14600 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14601 else
14602 ac_cpp_err=
14603 fi
14604 else
14605 ac_cpp_err=yes
14606 fi
14607 if test -z "$ac_cpp_err"; then
14608 # Broken: success on invalid input.
14609 continue
14610 else
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 # Passes both tests.
14615 ac_preproc_ok=:
14616 break
14617 fi
14618 rm -f conftest.err conftest.$ac_ext
14619
14620 done
14621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14622 rm -f conftest.err conftest.$ac_ext
14623 if $ac_preproc_ok; then
14624 break
14625 fi
14626
14627 done
14628 ac_cv_prog_CPP=$CPP
14629
14630 fi
14631 CPP=$ac_cv_prog_CPP
14632 else
14633 ac_cv_prog_CPP=$CPP
14634 fi
14635 echo "$as_me:$LINENO: result: $CPP" >&5
14636 echo "${ECHO_T}$CPP" >&6
14637 ac_preproc_ok=false
14638 for ac_c_preproc_warn_flag in '' yes
14639 do
14640 # Use a header file that comes with gcc, so configuring glibc
14641 # with a fresh cross-compiler works.
14642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14643 # <limits.h> exists even on freestanding compilers.
14644 # On the NeXT, cc -E runs the code through the compiler's parser,
14645 # not just through cpp. "Syntax error" is here to catch this case.
14646 cat >conftest.$ac_ext <<_ACEOF
14647 /* confdefs.h. */
14648 _ACEOF
14649 cat confdefs.h >>conftest.$ac_ext
14650 cat >>conftest.$ac_ext <<_ACEOF
14651 /* end confdefs.h. */
14652 #ifdef __STDC__
14653 # include <limits.h>
14654 #else
14655 # include <assert.h>
14656 #endif
14657 Syntax error
14658 _ACEOF
14659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } >/dev/null; then
14667 if test -s conftest.err; then
14668 ac_cpp_err=$ac_c_preproc_warn_flag
14669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14670 else
14671 ac_cpp_err=
14672 fi
14673 else
14674 ac_cpp_err=yes
14675 fi
14676 if test -z "$ac_cpp_err"; then
14677 :
14678 else
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.$ac_ext >&5
14681
14682 # Broken: fails on valid input.
14683 continue
14684 fi
14685 rm -f conftest.err conftest.$ac_ext
14686
14687 # OK, works on sane cases. Now check whether non-existent headers
14688 # can be detected and how.
14689 cat >conftest.$ac_ext <<_ACEOF
14690 /* confdefs.h. */
14691 _ACEOF
14692 cat confdefs.h >>conftest.$ac_ext
14693 cat >>conftest.$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14695 #include <ac_nonexistent.h>
14696 _ACEOF
14697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14699 ac_status=$?
14700 grep -v '^ *+' conftest.er1 >conftest.err
14701 rm -f conftest.er1
14702 cat conftest.err >&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } >/dev/null; then
14705 if test -s conftest.err; then
14706 ac_cpp_err=$ac_c_preproc_warn_flag
14707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14708 else
14709 ac_cpp_err=
14710 fi
14711 else
14712 ac_cpp_err=yes
14713 fi
14714 if test -z "$ac_cpp_err"; then
14715 # Broken: success on invalid input.
14716 continue
14717 else
14718 echo "$as_me: failed program was:" >&5
14719 sed 's/^/| /' conftest.$ac_ext >&5
14720
14721 # Passes both tests.
14722 ac_preproc_ok=:
14723 break
14724 fi
14725 rm -f conftest.err conftest.$ac_ext
14726
14727 done
14728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14729 rm -f conftest.err conftest.$ac_ext
14730 if $ac_preproc_ok; then
14731 :
14732 else
14733 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14734 See \`config.log' for more details." >&5
14735 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14736 See \`config.log' for more details." >&2;}
14737 { (exit 1); exit 1; }; }
14738 fi
14739
14740 ac_ext=c
14741 ac_cpp='$CPP $CPPFLAGS'
14742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14745
14746
14747 echo "$as_me:$LINENO: checking for egrep" >&5
14748 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14749 if test "${ac_cv_prog_egrep+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
14753 then ac_cv_prog_egrep='grep -E'
14754 else ac_cv_prog_egrep='egrep'
14755 fi
14756 fi
14757 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14758 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14759 EGREP=$ac_cv_prog_egrep
14760
14761
14762 if test $ac_cv_c_compiler_gnu = yes; then
14763 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14764 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14765 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 else
14768 ac_pattern="Autoconf.*'x'"
14769 cat >conftest.$ac_ext <<_ACEOF
14770 /* confdefs.h. */
14771 _ACEOF
14772 cat confdefs.h >>conftest.$ac_ext
14773 cat >>conftest.$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14775 #include <sgtty.h>
14776 Autoconf TIOCGETP
14777 _ACEOF
14778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14779 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14780 ac_cv_prog_gcc_traditional=yes
14781 else
14782 ac_cv_prog_gcc_traditional=no
14783 fi
14784 rm -f conftest*
14785
14786
14787 if test $ac_cv_prog_gcc_traditional = no; then
14788 cat >conftest.$ac_ext <<_ACEOF
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <termio.h>
14795 Autoconf TCGETA
14796 _ACEOF
14797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14798 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14799 ac_cv_prog_gcc_traditional=yes
14800 fi
14801 rm -f conftest*
14802
14803 fi
14804 fi
14805 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14806 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14807 if test $ac_cv_prog_gcc_traditional = yes; then
14808 CC="$CC -traditional"
14809 fi
14810 fi
14811
14812
14813 ac_ext=cc
14814 ac_cpp='$CXXCPP $CPPFLAGS'
14815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14818
14819
14820 CXXFLAGS=${CXXFLAGS:=}
14821
14822
14823
14824 ac_ext=cc
14825 ac_cpp='$CXXCPP $CPPFLAGS'
14826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14829 if test -n "$ac_tool_prefix"; then
14830 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14831 do
14832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14834 echo "$as_me:$LINENO: checking for $ac_word" >&5
14835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14836 if test "${ac_cv_prog_CXX+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 else
14839 if test -n "$CXX"; then
14840 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14841 else
14842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14843 for as_dir in $PATH
14844 do
14845 IFS=$as_save_IFS
14846 test -z "$as_dir" && as_dir=.
14847 for ac_exec_ext in '' $ac_executable_extensions; do
14848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14849 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14851 break 2
14852 fi
14853 done
14854 done
14855
14856 fi
14857 fi
14858 CXX=$ac_cv_prog_CXX
14859 if test -n "$CXX"; then
14860 echo "$as_me:$LINENO: result: $CXX" >&5
14861 echo "${ECHO_T}$CXX" >&6
14862 else
14863 echo "$as_me:$LINENO: result: no" >&5
14864 echo "${ECHO_T}no" >&6
14865 fi
14866
14867 test -n "$CXX" && break
14868 done
14869 fi
14870 if test -z "$CXX"; then
14871 ac_ct_CXX=$CXX
14872 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14873 do
14874 # Extract the first word of "$ac_prog", so it can be a program name with args.
14875 set dummy $ac_prog; ac_word=$2
14876 echo "$as_me:$LINENO: checking for $ac_word" >&5
14877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14878 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 else
14881 if test -n "$ac_ct_CXX"; then
14882 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14883 else
14884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14885 for as_dir in $PATH
14886 do
14887 IFS=$as_save_IFS
14888 test -z "$as_dir" && as_dir=.
14889 for ac_exec_ext in '' $ac_executable_extensions; do
14890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14891 ac_cv_prog_ac_ct_CXX="$ac_prog"
14892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14893 break 2
14894 fi
14895 done
14896 done
14897
14898 fi
14899 fi
14900 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14901 if test -n "$ac_ct_CXX"; then
14902 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14903 echo "${ECHO_T}$ac_ct_CXX" >&6
14904 else
14905 echo "$as_me:$LINENO: result: no" >&5
14906 echo "${ECHO_T}no" >&6
14907 fi
14908
14909 test -n "$ac_ct_CXX" && break
14910 done
14911 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14912
14913 CXX=$ac_ct_CXX
14914 fi
14915
14916
14917 # Provide some information about the compiler.
14918 echo "$as_me:$LINENO:" \
14919 "checking for C++ compiler version" >&5
14920 ac_compiler=`set X $ac_compile; echo $2`
14921 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14922 (eval $ac_compiler --version </dev/null >&5) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }
14926 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14927 (eval $ac_compiler -v </dev/null >&5) 2>&5
14928 ac_status=$?
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }
14931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14932 (eval $ac_compiler -V </dev/null >&5) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }
14936
14937 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14938 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14939 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14941 else
14942 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */
14944 _ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948
14949 int
14950 main ()
14951 {
14952 #ifndef __GNUC__
14953 choke me
14954 #endif
14955
14956 ;
14957 return 0;
14958 }
14959 _ACEOF
14960 rm -f conftest.$ac_objext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14962 (eval $ac_compile) 2>conftest.er1
14963 ac_status=$?
14964 grep -v '^ *+' conftest.er1 >conftest.err
14965 rm -f conftest.er1
14966 cat conftest.err >&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } &&
14969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971 (eval $ac_try) 2>&5
14972 ac_status=$?
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; } &&
14975 { ac_try='test -s conftest.$ac_objext'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14978 ac_status=$?
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; }; then
14981 ac_compiler_gnu=yes
14982 else
14983 echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986 ac_compiler_gnu=no
14987 fi
14988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14989 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14990
14991 fi
14992 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14993 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14994 GXX=`test $ac_compiler_gnu = yes && echo yes`
14995 ac_test_CXXFLAGS=${CXXFLAGS+set}
14996 ac_save_CXXFLAGS=$CXXFLAGS
14997 CXXFLAGS="-g"
14998 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14999 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15000 if test "${ac_cv_prog_cxx_g+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 ;
15015 return 0;
15016 }
15017 _ACEOF
15018 rm -f conftest.$ac_objext
15019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15020 (eval $ac_compile) 2>conftest.er1
15021 ac_status=$?
15022 grep -v '^ *+' conftest.er1 >conftest.err
15023 rm -f conftest.er1
15024 cat conftest.err >&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; } &&
15033 { ac_try='test -s conftest.$ac_objext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15036 ac_status=$?
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15039 ac_cv_prog_cxx_g=yes
15040 else
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.$ac_ext >&5
15043
15044 ac_cv_prog_cxx_g=no
15045 fi
15046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15047 fi
15048 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15049 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15050 if test "$ac_test_CXXFLAGS" = set; then
15051 CXXFLAGS=$ac_save_CXXFLAGS
15052 elif test $ac_cv_prog_cxx_g = yes; then
15053 if test "$GXX" = yes; then
15054 CXXFLAGS="-g -O2"
15055 else
15056 CXXFLAGS="-g"
15057 fi
15058 else
15059 if test "$GXX" = yes; then
15060 CXXFLAGS="-O2"
15061 else
15062 CXXFLAGS=
15063 fi
15064 fi
15065 for ac_declaration in \
15066 '' \
15067 'extern "C" void std::exit (int) throw (); using std::exit;' \
15068 'extern "C" void std::exit (int); using std::exit;' \
15069 'extern "C" void exit (int) throw ();' \
15070 'extern "C" void exit (int);' \
15071 'void exit (int);'
15072 do
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 $ac_declaration
15080 #include <stdlib.h>
15081 int
15082 main ()
15083 {
15084 exit (42);
15085 ;
15086 return 0;
15087 }
15088 _ACEOF
15089 rm -f conftest.$ac_objext
15090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15091 (eval $ac_compile) 2>conftest.er1
15092 ac_status=$?
15093 grep -v '^ *+' conftest.er1 >conftest.err
15094 rm -f conftest.er1
15095 cat conftest.err >&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } &&
15098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15101 ac_status=$?
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; } &&
15104 { ac_try='test -s conftest.$ac_objext'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15110 :
15111 else
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15114
15115 continue
15116 fi
15117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15118 cat >conftest.$ac_ext <<_ACEOF
15119 /* confdefs.h. */
15120 _ACEOF
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 $ac_declaration
15125 int
15126 main ()
15127 {
15128 exit (42);
15129 ;
15130 return 0;
15131 }
15132 _ACEOF
15133 rm -f conftest.$ac_objext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15135 (eval $ac_compile) 2>conftest.er1
15136 ac_status=$?
15137 grep -v '^ *+' conftest.er1 >conftest.err
15138 rm -f conftest.er1
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } &&
15142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15145 ac_status=$?
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; } &&
15148 { ac_try='test -s conftest.$ac_objext'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; }; then
15154 break
15155 else
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.$ac_ext >&5
15158
15159 fi
15160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15161 done
15162 rm -f conftest*
15163 if test -n "$ac_declaration"; then
15164 echo '#ifdef __cplusplus' >>confdefs.h
15165 echo $ac_declaration >>confdefs.h
15166 echo '#endif' >>confdefs.h
15167 fi
15168
15169 ac_ext=cc
15170 ac_cpp='$CXXCPP $CPPFLAGS'
15171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15174
15175
15176
15177 ac_ext=cc
15178 ac_cpp='$CXXCPP $CPPFLAGS'
15179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15182
15183 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15184 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
15185 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194
15195 int
15196 main ()
15197 {
15198
15199 #ifndef __INTEL_COMPILER
15200 choke me
15201 #endif
15202
15203 ;
15204 return 0;
15205 }
15206 _ACEOF
15207 rm -f conftest.$ac_objext
15208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15209 (eval $ac_compile) 2>conftest.er1
15210 ac_status=$?
15211 grep -v '^ *+' conftest.er1 >conftest.err
15212 rm -f conftest.er1
15213 cat conftest.err >&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15219 ac_status=$?
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; } &&
15222 { ac_try='test -s conftest.$ac_objext'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15225 ac_status=$?
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; }; then
15228 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15229 else
15230 echo "$as_me: failed program was:" >&5
15231 sed 's/^/| /' conftest.$ac_ext >&5
15232
15233 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15234
15235 fi
15236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15237
15238
15239 fi
15240 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15241 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
15242 ac_ext=cc
15243 ac_cpp='$CXXCPP $CPPFLAGS'
15244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15247
15248 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15249 :; INTELCXX=yes
15250 else
15251 :;
15252 fi
15253
15254
15255 if test "x$GCXX" != "xyes"; then
15256 if test "xCXX" = "xC"; then
15257 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
15258 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
15259 if test "${bakefile_cv_cxx_exto+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 cat >conftest.$ac_ext <<_ACEOF
15263 /* confdefs.h. */
15264 _ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268
15269 int
15270 main ()
15271 {
15272
15273 ;
15274 return 0;
15275 }
15276 _ACEOF
15277 rm -f conftest.$ac_objext conftest.$ac_ext.o
15278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15279 (eval $ac_compile) 2>&5
15280 ac_status=$?
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; then
15283 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15284 case $ac_file in
15285 conftest.$ac_ext.o)
15286 bakefile_cv_cxx_exto="-ext o"
15287 ;;
15288 *)
15289 ;;
15290 esac
15291 done
15292 else
15293 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15294 See \`config.log' for more details." >&5
15295 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15296 See \`config.log' for more details." >&2;}
15297 { (exit 1); exit 1; }; }
15298
15299 fi
15300
15301 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15302
15303 fi
15304 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
15305 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
15306 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
15307 if test "cxx" = "c"; then
15308 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
15309 fi
15310 if test "cxx" = "cxx"; then
15311 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
15312 fi
15313 fi
15314
15315 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15316 unset ac_cv_prog_cc_g
15317 ac_test_CFLAGS=${CFLAGS+set}
15318 ac_save_CFLAGS=$CFLAGS
15319 CFLAGS="-g"
15320 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15322 if test "${ac_cv_prog_cc_g+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 else
15325 cat >conftest.$ac_ext <<_ACEOF
15326 /* confdefs.h. */
15327 _ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15331
15332 int
15333 main ()
15334 {
15335
15336 ;
15337 return 0;
15338 }
15339 _ACEOF
15340 rm -f conftest.$ac_objext
15341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15342 (eval $ac_compile) 2>conftest.er1
15343 ac_status=$?
15344 grep -v '^ *+' conftest.er1 >conftest.err
15345 rm -f conftest.er1
15346 cat conftest.err >&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } &&
15349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15352 ac_status=$?
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; } &&
15355 { ac_try='test -s conftest.$ac_objext'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; }; then
15361 ac_cv_prog_cc_g=yes
15362 else
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15365
15366 ac_cv_prog_cc_g=no
15367 fi
15368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15369 fi
15370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15372 if test "$ac_test_CFLAGS" = set; then
15373 CFLAGS=$ac_save_CFLAGS
15374 elif test $ac_cv_prog_cc_g = yes; then
15375 if test "$GCC" = yes; then
15376 CFLAGS="-g -O2"
15377 else
15378 CFLAGS="-g"
15379 fi
15380 else
15381 if test "$GCC" = yes; then
15382 CFLAGS="-O2"
15383 else
15384 CFLAGS=
15385 fi
15386 fi
15387 fi
15388 fi
15389
15390 case `uname -s` in
15391 AIX*)
15392 ac_ext=cc
15393 ac_cpp='$CXXCPP $CPPFLAGS'
15394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15397
15398 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15399 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
15400 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h. */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h. */
15409
15410 int
15411 main ()
15412 {
15413 #ifndef __xlC__
15414 choke me
15415 #endif
15416
15417 ;
15418 return 0;
15419 }
15420 _ACEOF
15421 rm -f conftest.$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>conftest.er1
15424 ac_status=$?
15425 grep -v '^ *+' conftest.er1 >conftest.err
15426 rm -f conftest.er1
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15433 ac_status=$?
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try='test -s conftest.$ac_objext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15439 ac_status=$?
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 bakefile_compiler_xlc=yes
15443 else
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.$ac_ext >&5
15446
15447 bakefile_compiler_xlc=no
15448 fi
15449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15450 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15451
15452 fi
15453 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15454 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
15455
15456 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15457 ac_ext=cc
15458 ac_cpp='$CXXCPP $CPPFLAGS'
15459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15462
15463
15464 ;;
15465
15466 Darwin)
15467 ac_ext=cc
15468 ac_cpp='$CXXCPP $CPPFLAGS'
15469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15472
15473 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15474 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
15475 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 else
15478 cat >conftest.$ac_ext <<_ACEOF
15479 /* confdefs.h. */
15480 _ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484
15485 int
15486 main ()
15487 {
15488 #ifndef __MWERKS__
15489 choke me
15490 #endif
15491
15492 ;
15493 return 0;
15494 }
15495 _ACEOF
15496 rm -f conftest.$ac_objext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15498 (eval $ac_compile) 2>conftest.er1
15499 ac_status=$?
15500 grep -v '^ *+' conftest.er1 >conftest.err
15501 rm -f conftest.er1
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } &&
15505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15508 ac_status=$?
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try='test -s conftest.$ac_objext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15514 ac_status=$?
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15517 bakefile_compiler_mwerks=yes
15518 else
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.$ac_ext >&5
15521
15522 bakefile_compiler_mwerks=no
15523 fi
15524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15525 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15526
15527 fi
15528 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15529 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
15530
15531 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15532 ac_ext=cc
15533 ac_cpp='$CXXCPP $CPPFLAGS'
15534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15537
15538
15539 ac_ext=cc
15540 ac_cpp='$CXXCPP $CPPFLAGS'
15541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15544
15545 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15546 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
15547 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15548 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 else
15550 cat >conftest.$ac_ext <<_ACEOF
15551 /* confdefs.h. */
15552 _ACEOF
15553 cat confdefs.h >>conftest.$ac_ext
15554 cat >>conftest.$ac_ext <<_ACEOF
15555 /* end confdefs.h. */
15556
15557 int
15558 main ()
15559 {
15560 #ifndef __xlC__
15561 choke me
15562 #endif
15563
15564 ;
15565 return 0;
15566 }
15567 _ACEOF
15568 rm -f conftest.$ac_objext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15570 (eval $ac_compile) 2>conftest.er1
15571 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
15577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15580 ac_status=$?
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; } &&
15583 { ac_try='test -s conftest.$ac_objext'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15586 ac_status=$?
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; }; then
15589 bakefile_compiler_xlc=yes
15590 else
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.$ac_ext >&5
15593
15594 bakefile_compiler_xlc=no
15595 fi
15596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15597 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15598
15599 fi
15600 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15601 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
15602
15603 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15604 ac_ext=cc
15605 ac_cpp='$CXXCPP $CPPFLAGS'
15606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15609
15610
15611 ;;
15612
15613 IRIX*)
15614
15615
15616 ac_ext=cc
15617 ac_cpp='$CXXCPP $CPPFLAGS'
15618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15621
15622 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15623 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15624 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 else
15627 cat >conftest.$ac_ext <<_ACEOF
15628 /* confdefs.h. */
15629 _ACEOF
15630 cat confdefs.h >>conftest.$ac_ext
15631 cat >>conftest.$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15633
15634 int
15635 main ()
15636 {
15637
15638 #ifndef _SGI_COMPILER_VERSION
15639 choke me
15640 #endif
15641
15642 ;
15643 return 0;
15644 }
15645 _ACEOF
15646 rm -f conftest.$ac_objext
15647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15648 (eval $ac_compile) 2>conftest.er1
15649 ac_status=$?
15650 grep -v '^ *+' conftest.er1 >conftest.err
15651 rm -f conftest.er1
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } &&
15655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; } &&
15661 { ac_try='test -s conftest.$ac_objext'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; }; then
15667 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15673
15674 fi
15675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15676
15677
15678 fi
15679 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15680 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15681 ac_ext=cc
15682 ac_cpp='$CXXCPP $CPPFLAGS'
15683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15686
15687 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15688 :; SGICXX=yes
15689 else
15690 :;
15691 fi
15692
15693
15694 ;;
15695
15696 HP-UX*)
15697
15698
15699 ac_ext=cc
15700 ac_cpp='$CXXCPP $CPPFLAGS'
15701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15704
15705 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15706 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15707 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15709 else
15710 cat >conftest.$ac_ext <<_ACEOF
15711 /* confdefs.h. */
15712 _ACEOF
15713 cat confdefs.h >>conftest.$ac_ext
15714 cat >>conftest.$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716
15717 int
15718 main ()
15719 {
15720
15721 #ifndef __HP_aCC
15722 choke me
15723 #endif
15724
15725 ;
15726 return 0;
15727 }
15728 _ACEOF
15729 rm -f conftest.$ac_objext
15730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15731 (eval $ac_compile) 2>conftest.er1
15732 ac_status=$?
15733 grep -v '^ *+' conftest.er1 >conftest.err
15734 rm -f conftest.er1
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } &&
15738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 bakefile_cv_cxx_compiler___HP_aCC=yes
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15754
15755 bakefile_cv_cxx_compiler___HP_aCC=no
15756
15757 fi
15758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15759
15760
15761 fi
15762 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15763 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15764 ac_ext=cc
15765 ac_cpp='$CXXCPP $CPPFLAGS'
15766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15769
15770 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
15771 :; HPCXX=yes
15772 else
15773 :;
15774 fi
15775
15776
15777 ;;
15778
15779 OSF1)
15780
15781
15782 ac_ext=cc
15783 ac_cpp='$CXXCPP $CPPFLAGS'
15784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15787
15788 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15789 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15790 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 else
15793 cat >conftest.$ac_ext <<_ACEOF
15794 /* confdefs.h. */
15795 _ACEOF
15796 cat confdefs.h >>conftest.$ac_ext
15797 cat >>conftest.$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799
15800 int
15801 main ()
15802 {
15803
15804 #ifndef __DECCXX
15805 choke me
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15815 ac_status=$?
15816 grep -v '^ *+' conftest.er1 >conftest.err
15817 rm -f conftest.er1
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 bakefile_cv_cxx_compiler___DECCXX=yes
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 bakefile_cv_cxx_compiler___DECCXX=no
15839
15840 fi
15841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15842
15843
15844 fi
15845 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15846 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15847 ac_ext=cc
15848 ac_cpp='$CXXCPP $CPPFLAGS'
15849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15852
15853 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15854 :; COMPAQCXX=yes
15855 else
15856 :;
15857 fi
15858
15859
15860 ;;
15861
15862 SunOS)
15863
15864
15865 ac_ext=cc
15866 ac_cpp='$CXXCPP $CPPFLAGS'
15867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15870
15871 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15872 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15873 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882
15883 int
15884 main ()
15885 {
15886
15887 #ifndef __SUNPRO_CC
15888 choke me
15889 #endif
15890
15891 ;
15892 return 0;
15893 }
15894 _ACEOF
15895 rm -f conftest.$ac_objext
15896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15897 (eval $ac_compile) 2>conftest.er1
15898 ac_status=$?
15899 grep -v '^ *+' conftest.er1 >conftest.err
15900 rm -f conftest.er1
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } &&
15904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15907 ac_status=$?
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; } &&
15910 { ac_try='test -s conftest.$ac_objext'
15911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15912 (eval $ac_try) 2>&5
15913 ac_status=$?
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); }; }; then
15916 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15917 else
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.$ac_ext >&5
15920
15921 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15922
15923 fi
15924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15925
15926
15927 fi
15928 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15929 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15930 ac_ext=cc
15931 ac_cpp='$CXXCPP $CPPFLAGS'
15932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15935
15936 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15937 :; SUNCXX=yes
15938 else
15939 :;
15940 fi
15941
15942
15943 ;;
15944 esac
15945 fi
15946
15947
15948
15949 if test -n "$ac_tool_prefix"; then
15950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15952 echo "$as_me:$LINENO: checking for $ac_word" >&5
15953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15954 if test "${ac_cv_prog_RANLIB+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 else
15957 if test -n "$RANLIB"; then
15958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15959 else
15960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15961 for as_dir in $PATH
15962 do
15963 IFS=$as_save_IFS
15964 test -z "$as_dir" && as_dir=.
15965 for ac_exec_ext in '' $ac_executable_extensions; do
15966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15967 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15969 break 2
15970 fi
15971 done
15972 done
15973
15974 fi
15975 fi
15976 RANLIB=$ac_cv_prog_RANLIB
15977 if test -n "$RANLIB"; then
15978 echo "$as_me:$LINENO: result: $RANLIB" >&5
15979 echo "${ECHO_T}$RANLIB" >&6
15980 else
15981 echo "$as_me:$LINENO: result: no" >&5
15982 echo "${ECHO_T}no" >&6
15983 fi
15984
15985 fi
15986 if test -z "$ac_cv_prog_RANLIB"; then
15987 ac_ct_RANLIB=$RANLIB
15988 # Extract the first word of "ranlib", so it can be a program name with args.
15989 set dummy ranlib; ac_word=$2
15990 echo "$as_me:$LINENO: checking for $ac_word" >&5
15991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15992 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 else
15995 if test -n "$ac_ct_RANLIB"; then
15996 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15997 else
15998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15999 for as_dir in $PATH
16000 do
16001 IFS=$as_save_IFS
16002 test -z "$as_dir" && as_dir=.
16003 for ac_exec_ext in '' $ac_executable_extensions; do
16004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16005 ac_cv_prog_ac_ct_RANLIB="ranlib"
16006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16007 break 2
16008 fi
16009 done
16010 done
16011
16012 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
16013 fi
16014 fi
16015 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16016 if test -n "$ac_ct_RANLIB"; then
16017 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16018 echo "${ECHO_T}$ac_ct_RANLIB" >&6
16019 else
16020 echo "$as_me:$LINENO: result: no" >&5
16021 echo "${ECHO_T}no" >&6
16022 fi
16023
16024 RANLIB=$ac_ct_RANLIB
16025 else
16026 RANLIB="$ac_cv_prog_RANLIB"
16027 fi
16028
16029
16030 if test -n "$ac_tool_prefix"; then
16031 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16032 set dummy ${ac_tool_prefix}ar; ac_word=$2
16033 echo "$as_me:$LINENO: checking for $ac_word" >&5
16034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16035 if test "${ac_cv_prog_AR+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 else
16038 if test -n "$AR"; then
16039 ac_cv_prog_AR="$AR" # Let the user override the test.
16040 else
16041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16042 for as_dir in $PATH
16043 do
16044 IFS=$as_save_IFS
16045 test -z "$as_dir" && as_dir=.
16046 for ac_exec_ext in '' $ac_executable_extensions; do
16047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16048 ac_cv_prog_AR="${ac_tool_prefix}ar"
16049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16050 break 2
16051 fi
16052 done
16053 done
16054
16055 fi
16056 fi
16057 AR=$ac_cv_prog_AR
16058 if test -n "$AR"; then
16059 echo "$as_me:$LINENO: result: $AR" >&5
16060 echo "${ECHO_T}$AR" >&6
16061 else
16062 echo "$as_me:$LINENO: result: no" >&5
16063 echo "${ECHO_T}no" >&6
16064 fi
16065
16066 fi
16067 if test -z "$ac_cv_prog_AR"; then
16068 ac_ct_AR=$AR
16069 # Extract the first word of "ar", so it can be a program name with args.
16070 set dummy ar; ac_word=$2
16071 echo "$as_me:$LINENO: checking for $ac_word" >&5
16072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16073 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 else
16076 if test -n "$ac_ct_AR"; then
16077 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16078 else
16079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16080 for as_dir in $PATH
16081 do
16082 IFS=$as_save_IFS
16083 test -z "$as_dir" && as_dir=.
16084 for ac_exec_ext in '' $ac_executable_extensions; do
16085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16086 ac_cv_prog_ac_ct_AR="ar"
16087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16088 break 2
16089 fi
16090 done
16091 done
16092
16093 fi
16094 fi
16095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16096 if test -n "$ac_ct_AR"; then
16097 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16098 echo "${ECHO_T}$ac_ct_AR" >&6
16099 else
16100 echo "$as_me:$LINENO: result: no" >&5
16101 echo "${ECHO_T}no" >&6
16102 fi
16103
16104 AR=$ac_ct_AR
16105 else
16106 AR="$ac_cv_prog_AR"
16107 fi
16108
16109 if test "x$AR" = "x" ; then
16110 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16111 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16112 { (exit 1); exit 1; }; }
16113 fi
16114
16115 # Find a good install program. We prefer a C program (faster),
16116 # so one script is as good as another. But avoid the broken or
16117 # incompatible versions:
16118 # SysV /etc/install, /usr/sbin/install
16119 # SunOS /usr/etc/install
16120 # IRIX /sbin/install
16121 # AIX /bin/install
16122 # AmigaOS /C/install, which installs bootblocks on floppy discs
16123 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16124 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16125 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16126 # OS/2's system install, which has a completely different semantic
16127 # ./install, which can be erroneously created by make from ./install.sh.
16128 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16129 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
16130 if test -z "$INSTALL"; then
16131 if test "${ac_cv_path_install+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 else
16134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16135 for as_dir in $PATH
16136 do
16137 IFS=$as_save_IFS
16138 test -z "$as_dir" && as_dir=.
16139 # Account for people who put trailing slashes in PATH elements.
16140 case $as_dir/ in
16141 ./ | .// | /cC/* | \
16142 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16143 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16144 /usr/ucb/* ) ;;
16145 *)
16146 # OSF1 and SCO ODT 3.0 have their own names for install.
16147 # Don't use installbsd from OSF since it installs stuff as root
16148 # by default.
16149 for ac_prog in ginstall scoinst install; do
16150 for ac_exec_ext in '' $ac_executable_extensions; do
16151 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
16152 if test $ac_prog = install &&
16153 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16154 # AIX install. It has an incompatible calling convention.
16155 :
16156 elif test $ac_prog = install &&
16157 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16158 # program-specific install script used by HP pwplus--don't use.
16159 :
16160 else
16161 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16162 break 3
16163 fi
16164 fi
16165 done
16166 done
16167 ;;
16168 esac
16169 done
16170
16171
16172 fi
16173 if test "${ac_cv_path_install+set}" = set; then
16174 INSTALL=$ac_cv_path_install
16175 else
16176 # As a last resort, use the slow shell script. We don't cache a
16177 # path for INSTALL within a source directory, because that will
16178 # break other packages using the cache if that directory is
16179 # removed, or if the path is relative.
16180 INSTALL=$ac_install_sh
16181 fi
16182 fi
16183 echo "$as_me:$LINENO: result: $INSTALL" >&5
16184 echo "${ECHO_T}$INSTALL" >&6
16185
16186 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16187 # It thinks the first close brace ends the variable substitution.
16188 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16189
16190 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16191
16192 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16193
16194
16195 case ${INSTALL} in
16196 /* ) # Absolute
16197 ;;
16198 ?:* ) # Drive letter, considered as absolute.
16199 ;;
16200 *)
16201 INSTALL=`pwd`/${INSTALL} ;;
16202 esac
16203
16204
16205 case "${host}" in
16206
16207 *-*-darwin* )
16208 INSTALL_PROGRAM="cp -fp"
16209 INSTALL_DATA="cp -fp"
16210 ;;
16211 *)
16212 ;;
16213 esac
16214
16215 if test -n "$ac_tool_prefix"; then
16216 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16217 set dummy ${ac_tool_prefix}strip; ac_word=$2
16218 echo "$as_me:$LINENO: checking for $ac_word" >&5
16219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16220 if test "${ac_cv_prog_STRIP+set}" = set; then
16221 echo $ECHO_N "(cached) $ECHO_C" >&6
16222 else
16223 if test -n "$STRIP"; then
16224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16225 else
16226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16227 for as_dir in $PATH
16228 do
16229 IFS=$as_save_IFS
16230 test -z "$as_dir" && as_dir=.
16231 for ac_exec_ext in '' $ac_executable_extensions; do
16232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16233 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16235 break 2
16236 fi
16237 done
16238 done
16239
16240 fi
16241 fi
16242 STRIP=$ac_cv_prog_STRIP
16243 if test -n "$STRIP"; then
16244 echo "$as_me:$LINENO: result: $STRIP" >&5
16245 echo "${ECHO_T}$STRIP" >&6
16246 else
16247 echo "$as_me:$LINENO: result: no" >&5
16248 echo "${ECHO_T}no" >&6
16249 fi
16250
16251 fi
16252 if test -z "$ac_cv_prog_STRIP"; then
16253 ac_ct_STRIP=$STRIP
16254 # Extract the first word of "strip", so it can be a program name with args.
16255 set dummy strip; ac_word=$2
16256 echo "$as_me:$LINENO: checking for $ac_word" >&5
16257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16259 echo $ECHO_N "(cached) $ECHO_C" >&6
16260 else
16261 if test -n "$ac_ct_STRIP"; then
16262 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16263 else
16264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16265 for as_dir in $PATH
16266 do
16267 IFS=$as_save_IFS
16268 test -z "$as_dir" && as_dir=.
16269 for ac_exec_ext in '' $ac_executable_extensions; do
16270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16271 ac_cv_prog_ac_ct_STRIP="strip"
16272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16273 break 2
16274 fi
16275 done
16276 done
16277
16278 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
16279 fi
16280 fi
16281 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16282 if test -n "$ac_ct_STRIP"; then
16283 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16284 echo "${ECHO_T}$ac_ct_STRIP" >&6
16285 else
16286 echo "$as_me:$LINENO: result: no" >&5
16287 echo "${ECHO_T}no" >&6
16288 fi
16289
16290 STRIP=$ac_ct_STRIP
16291 else
16292 STRIP="$ac_cv_prog_STRIP"
16293 fi
16294
16295
16296 if test "$wxUSE_WINE" = "yes"; then
16297 if test -n "$ac_tool_prefix"; then
16298 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16299 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16300 echo "$as_me:$LINENO: checking for $ac_word" >&5
16301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16302 if test "${ac_cv_prog_WINDRES+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 else
16305 if test -n "$WINDRES"; then
16306 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16307 else
16308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16309 for as_dir in $PATH
16310 do
16311 IFS=$as_save_IFS
16312 test -z "$as_dir" && as_dir=.
16313 for ac_exec_ext in '' $ac_executable_extensions; do
16314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16315 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16317 break 2
16318 fi
16319 done
16320 done
16321
16322 fi
16323 fi
16324 WINDRES=$ac_cv_prog_WINDRES
16325 if test -n "$WINDRES"; then
16326 echo "$as_me:$LINENO: result: $WINDRES" >&5
16327 echo "${ECHO_T}$WINDRES" >&6
16328 else
16329 echo "$as_me:$LINENO: result: no" >&5
16330 echo "${ECHO_T}no" >&6
16331 fi
16332
16333 fi
16334 if test -z "$ac_cv_prog_WINDRES"; then
16335 ac_ct_WINDRES=$WINDRES
16336 # Extract the first word of "wrc", so it can be a program name with args.
16337 set dummy wrc; ac_word=$2
16338 echo "$as_me:$LINENO: checking for $ac_word" >&5
16339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16340 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16341 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 else
16343 if test -n "$ac_ct_WINDRES"; then
16344 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16345 else
16346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16347 for as_dir in $PATH
16348 do
16349 IFS=$as_save_IFS
16350 test -z "$as_dir" && as_dir=.
16351 for ac_exec_ext in '' $ac_executable_extensions; do
16352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16353 ac_cv_prog_ac_ct_WINDRES="wrc"
16354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16355 break 2
16356 fi
16357 done
16358 done
16359
16360 fi
16361 fi
16362 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16363 if test -n "$ac_ct_WINDRES"; then
16364 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16365 echo "${ECHO_T}$ac_ct_WINDRES" >&6
16366 else
16367 echo "$as_me:$LINENO: result: no" >&5
16368 echo "${ECHO_T}no" >&6
16369 fi
16370
16371 WINDRES=$ac_ct_WINDRES
16372 else
16373 WINDRES="$ac_cv_prog_WINDRES"
16374 fi
16375
16376 RESCOMP="$WINDRES"
16377 else
16378 case "${host}" in
16379 *-*-cygwin* | *-*-mingw32* )
16380 if test -n "$ac_tool_prefix"; then
16381 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16382 set dummy ${ac_tool_prefix}windres; ac_word=$2
16383 echo "$as_me:$LINENO: checking for $ac_word" >&5
16384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16385 if test "${ac_cv_prog_WINDRES+set}" = set; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 else
16388 if test -n "$WINDRES"; then
16389 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16390 else
16391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16392 for as_dir in $PATH
16393 do
16394 IFS=$as_save_IFS
16395 test -z "$as_dir" && as_dir=.
16396 for ac_exec_ext in '' $ac_executable_extensions; do
16397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16398 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16400 break 2
16401 fi
16402 done
16403 done
16404
16405 fi
16406 fi
16407 WINDRES=$ac_cv_prog_WINDRES
16408 if test -n "$WINDRES"; then
16409 echo "$as_me:$LINENO: result: $WINDRES" >&5
16410 echo "${ECHO_T}$WINDRES" >&6
16411 else
16412 echo "$as_me:$LINENO: result: no" >&5
16413 echo "${ECHO_T}no" >&6
16414 fi
16415
16416 fi
16417 if test -z "$ac_cv_prog_WINDRES"; then
16418 ac_ct_WINDRES=$WINDRES
16419 # Extract the first word of "windres", so it can be a program name with args.
16420 set dummy windres; ac_word=$2
16421 echo "$as_me:$LINENO: checking for $ac_word" >&5
16422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16423 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 else
16426 if test -n "$ac_ct_WINDRES"; then
16427 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16428 else
16429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16430 for as_dir in $PATH
16431 do
16432 IFS=$as_save_IFS
16433 test -z "$as_dir" && as_dir=.
16434 for ac_exec_ext in '' $ac_executable_extensions; do
16435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16436 ac_cv_prog_ac_ct_WINDRES="windres"
16437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16438 break 2
16439 fi
16440 done
16441 done
16442
16443 fi
16444 fi
16445 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16446 if test -n "$ac_ct_WINDRES"; then
16447 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16448 echo "${ECHO_T}$ac_ct_WINDRES" >&6
16449 else
16450 echo "$as_me:$LINENO: result: no" >&5
16451 echo "${ECHO_T}no" >&6
16452 fi
16453
16454 WINDRES=$ac_ct_WINDRES
16455 else
16456 WINDRES="$ac_cv_prog_WINDRES"
16457 fi
16458
16459 RESCOMP="$WINDRES"
16460 if test -n "$ac_tool_prefix"; then
16461 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16462 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16463 echo "$as_me:$LINENO: checking for $ac_word" >&5
16464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16465 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 else
16468 if test -n "$DLLTOOL"; then
16469 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16470 else
16471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16472 for as_dir in $PATH
16473 do
16474 IFS=$as_save_IFS
16475 test -z "$as_dir" && as_dir=.
16476 for ac_exec_ext in '' $ac_executable_extensions; do
16477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16478 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16480 break 2
16481 fi
16482 done
16483 done
16484
16485 fi
16486 fi
16487 DLLTOOL=$ac_cv_prog_DLLTOOL
16488 if test -n "$DLLTOOL"; then
16489 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16490 echo "${ECHO_T}$DLLTOOL" >&6
16491 else
16492 echo "$as_me:$LINENO: result: no" >&5
16493 echo "${ECHO_T}no" >&6
16494 fi
16495
16496 fi
16497 if test -z "$ac_cv_prog_DLLTOOL"; then
16498 ac_ct_DLLTOOL=$DLLTOOL
16499 # Extract the first word of "dlltool", so it can be a program name with args.
16500 set dummy dlltool; ac_word=$2
16501 echo "$as_me:$LINENO: checking for $ac_word" >&5
16502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16503 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 else
16506 if test -n "$ac_ct_DLLTOOL"; then
16507 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16508 else
16509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16510 for as_dir in $PATH
16511 do
16512 IFS=$as_save_IFS
16513 test -z "$as_dir" && as_dir=.
16514 for ac_exec_ext in '' $ac_executable_extensions; do
16515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16516 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16518 break 2
16519 fi
16520 done
16521 done
16522
16523 fi
16524 fi
16525 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16526 if test -n "$ac_ct_DLLTOOL"; then
16527 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16528 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
16529 else
16530 echo "$as_me:$LINENO: result: no" >&5
16531 echo "${ECHO_T}no" >&6
16532 fi
16533
16534 DLLTOOL=$ac_ct_DLLTOOL
16535 else
16536 DLLTOOL="$ac_cv_prog_DLLTOOL"
16537 fi
16538
16539 ;;
16540 esac
16541 fi
16542
16543 echo "$as_me:$LINENO: checking if make is GNU make" >&5
16544 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
16545 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16546 echo $ECHO_N "(cached) $ECHO_C" >&6
16547 else
16548
16549 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16550 egrep -s GNU > /dev/null); then
16551 wx_cv_prog_makeisgnu="yes"
16552 else
16553 wx_cv_prog_makeisgnu="no"
16554 fi
16555
16556 fi
16557 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16558 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
16559
16560 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16561 IF_GNU_MAKE=""
16562 else
16563 IF_GNU_MAKE="#"
16564 fi
16565
16566
16567
16568 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16569 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16570 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
16571 if test "${wx_cv_prog_makevpath+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 else
16574
16575 cat - << EOF > confMake
16576 check : file
16577 cp \$? \$@
16578 cp \$? final_file
16579 EOF
16580
16581 if test ! -d sub ; then
16582 mkdir sub
16583 fi
16584 echo dummy > sub/file
16585 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16586 RESULT=$?
16587 rm -f sub/file check final_file confMake
16588 rmdir sub
16589 if test "$RESULT" = 0; then
16590 wx_cv_prog_makevpath="yes"
16591 else
16592 wx_cv_prog_makevpath="no"
16593 fi
16594
16595 fi
16596 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16597 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
16598
16599 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16600 { { echo "$as_me:$LINENO: error:
16601 You need a make-utility that is able to use the variable
16602 VPATH correctly.
16603 If your version of make does not support VPATH correctly,
16604 please install GNU-make (possibly as gmake), and start
16605 configure with the following command:
16606 export MAKE=gmake; ./configure for sh-type shells
16607 setenv MAKE gmake; ./configure for csh-type shells
16608 Also please do remember to use gmake in this case every time
16609 you are trying to compile.
16610 " >&5
16611 echo "$as_me: error:
16612 You need a make-utility that is able to use the variable
16613 VPATH correctly.
16614 If your version of make does not support VPATH correctly,
16615 please install GNU-make (possibly as gmake), and start
16616 configure with the following command:
16617 export MAKE=gmake; ./configure for sh-type shells
16618 setenv MAKE gmake; ./configure for csh-type shells
16619 Also please do remember to use gmake in this case every time
16620 you are trying to compile.
16621 " >&2;}
16622 { (exit 1); exit 1; }; }
16623 fi fi
16624 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16625 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16626 LN_S=$as_ln_s
16627 if test "$LN_S" = "ln -s"; then
16628 echo "$as_me:$LINENO: result: yes" >&5
16629 echo "${ECHO_T}yes" >&6
16630 else
16631 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16632 echo "${ECHO_T}no, using $LN_S" >&6
16633 fi
16634
16635
16636
16637
16638 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16639 CXXFLAGS="-qunique $CXXFLAGS"
16640 fi
16641
16642 case "${host}" in
16643 powerpc-*-darwin* )
16644 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16645 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h. */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652
16653 int
16654 main ()
16655 {
16656 #ifndef __POWERPC__
16657 choke me for lack of PowerPC
16658 #endif
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>conftest.er1
16667 ac_status=$?
16668 grep -v '^ *+' conftest.er1 >conftest.err
16669 rm -f conftest.er1
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16676 ac_status=$?
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 echo "$as_me:$LINENO: result: yes" >&5
16686 echo "${ECHO_T}yes" >&6
16687 else
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16690
16691 echo "$as_me:$LINENO: result: no" >&5
16692 echo "${ECHO_T}no" >&6
16693 cat >>confdefs.h <<\_ACEOF
16694 #define __POWERPC__ 1
16695 _ACEOF
16696
16697
16698 fi
16699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16700 ;;
16701 esac
16702
16703 case "${host}" in
16704 *-*-darwin* )
16705 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16706 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #include <CoreFoundation/CFBase.h>
16714
16715 int
16716 main ()
16717 {
16718
16719 ;
16720 return 0;
16721 }
16722 _ACEOF
16723 rm -f conftest.$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725 (eval $ac_compile) 2>conftest.er1
16726 ac_status=$?
16727 grep -v '^ *+' conftest.er1 >conftest.err
16728 rm -f conftest.er1
16729 cat conftest.err >&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; } &&
16738 { ac_try='test -s conftest.$ac_objext'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16741 ac_status=$?
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; }; then
16744 echo "$as_me:$LINENO: result: yes" >&5
16745 echo "${ECHO_T}yes" >&6
16746 else
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.$ac_ext >&5
16749
16750 echo "$as_me:$LINENO: result: no" >&5
16751 echo "${ECHO_T}no" >&6
16752 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16753 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16754 cat >conftest.$ac_ext <<_ACEOF
16755 /* confdefs.h. */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 #define __CF_USE_FRAMEWORK_INCLUDES__
16761 #include <CoreFoundation/CFBase.h>
16762
16763 int
16764 main ()
16765 {
16766
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 echo "$as_me:$LINENO: result: yes" >&5
16793 echo "${ECHO_T}yes" >&6
16794 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16795 else
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16798
16799 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16800 See \`config.log' for more details." >&5
16801 echo "$as_me: error: no. CoreFoundation not available.
16802 See \`config.log' for more details." >&2;}
16803 { (exit 1); exit 1; }; }
16804
16805 fi
16806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16807
16808
16809 fi
16810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16811 ;;
16812 esac
16813
16814 case "${host}" in
16815 *-pc-os2_emx | *-pc-os2-emx )
16816 ac_ext=c
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16821
16822 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16823 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16824 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16825 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 else
16828 ac_check_lib_save_LIBS=$LIBS
16829 LIBS="-lcExt $LIBS"
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836
16837 /* Override any gcc2 internal prototype to avoid an error. */
16838 #ifdef __cplusplus
16839 extern "C"
16840 #endif
16841 /* We use char because int might match the return type of a gcc2
16842 builtin and then its argument prototype would still apply. */
16843 char drand48 ();
16844 int
16845 main ()
16846 {
16847 drand48 ();
16848 ;
16849 return 0;
16850 }
16851 _ACEOF
16852 rm -f conftest.$ac_objext conftest$ac_exeext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16854 (eval $ac_link) 2>conftest.er1
16855 ac_status=$?
16856 grep -v '^ *+' conftest.er1 >conftest.err
16857 rm -f conftest.er1
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try='test -s conftest$ac_exeext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
16873 ac_cv_lib_cExt_drand48=yes
16874 else
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.$ac_ext >&5
16877
16878 ac_cv_lib_cExt_drand48=no
16879 fi
16880 rm -f conftest.err conftest.$ac_objext \
16881 conftest$ac_exeext conftest.$ac_ext
16882 LIBS=$ac_check_lib_save_LIBS
16883 fi
16884 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16885 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16886 if test $ac_cv_lib_cExt_drand48 = yes; then
16887 LIBS="$LIBS -lcExt"
16888 fi
16889
16890 else
16891 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16892 fi
16893 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16894 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16895 if test "${wx_cv_gccversion+set}" = set; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 else
16898
16899 if test "$cross_compiling" = yes; then
16900 wx_cv_gccversion="EMX2"
16901
16902 else
16903 cat >conftest.$ac_ext <<_ACEOF
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909
16910 #include <stdio.h>
16911
16912 int main()
16913 {
16914 FILE *f=fopen("conftestval", "w");
16915 if (!f) exit(1);
16916 fprintf(f,
16917 #if (__GNUC__ < 3)
16918 "EMX2"
16919 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16920 "EMX3"
16921 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16922 "Innotek5"
16923 #else
16924 "Innotek6"
16925 #endif
16926 );
16927 exit(0);
16928 }
16929
16930 _ACEOF
16931 rm -f conftest$ac_exeext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16933 (eval $ac_link) 2>&5
16934 ac_status=$?
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16942 wx_cv_gccversion=`cat conftestval`
16943 else
16944 echo "$as_me: program exited with status $ac_status" >&5
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16947
16948 ( exit $ac_status )
16949 wx_cv_gccversion="EMX2"
16950 fi
16951 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16952 fi
16953
16954 fi
16955 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16956 echo "${ECHO_T}$wx_cv_gccversion" >&6
16957 ac_ext=cc
16958 ac_cpp='$CXXCPP $CPPFLAGS'
16959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16962
16963 if test "$wx_cv_gccversion" = "EMX2"; then
16964 LIBS="$LIBS -lstdcpp"
16965 LDFLAGS="$LDFLAGS -Zsysv-signals"
16966 else
16967 if test "$wx_cv_gccversion" = "EMX3"; then
16968 LIBS="$LIBS -lstdcxx -lgcc"
16969 LDFLAGS="$LDFLAGS -Zsysv-signals"
16970 else
16971 LIBS="$LIBS -lstdc++"
16972 fi
16973 fi
16974 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16975 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16976 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16977 wxUSE_OMF=yes
16978 enable_omf=yes
16979 fi
16980 ;;
16981 *)
16982
16983 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16984 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16985 if test "${ac_cv_string_strcasecmp+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16987 else
16988
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995
16996 #include <string.h>
16997
16998 int
16999 main ()
17000 {
17001
17002 strcasecmp("foo", "bar");
17003
17004 ;
17005 return 0;
17006 }
17007 _ACEOF
17008 rm -f conftest.$ac_objext conftest$ac_exeext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17010 (eval $ac_link) 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17020 ac_status=$?
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; } &&
17023 { ac_try='test -s conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17026 ac_status=$?
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_string_strcasecmp=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 ac_cv_string_strcasecmp=no
17035
17036 fi
17037 rm -f conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039
17040 fi
17041 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17042 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
17043
17044 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17045 cat >>confdefs.h <<\_ACEOF
17046 #define HAVE_STRCASECMP_IN_STRING_H 1
17047 _ACEOF
17048
17049 else
17050 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17051 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
17052 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 else
17055
17056 cat >conftest.$ac_ext <<_ACEOF
17057 /* confdefs.h. */
17058 _ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062
17063 #include <strings.h>
17064
17065 int
17066 main ()
17067 {
17068
17069 strcasecmp("foo", "bar");
17070
17071 ;
17072 return 0;
17073 }
17074 _ACEOF
17075 rm -f conftest.$ac_objext conftest$ac_exeext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17077 (eval $ac_link) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest$ac_exeext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_strings_strcasecmp=yes
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17100
17101 ac_cv_strings_strcasecmp=no
17102
17103 fi
17104 rm -f conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17106
17107 fi
17108 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17109 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
17110
17111 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17112 cat >>confdefs.h <<\_ACEOF
17113 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17114 _ACEOF
17115
17116 else
17117 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17118 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17119 { (exit 1); exit 1; }; }
17120 fi
17121 fi
17122
17123 ;;
17124 esac
17125
17126
17127 ac_ext=cc
17128 ac_cpp='$CXXCPP $CPPFLAGS'
17129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17132 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17133 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17134 if test -z "$CXXCPP"; then
17135 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 else
17138 # Double quotes because CXXCPP needs to be expanded
17139 for CXXCPP in "$CXX -E" "/lib/cpp"
17140 do
17141 ac_preproc_ok=false
17142 for ac_cxx_preproc_warn_flag in '' yes
17143 do
17144 # Use a header file that comes with gcc, so configuring glibc
17145 # with a fresh cross-compiler works.
17146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17147 # <limits.h> exists even on freestanding compilers.
17148 # On the NeXT, cc -E runs the code through the compiler's parser,
17149 # not just through cpp. "Syntax error" is here to catch this case.
17150 cat >conftest.$ac_ext <<_ACEOF
17151 /* confdefs.h. */
17152 _ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17156 #ifdef __STDC__
17157 # include <limits.h>
17158 #else
17159 # include <assert.h>
17160 #endif
17161 Syntax error
17162 _ACEOF
17163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17165 ac_status=$?
17166 grep -v '^ *+' conftest.er1 >conftest.err
17167 rm -f conftest.er1
17168 cat conftest.err >&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } >/dev/null; then
17171 if test -s conftest.err; then
17172 ac_cpp_err=$ac_cxx_preproc_warn_flag
17173 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17174 else
17175 ac_cpp_err=
17176 fi
17177 else
17178 ac_cpp_err=yes
17179 fi
17180 if test -z "$ac_cpp_err"; then
17181 :
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17185
17186 # Broken: fails on valid input.
17187 continue
17188 fi
17189 rm -f conftest.err conftest.$ac_ext
17190
17191 # OK, works on sane cases. Now check whether non-existent headers
17192 # can be detected and how.
17193 cat >conftest.$ac_ext <<_ACEOF
17194 /* confdefs.h. */
17195 _ACEOF
17196 cat confdefs.h >>conftest.$ac_ext
17197 cat >>conftest.$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 #include <ac_nonexistent.h>
17200 _ACEOF
17201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17203 ac_status=$?
17204 grep -v '^ *+' conftest.er1 >conftest.err
17205 rm -f conftest.er1
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } >/dev/null; then
17209 if test -s conftest.err; then
17210 ac_cpp_err=$ac_cxx_preproc_warn_flag
17211 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17212 else
17213 ac_cpp_err=
17214 fi
17215 else
17216 ac_cpp_err=yes
17217 fi
17218 if test -z "$ac_cpp_err"; then
17219 # Broken: success on invalid input.
17220 continue
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17224
17225 # Passes both tests.
17226 ac_preproc_ok=:
17227 break
17228 fi
17229 rm -f conftest.err conftest.$ac_ext
17230
17231 done
17232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17233 rm -f conftest.err conftest.$ac_ext
17234 if $ac_preproc_ok; then
17235 break
17236 fi
17237
17238 done
17239 ac_cv_prog_CXXCPP=$CXXCPP
17240
17241 fi
17242 CXXCPP=$ac_cv_prog_CXXCPP
17243 else
17244 ac_cv_prog_CXXCPP=$CXXCPP
17245 fi
17246 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17247 echo "${ECHO_T}$CXXCPP" >&6
17248 ac_preproc_ok=false
17249 for ac_cxx_preproc_warn_flag in '' yes
17250 do
17251 # Use a header file that comes with gcc, so configuring glibc
17252 # with a fresh cross-compiler works.
17253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17254 # <limits.h> exists even on freestanding compilers.
17255 # On the NeXT, cc -E runs the code through the compiler's parser,
17256 # not just through cpp. "Syntax error" is here to catch this case.
17257 cat >conftest.$ac_ext <<_ACEOF
17258 /* confdefs.h. */
17259 _ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17263 #ifdef __STDC__
17264 # include <limits.h>
17265 #else
17266 # include <assert.h>
17267 #endif
17268 Syntax error
17269 _ACEOF
17270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } >/dev/null; then
17278 if test -s conftest.err; then
17279 ac_cpp_err=$ac_cxx_preproc_warn_flag
17280 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17281 else
17282 ac_cpp_err=
17283 fi
17284 else
17285 ac_cpp_err=yes
17286 fi
17287 if test -z "$ac_cpp_err"; then
17288 :
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17292
17293 # Broken: fails on valid input.
17294 continue
17295 fi
17296 rm -f conftest.err conftest.$ac_ext
17297
17298 # OK, works on sane cases. Now check whether non-existent headers
17299 # can be detected and how.
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #include <ac_nonexistent.h>
17307 _ACEOF
17308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } >/dev/null; then
17316 if test -s conftest.err; then
17317 ac_cpp_err=$ac_cxx_preproc_warn_flag
17318 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17319 else
17320 ac_cpp_err=
17321 fi
17322 else
17323 ac_cpp_err=yes
17324 fi
17325 if test -z "$ac_cpp_err"; then
17326 # Broken: success on invalid input.
17327 continue
17328 else
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17331
17332 # Passes both tests.
17333 ac_preproc_ok=:
17334 break
17335 fi
17336 rm -f conftest.err conftest.$ac_ext
17337
17338 done
17339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17340 rm -f conftest.err conftest.$ac_ext
17341 if $ac_preproc_ok; then
17342 :
17343 else
17344 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17345 See \`config.log' for more details." >&5
17346 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17347 See \`config.log' for more details." >&2;}
17348 { (exit 1); exit 1; }; }
17349 fi
17350
17351 ac_ext=cc
17352 ac_cpp='$CXXCPP $CPPFLAGS'
17353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17356
17357
17358 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17359 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
17360 if test "${ac_cv_header_stdc+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 else
17363 cat >conftest.$ac_ext <<_ACEOF
17364 /* confdefs.h. */
17365 _ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369 #include <stdlib.h>
17370 #include <stdarg.h>
17371 #include <string.h>
17372 #include <float.h>
17373
17374 int
17375 main ()
17376 {
17377
17378 ;
17379 return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17385 ac_status=$?
17386 grep -v '^ *+' conftest.er1 >conftest.err
17387 rm -f conftest.er1
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17394 ac_status=$?
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; } &&
17397 { ac_try='test -s conftest.$ac_objext'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; }; then
17403 ac_cv_header_stdc=yes
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 ac_cv_header_stdc=no
17409 fi
17410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17411
17412 if test $ac_cv_header_stdc = yes; then
17413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 #include <string.h>
17421
17422 _ACEOF
17423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17424 $EGREP "memchr" >/dev/null 2>&1; then
17425 :
17426 else
17427 ac_cv_header_stdc=no
17428 fi
17429 rm -f conftest*
17430
17431 fi
17432
17433 if test $ac_cv_header_stdc = yes; then
17434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 #include <stdlib.h>
17442
17443 _ACEOF
17444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17445 $EGREP "free" >/dev/null 2>&1; then
17446 :
17447 else
17448 ac_cv_header_stdc=no
17449 fi
17450 rm -f conftest*
17451
17452 fi
17453
17454 if test $ac_cv_header_stdc = yes; then
17455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17456 if test "$cross_compiling" = yes; then
17457 :
17458 else
17459 cat >conftest.$ac_ext <<_ACEOF
17460 /* confdefs.h. */
17461 _ACEOF
17462 cat confdefs.h >>conftest.$ac_ext
17463 cat >>conftest.$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17465 #include <ctype.h>
17466 #if ((' ' & 0x0FF) == 0x020)
17467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17469 #else
17470 # define ISLOWER(c) \
17471 (('a' <= (c) && (c) <= 'i') \
17472 || ('j' <= (c) && (c) <= 'r') \
17473 || ('s' <= (c) && (c) <= 'z'))
17474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17475 #endif
17476
17477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17478 int
17479 main ()
17480 {
17481 int i;
17482 for (i = 0; i < 256; i++)
17483 if (XOR (islower (i), ISLOWER (i))
17484 || toupper (i) != TOUPPER (i))
17485 exit(2);
17486 exit (0);
17487 }
17488 _ACEOF
17489 rm -f conftest$ac_exeext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17491 (eval $ac_link) 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; }; then
17500 :
17501 else
17502 echo "$as_me: program exited with status $ac_status" >&5
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.$ac_ext >&5
17505
17506 ( exit $ac_status )
17507 ac_cv_header_stdc=no
17508 fi
17509 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17510 fi
17511 fi
17512 fi
17513 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17514 echo "${ECHO_T}$ac_cv_header_stdc" >&6
17515 if test $ac_cv_header_stdc = yes; then
17516
17517 cat >>confdefs.h <<\_ACEOF
17518 #define STDC_HEADERS 1
17519 _ACEOF
17520
17521 fi
17522
17523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17534 inttypes.h stdint.h unistd.h
17535 do
17536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17537 echo "$as_me:$LINENO: checking for $ac_header" >&5
17538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 else
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17549
17550 #include <$ac_header>
17551 _ACEOF
17552 rm -f conftest.$ac_objext
17553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17554 (eval $ac_compile) 2>conftest.er1
17555 ac_status=$?
17556 grep -v '^ *+' conftest.er1 >conftest.err
17557 rm -f conftest.er1
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } &&
17561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 eval "$as_ac_Header=yes"
17574 else
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17577
17578 eval "$as_ac_Header=no"
17579 fi
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 fi
17582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17585 cat >>confdefs.h <<_ACEOF
17586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17587 _ACEOF
17588
17589 fi
17590
17591 done
17592
17593
17594
17595 for ac_header in stdlib.h
17596 do
17597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17599 echo "$as_me:$LINENO: checking for $ac_header" >&5
17600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 fi
17604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17606 else
17607 # Is the header compilable?
17608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17610 cat >conftest.$ac_ext <<_ACEOF
17611 /* confdefs.h. */
17612 _ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 $ac_includes_default
17617 #include <$ac_header>
17618 _ACEOF
17619 rm -f conftest.$ac_objext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17621 (eval $ac_compile) 2>conftest.er1
17622 ac_status=$?
17623 grep -v '^ *+' conftest.er1 >conftest.err
17624 rm -f conftest.er1
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest.$ac_objext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 ac_header_compiler=yes
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17644
17645 ac_header_compiler=no
17646 fi
17647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17649 echo "${ECHO_T}$ac_header_compiler" >&6
17650
17651 # Is the header present?
17652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17654 cat >conftest.$ac_ext <<_ACEOF
17655 /* confdefs.h. */
17656 _ACEOF
17657 cat confdefs.h >>conftest.$ac_ext
17658 cat >>conftest.$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 #include <$ac_header>
17661 _ACEOF
17662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17664 ac_status=$?
17665 grep -v '^ *+' conftest.er1 >conftest.err
17666 rm -f conftest.er1
17667 cat conftest.err >&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } >/dev/null; then
17670 if test -s conftest.err; then
17671 ac_cpp_err=$ac_cxx_preproc_warn_flag
17672 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17673 else
17674 ac_cpp_err=
17675 fi
17676 else
17677 ac_cpp_err=yes
17678 fi
17679 if test -z "$ac_cpp_err"; then
17680 ac_header_preproc=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 ac_header_preproc=no
17686 fi
17687 rm -f conftest.err conftest.$ac_ext
17688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17689 echo "${ECHO_T}$ac_header_preproc" >&6
17690
17691 # So? What about this header?
17692 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17693 yes:no: )
17694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17698 ac_header_preproc=yes
17699 ;;
17700 no:yes:* )
17701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17713 (
17714 cat <<\_ASBOX
17715 ## ----------------------------------------- ##
17716 ## Report this to wx-dev@lists.wxwidgets.org ##
17717 ## ----------------------------------------- ##
17718 _ASBOX
17719 ) |
17720 sed "s/^/$as_me: WARNING: /" >&2
17721 ;;
17722 esac
17723 echo "$as_me:$LINENO: checking for $ac_header" >&5
17724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 else
17728 eval "$as_ac_Header=\$ac_header_preproc"
17729 fi
17730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17732
17733 fi
17734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17735 cat >>confdefs.h <<_ACEOF
17736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17737 _ACEOF
17738
17739 fi
17740
17741 done
17742
17743
17744 for ac_header in malloc.h
17745 do
17746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17748 echo "$as_me:$LINENO: checking for $ac_header" >&5
17749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 fi
17753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17755 else
17756 # Is the header compilable?
17757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17766 #include <$ac_header>
17767 _ACEOF
17768 rm -f conftest.$ac_objext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17770 (eval $ac_compile) 2>conftest.er1
17771 ac_status=$?
17772 grep -v '^ *+' conftest.er1 >conftest.err
17773 rm -f conftest.er1
17774 cat conftest.err >&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17780 ac_status=$?
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; } &&
17783 { ac_try='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17786 ac_status=$?
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 ac_header_compiler=yes
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17793
17794 ac_header_compiler=no
17795 fi
17796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17798 echo "${ECHO_T}$ac_header_compiler" >&6
17799
17800 # Is the header present?
17801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17803 cat >conftest.$ac_ext <<_ACEOF
17804 /* confdefs.h. */
17805 _ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 #include <$ac_header>
17810 _ACEOF
17811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17813 ac_status=$?
17814 grep -v '^ *+' conftest.er1 >conftest.err
17815 rm -f conftest.er1
17816 cat conftest.err >&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); } >/dev/null; then
17819 if test -s conftest.err; then
17820 ac_cpp_err=$ac_cxx_preproc_warn_flag
17821 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17822 else
17823 ac_cpp_err=
17824 fi
17825 else
17826 ac_cpp_err=yes
17827 fi
17828 if test -z "$ac_cpp_err"; then
17829 ac_header_preproc=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 ac_header_preproc=no
17835 fi
17836 rm -f conftest.err conftest.$ac_ext
17837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17838 echo "${ECHO_T}$ac_header_preproc" >&6
17839
17840 # So? What about this header?
17841 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17842 yes:no: )
17843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17847 ac_header_preproc=yes
17848 ;;
17849 no:yes:* )
17850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17862 (
17863 cat <<\_ASBOX
17864 ## ----------------------------------------- ##
17865 ## Report this to wx-dev@lists.wxwidgets.org ##
17866 ## ----------------------------------------- ##
17867 _ASBOX
17868 ) |
17869 sed "s/^/$as_me: WARNING: /" >&2
17870 ;;
17871 esac
17872 echo "$as_me:$LINENO: checking for $ac_header" >&5
17873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 else
17877 eval "$as_ac_Header=\$ac_header_preproc"
17878 fi
17879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17881
17882 fi
17883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17884 cat >>confdefs.h <<_ACEOF
17885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17886 _ACEOF
17887
17888 fi
17889
17890 done
17891
17892
17893 for ac_header in unistd.h
17894 do
17895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17897 echo "$as_me:$LINENO: checking for $ac_header" >&5
17898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 fi
17902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17904 else
17905 # Is the header compilable?
17906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17915 #include <$ac_header>
17916 _ACEOF
17917 rm -f conftest.$ac_objext
17918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17919 (eval $ac_compile) 2>conftest.er1
17920 ac_status=$?
17921 grep -v '^ *+' conftest.er1 >conftest.err
17922 rm -f conftest.er1
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } &&
17926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try='test -s conftest.$ac_objext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17935 ac_status=$?
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 ac_header_compiler=yes
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17942
17943 ac_header_compiler=no
17944 fi
17945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17947 echo "${ECHO_T}$ac_header_compiler" >&6
17948
17949 # Is the header present?
17950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17952 cat >conftest.$ac_ext <<_ACEOF
17953 /* confdefs.h. */
17954 _ACEOF
17955 cat confdefs.h >>conftest.$ac_ext
17956 cat >>conftest.$ac_ext <<_ACEOF
17957 /* end confdefs.h. */
17958 #include <$ac_header>
17959 _ACEOF
17960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17962 ac_status=$?
17963 grep -v '^ *+' conftest.er1 >conftest.err
17964 rm -f conftest.er1
17965 cat conftest.err >&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } >/dev/null; then
17968 if test -s conftest.err; then
17969 ac_cpp_err=$ac_cxx_preproc_warn_flag
17970 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17971 else
17972 ac_cpp_err=
17973 fi
17974 else
17975 ac_cpp_err=yes
17976 fi
17977 if test -z "$ac_cpp_err"; then
17978 ac_header_preproc=yes
17979 else
17980 echo "$as_me: failed program was:" >&5
17981 sed 's/^/| /' conftest.$ac_ext >&5
17982
17983 ac_header_preproc=no
17984 fi
17985 rm -f conftest.err conftest.$ac_ext
17986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17987 echo "${ECHO_T}$ac_header_preproc" >&6
17988
17989 # So? What about this header?
17990 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17991 yes:no: )
17992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17996 ac_header_preproc=yes
17997 ;;
17998 no:yes:* )
17999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18011 (
18012 cat <<\_ASBOX
18013 ## ----------------------------------------- ##
18014 ## Report this to wx-dev@lists.wxwidgets.org ##
18015 ## ----------------------------------------- ##
18016 _ASBOX
18017 ) |
18018 sed "s/^/$as_me: WARNING: /" >&2
18019 ;;
18020 esac
18021 echo "$as_me:$LINENO: checking for $ac_header" >&5
18022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026 eval "$as_ac_Header=\$ac_header_preproc"
18027 fi
18028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18030
18031 fi
18032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18033 cat >>confdefs.h <<_ACEOF
18034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18035 _ACEOF
18036
18037 fi
18038
18039 done
18040
18041
18042 for ac_header in wchar.h
18043 do
18044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18046 echo "$as_me:$LINENO: checking for $ac_header" >&5
18047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 fi
18051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18053 else
18054 # Is the header compilable?
18055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18057 cat >conftest.$ac_ext <<_ACEOF
18058 /* confdefs.h. */
18059 _ACEOF
18060 cat confdefs.h >>conftest.$ac_ext
18061 cat >>conftest.$ac_ext <<_ACEOF
18062 /* end confdefs.h. */
18063 $ac_includes_default
18064 #include <$ac_header>
18065 _ACEOF
18066 rm -f conftest.$ac_objext
18067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18068 (eval $ac_compile) 2>conftest.er1
18069 ac_status=$?
18070 grep -v '^ *+' conftest.er1 >conftest.err
18071 rm -f conftest.er1
18072 cat conftest.err >&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } &&
18075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18078 ac_status=$?
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; } &&
18081 { ac_try='test -s conftest.$ac_objext'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18084 ac_status=$?
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; }; then
18087 ac_header_compiler=yes
18088 else
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18091
18092 ac_header_compiler=no
18093 fi
18094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18096 echo "${ECHO_T}$ac_header_compiler" >&6
18097
18098 # Is the header present?
18099 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18101 cat >conftest.$ac_ext <<_ACEOF
18102 /* confdefs.h. */
18103 _ACEOF
18104 cat confdefs.h >>conftest.$ac_ext
18105 cat >>conftest.$ac_ext <<_ACEOF
18106 /* end confdefs.h. */
18107 #include <$ac_header>
18108 _ACEOF
18109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18111 ac_status=$?
18112 grep -v '^ *+' conftest.er1 >conftest.err
18113 rm -f conftest.er1
18114 cat conftest.err >&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } >/dev/null; then
18117 if test -s conftest.err; then
18118 ac_cpp_err=$ac_cxx_preproc_warn_flag
18119 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18120 else
18121 ac_cpp_err=
18122 fi
18123 else
18124 ac_cpp_err=yes
18125 fi
18126 if test -z "$ac_cpp_err"; then
18127 ac_header_preproc=yes
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18131
18132 ac_header_preproc=no
18133 fi
18134 rm -f conftest.err conftest.$ac_ext
18135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18136 echo "${ECHO_T}$ac_header_preproc" >&6
18137
18138 # So? What about this header?
18139 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18140 yes:no: )
18141 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18142 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18144 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18145 ac_header_preproc=yes
18146 ;;
18147 no:yes:* )
18148 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18149 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18150 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18151 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18152 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18153 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18154 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18155 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18157 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18158 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18159 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18160 (
18161 cat <<\_ASBOX
18162 ## ----------------------------------------- ##
18163 ## Report this to wx-dev@lists.wxwidgets.org ##
18164 ## ----------------------------------------- ##
18165 _ASBOX
18166 ) |
18167 sed "s/^/$as_me: WARNING: /" >&2
18168 ;;
18169 esac
18170 echo "$as_me:$LINENO: checking for $ac_header" >&5
18171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18173 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 else
18175 eval "$as_ac_Header=\$ac_header_preproc"
18176 fi
18177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18179
18180 fi
18181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18182 cat >>confdefs.h <<_ACEOF
18183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18184 _ACEOF
18185
18186 fi
18187
18188 done
18189
18190
18191 if test "$ac_cv_header_wchar_h" != "yes"; then
18192
18193 for ac_header in wcstr.h
18194 do
18195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18197 echo "$as_me:$LINENO: checking for $ac_header" >&5
18198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 fi
18202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18204 else
18205 # Is the header compilable?
18206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18208 cat >conftest.$ac_ext <<_ACEOF
18209 /* confdefs.h. */
18210 _ACEOF
18211 cat confdefs.h >>conftest.$ac_ext
18212 cat >>conftest.$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 $ac_includes_default
18215 #include <$ac_header>
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_header_compiler=yes
18239 else
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18242
18243 ac_header_compiler=no
18244 fi
18245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18247 echo "${ECHO_T}$ac_header_compiler" >&6
18248
18249 # Is the header present?
18250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18252 cat >conftest.$ac_ext <<_ACEOF
18253 /* confdefs.h. */
18254 _ACEOF
18255 cat confdefs.h >>conftest.$ac_ext
18256 cat >>conftest.$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258 #include <$ac_header>
18259 _ACEOF
18260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } >/dev/null; then
18268 if test -s conftest.err; then
18269 ac_cpp_err=$ac_cxx_preproc_warn_flag
18270 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18271 else
18272 ac_cpp_err=
18273 fi
18274 else
18275 ac_cpp_err=yes
18276 fi
18277 if test -z "$ac_cpp_err"; then
18278 ac_header_preproc=yes
18279 else
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 ac_header_preproc=no
18284 fi
18285 rm -f conftest.err conftest.$ac_ext
18286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18287 echo "${ECHO_T}$ac_header_preproc" >&6
18288
18289 # So? What about this header?
18290 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18291 yes:no: )
18292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18296 ac_header_preproc=yes
18297 ;;
18298 no:yes:* )
18299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18302 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18306 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18311 (
18312 cat <<\_ASBOX
18313 ## ----------------------------------------- ##
18314 ## Report this to wx-dev@lists.wxwidgets.org ##
18315 ## ----------------------------------------- ##
18316 _ASBOX
18317 ) |
18318 sed "s/^/$as_me: WARNING: /" >&2
18319 ;;
18320 esac
18321 echo "$as_me:$LINENO: checking for $ac_header" >&5
18322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18324 echo $ECHO_N "(cached) $ECHO_C" >&6
18325 else
18326 eval "$as_ac_Header=\$ac_header_preproc"
18327 fi
18328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18330
18331 fi
18332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18333 cat >>confdefs.h <<_ACEOF
18334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18335 _ACEOF
18336
18337 fi
18338
18339 done
18340
18341 fi
18342
18343
18344 for ac_header in fnmatch.h
18345 do
18346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18348 echo "$as_me:$LINENO: checking for $ac_header" >&5
18349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 fi
18353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18355 else
18356 # Is the header compilable?
18357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18359 cat >conftest.$ac_ext <<_ACEOF
18360 /* confdefs.h. */
18361 _ACEOF
18362 cat confdefs.h >>conftest.$ac_ext
18363 cat >>conftest.$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 $ac_includes_default
18366 #include <$ac_header>
18367 _ACEOF
18368 rm -f conftest.$ac_objext
18369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18370 (eval $ac_compile) 2>conftest.er1
18371 ac_status=$?
18372 grep -v '^ *+' conftest.er1 >conftest.err
18373 rm -f conftest.er1
18374 cat conftest.err >&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } &&
18377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18380 ac_status=$?
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; } &&
18383 { ac_try='test -s conftest.$ac_objext'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_header_compiler=yes
18390 else
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18393
18394 ac_header_compiler=no
18395 fi
18396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18398 echo "${ECHO_T}$ac_header_compiler" >&6
18399
18400 # Is the header present?
18401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #include <$ac_header>
18410 _ACEOF
18411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } >/dev/null; then
18419 if test -s conftest.err; then
18420 ac_cpp_err=$ac_cxx_preproc_warn_flag
18421 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18422 else
18423 ac_cpp_err=
18424 fi
18425 else
18426 ac_cpp_err=yes
18427 fi
18428 if test -z "$ac_cpp_err"; then
18429 ac_header_preproc=yes
18430 else
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.$ac_ext >&5
18433
18434 ac_header_preproc=no
18435 fi
18436 rm -f conftest.err conftest.$ac_ext
18437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18438 echo "${ECHO_T}$ac_header_preproc" >&6
18439
18440 # So? What about this header?
18441 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18442 yes:no: )
18443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18447 ac_header_preproc=yes
18448 ;;
18449 no:yes:* )
18450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18462 (
18463 cat <<\_ASBOX
18464 ## ----------------------------------------- ##
18465 ## Report this to wx-dev@lists.wxwidgets.org ##
18466 ## ----------------------------------------- ##
18467 _ASBOX
18468 ) |
18469 sed "s/^/$as_me: WARNING: /" >&2
18470 ;;
18471 esac
18472 echo "$as_me:$LINENO: checking for $ac_header" >&5
18473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 else
18477 eval "$as_ac_Header=\$ac_header_preproc"
18478 fi
18479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18481
18482 fi
18483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18484 cat >>confdefs.h <<_ACEOF
18485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18486 _ACEOF
18487
18488 fi
18489
18490 done
18491
18492
18493
18494 for ac_header in langinfo.h
18495 do
18496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18498 echo "$as_me:$LINENO: checking for $ac_header" >&5
18499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18501 echo $ECHO_N "(cached) $ECHO_C" >&6
18502 fi
18503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18505 else
18506 # Is the header compilable?
18507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18509 cat >conftest.$ac_ext <<_ACEOF
18510 /* confdefs.h. */
18511 _ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 $ac_includes_default
18516 #include <$ac_header>
18517 _ACEOF
18518 rm -f conftest.$ac_objext
18519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18520 (eval $ac_compile) 2>conftest.er1
18521 ac_status=$?
18522 grep -v '^ *+' conftest.er1 >conftest.err
18523 rm -f conftest.er1
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } &&
18527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; } &&
18533 { ac_try='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_header_compiler=yes
18540 else
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18543
18544 ac_header_compiler=no
18545 fi
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18548 echo "${ECHO_T}$ac_header_compiler" >&6
18549
18550 # Is the header present?
18551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <$ac_header>
18560 _ACEOF
18561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18563 ac_status=$?
18564 grep -v '^ *+' conftest.er1 >conftest.err
18565 rm -f conftest.er1
18566 cat conftest.err >&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } >/dev/null; then
18569 if test -s conftest.err; then
18570 ac_cpp_err=$ac_cxx_preproc_warn_flag
18571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18572 else
18573 ac_cpp_err=
18574 fi
18575 else
18576 ac_cpp_err=yes
18577 fi
18578 if test -z "$ac_cpp_err"; then
18579 ac_header_preproc=yes
18580 else
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18583
18584 ac_header_preproc=no
18585 fi
18586 rm -f conftest.err conftest.$ac_ext
18587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18588 echo "${ECHO_T}$ac_header_preproc" >&6
18589
18590 # So? What about this header?
18591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18592 yes:no: )
18593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18597 ac_header_preproc=yes
18598 ;;
18599 no:yes:* )
18600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18612 (
18613 cat <<\_ASBOX
18614 ## ----------------------------------------- ##
18615 ## Report this to wx-dev@lists.wxwidgets.org ##
18616 ## ----------------------------------------- ##
18617 _ASBOX
18618 ) |
18619 sed "s/^/$as_me: WARNING: /" >&2
18620 ;;
18621 esac
18622 echo "$as_me:$LINENO: checking for $ac_header" >&5
18623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 else
18627 eval "$as_ac_Header=\$ac_header_preproc"
18628 fi
18629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18631
18632 fi
18633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18634 cat >>confdefs.h <<_ACEOF
18635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18636 _ACEOF
18637
18638 fi
18639
18640 done
18641
18642
18643 case "${host}" in
18644 *-pc-os2_emx | *-pc-os2-emx )
18645 if test $ac_cv_header_langinfo_h = "yes" \
18646 -a \( "$wx_cv_gccversion" = "EMX2" \
18647 -o "$wx_cv_gccversion" = "EMX3" \
18648 -o "$wx_cv_gccversion" = "Innotek5" \); then
18649 LIBS="$LIBS -lintl"
18650 fi
18651 ;;
18652 esac
18653
18654 if test "$USE_UNIX" = 1 ; then
18655
18656 for ac_header in sys/select.h
18657 do
18658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18660 echo "$as_me:$LINENO: checking for $ac_header" >&5
18661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 fi
18665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18667 else
18668 # Is the header compilable?
18669 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18671 cat >conftest.$ac_ext <<_ACEOF
18672 /* confdefs.h. */
18673 _ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 $ac_includes_default
18678 #include <$ac_header>
18679 _ACEOF
18680 rm -f conftest.$ac_objext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18682 (eval $ac_compile) 2>conftest.er1
18683 ac_status=$?
18684 grep -v '^ *+' conftest.er1 >conftest.err
18685 rm -f conftest.er1
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } &&
18689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try='test -s conftest.$ac_objext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18698 ac_status=$?
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18701 ac_header_compiler=yes
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18705
18706 ac_header_compiler=no
18707 fi
18708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18710 echo "${ECHO_T}$ac_header_compiler" >&6
18711
18712 # Is the header present?
18713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 #include <$ac_header>
18722 _ACEOF
18723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } >/dev/null; then
18731 if test -s conftest.err; then
18732 ac_cpp_err=$ac_cxx_preproc_warn_flag
18733 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18734 else
18735 ac_cpp_err=
18736 fi
18737 else
18738 ac_cpp_err=yes
18739 fi
18740 if test -z "$ac_cpp_err"; then
18741 ac_header_preproc=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 ac_header_preproc=no
18747 fi
18748 rm -f conftest.err conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18750 echo "${ECHO_T}$ac_header_preproc" >&6
18751
18752 # So? What about this header?
18753 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18754 yes:no: )
18755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18759 ac_header_preproc=yes
18760 ;;
18761 no:yes:* )
18762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18774 (
18775 cat <<\_ASBOX
18776 ## ----------------------------------------- ##
18777 ## Report this to wx-dev@lists.wxwidgets.org ##
18778 ## ----------------------------------------- ##
18779 _ASBOX
18780 ) |
18781 sed "s/^/$as_me: WARNING: /" >&2
18782 ;;
18783 esac
18784 echo "$as_me:$LINENO: checking for $ac_header" >&5
18785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 else
18789 eval "$as_ac_Header=\$ac_header_preproc"
18790 fi
18791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18793
18794 fi
18795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18796 cat >>confdefs.h <<_ACEOF
18797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18798 _ACEOF
18799
18800 fi
18801
18802 done
18803
18804 fi
18805
18806
18807 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18808 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18809 if test "${ac_cv_c_const+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 else
18812 cat >conftest.$ac_ext <<_ACEOF
18813 /* confdefs.h. */
18814 _ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818
18819 int
18820 main ()
18821 {
18822 /* FIXME: Include the comments suggested by Paul. */
18823 #ifndef __cplusplus
18824 /* Ultrix mips cc rejects this. */
18825 typedef int charset[2];
18826 const charset x;
18827 /* SunOS 4.1.1 cc rejects this. */
18828 char const *const *ccp;
18829 char **p;
18830 /* NEC SVR4.0.2 mips cc rejects this. */
18831 struct point {int x, y;};
18832 static struct point const zero = {0,0};
18833 /* AIX XL C 1.02.0.0 rejects this.
18834 It does not let you subtract one const X* pointer from another in
18835 an arm of an if-expression whose if-part is not a constant
18836 expression */
18837 const char *g = "string";
18838 ccp = &g + (g ? g-g : 0);
18839 /* HPUX 7.0 cc rejects these. */
18840 ++ccp;
18841 p = (char**) ccp;
18842 ccp = (char const *const *) p;
18843 { /* SCO 3.2v4 cc rejects this. */
18844 char *t;
18845 char const *s = 0 ? (char *) 0 : (char const *) 0;
18846
18847 *t++ = 0;
18848 }
18849 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18850 int x[] = {25, 17};
18851 const int *foo = &x[0];
18852 ++foo;
18853 }
18854 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18855 typedef const int *iptr;
18856 iptr p = 0;
18857 ++p;
18858 }
18859 { /* AIX XL C 1.02.0.0 rejects this saying
18860 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18861 struct s { int j; const int *ap[3]; };
18862 struct s *b; b->j = 5;
18863 }
18864 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18865 const int foo = 10;
18866 }
18867 #endif
18868
18869 ;
18870 return 0;
18871 }
18872 _ACEOF
18873 rm -f conftest.$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18876 ac_status=$?
18877 grep -v '^ *+' conftest.er1 >conftest.err
18878 rm -f conftest.er1
18879 cat conftest.err >&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18885 ac_status=$?
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try='test -s conftest.$ac_objext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18894 ac_cv_c_const=yes
18895 else
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18898
18899 ac_cv_c_const=no
18900 fi
18901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18902 fi
18903 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18904 echo "${ECHO_T}$ac_cv_c_const" >&6
18905 if test $ac_cv_c_const = no; then
18906
18907 cat >>confdefs.h <<\_ACEOF
18908 #define const
18909 _ACEOF
18910
18911 fi
18912
18913 echo "$as_me:$LINENO: checking for inline" >&5
18914 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18915 if test "${ac_cv_c_inline+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 else
18918 ac_cv_c_inline=no
18919 for ac_kw in inline __inline__ __inline; do
18920 cat >conftest.$ac_ext <<_ACEOF
18921 /* confdefs.h. */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 #ifndef __cplusplus
18927 typedef int foo_t;
18928 static $ac_kw foo_t static_foo () {return 0; }
18929 $ac_kw foo_t foo () {return 0; }
18930 #endif
18931
18932 _ACEOF
18933 rm -f conftest.$ac_objext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18935 (eval $ac_compile) 2>conftest.er1
18936 ac_status=$?
18937 grep -v '^ *+' conftest.er1 >conftest.err
18938 rm -f conftest.er1
18939 cat conftest.err >&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18951 ac_status=$?
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18954 ac_cv_c_inline=$ac_kw; break
18955 else
18956 echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.$ac_ext >&5
18958
18959 fi
18960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18961 done
18962
18963 fi
18964 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18965 echo "${ECHO_T}$ac_cv_c_inline" >&6
18966
18967
18968 case $ac_cv_c_inline in
18969 inline | yes) ;;
18970 *)
18971 case $ac_cv_c_inline in
18972 no) ac_val=;;
18973 *) ac_val=$ac_cv_c_inline;;
18974 esac
18975 cat >>confdefs.h <<_ACEOF
18976 #ifndef __cplusplus
18977 #define inline $ac_val
18978 #endif
18979 _ACEOF
18980 ;;
18981 esac
18982
18983
18984 echo "$as_me:$LINENO: checking for char" >&5
18985 echo $ECHO_N "checking for char... $ECHO_C" >&6
18986 if test "${ac_cv_type_char+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 else
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18996 int
18997 main ()
18998 {
18999 if ((char *) 0)
19000 return 0;
19001 if (sizeof (char))
19002 return 0;
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 rm -f conftest.$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19010 ac_status=$?
19011 grep -v '^ *+' conftest.er1 >conftest.err
19012 rm -f conftest.er1
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try='test -s conftest.$ac_objext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_type_char=yes
19029 else
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.$ac_ext >&5
19032
19033 ac_cv_type_char=no
19034 fi
19035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19036 fi
19037 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
19038 echo "${ECHO_T}$ac_cv_type_char" >&6
19039
19040 echo "$as_me:$LINENO: checking size of char" >&5
19041 echo $ECHO_N "checking size of char... $ECHO_C" >&6
19042 if test "${ac_cv_sizeof_char+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 else
19045 if test "$ac_cv_type_char" = yes; then
19046 # The cast to unsigned long works around a bug in the HP C Compiler
19047 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19048 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19049 # This bug is HP SR number 8606223364.
19050 if test "$cross_compiling" = yes; then
19051 # Depending upon the size, compute the lo and hi bounds.
19052 cat >conftest.$ac_ext <<_ACEOF
19053 /* confdefs.h. */
19054 _ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 $ac_includes_default
19059 int
19060 main ()
19061 {
19062 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
19063 test_array [0] = 0
19064
19065 ;
19066 return 0;
19067 }
19068 _ACEOF
19069 rm -f conftest.$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19081 ac_status=$?
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19087 ac_status=$?
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_lo=0 ac_mid=0
19091 while :; do
19092 cat >conftest.$ac_ext <<_ACEOF
19093 /* confdefs.h. */
19094 _ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 $ac_includes_default
19099 int
19100 main ()
19101 {
19102 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
19103 test_array [0] = 0
19104
19105 ;
19106 return 0;
19107 }
19108 _ACEOF
19109 rm -f conftest.$ac_objext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19111 (eval $ac_compile) 2>conftest.er1
19112 ac_status=$?
19113 grep -v '^ *+' conftest.er1 >conftest.err
19114 rm -f conftest.er1
19115 cat conftest.err >&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19121 ac_status=$?
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; } &&
19124 { ac_try='test -s conftest.$ac_objext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19127 ac_status=$?
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19130 ac_hi=$ac_mid; break
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19134
19135 ac_lo=`expr $ac_mid + 1`
19136 if test $ac_lo -le $ac_mid; then
19137 ac_lo= ac_hi=
19138 break
19139 fi
19140 ac_mid=`expr 2 '*' $ac_mid + 1`
19141 fi
19142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19143 done
19144 else
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19147
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 $ac_includes_default
19155 int
19156 main ()
19157 {
19158 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
19159 test_array [0] = 0
19160
19161 ;
19162 return 0;
19163 }
19164 _ACEOF
19165 rm -f conftest.$ac_objext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19167 (eval $ac_compile) 2>conftest.er1
19168 ac_status=$?
19169 grep -v '^ *+' conftest.er1 >conftest.err
19170 rm -f conftest.er1
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19177 ac_status=$?
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try='test -s conftest.$ac_objext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19183 ac_status=$?
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 ac_hi=-1 ac_mid=-1
19187 while :; do
19188 cat >conftest.$ac_ext <<_ACEOF
19189 /* confdefs.h. */
19190 _ACEOF
19191 cat confdefs.h >>conftest.$ac_ext
19192 cat >>conftest.$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19195 int
19196 main ()
19197 {
19198 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
19199 test_array [0] = 0
19200
19201 ;
19202 return 0;
19203 }
19204 _ACEOF
19205 rm -f conftest.$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19208 ac_status=$?
19209 grep -v '^ *+' conftest.er1 >conftest.err
19210 rm -f conftest.er1
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 ac_lo=$ac_mid; break
19227 else
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19230
19231 ac_hi=`expr '(' $ac_mid ')' - 1`
19232 if test $ac_mid -le $ac_hi; then
19233 ac_lo= ac_hi=
19234 break
19235 fi
19236 ac_mid=`expr 2 '*' $ac_mid`
19237 fi
19238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19239 done
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 ac_lo= ac_hi=
19245 fi
19246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19247 fi
19248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19249 # Binary search between lo and hi bounds.
19250 while test "x$ac_lo" != "x$ac_hi"; do
19251 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19252 cat >conftest.$ac_ext <<_ACEOF
19253 /* confdefs.h. */
19254 _ACEOF
19255 cat confdefs.h >>conftest.$ac_ext
19256 cat >>conftest.$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 $ac_includes_default
19259 int
19260 main ()
19261 {
19262 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
19263 test_array [0] = 0
19264
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 rm -f conftest.$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19272 ac_status=$?
19273 grep -v '^ *+' conftest.er1 >conftest.err
19274 rm -f conftest.er1
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19281 ac_status=$?
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; } &&
19284 { ac_try='test -s conftest.$ac_objext'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19287 ac_status=$?
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; }; then
19290 ac_hi=$ac_mid
19291 else
19292 echo "$as_me: failed program was:" >&5
19293 sed 's/^/| /' conftest.$ac_ext >&5
19294
19295 ac_lo=`expr '(' $ac_mid ')' + 1`
19296 fi
19297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19298 done
19299 case $ac_lo in
19300 ?*) ac_cv_sizeof_char=$ac_lo;;
19301 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
19302 See \`config.log' for more details." >&5
19303 echo "$as_me: error: cannot compute sizeof (char), 77
19304 See \`config.log' for more details." >&2;}
19305 { (exit 1); exit 1; }; } ;;
19306 esac
19307 else
19308 if test "$cross_compiling" = yes; then
19309 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19310 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19311 { (exit 1); exit 1; }; }
19312 else
19313 cat >conftest.$ac_ext <<_ACEOF
19314 /* confdefs.h. */
19315 _ACEOF
19316 cat confdefs.h >>conftest.$ac_ext
19317 cat >>conftest.$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 $ac_includes_default
19320 long longval () { return (long) (sizeof (char)); }
19321 unsigned long ulongval () { return (long) (sizeof (char)); }
19322 #include <stdio.h>
19323 #include <stdlib.h>
19324 int
19325 main ()
19326 {
19327
19328 FILE *f = fopen ("conftest.val", "w");
19329 if (! f)
19330 exit (1);
19331 if (((long) (sizeof (char))) < 0)
19332 {
19333 long i = longval ();
19334 if (i != ((long) (sizeof (char))))
19335 exit (1);
19336 fprintf (f, "%ld\n", i);
19337 }
19338 else
19339 {
19340 unsigned long i = ulongval ();
19341 if (i != ((long) (sizeof (char))))
19342 exit (1);
19343 fprintf (f, "%lu\n", i);
19344 }
19345 exit (ferror (f) || fclose (f) != 0);
19346
19347 ;
19348 return 0;
19349 }
19350 _ACEOF
19351 rm -f conftest$ac_exeext
19352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19353 (eval $ac_link) 2>&5
19354 ac_status=$?
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_sizeof_char=`cat conftest.val`
19363 else
19364 echo "$as_me: program exited with status $ac_status" >&5
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.$ac_ext >&5
19367
19368 ( exit $ac_status )
19369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
19370 See \`config.log' for more details." >&5
19371 echo "$as_me: error: cannot compute sizeof (char), 77
19372 See \`config.log' for more details." >&2;}
19373 { (exit 1); exit 1; }; }
19374 fi
19375 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19376 fi
19377 fi
19378 rm -f conftest.val
19379 else
19380 ac_cv_sizeof_char=0
19381 fi
19382 fi
19383 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19384 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
19385 cat >>confdefs.h <<_ACEOF
19386 #define SIZEOF_CHAR $ac_cv_sizeof_char
19387 _ACEOF
19388
19389
19390 echo "$as_me:$LINENO: checking for short" >&5
19391 echo $ECHO_N "checking for short... $ECHO_C" >&6
19392 if test "${ac_cv_type_short+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395 cat >conftest.$ac_ext <<_ACEOF
19396 /* confdefs.h. */
19397 _ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 $ac_includes_default
19402 int
19403 main ()
19404 {
19405 if ((short *) 0)
19406 return 0;
19407 if (sizeof (short))
19408 return 0;
19409 ;
19410 return 0;
19411 }
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>conftest.er1
19416 ac_status=$?
19417 grep -v '^ *+' conftest.er1 >conftest.err
19418 rm -f conftest.er1
19419 cat conftest.err >&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } &&
19422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 (eval $ac_try) 2>&5
19425 ac_status=$?
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }; } &&
19428 { ac_try='test -s conftest.$ac_objext'
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19431 ac_status=$?
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; }; then
19434 ac_cv_type_short=yes
19435 else
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.$ac_ext >&5
19438
19439 ac_cv_type_short=no
19440 fi
19441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19442 fi
19443 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19444 echo "${ECHO_T}$ac_cv_type_short" >&6
19445
19446 echo "$as_me:$LINENO: checking size of short" >&5
19447 echo $ECHO_N "checking size of short... $ECHO_C" >&6
19448 if test "${ac_cv_sizeof_short+set}" = set; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 else
19451 if test "$ac_cv_type_short" = yes; then
19452 # The cast to unsigned long works around a bug in the HP C Compiler
19453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19455 # This bug is HP SR number 8606223364.
19456 if test "$cross_compiling" = yes; then
19457 # Depending upon the size, compute the lo and hi bounds.
19458 cat >conftest.$ac_ext <<_ACEOF
19459 /* confdefs.h. */
19460 _ACEOF
19461 cat confdefs.h >>conftest.$ac_ext
19462 cat >>conftest.$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 $ac_includes_default
19465 int
19466 main ()
19467 {
19468 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
19469 test_array [0] = 0
19470
19471 ;
19472 return 0;
19473 }
19474 _ACEOF
19475 rm -f conftest.$ac_objext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>conftest.er1
19478 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try='test -s conftest.$ac_objext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19493 ac_status=$?
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19496 ac_lo=0 ac_mid=0
19497 while :; do
19498 cat >conftest.$ac_ext <<_ACEOF
19499 /* confdefs.h. */
19500 _ACEOF
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19505 int
19506 main ()
19507 {
19508 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
19509 test_array [0] = 0
19510
19511 ;
19512 return 0;
19513 }
19514 _ACEOF
19515 rm -f conftest.$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try='test -s conftest.$ac_objext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 ac_hi=$ac_mid; break
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 ac_lo=`expr $ac_mid + 1`
19542 if test $ac_lo -le $ac_mid; then
19543 ac_lo= ac_hi=
19544 break
19545 fi
19546 ac_mid=`expr 2 '*' $ac_mid + 1`
19547 fi
19548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19549 done
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 cat >conftest.$ac_ext <<_ACEOF
19555 /* confdefs.h. */
19556 _ACEOF
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19560 $ac_includes_default
19561 int
19562 main ()
19563 {
19564 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
19565 test_array [0] = 0
19566
19567 ;
19568 return 0;
19569 }
19570 _ACEOF
19571 rm -f conftest.$ac_objext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19573 (eval $ac_compile) 2>conftest.er1
19574 ac_status=$?
19575 grep -v '^ *+' conftest.er1 >conftest.err
19576 rm -f conftest.er1
19577 cat conftest.err >&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try='test -s conftest.$ac_objext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19589 ac_status=$?
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 ac_hi=-1 ac_mid=-1
19593 while :; do
19594 cat >conftest.$ac_ext <<_ACEOF
19595 /* confdefs.h. */
19596 _ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 $ac_includes_default
19601 int
19602 main ()
19603 {
19604 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
19605 test_array [0] = 0
19606
19607 ;
19608 return 0;
19609 }
19610 _ACEOF
19611 rm -f conftest.$ac_objext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613 (eval $ac_compile) 2>conftest.er1
19614 ac_status=$?
19615 grep -v '^ *+' conftest.er1 >conftest.err
19616 rm -f conftest.er1
19617 cat conftest.err >&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); } &&
19620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; } &&
19626 { ac_try='test -s conftest.$ac_objext'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; }; then
19632 ac_lo=$ac_mid; break
19633 else
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19636
19637 ac_hi=`expr '(' $ac_mid ')' - 1`
19638 if test $ac_mid -le $ac_hi; then
19639 ac_lo= ac_hi=
19640 break
19641 fi
19642 ac_mid=`expr 2 '*' $ac_mid`
19643 fi
19644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19645 done
19646 else
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 ac_lo= ac_hi=
19651 fi
19652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19653 fi
19654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19655 # Binary search between lo and hi bounds.
19656 while test "x$ac_lo" != "x$ac_hi"; do
19657 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19665 int
19666 main ()
19667 {
19668 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
19669 test_array [0] = 0
19670
19671 ;
19672 return 0;
19673 }
19674 _ACEOF
19675 rm -f conftest.$ac_objext
19676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19677 (eval $ac_compile) 2>conftest.er1
19678 ac_status=$?
19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 ac_hi=$ac_mid
19697 else
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.$ac_ext >&5
19700
19701 ac_lo=`expr '(' $ac_mid ')' + 1`
19702 fi
19703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19704 done
19705 case $ac_lo in
19706 ?*) ac_cv_sizeof_short=$ac_lo;;
19707 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19708 See \`config.log' for more details." >&5
19709 echo "$as_me: error: cannot compute sizeof (short), 77
19710 See \`config.log' for more details." >&2;}
19711 { (exit 1); exit 1; }; } ;;
19712 esac
19713 else
19714 if test "$cross_compiling" = yes; then
19715 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19716 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19717 { (exit 1); exit 1; }; }
19718 else
19719 cat >conftest.$ac_ext <<_ACEOF
19720 /* confdefs.h. */
19721 _ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 $ac_includes_default
19726 long longval () { return (long) (sizeof (short)); }
19727 unsigned long ulongval () { return (long) (sizeof (short)); }
19728 #include <stdio.h>
19729 #include <stdlib.h>
19730 int
19731 main ()
19732 {
19733
19734 FILE *f = fopen ("conftest.val", "w");
19735 if (! f)
19736 exit (1);
19737 if (((long) (sizeof (short))) < 0)
19738 {
19739 long i = longval ();
19740 if (i != ((long) (sizeof (short))))
19741 exit (1);
19742 fprintf (f, "%ld\n", i);
19743 }
19744 else
19745 {
19746 unsigned long i = ulongval ();
19747 if (i != ((long) (sizeof (short))))
19748 exit (1);
19749 fprintf (f, "%lu\n", i);
19750 }
19751 exit (ferror (f) || fclose (f) != 0);
19752
19753 ;
19754 return 0;
19755 }
19756 _ACEOF
19757 rm -f conftest$ac_exeext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19759 (eval $ac_link) 2>&5
19760 ac_status=$?
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; }; then
19768 ac_cv_sizeof_short=`cat conftest.val`
19769 else
19770 echo "$as_me: program exited with status $ac_status" >&5
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19773
19774 ( exit $ac_status )
19775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19776 See \`config.log' for more details." >&5
19777 echo "$as_me: error: cannot compute sizeof (short), 77
19778 See \`config.log' for more details." >&2;}
19779 { (exit 1); exit 1; }; }
19780 fi
19781 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19782 fi
19783 fi
19784 rm -f conftest.val
19785 else
19786 ac_cv_sizeof_short=0
19787 fi
19788 fi
19789 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19790 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19791 cat >>confdefs.h <<_ACEOF
19792 #define SIZEOF_SHORT $ac_cv_sizeof_short
19793 _ACEOF
19794
19795
19796 echo "$as_me:$LINENO: checking for void *" >&5
19797 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19798 if test "${ac_cv_type_void_p+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19800 else
19801 cat >conftest.$ac_ext <<_ACEOF
19802 /* confdefs.h. */
19803 _ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 $ac_includes_default
19808 int
19809 main ()
19810 {
19811 if ((void * *) 0)
19812 return 0;
19813 if (sizeof (void *))
19814 return 0;
19815 ;
19816 return 0;
19817 }
19818 _ACEOF
19819 rm -f conftest.$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; } &&
19834 { ac_try='test -s conftest.$ac_objext'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; }; then
19840 ac_cv_type_void_p=yes
19841 else
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19844
19845 ac_cv_type_void_p=no
19846 fi
19847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19848 fi
19849 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19850 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19851
19852 echo "$as_me:$LINENO: checking size of void *" >&5
19853 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19854 if test "${ac_cv_sizeof_void_p+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 else
19857 if test "$ac_cv_type_void_p" = yes; then
19858 # The cast to unsigned long works around a bug in the HP C Compiler
19859 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19860 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19861 # This bug is HP SR number 8606223364.
19862 if test "$cross_compiling" = yes; then
19863 # Depending upon the size, compute the lo and hi bounds.
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h. */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870 $ac_includes_default
19871 int
19872 main ()
19873 {
19874 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19875 test_array [0] = 0
19876
19877 ;
19878 return 0;
19879 }
19880 _ACEOF
19881 rm -f conftest.$ac_objext
19882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19883 (eval $ac_compile) 2>conftest.er1
19884 ac_status=$?
19885 grep -v '^ *+' conftest.er1 >conftest.err
19886 rm -f conftest.er1
19887 cat conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } &&
19890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest.$ac_objext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 ac_lo=0 ac_mid=0
19903 while :; do
19904 cat >conftest.$ac_ext <<_ACEOF
19905 /* confdefs.h. */
19906 _ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19911 int
19912 main ()
19913 {
19914 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19915 test_array [0] = 0
19916
19917 ;
19918 return 0;
19919 }
19920 _ACEOF
19921 rm -f conftest.$ac_objext
19922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19923 (eval $ac_compile) 2>conftest.er1
19924 ac_status=$?
19925 grep -v '^ *+' conftest.er1 >conftest.err
19926 rm -f conftest.er1
19927 cat conftest.err >&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
19930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_hi=$ac_mid; break
19943 else
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19946
19947 ac_lo=`expr $ac_mid + 1`
19948 if test $ac_lo -le $ac_mid; then
19949 ac_lo= ac_hi=
19950 break
19951 fi
19952 ac_mid=`expr 2 '*' $ac_mid + 1`
19953 fi
19954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19955 done
19956 else
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5
19959
19960 cat >conftest.$ac_ext <<_ACEOF
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 $ac_includes_default
19967 int
19968 main ()
19969 {
19970 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19971 test_array [0] = 0
19972
19973 ;
19974 return 0;
19975 }
19976 _ACEOF
19977 rm -f conftest.$ac_objext
19978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19979 (eval $ac_compile) 2>conftest.er1
19980 ac_status=$?
19981 grep -v '^ *+' conftest.er1 >conftest.err
19982 rm -f conftest.er1
19983 cat conftest.err >&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } &&
19986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19989 ac_status=$?
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try='test -s conftest.$ac_objext'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19995 ac_status=$?
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; }; then
19998 ac_hi=-1 ac_mid=-1
19999 while :; do
20000 cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h. */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 $ac_includes_default
20007 int
20008 main ()
20009 {
20010 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
20011 test_array [0] = 0
20012
20013 ;
20014 return 0;
20015 }
20016 _ACEOF
20017 rm -f conftest.$ac_objext
20018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20019 (eval $ac_compile) 2>conftest.er1
20020 ac_status=$?
20021 grep -v '^ *+' conftest.er1 >conftest.err
20022 rm -f conftest.er1
20023 cat conftest.err >&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; } &&
20032 { ac_try='test -s conftest.$ac_objext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 ac_lo=$ac_mid; break
20039 else
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.$ac_ext >&5
20042
20043 ac_hi=`expr '(' $ac_mid ')' - 1`
20044 if test $ac_mid -le $ac_hi; then
20045 ac_lo= ac_hi=
20046 break
20047 fi
20048 ac_mid=`expr 2 '*' $ac_mid`
20049 fi
20050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20051 done
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20055
20056 ac_lo= ac_hi=
20057 fi
20058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20059 fi
20060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20061 # Binary search between lo and hi bounds.
20062 while test "x$ac_lo" != "x$ac_hi"; do
20063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20064 cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h. */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20071 int
20072 main ()
20073 {
20074 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20075 test_array [0] = 0
20076
20077 ;
20078 return 0;
20079 }
20080 _ACEOF
20081 rm -f conftest.$ac_objext
20082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20083 (eval $ac_compile) 2>conftest.er1
20084 ac_status=$?
20085 grep -v '^ *+' conftest.er1 >conftest.err
20086 rm -f conftest.er1
20087 cat conftest.err >&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20093 ac_status=$?
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; } &&
20096 { ac_try='test -s conftest.$ac_objext'
20097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20098 (eval $ac_try) 2>&5
20099 ac_status=$?
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); }; }; then
20102 ac_hi=$ac_mid
20103 else
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.$ac_ext >&5
20106
20107 ac_lo=`expr '(' $ac_mid ')' + 1`
20108 fi
20109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20110 done
20111 case $ac_lo in
20112 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20113 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20114 See \`config.log' for more details." >&5
20115 echo "$as_me: error: cannot compute sizeof (void *), 77
20116 See \`config.log' for more details." >&2;}
20117 { (exit 1); exit 1; }; } ;;
20118 esac
20119 else
20120 if test "$cross_compiling" = yes; then
20121 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20122 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20123 { (exit 1); exit 1; }; }
20124 else
20125 cat >conftest.$ac_ext <<_ACEOF
20126 /* confdefs.h. */
20127 _ACEOF
20128 cat confdefs.h >>conftest.$ac_ext
20129 cat >>conftest.$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 $ac_includes_default
20132 long longval () { return (long) (sizeof (void *)); }
20133 unsigned long ulongval () { return (long) (sizeof (void *)); }
20134 #include <stdio.h>
20135 #include <stdlib.h>
20136 int
20137 main ()
20138 {
20139
20140 FILE *f = fopen ("conftest.val", "w");
20141 if (! f)
20142 exit (1);
20143 if (((long) (sizeof (void *))) < 0)
20144 {
20145 long i = longval ();
20146 if (i != ((long) (sizeof (void *))))
20147 exit (1);
20148 fprintf (f, "%ld\n", i);
20149 }
20150 else
20151 {
20152 unsigned long i = ulongval ();
20153 if (i != ((long) (sizeof (void *))))
20154 exit (1);
20155 fprintf (f, "%lu\n", i);
20156 }
20157 exit (ferror (f) || fclose (f) != 0);
20158
20159 ;
20160 return 0;
20161 }
20162 _ACEOF
20163 rm -f conftest$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>&5
20166 ac_status=$?
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20171 ac_status=$?
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 ac_cv_sizeof_void_p=`cat conftest.val`
20175 else
20176 echo "$as_me: program exited with status $ac_status" >&5
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20179
20180 ( exit $ac_status )
20181 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20182 See \`config.log' for more details." >&5
20183 echo "$as_me: error: cannot compute sizeof (void *), 77
20184 See \`config.log' for more details." >&2;}
20185 { (exit 1); exit 1; }; }
20186 fi
20187 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20188 fi
20189 fi
20190 rm -f conftest.val
20191 else
20192 ac_cv_sizeof_void_p=0
20193 fi
20194 fi
20195 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20196 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
20197 cat >>confdefs.h <<_ACEOF
20198 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20199 _ACEOF
20200
20201
20202 echo "$as_me:$LINENO: checking for int" >&5
20203 echo $ECHO_N "checking for int... $ECHO_C" >&6
20204 if test "${ac_cv_type_int+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 else
20207 cat >conftest.$ac_ext <<_ACEOF
20208 /* confdefs.h. */
20209 _ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20214 int
20215 main ()
20216 {
20217 if ((int *) 0)
20218 return 0;
20219 if (sizeof (int))
20220 return 0;
20221 ;
20222 return 0;
20223 }
20224 _ACEOF
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20228 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20237 ac_status=$?
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20243 ac_status=$?
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20246 ac_cv_type_int=yes
20247 else
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20250
20251 ac_cv_type_int=no
20252 fi
20253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20254 fi
20255 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20256 echo "${ECHO_T}$ac_cv_type_int" >&6
20257
20258 echo "$as_me:$LINENO: checking size of int" >&5
20259 echo $ECHO_N "checking size of int... $ECHO_C" >&6
20260 if test "${ac_cv_sizeof_int+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 else
20263 if test "$ac_cv_type_int" = yes; then
20264 # The cast to unsigned long works around a bug in the HP C Compiler
20265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20267 # This bug is HP SR number 8606223364.
20268 if test "$cross_compiling" = yes; then
20269 # Depending upon the size, compute the lo and hi bounds.
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 $ac_includes_default
20277 int
20278 main ()
20279 {
20280 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
20281 test_array [0] = 0
20282
20283 ;
20284 return 0;
20285 }
20286 _ACEOF
20287 rm -f conftest.$ac_objext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20289 (eval $ac_compile) 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; } &&
20302 { ac_try='test -s conftest.$ac_objext'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20305 ac_status=$?
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; }; then
20308 ac_lo=0 ac_mid=0
20309 while :; do
20310 cat >conftest.$ac_ext <<_ACEOF
20311 /* confdefs.h. */
20312 _ACEOF
20313 cat confdefs.h >>conftest.$ac_ext
20314 cat >>conftest.$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20317 int
20318 main ()
20319 {
20320 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
20321 test_array [0] = 0
20322
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 rm -f conftest.$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20330 ac_status=$?
20331 grep -v '^ *+' conftest.er1 >conftest.err
20332 rm -f conftest.er1
20333 cat conftest.err >&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20339 ac_status=$?
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try='test -s conftest.$ac_objext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 ac_hi=$ac_mid; break
20349 else
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20352
20353 ac_lo=`expr $ac_mid + 1`
20354 if test $ac_lo -le $ac_mid; then
20355 ac_lo= ac_hi=
20356 break
20357 fi
20358 ac_mid=`expr 2 '*' $ac_mid + 1`
20359 fi
20360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20361 done
20362 else
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20365
20366 cat >conftest.$ac_ext <<_ACEOF
20367 /* confdefs.h. */
20368 _ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20373 int
20374 main ()
20375 {
20376 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
20377 test_array [0] = 0
20378
20379 ;
20380 return 0;
20381 }
20382 _ACEOF
20383 rm -f conftest.$ac_objext
20384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20385 (eval $ac_compile) 2>conftest.er1
20386 ac_status=$?
20387 grep -v '^ *+' conftest.er1 >conftest.err
20388 rm -f conftest.er1
20389 cat conftest.err >&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); } &&
20392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20395 ac_status=$?
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; } &&
20398 { ac_try='test -s conftest.$ac_objext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 ac_hi=-1 ac_mid=-1
20405 while :; do
20406 cat >conftest.$ac_ext <<_ACEOF
20407 /* confdefs.h. */
20408 _ACEOF
20409 cat confdefs.h >>conftest.$ac_ext
20410 cat >>conftest.$ac_ext <<_ACEOF
20411 /* end confdefs.h. */
20412 $ac_includes_default
20413 int
20414 main ()
20415 {
20416 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
20417 test_array [0] = 0
20418
20419 ;
20420 return 0;
20421 }
20422 _ACEOF
20423 rm -f conftest.$ac_objext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20425 (eval $ac_compile) 2>conftest.er1
20426 ac_status=$?
20427 grep -v '^ *+' conftest.er1 >conftest.err
20428 rm -f conftest.er1
20429 cat conftest.err >&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } &&
20432 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20435 ac_status=$?
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; } &&
20438 { ac_try='test -s conftest.$ac_objext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_lo=$ac_mid; break
20445 else
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20448
20449 ac_hi=`expr '(' $ac_mid ')' - 1`
20450 if test $ac_mid -le $ac_hi; then
20451 ac_lo= ac_hi=
20452 break
20453 fi
20454 ac_mid=`expr 2 '*' $ac_mid`
20455 fi
20456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20457 done
20458 else
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20461
20462 ac_lo= ac_hi=
20463 fi
20464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20465 fi
20466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20467 # Binary search between lo and hi bounds.
20468 while test "x$ac_lo" != "x$ac_hi"; do
20469 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20470 cat >conftest.$ac_ext <<_ACEOF
20471 /* confdefs.h. */
20472 _ACEOF
20473 cat confdefs.h >>conftest.$ac_ext
20474 cat >>conftest.$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 $ac_includes_default
20477 int
20478 main ()
20479 {
20480 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
20481 test_array [0] = 0
20482
20483 ;
20484 return 0;
20485 }
20486 _ACEOF
20487 rm -f conftest.$ac_objext
20488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20489 (eval $ac_compile) 2>conftest.er1
20490 ac_status=$?
20491 grep -v '^ *+' conftest.er1 >conftest.err
20492 rm -f conftest.er1
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } &&
20496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; } &&
20502 { ac_try='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20508 ac_hi=$ac_mid
20509 else
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20512
20513 ac_lo=`expr '(' $ac_mid ')' + 1`
20514 fi
20515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20516 done
20517 case $ac_lo in
20518 ?*) ac_cv_sizeof_int=$ac_lo;;
20519 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
20520 See \`config.log' for more details." >&5
20521 echo "$as_me: error: cannot compute sizeof (int), 77
20522 See \`config.log' for more details." >&2;}
20523 { (exit 1); exit 1; }; } ;;
20524 esac
20525 else
20526 if test "$cross_compiling" = yes; then
20527 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20528 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20529 { (exit 1); exit 1; }; }
20530 else
20531 cat >conftest.$ac_ext <<_ACEOF
20532 /* confdefs.h. */
20533 _ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20538 long longval () { return (long) (sizeof (int)); }
20539 unsigned long ulongval () { return (long) (sizeof (int)); }
20540 #include <stdio.h>
20541 #include <stdlib.h>
20542 int
20543 main ()
20544 {
20545
20546 FILE *f = fopen ("conftest.val", "w");
20547 if (! f)
20548 exit (1);
20549 if (((long) (sizeof (int))) < 0)
20550 {
20551 long i = longval ();
20552 if (i != ((long) (sizeof (int))))
20553 exit (1);
20554 fprintf (f, "%ld\n", i);
20555 }
20556 else
20557 {
20558 unsigned long i = ulongval ();
20559 if (i != ((long) (sizeof (int))))
20560 exit (1);
20561 fprintf (f, "%lu\n", i);
20562 }
20563 exit (ferror (f) || fclose (f) != 0);
20564
20565 ;
20566 return 0;
20567 }
20568 _ACEOF
20569 rm -f conftest$ac_exeext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20571 (eval $ac_link) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20577 ac_status=$?
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_cv_sizeof_int=`cat conftest.val`
20581 else
20582 echo "$as_me: program exited with status $ac_status" >&5
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.$ac_ext >&5
20585
20586 ( exit $ac_status )
20587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: cannot compute sizeof (int), 77
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; }
20592 fi
20593 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20594 fi
20595 fi
20596 rm -f conftest.val
20597 else
20598 ac_cv_sizeof_int=0
20599 fi
20600 fi
20601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20602 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
20603 cat >>confdefs.h <<_ACEOF
20604 #define SIZEOF_INT $ac_cv_sizeof_int
20605 _ACEOF
20606
20607
20608 echo "$as_me:$LINENO: checking for long" >&5
20609 echo $ECHO_N "checking for long... $ECHO_C" >&6
20610 if test "${ac_cv_type_long+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 else
20613 cat >conftest.$ac_ext <<_ACEOF
20614 /* confdefs.h. */
20615 _ACEOF
20616 cat confdefs.h >>conftest.$ac_ext
20617 cat >>conftest.$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 $ac_includes_default
20620 int
20621 main ()
20622 {
20623 if ((long *) 0)
20624 return 0;
20625 if (sizeof (long))
20626 return 0;
20627 ;
20628 return 0;
20629 }
20630 _ACEOF
20631 rm -f conftest.$ac_objext
20632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20633 (eval $ac_compile) 2>conftest.er1
20634 ac_status=$?
20635 grep -v '^ *+' conftest.er1 >conftest.err
20636 rm -f conftest.er1
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 ac_cv_type_long=yes
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20656
20657 ac_cv_type_long=no
20658 fi
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660 fi
20661 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20662 echo "${ECHO_T}$ac_cv_type_long" >&6
20663
20664 echo "$as_me:$LINENO: checking size of long" >&5
20665 echo $ECHO_N "checking size of long... $ECHO_C" >&6
20666 if test "${ac_cv_sizeof_long+set}" = set; then
20667 echo $ECHO_N "(cached) $ECHO_C" >&6
20668 else
20669 if test "$ac_cv_type_long" = yes; then
20670 # The cast to unsigned long works around a bug in the HP C Compiler
20671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20673 # This bug is HP SR number 8606223364.
20674 if test "$cross_compiling" = yes; then
20675 # Depending upon the size, compute the lo and hi bounds.
20676 cat >conftest.$ac_ext <<_ACEOF
20677 /* confdefs.h. */
20678 _ACEOF
20679 cat confdefs.h >>conftest.$ac_ext
20680 cat >>conftest.$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 $ac_includes_default
20683 int
20684 main ()
20685 {
20686 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
20687 test_array [0] = 0
20688
20689 ;
20690 return 0;
20691 }
20692 _ACEOF
20693 rm -f conftest.$ac_objext
20694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20695 (eval $ac_compile) 2>conftest.er1
20696 ac_status=$?
20697 grep -v '^ *+' conftest.er1 >conftest.err
20698 rm -f conftest.er1
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
20702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; } &&
20708 { ac_try='test -s conftest.$ac_objext'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; }; then
20714 ac_lo=0 ac_mid=0
20715 while :; do
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20723 int
20724 main ()
20725 {
20726 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20727 test_array [0] = 0
20728
20729 ;
20730 return 0;
20731 }
20732 _ACEOF
20733 rm -f conftest.$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>conftest.er1
20736 ac_status=$?
20737 grep -v '^ *+' conftest.er1 >conftest.err
20738 rm -f conftest.er1
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20745 ac_status=$?
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; } &&
20748 { ac_try='test -s conftest.$ac_objext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20751 ac_status=$?
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_hi=$ac_mid; break
20755 else
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20758
20759 ac_lo=`expr $ac_mid + 1`
20760 if test $ac_lo -le $ac_mid; then
20761 ac_lo= ac_hi=
20762 break
20763 fi
20764 ac_mid=`expr 2 '*' $ac_mid + 1`
20765 fi
20766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20767 done
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 cat >conftest.$ac_ext <<_ACEOF
20773 /* confdefs.h. */
20774 _ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20779 int
20780 main ()
20781 {
20782 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20783 test_array [0] = 0
20784
20785 ;
20786 return 0;
20787 }
20788 _ACEOF
20789 rm -f conftest.$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 ac_hi=-1 ac_mid=-1
20811 while :; do
20812 cat >conftest.$ac_ext <<_ACEOF
20813 /* confdefs.h. */
20814 _ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 $ac_includes_default
20819 int
20820 main ()
20821 {
20822 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20823 test_array [0] = 0
20824
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest.$ac_objext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20831 (eval $ac_compile) 2>conftest.er1
20832 ac_status=$?
20833 grep -v '^ *+' conftest.er1 >conftest.err
20834 rm -f conftest.er1
20835 cat conftest.err >&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20841 ac_status=$?
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; } &&
20844 { ac_try='test -s conftest.$ac_objext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20847 ac_status=$?
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_lo=$ac_mid; break
20851 else
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ac_hi=`expr '(' $ac_mid ')' - 1`
20856 if test $ac_mid -le $ac_hi; then
20857 ac_lo= ac_hi=
20858 break
20859 fi
20860 ac_mid=`expr 2 '*' $ac_mid`
20861 fi
20862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20863 done
20864 else
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.$ac_ext >&5
20867
20868 ac_lo= ac_hi=
20869 fi
20870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20871 fi
20872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20873 # Binary search between lo and hi bounds.
20874 while test "x$ac_lo" != "x$ac_hi"; do
20875 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20876 cat >conftest.$ac_ext <<_ACEOF
20877 /* confdefs.h. */
20878 _ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 $ac_includes_default
20883 int
20884 main ()
20885 {
20886 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20887 test_array [0] = 0
20888
20889 ;
20890 return 0;
20891 }
20892 _ACEOF
20893 rm -f conftest.$ac_objext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20895 (eval $ac_compile) 2>conftest.er1
20896 ac_status=$?
20897 grep -v '^ *+' conftest.er1 >conftest.err
20898 rm -f conftest.er1
20899 cat conftest.err >&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } &&
20902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20905 ac_status=$?
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; } &&
20908 { ac_try='test -s conftest.$ac_objext'
20909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20911 ac_status=$?
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; }; then
20914 ac_hi=$ac_mid
20915 else
20916 echo "$as_me: failed program was:" >&5
20917 sed 's/^/| /' conftest.$ac_ext >&5
20918
20919 ac_lo=`expr '(' $ac_mid ')' + 1`
20920 fi
20921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20922 done
20923 case $ac_lo in
20924 ?*) ac_cv_sizeof_long=$ac_lo;;
20925 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20926 See \`config.log' for more details." >&5
20927 echo "$as_me: error: cannot compute sizeof (long), 77
20928 See \`config.log' for more details." >&2;}
20929 { (exit 1); exit 1; }; } ;;
20930 esac
20931 else
20932 if test "$cross_compiling" = yes; then
20933 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20934 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20935 { (exit 1); exit 1; }; }
20936 else
20937 cat >conftest.$ac_ext <<_ACEOF
20938 /* confdefs.h. */
20939 _ACEOF
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 long longval () { return (long) (sizeof (long)); }
20945 unsigned long ulongval () { return (long) (sizeof (long)); }
20946 #include <stdio.h>
20947 #include <stdlib.h>
20948 int
20949 main ()
20950 {
20951
20952 FILE *f = fopen ("conftest.val", "w");
20953 if (! f)
20954 exit (1);
20955 if (((long) (sizeof (long))) < 0)
20956 {
20957 long i = longval ();
20958 if (i != ((long) (sizeof (long))))
20959 exit (1);
20960 fprintf (f, "%ld\n", i);
20961 }
20962 else
20963 {
20964 unsigned long i = ulongval ();
20965 if (i != ((long) (sizeof (long))))
20966 exit (1);
20967 fprintf (f, "%lu\n", i);
20968 }
20969 exit (ferror (f) || fclose (f) != 0);
20970
20971 ;
20972 return 0;
20973 }
20974 _ACEOF
20975 rm -f conftest$ac_exeext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977 (eval $ac_link) 2>&5
20978 ac_status=$?
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20983 ac_status=$?
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; }; then
20986 ac_cv_sizeof_long=`cat conftest.val`
20987 else
20988 echo "$as_me: program exited with status $ac_status" >&5
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20991
20992 ( exit $ac_status )
20993 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20994 See \`config.log' for more details." >&5
20995 echo "$as_me: error: cannot compute sizeof (long), 77
20996 See \`config.log' for more details." >&2;}
20997 { (exit 1); exit 1; }; }
20998 fi
20999 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21000 fi
21001 fi
21002 rm -f conftest.val
21003 else
21004 ac_cv_sizeof_long=0
21005 fi
21006 fi
21007 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21008 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21009 cat >>confdefs.h <<_ACEOF
21010 #define SIZEOF_LONG $ac_cv_sizeof_long
21011 _ACEOF
21012
21013
21014 echo "$as_me:$LINENO: checking for size_t" >&5
21015 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21016 if test "${ac_cv_type_size_t+set}" = set; then
21017 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 else
21019 cat >conftest.$ac_ext <<_ACEOF
21020 /* confdefs.h. */
21021 _ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 int
21027 main ()
21028 {
21029 if ((size_t *) 0)
21030 return 0;
21031 if (sizeof (size_t))
21032 return 0;
21033 ;
21034 return 0;
21035 }
21036 _ACEOF
21037 rm -f conftest.$ac_objext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21039 (eval $ac_compile) 2>conftest.er1
21040 ac_status=$?
21041 grep -v '^ *+' conftest.er1 >conftest.err
21042 rm -f conftest.er1
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21049 ac_status=$?
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try='test -s conftest.$ac_objext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_cv_type_size_t=yes
21059 else
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.$ac_ext >&5
21062
21063 ac_cv_type_size_t=no
21064 fi
21065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21066 fi
21067 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21068 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21069
21070 echo "$as_me:$LINENO: checking size of size_t" >&5
21071 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
21072 if test "${ac_cv_sizeof_size_t+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else
21075 if test "$ac_cv_type_size_t" = yes; then
21076 # The cast to unsigned long works around a bug in the HP C Compiler
21077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21079 # This bug is HP SR number 8606223364.
21080 if test "$cross_compiling" = yes; then
21081 # Depending upon the size, compute the lo and hi bounds.
21082 cat >conftest.$ac_ext <<_ACEOF
21083 /* confdefs.h. */
21084 _ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 $ac_includes_default
21089 int
21090 main ()
21091 {
21092 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
21093 test_array [0] = 0
21094
21095 ;
21096 return 0;
21097 }
21098 _ACEOF
21099 rm -f conftest.$ac_objext
21100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21101 (eval $ac_compile) 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21117 ac_status=$?
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 ac_lo=0 ac_mid=0
21121 while :; do
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h. */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 $ac_includes_default
21129 int
21130 main ()
21131 {
21132 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21133 test_array [0] = 0
21134
21135 ;
21136 return 0;
21137 }
21138 _ACEOF
21139 rm -f conftest.$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21142 ac_status=$?
21143 grep -v '^ *+' conftest.er1 >conftest.err
21144 rm -f conftest.er1
21145 cat conftest.err >&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21151 ac_status=$?
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21157 ac_status=$?
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 ac_hi=$ac_mid; break
21161 else
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21164
21165 ac_lo=`expr $ac_mid + 1`
21166 if test $ac_lo -le $ac_mid; then
21167 ac_lo= ac_hi=
21168 break
21169 fi
21170 ac_mid=`expr 2 '*' $ac_mid + 1`
21171 fi
21172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21173 done
21174 else
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 cat >conftest.$ac_ext <<_ACEOF
21179 /* confdefs.h. */
21180 _ACEOF
21181 cat confdefs.h >>conftest.$ac_ext
21182 cat >>conftest.$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 $ac_includes_default
21185 int
21186 main ()
21187 {
21188 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
21189 test_array [0] = 0
21190
21191 ;
21192 return 0;
21193 }
21194 _ACEOF
21195 rm -f conftest.$ac_objext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21197 (eval $ac_compile) 2>conftest.er1
21198 ac_status=$?
21199 grep -v '^ *+' conftest.er1 >conftest.err
21200 rm -f conftest.er1
21201 cat conftest.err >&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21207 ac_status=$?
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; } &&
21210 { ac_try='test -s conftest.$ac_objext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21213 ac_status=$?
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 ac_hi=-1 ac_mid=-1
21217 while :; do
21218 cat >conftest.$ac_ext <<_ACEOF
21219 /* confdefs.h. */
21220 _ACEOF
21221 cat confdefs.h >>conftest.$ac_ext
21222 cat >>conftest.$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 $ac_includes_default
21225 int
21226 main ()
21227 {
21228 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
21229 test_array [0] = 0
21230
21231 ;
21232 return 0;
21233 }
21234 _ACEOF
21235 rm -f conftest.$ac_objext
21236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21237 (eval $ac_compile) 2>conftest.er1
21238 ac_status=$?
21239 grep -v '^ *+' conftest.er1 >conftest.err
21240 rm -f conftest.er1
21241 cat conftest.err >&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21247 ac_status=$?
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; } &&
21250 { ac_try='test -s conftest.$ac_objext'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; }; then
21256 ac_lo=$ac_mid; break
21257 else
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21260
21261 ac_hi=`expr '(' $ac_mid ')' - 1`
21262 if test $ac_mid -le $ac_hi; then
21263 ac_lo= ac_hi=
21264 break
21265 fi
21266 ac_mid=`expr 2 '*' $ac_mid`
21267 fi
21268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21269 done
21270 else
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.$ac_ext >&5
21273
21274 ac_lo= ac_hi=
21275 fi
21276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21277 fi
21278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21279 # Binary search between lo and hi bounds.
21280 while test "x$ac_lo" != "x$ac_hi"; do
21281 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21282 cat >conftest.$ac_ext <<_ACEOF
21283 /* confdefs.h. */
21284 _ACEOF
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21289 int
21290 main ()
21291 {
21292 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21293 test_array [0] = 0
21294
21295 ;
21296 return 0;
21297 }
21298 _ACEOF
21299 rm -f conftest.$ac_objext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21301 (eval $ac_compile) 2>conftest.er1
21302 ac_status=$?
21303 grep -v '^ *+' conftest.er1 >conftest.err
21304 rm -f conftest.er1
21305 cat conftest.err >&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21311 ac_status=$?
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try='test -s conftest.$ac_objext'
21315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316 (eval $ac_try) 2>&5
21317 ac_status=$?
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); }; }; then
21320 ac_hi=$ac_mid
21321 else
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.$ac_ext >&5
21324
21325 ac_lo=`expr '(' $ac_mid ')' + 1`
21326 fi
21327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21328 done
21329 case $ac_lo in
21330 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
21332 See \`config.log' for more details." >&5
21333 echo "$as_me: error: cannot compute sizeof (size_t), 77
21334 See \`config.log' for more details." >&2;}
21335 { (exit 1); exit 1; }; } ;;
21336 esac
21337 else
21338 if test "$cross_compiling" = yes; then
21339 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21340 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21341 { (exit 1); exit 1; }; }
21342 else
21343 cat >conftest.$ac_ext <<_ACEOF
21344 /* confdefs.h. */
21345 _ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 long longval () { return (long) (sizeof (size_t)); }
21351 unsigned long ulongval () { return (long) (sizeof (size_t)); }
21352 #include <stdio.h>
21353 #include <stdlib.h>
21354 int
21355 main ()
21356 {
21357
21358 FILE *f = fopen ("conftest.val", "w");
21359 if (! f)
21360 exit (1);
21361 if (((long) (sizeof (size_t))) < 0)
21362 {
21363 long i = longval ();
21364 if (i != ((long) (sizeof (size_t))))
21365 exit (1);
21366 fprintf (f, "%ld\n", i);
21367 }
21368 else
21369 {
21370 unsigned long i = ulongval ();
21371 if (i != ((long) (sizeof (size_t))))
21372 exit (1);
21373 fprintf (f, "%lu\n", i);
21374 }
21375 exit (ferror (f) || fclose (f) != 0);
21376
21377 ;
21378 return 0;
21379 }
21380 _ACEOF
21381 rm -f conftest$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383 (eval $ac_link) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_cv_sizeof_size_t=`cat conftest.val`
21393 else
21394 echo "$as_me: program exited with status $ac_status" >&5
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.$ac_ext >&5
21397
21398 ( exit $ac_status )
21399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
21400 See \`config.log' for more details." >&5
21401 echo "$as_me: error: cannot compute sizeof (size_t), 77
21402 See \`config.log' for more details." >&2;}
21403 { (exit 1); exit 1; }; }
21404 fi
21405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21406 fi
21407 fi
21408 rm -f conftest.val
21409 else
21410 ac_cv_sizeof_size_t=0
21411 fi
21412 fi
21413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21414 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
21415 cat >>confdefs.h <<_ACEOF
21416 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21417 _ACEOF
21418
21419
21420
21421 case "${host}" in
21422 arm-*-linux* )
21423 echo "$as_me:$LINENO: checking for long long" >&5
21424 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21425 if test "${ac_cv_type_long_long+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 else
21428 cat >conftest.$ac_ext <<_ACEOF
21429 /* confdefs.h. */
21430 _ACEOF
21431 cat confdefs.h >>conftest.$ac_ext
21432 cat >>conftest.$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21434 $ac_includes_default
21435 int
21436 main ()
21437 {
21438 if ((long long *) 0)
21439 return 0;
21440 if (sizeof (long long))
21441 return 0;
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 rm -f conftest.$ac_objext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21448 (eval $ac_compile) 2>conftest.er1
21449 ac_status=$?
21450 grep -v '^ *+' conftest.er1 >conftest.err
21451 rm -f conftest.er1
21452 cat conftest.err >&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } &&
21455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 ac_cv_type_long_long=yes
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 ac_cv_type_long_long=no
21473 fi
21474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21475 fi
21476 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21477 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21478
21479 echo "$as_me:$LINENO: checking size of long long" >&5
21480 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21481 if test "${ac_cv_sizeof_long_long+set}" = set; then
21482 echo $ECHO_N "(cached) $ECHO_C" >&6
21483 else
21484 if test "$ac_cv_type_long_long" = yes; then
21485 # The cast to unsigned long works around a bug in the HP C Compiler
21486 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21487 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21488 # This bug is HP SR number 8606223364.
21489 if test "$cross_compiling" = yes; then
21490 # Depending upon the size, compute the lo and hi bounds.
21491 cat >conftest.$ac_ext <<_ACEOF
21492 /* confdefs.h. */
21493 _ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21498 int
21499 main ()
21500 {
21501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21502 test_array [0] = 0
21503
21504 ;
21505 return 0;
21506 }
21507 _ACEOF
21508 rm -f conftest.$ac_objext
21509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21510 (eval $ac_compile) 2>conftest.er1
21511 ac_status=$?
21512 grep -v '^ *+' conftest.er1 >conftest.err
21513 rm -f conftest.er1
21514 cat conftest.err >&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } &&
21517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21520 ac_status=$?
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try='test -s conftest.$ac_objext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21526 ac_status=$?
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21529 ac_lo=0 ac_mid=0
21530 while :; do
21531 cat >conftest.$ac_ext <<_ACEOF
21532 /* confdefs.h. */
21533 _ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 $ac_includes_default
21538 int
21539 main ()
21540 {
21541 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21542 test_array [0] = 0
21543
21544 ;
21545 return 0;
21546 }
21547 _ACEOF
21548 rm -f conftest.$ac_objext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21550 (eval $ac_compile) 2>conftest.er1
21551 ac_status=$?
21552 grep -v '^ *+' conftest.er1 >conftest.err
21553 rm -f conftest.er1
21554 cat conftest.err >&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); } &&
21557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; } &&
21563 { ac_try='test -s conftest.$ac_objext'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21566 ac_status=$?
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; }; then
21569 ac_hi=$ac_mid; break
21570 else
21571 echo "$as_me: failed program was:" >&5
21572 sed 's/^/| /' conftest.$ac_ext >&5
21573
21574 ac_lo=`expr $ac_mid + 1`
21575 if test $ac_lo -le $ac_mid; then
21576 ac_lo= ac_hi=
21577 break
21578 fi
21579 ac_mid=`expr 2 '*' $ac_mid + 1`
21580 fi
21581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21582 done
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 $ac_includes_default
21594 int
21595 main ()
21596 {
21597 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21598 test_array [0] = 0
21599
21600 ;
21601 return 0;
21602 }
21603 _ACEOF
21604 rm -f conftest.$ac_objext
21605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 (eval $ac_compile) 2>conftest.er1
21607 ac_status=$?
21608 grep -v '^ *+' conftest.er1 >conftest.err
21609 rm -f conftest.er1
21610 cat conftest.err >&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } &&
21613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21616 ac_status=$?
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try='test -s conftest.$ac_objext'
21620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21622 ac_status=$?
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 ac_hi=-1 ac_mid=-1
21626 while :; do
21627 cat >conftest.$ac_ext <<_ACEOF
21628 /* confdefs.h. */
21629 _ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 int
21635 main ()
21636 {
21637 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21638 test_array [0] = 0
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646 (eval $ac_compile) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try='test -s conftest.$ac_objext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21662 ac_status=$?
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_lo=$ac_mid; break
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ac_hi=`expr '(' $ac_mid ')' - 1`
21671 if test $ac_mid -le $ac_hi; then
21672 ac_lo= ac_hi=
21673 break
21674 fi
21675 ac_mid=`expr 2 '*' $ac_mid`
21676 fi
21677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21678 done
21679 else
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 ac_lo= ac_hi=
21684 fi
21685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21686 fi
21687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21688 # Binary search between lo and hi bounds.
21689 while test "x$ac_lo" != "x$ac_hi"; do
21690 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21691 cat >conftest.$ac_ext <<_ACEOF
21692 /* confdefs.h. */
21693 _ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 $ac_includes_default
21698 int
21699 main ()
21700 {
21701 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21702 test_array [0] = 0
21703
21704 ;
21705 return 0;
21706 }
21707 _ACEOF
21708 rm -f conftest.$ac_objext
21709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21710 (eval $ac_compile) 2>conftest.er1
21711 ac_status=$?
21712 grep -v '^ *+' conftest.er1 >conftest.err
21713 rm -f conftest.er1
21714 cat conftest.err >&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } &&
21717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21720 ac_status=$?
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try='test -s conftest.$ac_objext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21726 ac_status=$?
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 ac_hi=$ac_mid
21730 else
21731 echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21733
21734 ac_lo=`expr '(' $ac_mid ')' + 1`
21735 fi
21736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21737 done
21738 case $ac_lo in
21739 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21740 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21741 See \`config.log' for more details." >&5
21742 echo "$as_me: error: cannot compute sizeof (long long), 77
21743 See \`config.log' for more details." >&2;}
21744 { (exit 1); exit 1; }; } ;;
21745 esac
21746 else
21747 if test "$cross_compiling" = yes; then
21748 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21749 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21750 { (exit 1); exit 1; }; }
21751 else
21752 cat >conftest.$ac_ext <<_ACEOF
21753 /* confdefs.h. */
21754 _ACEOF
21755 cat confdefs.h >>conftest.$ac_ext
21756 cat >>conftest.$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 $ac_includes_default
21759 long longval () { return (long) (sizeof (long long)); }
21760 unsigned long ulongval () { return (long) (sizeof (long long)); }
21761 #include <stdio.h>
21762 #include <stdlib.h>
21763 int
21764 main ()
21765 {
21766
21767 FILE *f = fopen ("conftest.val", "w");
21768 if (! f)
21769 exit (1);
21770 if (((long) (sizeof (long long))) < 0)
21771 {
21772 long i = longval ();
21773 if (i != ((long) (sizeof (long long))))
21774 exit (1);
21775 fprintf (f, "%ld\n", i);
21776 }
21777 else
21778 {
21779 unsigned long i = ulongval ();
21780 if (i != ((long) (sizeof (long long))))
21781 exit (1);
21782 fprintf (f, "%lu\n", i);
21783 }
21784 exit (ferror (f) || fclose (f) != 0);
21785
21786 ;
21787 return 0;
21788 }
21789 _ACEOF
21790 rm -f conftest$ac_exeext
21791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21792 (eval $ac_link) 2>&5
21793 ac_status=$?
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; }; then
21801 ac_cv_sizeof_long_long=`cat conftest.val`
21802 else
21803 echo "$as_me: program exited with status $ac_status" >&5
21804 echo "$as_me: failed program was:" >&5
21805 sed 's/^/| /' conftest.$ac_ext >&5
21806
21807 ( exit $ac_status )
21808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21809 See \`config.log' for more details." >&5
21810 echo "$as_me: error: cannot compute sizeof (long long), 77
21811 See \`config.log' for more details." >&2;}
21812 { (exit 1); exit 1; }; }
21813 fi
21814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21815 fi
21816 fi
21817 rm -f conftest.val
21818 else
21819 ac_cv_sizeof_long_long=0
21820 fi
21821 fi
21822 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21823 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21824 cat >>confdefs.h <<_ACEOF
21825 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21826 _ACEOF
21827
21828
21829 ;;
21830 *-hp-hpux* )
21831 echo "$as_me:$LINENO: checking for long long" >&5
21832 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21833 if test "${ac_cv_type_long_long+set}" = set; then
21834 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 else
21836 cat >conftest.$ac_ext <<_ACEOF
21837 /* confdefs.h. */
21838 _ACEOF
21839 cat confdefs.h >>conftest.$ac_ext
21840 cat >>conftest.$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 $ac_includes_default
21843 int
21844 main ()
21845 {
21846 if ((long long *) 0)
21847 return 0;
21848 if (sizeof (long long))
21849 return 0;
21850 ;
21851 return 0;
21852 }
21853 _ACEOF
21854 rm -f conftest.$ac_objext
21855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21856 (eval $ac_compile) 2>conftest.er1
21857 ac_status=$?
21858 grep -v '^ *+' conftest.er1 >conftest.err
21859 rm -f conftest.er1
21860 cat conftest.err >&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } &&
21863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; } &&
21869 { ac_try='test -s conftest.$ac_objext'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_type_long_long=yes
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ac_cv_type_long_long=no
21881 fi
21882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21883 fi
21884 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21885 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21886
21887 echo "$as_me:$LINENO: checking size of long long" >&5
21888 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21889 if test "${ac_cv_sizeof_long_long+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21891 else
21892 if test "$ac_cv_type_long_long" = yes; then
21893 # The cast to unsigned long works around a bug in the HP C Compiler
21894 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21895 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21896 # This bug is HP SR number 8606223364.
21897 if test "$cross_compiling" = yes; then
21898 # Depending upon the size, compute the lo and hi bounds.
21899 cat >conftest.$ac_ext <<_ACEOF
21900 /* confdefs.h. */
21901 _ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905 $ac_includes_default
21906 int
21907 main ()
21908 {
21909 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21910 test_array [0] = 0
21911
21912 ;
21913 return 0;
21914 }
21915 _ACEOF
21916 rm -f conftest.$ac_objext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21918 (eval $ac_compile) 2>conftest.er1
21919 ac_status=$?
21920 grep -v '^ *+' conftest.er1 >conftest.err
21921 rm -f conftest.er1
21922 cat conftest.err >&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } &&
21925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21928 ac_status=$?
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; } &&
21931 { ac_try='test -s conftest.$ac_objext'
21932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21933 (eval $ac_try) 2>&5
21934 ac_status=$?
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; }; then
21937 ac_lo=0 ac_mid=0
21938 while :; do
21939 cat >conftest.$ac_ext <<_ACEOF
21940 /* confdefs.h. */
21941 _ACEOF
21942 cat confdefs.h >>conftest.$ac_ext
21943 cat >>conftest.$ac_ext <<_ACEOF
21944 /* end confdefs.h. */
21945 $ac_includes_default
21946 int
21947 main ()
21948 {
21949 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21950 test_array [0] = 0
21951
21952 ;
21953 return 0;
21954 }
21955 _ACEOF
21956 rm -f conftest.$ac_objext
21957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21958 (eval $ac_compile) 2>conftest.er1
21959 ac_status=$?
21960 grep -v '^ *+' conftest.er1 >conftest.err
21961 rm -f conftest.er1
21962 cat conftest.err >&5
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); } &&
21965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; } &&
21971 { ac_try='test -s conftest.$ac_objext'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; }; then
21977 ac_hi=$ac_mid; break
21978 else
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.$ac_ext >&5
21981
21982 ac_lo=`expr $ac_mid + 1`
21983 if test $ac_lo -le $ac_mid; then
21984 ac_lo= ac_hi=
21985 break
21986 fi
21987 ac_mid=`expr 2 '*' $ac_mid + 1`
21988 fi
21989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21990 done
21991 else
21992 echo "$as_me: failed program was:" >&5
21993 sed 's/^/| /' conftest.$ac_ext >&5
21994
21995 cat >conftest.$ac_ext <<_ACEOF
21996 /* confdefs.h. */
21997 _ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 $ac_includes_default
22002 int
22003 main ()
22004 {
22005 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22006 test_array [0] = 0
22007
22008 ;
22009 return 0;
22010 }
22011 _ACEOF
22012 rm -f conftest.$ac_objext
22013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22014 (eval $ac_compile) 2>conftest.er1
22015 ac_status=$?
22016 grep -v '^ *+' conftest.er1 >conftest.err
22017 rm -f conftest.er1
22018 cat conftest.err >&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22024 ac_status=$?
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try='test -s conftest.$ac_objext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22030 ac_status=$?
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_hi=-1 ac_mid=-1
22034 while :; do
22035 cat >conftest.$ac_ext <<_ACEOF
22036 /* confdefs.h. */
22037 _ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 $ac_includes_default
22042 int
22043 main ()
22044 {
22045 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22046 test_array [0] = 0
22047
22048 ;
22049 return 0;
22050 }
22051 _ACEOF
22052 rm -f conftest.$ac_objext
22053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22054 (eval $ac_compile) 2>conftest.er1
22055 ac_status=$?
22056 grep -v '^ *+' conftest.er1 >conftest.err
22057 rm -f conftest.er1
22058 cat conftest.err >&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } &&
22061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22064 ac_status=$?
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; } &&
22067 { ac_try='test -s conftest.$ac_objext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_lo=$ac_mid; break
22074 else
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22077
22078 ac_hi=`expr '(' $ac_mid ')' - 1`
22079 if test $ac_mid -le $ac_hi; then
22080 ac_lo= ac_hi=
22081 break
22082 fi
22083 ac_mid=`expr 2 '*' $ac_mid`
22084 fi
22085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22086 done
22087 else
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.$ac_ext >&5
22090
22091 ac_lo= ac_hi=
22092 fi
22093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22094 fi
22095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22096 # Binary search between lo and hi bounds.
22097 while test "x$ac_lo" != "x$ac_hi"; do
22098 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 $ac_includes_default
22106 int
22107 main ()
22108 {
22109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22110 test_array [0] = 0
22111
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22118 (eval $ac_compile) 2>conftest.er1
22119 ac_status=$?
22120 grep -v '^ *+' conftest.er1 >conftest.err
22121 rm -f conftest.er1
22122 cat conftest.err >&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try='test -s conftest.$ac_objext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 ac_hi=$ac_mid
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 ac_lo=`expr '(' $ac_mid ')' + 1`
22143 fi
22144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22145 done
22146 case $ac_lo in
22147 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22148 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22149 See \`config.log' for more details." >&5
22150 echo "$as_me: error: cannot compute sizeof (long long), 77
22151 See \`config.log' for more details." >&2;}
22152 { (exit 1); exit 1; }; } ;;
22153 esac
22154 else
22155 if test "$cross_compiling" = yes; then
22156 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22157 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22158 { (exit 1); exit 1; }; }
22159 else
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h. */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 $ac_includes_default
22167 long longval () { return (long) (sizeof (long long)); }
22168 unsigned long ulongval () { return (long) (sizeof (long long)); }
22169 #include <stdio.h>
22170 #include <stdlib.h>
22171 int
22172 main ()
22173 {
22174
22175 FILE *f = fopen ("conftest.val", "w");
22176 if (! f)
22177 exit (1);
22178 if (((long) (sizeof (long long))) < 0)
22179 {
22180 long i = longval ();
22181 if (i != ((long) (sizeof (long long))))
22182 exit (1);
22183 fprintf (f, "%ld\n", i);
22184 }
22185 else
22186 {
22187 unsigned long i = ulongval ();
22188 if (i != ((long) (sizeof (long long))))
22189 exit (1);
22190 fprintf (f, "%lu\n", i);
22191 }
22192 exit (ferror (f) || fclose (f) != 0);
22193
22194 ;
22195 return 0;
22196 }
22197 _ACEOF
22198 rm -f conftest$ac_exeext
22199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22200 (eval $ac_link) 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22206 ac_status=$?
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; }; then
22209 ac_cv_sizeof_long_long=`cat conftest.val`
22210 else
22211 echo "$as_me: program exited with status $ac_status" >&5
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.$ac_ext >&5
22214
22215 ( exit $ac_status )
22216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22217 See \`config.log' for more details." >&5
22218 echo "$as_me: error: cannot compute sizeof (long long), 77
22219 See \`config.log' for more details." >&2;}
22220 { (exit 1); exit 1; }; }
22221 fi
22222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22223 fi
22224 fi
22225 rm -f conftest.val
22226 else
22227 ac_cv_sizeof_long_long=0
22228 fi
22229 fi
22230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22231 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22232 cat >>confdefs.h <<_ACEOF
22233 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22234 _ACEOF
22235
22236
22237 if test "$ac_cv_sizeof_long_long" != "0"; then
22238 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22239 fi
22240 ;;
22241 * )
22242 echo "$as_me:$LINENO: checking for long long" >&5
22243 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22244 if test "${ac_cv_type_long_long+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 else
22247 cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 $ac_includes_default
22254 int
22255 main ()
22256 {
22257 if ((long long *) 0)
22258 return 0;
22259 if (sizeof (long long))
22260 return 0;
22261 ;
22262 return 0;
22263 }
22264 _ACEOF
22265 rm -f conftest.$ac_objext
22266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22267 (eval $ac_compile) 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } &&
22274 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22276 (eval $ac_try) 2>&5
22277 ac_status=$?
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); }; } &&
22280 { ac_try='test -s conftest.$ac_objext'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22283 ac_status=$?
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_type_long_long=yes
22287 else
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22290
22291 ac_cv_type_long_long=no
22292 fi
22293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22294 fi
22295 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22296 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22297
22298 echo "$as_me:$LINENO: checking size of long long" >&5
22299 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22300 if test "${ac_cv_sizeof_long_long+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22302 else
22303 if test "$ac_cv_type_long_long" = yes; then
22304 # The cast to unsigned long works around a bug in the HP C Compiler
22305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22307 # This bug is HP SR number 8606223364.
22308 if test "$cross_compiling" = yes; then
22309 # Depending upon the size, compute the lo and hi bounds.
22310 cat >conftest.$ac_ext <<_ACEOF
22311 /* confdefs.h. */
22312 _ACEOF
22313 cat confdefs.h >>conftest.$ac_ext
22314 cat >>conftest.$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 $ac_includes_default
22317 int
22318 main ()
22319 {
22320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22321 test_array [0] = 0
22322
22323 ;
22324 return 0;
22325 }
22326 _ACEOF
22327 rm -f conftest.$ac_objext
22328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22329 (eval $ac_compile) 2>conftest.er1
22330 ac_status=$?
22331 grep -v '^ *+' conftest.er1 >conftest.err
22332 rm -f conftest.er1
22333 cat conftest.err >&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); } &&
22336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try='test -s conftest.$ac_objext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22345 ac_status=$?
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 ac_lo=0 ac_mid=0
22349 while :; do
22350 cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h. */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 $ac_includes_default
22357 int
22358 main ()
22359 {
22360 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22361 test_array [0] = 0
22362
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 rm -f conftest.$ac_objext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22369 (eval $ac_compile) 2>conftest.er1
22370 ac_status=$?
22371 grep -v '^ *+' conftest.er1 >conftest.err
22372 rm -f conftest.er1
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } &&
22376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22379 ac_status=$?
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; } &&
22382 { ac_try='test -s conftest.$ac_objext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_hi=$ac_mid; break
22389 else
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 ac_lo=`expr $ac_mid + 1`
22394 if test $ac_lo -le $ac_mid; then
22395 ac_lo= ac_hi=
22396 break
22397 fi
22398 ac_mid=`expr 2 '*' $ac_mid + 1`
22399 fi
22400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22401 done
22402 else
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.$ac_ext >&5
22405
22406 cat >conftest.$ac_ext <<_ACEOF
22407 /* confdefs.h. */
22408 _ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 $ac_includes_default
22413 int
22414 main ()
22415 {
22416 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22417 test_array [0] = 0
22418
22419 ;
22420 return 0;
22421 }
22422 _ACEOF
22423 rm -f conftest.$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425 (eval $ac_compile) 2>conftest.er1
22426 ac_status=$?
22427 grep -v '^ *+' conftest.er1 >conftest.err
22428 rm -f conftest.er1
22429 cat conftest.err >&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434 (eval $ac_try) 2>&5
22435 ac_status=$?
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); }; } &&
22438 { ac_try='test -s conftest.$ac_objext'
22439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22440 (eval $ac_try) 2>&5
22441 ac_status=$?
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); }; }; then
22444 ac_hi=-1 ac_mid=-1
22445 while :; do
22446 cat >conftest.$ac_ext <<_ACEOF
22447 /* confdefs.h. */
22448 _ACEOF
22449 cat confdefs.h >>conftest.$ac_ext
22450 cat >>conftest.$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 $ac_includes_default
22453 int
22454 main ()
22455 {
22456 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22457 test_array [0] = 0
22458
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 rm -f conftest.$ac_objext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22465 (eval $ac_compile) 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try='test -s conftest.$ac_objext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_lo=$ac_mid; break
22485 else
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.$ac_ext >&5
22488
22489 ac_hi=`expr '(' $ac_mid ')' - 1`
22490 if test $ac_mid -le $ac_hi; then
22491 ac_lo= ac_hi=
22492 break
22493 fi
22494 ac_mid=`expr 2 '*' $ac_mid`
22495 fi
22496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22497 done
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22501
22502 ac_lo= ac_hi=
22503 fi
22504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22505 fi
22506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22507 # Binary search between lo and hi bounds.
22508 while test "x$ac_lo" != "x$ac_hi"; do
22509 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22510 cat >conftest.$ac_ext <<_ACEOF
22511 /* confdefs.h. */
22512 _ACEOF
22513 cat confdefs.h >>conftest.$ac_ext
22514 cat >>conftest.$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22516 $ac_includes_default
22517 int
22518 main ()
22519 {
22520 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22521 test_array [0] = 0
22522
22523 ;
22524 return 0;
22525 }
22526 _ACEOF
22527 rm -f conftest.$ac_objext
22528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22529 (eval $ac_compile) 2>conftest.er1
22530 ac_status=$?
22531 grep -v '^ *+' conftest.er1 >conftest.err
22532 rm -f conftest.er1
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } &&
22536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22539 ac_status=$?
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; } &&
22542 { ac_try='test -s conftest.$ac_objext'
22543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22544 (eval $ac_try) 2>&5
22545 ac_status=$?
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); }; }; then
22548 ac_hi=$ac_mid
22549 else
22550 echo "$as_me: failed program was:" >&5
22551 sed 's/^/| /' conftest.$ac_ext >&5
22552
22553 ac_lo=`expr '(' $ac_mid ')' + 1`
22554 fi
22555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22556 done
22557 case $ac_lo in
22558 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22560 See \`config.log' for more details." >&5
22561 echo "$as_me: error: cannot compute sizeof (long long), 77
22562 See \`config.log' for more details." >&2;}
22563 { (exit 1); exit 1; }; } ;;
22564 esac
22565 else
22566 if test "$cross_compiling" = yes; then
22567 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22568 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22569 { (exit 1); exit 1; }; }
22570 else
22571 cat >conftest.$ac_ext <<_ACEOF
22572 /* confdefs.h. */
22573 _ACEOF
22574 cat confdefs.h >>conftest.$ac_ext
22575 cat >>conftest.$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 $ac_includes_default
22578 long longval () { return (long) (sizeof (long long)); }
22579 unsigned long ulongval () { return (long) (sizeof (long long)); }
22580 #include <stdio.h>
22581 #include <stdlib.h>
22582 int
22583 main ()
22584 {
22585
22586 FILE *f = fopen ("conftest.val", "w");
22587 if (! f)
22588 exit (1);
22589 if (((long) (sizeof (long long))) < 0)
22590 {
22591 long i = longval ();
22592 if (i != ((long) (sizeof (long long))))
22593 exit (1);
22594 fprintf (f, "%ld\n", i);
22595 }
22596 else
22597 {
22598 unsigned long i = ulongval ();
22599 if (i != ((long) (sizeof (long long))))
22600 exit (1);
22601 fprintf (f, "%lu\n", i);
22602 }
22603 exit (ferror (f) || fclose (f) != 0);
22604
22605 ;
22606 return 0;
22607 }
22608 _ACEOF
22609 rm -f conftest$ac_exeext
22610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22611 (eval $ac_link) 2>&5
22612 ac_status=$?
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22617 ac_status=$?
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; }; then
22620 ac_cv_sizeof_long_long=`cat conftest.val`
22621 else
22622 echo "$as_me: program exited with status $ac_status" >&5
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 ( exit $ac_status )
22627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22628 See \`config.log' for more details." >&5
22629 echo "$as_me: error: cannot compute sizeof (long long), 77
22630 See \`config.log' for more details." >&2;}
22631 { (exit 1); exit 1; }; }
22632 fi
22633 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22634 fi
22635 fi
22636 rm -f conftest.val
22637 else
22638 ac_cv_sizeof_long_long=0
22639 fi
22640 fi
22641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22642 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22643 cat >>confdefs.h <<_ACEOF
22644 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22645 _ACEOF
22646
22647
22648 esac
22649
22650 echo "$as_me:$LINENO: checking for wchar_t" >&5
22651 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
22652 if test "${ac_cv_type_wchar_t+set}" = set; then
22653 echo $ECHO_N "(cached) $ECHO_C" >&6
22654 else
22655 cat >conftest.$ac_ext <<_ACEOF
22656 /* confdefs.h. */
22657 _ACEOF
22658 cat confdefs.h >>conftest.$ac_ext
22659 cat >>conftest.$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22661
22662 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22663 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22664 # error "fake wchar_t"
22665 #endif
22666 #ifdef HAVE_WCHAR_H
22667 # ifdef __CYGWIN__
22668 # include <stddef.h>
22669 # endif
22670 # include <wchar.h>
22671 #endif
22672 #ifdef HAVE_STDLIB_H
22673 # include <stdlib.h>
22674 #endif
22675 #include <stdio.h>
22676
22677
22678
22679 int
22680 main ()
22681 {
22682 if ((wchar_t *) 0)
22683 return 0;
22684 if (sizeof (wchar_t))
22685 return 0;
22686 ;
22687 return 0;
22688 }
22689 _ACEOF
22690 rm -f conftest.$ac_objext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22692 (eval $ac_compile) 2>conftest.er1
22693 ac_status=$?
22694 grep -v '^ *+' conftest.er1 >conftest.err
22695 rm -f conftest.er1
22696 cat conftest.err >&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } &&
22699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22701 (eval $ac_try) 2>&5
22702 ac_status=$?
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); }; } &&
22705 { ac_try='test -s conftest.$ac_objext'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; }; then
22711 ac_cv_type_wchar_t=yes
22712 else
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22715
22716 ac_cv_type_wchar_t=no
22717 fi
22718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22719 fi
22720 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22721 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
22722
22723 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22724 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22725 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 else
22728 if test "$ac_cv_type_wchar_t" = yes; then
22729 # The cast to unsigned long works around a bug in the HP C Compiler
22730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22732 # This bug is HP SR number 8606223364.
22733 if test "$cross_compiling" = yes; then
22734 # Depending upon the size, compute the lo and hi bounds.
22735 cat >conftest.$ac_ext <<_ACEOF
22736 /* confdefs.h. */
22737 _ACEOF
22738 cat confdefs.h >>conftest.$ac_ext
22739 cat >>conftest.$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22741
22742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22744 # error "fake wchar_t"
22745 #endif
22746 #ifdef HAVE_WCHAR_H
22747 # ifdef __CYGWIN__
22748 # include <stddef.h>
22749 # endif
22750 # include <wchar.h>
22751 #endif
22752 #ifdef HAVE_STDLIB_H
22753 # include <stdlib.h>
22754 #endif
22755 #include <stdio.h>
22756
22757
22758
22759 int
22760 main ()
22761 {
22762 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22763 test_array [0] = 0
22764
22765 ;
22766 return 0;
22767 }
22768 _ACEOF
22769 rm -f conftest.$ac_objext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22771 (eval $ac_compile) 2>conftest.er1
22772 ac_status=$?
22773 grep -v '^ *+' conftest.er1 >conftest.err
22774 rm -f conftest.er1
22775 cat conftest.err >&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } &&
22778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22781 ac_status=$?
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; } &&
22784 { ac_try='test -s conftest.$ac_objext'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22787 ac_status=$?
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 ac_lo=0 ac_mid=0
22791 while :; do
22792 cat >conftest.$ac_ext <<_ACEOF
22793 /* confdefs.h. */
22794 _ACEOF
22795 cat confdefs.h >>conftest.$ac_ext
22796 cat >>conftest.$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22798
22799 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22800 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22801 # error "fake wchar_t"
22802 #endif
22803 #ifdef HAVE_WCHAR_H
22804 # ifdef __CYGWIN__
22805 # include <stddef.h>
22806 # endif
22807 # include <wchar.h>
22808 #endif
22809 #ifdef HAVE_STDLIB_H
22810 # include <stdlib.h>
22811 #endif
22812 #include <stdio.h>
22813
22814
22815
22816 int
22817 main ()
22818 {
22819 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22820 test_array [0] = 0
22821
22822 ;
22823 return 0;
22824 }
22825 _ACEOF
22826 rm -f conftest.$ac_objext
22827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22828 (eval $ac_compile) 2>conftest.er1
22829 ac_status=$?
22830 grep -v '^ *+' conftest.er1 >conftest.err
22831 rm -f conftest.er1
22832 cat conftest.err >&5
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); } &&
22835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837 (eval $ac_try) 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; } &&
22841 { ac_try='test -s conftest.$ac_objext'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22844 ac_status=$?
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; }; then
22847 ac_hi=$ac_mid; break
22848 else
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22851
22852 ac_lo=`expr $ac_mid + 1`
22853 if test $ac_lo -le $ac_mid; then
22854 ac_lo= ac_hi=
22855 break
22856 fi
22857 ac_mid=`expr 2 '*' $ac_mid + 1`
22858 fi
22859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22860 done
22861 else
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22864
22865 cat >conftest.$ac_ext <<_ACEOF
22866 /* confdefs.h. */
22867 _ACEOF
22868 cat confdefs.h >>conftest.$ac_ext
22869 cat >>conftest.$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22871
22872 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22873 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22874 # error "fake wchar_t"
22875 #endif
22876 #ifdef HAVE_WCHAR_H
22877 # ifdef __CYGWIN__
22878 # include <stddef.h>
22879 # endif
22880 # include <wchar.h>
22881 #endif
22882 #ifdef HAVE_STDLIB_H
22883 # include <stdlib.h>
22884 #endif
22885 #include <stdio.h>
22886
22887
22888
22889 int
22890 main ()
22891 {
22892 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22893 test_array [0] = 0
22894
22895 ;
22896 return 0;
22897 }
22898 _ACEOF
22899 rm -f conftest.$ac_objext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22901 (eval $ac_compile) 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; } &&
22914 { ac_try='test -s conftest.$ac_objext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 ac_hi=-1 ac_mid=-1
22921 while :; do
22922 cat >conftest.$ac_ext <<_ACEOF
22923 /* confdefs.h. */
22924 _ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928
22929 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22930 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22931 # error "fake wchar_t"
22932 #endif
22933 #ifdef HAVE_WCHAR_H
22934 # ifdef __CYGWIN__
22935 # include <stddef.h>
22936 # endif
22937 # include <wchar.h>
22938 #endif
22939 #ifdef HAVE_STDLIB_H
22940 # include <stdlib.h>
22941 #endif
22942 #include <stdio.h>
22943
22944
22945
22946 int
22947 main ()
22948 {
22949 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22950 test_array [0] = 0
22951
22952 ;
22953 return 0;
22954 }
22955 _ACEOF
22956 rm -f conftest.$ac_objext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22958 (eval $ac_compile) 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_objext'
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_lo=$ac_mid; break
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 ac_hi=`expr '(' $ac_mid ')' - 1`
22983 if test $ac_mid -le $ac_hi; then
22984 ac_lo= ac_hi=
22985 break
22986 fi
22987 ac_mid=`expr 2 '*' $ac_mid`
22988 fi
22989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22990 done
22991 else
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.$ac_ext >&5
22994
22995 ac_lo= ac_hi=
22996 fi
22997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22998 fi
22999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23000 # Binary search between lo and hi bounds.
23001 while test "x$ac_lo" != "x$ac_hi"; do
23002 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23003 cat >conftest.$ac_ext <<_ACEOF
23004 /* confdefs.h. */
23005 _ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009
23010 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23011 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23012 # error "fake wchar_t"
23013 #endif
23014 #ifdef HAVE_WCHAR_H
23015 # ifdef __CYGWIN__
23016 # include <stddef.h>
23017 # endif
23018 # include <wchar.h>
23019 #endif
23020 #ifdef HAVE_STDLIB_H
23021 # include <stdlib.h>
23022 #endif
23023 #include <stdio.h>
23024
23025
23026
23027 int
23028 main ()
23029 {
23030 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23031 test_array [0] = 0
23032
23033 ;
23034 return 0;
23035 }
23036 _ACEOF
23037 rm -f conftest.$ac_objext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23039 (eval $ac_compile) 2>conftest.er1
23040 ac_status=$?
23041 grep -v '^ *+' conftest.er1 >conftest.err
23042 rm -f conftest.er1
23043 cat conftest.err >&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23049 ac_status=$?
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; } &&
23052 { ac_try='test -s conftest.$ac_objext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 ac_hi=$ac_mid
23059 else
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.$ac_ext >&5
23062
23063 ac_lo=`expr '(' $ac_mid ')' + 1`
23064 fi
23065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23066 done
23067 case $ac_lo in
23068 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23069 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23070 See \`config.log' for more details." >&5
23071 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23072 See \`config.log' for more details." >&2;}
23073 { (exit 1); exit 1; }; } ;;
23074 esac
23075 else
23076 if test "$cross_compiling" = yes; then
23077 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23078 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23079 { (exit 1); exit 1; }; }
23080 else
23081 cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h. */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087
23088 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23089 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23090 # error "fake wchar_t"
23091 #endif
23092 #ifdef HAVE_WCHAR_H
23093 # ifdef __CYGWIN__
23094 # include <stddef.h>
23095 # endif
23096 # include <wchar.h>
23097 #endif
23098 #ifdef HAVE_STDLIB_H
23099 # include <stdlib.h>
23100 #endif
23101 #include <stdio.h>
23102
23103
23104
23105 long longval () { return (long) (sizeof (wchar_t)); }
23106 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
23107 #include <stdio.h>
23108 #include <stdlib.h>
23109 int
23110 main ()
23111 {
23112
23113 FILE *f = fopen ("conftest.val", "w");
23114 if (! f)
23115 exit (1);
23116 if (((long) (sizeof (wchar_t))) < 0)
23117 {
23118 long i = longval ();
23119 if (i != ((long) (sizeof (wchar_t))))
23120 exit (1);
23121 fprintf (f, "%ld\n", i);
23122 }
23123 else
23124 {
23125 unsigned long i = ulongval ();
23126 if (i != ((long) (sizeof (wchar_t))))
23127 exit (1);
23128 fprintf (f, "%lu\n", i);
23129 }
23130 exit (ferror (f) || fclose (f) != 0);
23131
23132 ;
23133 return 0;
23134 }
23135 _ACEOF
23136 rm -f conftest$ac_exeext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23138 (eval $ac_link) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23144 ac_status=$?
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; }; then
23147 ac_cv_sizeof_wchar_t=`cat conftest.val`
23148 else
23149 echo "$as_me: program exited with status $ac_status" >&5
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23152
23153 ( exit $ac_status )
23154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23155 See \`config.log' for more details." >&5
23156 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23157 See \`config.log' for more details." >&2;}
23158 { (exit 1); exit 1; }; }
23159 fi
23160 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23161 fi
23162 fi
23163 rm -f conftest.val
23164 else
23165 ac_cv_sizeof_wchar_t=0
23166 fi
23167 fi
23168 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23169 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
23170 cat >>confdefs.h <<_ACEOF
23171 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23172 _ACEOF
23173
23174
23175 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23176 wxUSE_WCHAR_T=yes
23177 else
23178 wxUSE_WCHAR_T=no
23179 fi
23180
23181 echo "$as_me:$LINENO: checking for va_copy" >&5
23182 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
23183 if test "${wx_cv_func_va_copy+set}" = set; then
23184 echo $ECHO_N "(cached) $ECHO_C" >&6
23185 else
23186
23187 cat >conftest.$ac_ext <<_ACEOF
23188
23189 #include <stdarg.h>
23190 void foo(char *f, ...)
23191 {
23192 va_list ap1, ap2;
23193 va_start(ap1, f);
23194 va_copy(ap2, ap1);
23195 va_end(ap2);
23196 va_end(ap1);
23197 }
23198 int main()
23199 {
23200 foo("hi", 17);
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest.$ac_objext conftest$ac_exeext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>conftest.er1
23207 ac_status=$?
23208 grep -v '^ *+' conftest.er1 >conftest.err
23209 rm -f conftest.er1
23210 cat conftest.err >&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23219 { ac_try='test -s conftest$ac_exeext'
23220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23221 (eval $ac_try) 2>&5
23222 ac_status=$?
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 wx_cv_func_va_copy=yes
23226 else
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 wx_cv_func_va_copy=no
23231
23232 fi
23233 rm -f conftest.err conftest.$ac_objext \
23234 conftest$ac_exeext conftest.$ac_ext
23235
23236
23237 fi
23238 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23239 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
23240
23241 if test $wx_cv_func_va_copy = "yes"; then
23242 cat >>confdefs.h <<\_ACEOF
23243 #define HAVE_VA_COPY 1
23244 _ACEOF
23245
23246 else
23247 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23248 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
23249 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 else
23252
23253 if test "$cross_compiling" = yes; then
23254 wx_cv_type_va_list_lvalue=yes
23255
23256 else
23257 cat >conftest.$ac_ext <<_ACEOF
23258
23259 #include <stdarg.h>
23260 int foo(char *f, ...)
23261 {
23262 va_list ap1, ap2;
23263 va_start(ap1, f);
23264 ap2 = ap1;
23265 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23266 return 1;
23267 va_end(ap2);
23268 va_end(ap1);
23269 return 0;
23270 }
23271 int main()
23272 {
23273 return foo("hi", 17);
23274 }
23275 _ACEOF
23276 rm -f conftest$ac_exeext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23278 (eval $ac_link) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23284 ac_status=$?
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; }; then
23287 wx_cv_type_va_list_lvalue=yes
23288 else
23289 echo "$as_me: program exited with status $ac_status" >&5
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.$ac_ext >&5
23292
23293 ( exit $ac_status )
23294 wx_cv_type_va_list_lvalue=no
23295 fi
23296 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23297 fi
23298
23299
23300 fi
23301 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23302 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
23303
23304 if test $wx_cv_type_va_list_lvalue != "yes"; then
23305 cat >>confdefs.h <<\_ACEOF
23306 #define VA_LIST_IS_ARRAY 1
23307 _ACEOF
23308
23309 fi
23310 fi
23311
23312 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23313 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
23314 if test "${wx_cv_have_variadic_macros+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23316 else
23317
23318 cat >conftest.$ac_ext <<_ACEOF
23319 /* confdefs.h. */
23320 _ACEOF
23321 cat confdefs.h >>conftest.$ac_ext
23322 cat >>conftest.$ac_ext <<_ACEOF
23323 /* end confdefs.h. */
23324
23325 #include <stdio.h>
23326 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23327
23328 int
23329 main ()
23330 {
23331
23332 test("%s %d %p", "test", 1, 0);
23333
23334
23335 ;
23336 return 0;
23337 }
23338 _ACEOF
23339 rm -f conftest.$ac_objext
23340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23341 (eval $ac_compile) 2>conftest.er1
23342 ac_status=$?
23343 grep -v '^ *+' conftest.er1 >conftest.err
23344 rm -f conftest.er1
23345 cat conftest.err >&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } &&
23348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23350 (eval $ac_try) 2>&5
23351 ac_status=$?
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); }; } &&
23354 { ac_try='test -s conftest.$ac_objext'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23357 ac_status=$?
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; }; then
23360 wx_cv_have_variadic_macros=yes
23361 else
23362 echo "$as_me: failed program was:" >&5
23363 sed 's/^/| /' conftest.$ac_ext >&5
23364
23365 wx_cv_have_variadic_macros=no
23366
23367 fi
23368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23369
23370
23371 fi
23372 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23373 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
23374
23375 if test $wx_cv_have_variadic_macros = "yes"; then
23376 cat >>confdefs.h <<\_ACEOF
23377 #define HAVE_VARIADIC_MACROS 1
23378 _ACEOF
23379
23380 fi
23381
23382 # Check whether --enable-largefile or --disable-largefile was given.
23383 if test "${enable_largefile+set}" = set; then
23384 enableval="$enable_largefile"
23385
23386 fi;
23387 if test "$enable_largefile" != no; then
23388 wx_largefile=no
23389
23390 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23391 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
23392 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 else
23395
23396 cat >conftest.$ac_ext <<_ACEOF
23397 /* confdefs.h. */
23398 _ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 #define _FILE_OFFSET_BITS 64
23403 #include <sys/types.h>
23404 int
23405 main ()
23406 {
23407 typedef struct {
23408 unsigned int field: sizeof(off_t) == 8;
23409 } wxlf;
23410
23411 ;
23412 return 0;
23413 }
23414 _ACEOF
23415 rm -f conftest.$ac_objext
23416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23417 (eval $ac_compile) 2>conftest.er1
23418 ac_status=$?
23419 grep -v '^ *+' conftest.er1 >conftest.err
23420 rm -f conftest.er1
23421 cat conftest.err >&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } &&
23424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try='test -s conftest.$ac_objext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436 ac_cv_sys_file_offset_bits=64
23437 else
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23440
23441 ac_cv_sys_file_offset_bits=no
23442 fi
23443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23444
23445
23446 fi
23447 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23448 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
23449
23450 if test "$ac_cv_sys_file_offset_bits" != no; then
23451 wx_largefile=yes
23452 cat >>confdefs.h <<_ACEOF
23453 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23454 _ACEOF
23455
23456 fi
23457
23458 if test "x$wx_largefile" != "xyes"; then
23459
23460 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23461 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
23462 if test "${ac_cv_sys_large_files+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23464 else
23465
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #define _LARGE_FILES 1
23473 #include <sys/types.h>
23474 int
23475 main ()
23476 {
23477 typedef struct {
23478 unsigned int field: sizeof(off_t) == 8;
23479 } wxlf;
23480
23481 ;
23482 return 0;
23483 }
23484 _ACEOF
23485 rm -f conftest.$ac_objext
23486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23487 (eval $ac_compile) 2>conftest.er1
23488 ac_status=$?
23489 grep -v '^ *+' conftest.er1 >conftest.err
23490 rm -f conftest.er1
23491 cat conftest.err >&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } &&
23494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try='test -s conftest.$ac_objext'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; }; then
23506 ac_cv_sys_large_files=1
23507 else
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.$ac_ext >&5
23510
23511 ac_cv_sys_large_files=no
23512 fi
23513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23514
23515
23516 fi
23517 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23518 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
23519
23520 if test "$ac_cv_sys_large_files" != no; then
23521 wx_largefile=yes
23522 cat >>confdefs.h <<_ACEOF
23523 #define _LARGE_FILES $ac_cv_sys_large_files
23524 _ACEOF
23525
23526 fi
23527
23528 fi
23529
23530 echo "$as_me:$LINENO: checking if large file support is available" >&5
23531 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
23532 if test "x$wx_largefile" = "xyes"; then
23533 cat >>confdefs.h <<\_ACEOF
23534 #define HAVE_LARGEFILE_SUPPORT 1
23535 _ACEOF
23536
23537 fi
23538 echo "$as_me:$LINENO: result: $wx_largefile" >&5
23539 echo "${ECHO_T}$wx_largefile" >&6
23540 fi
23541
23542
23543 if test "x$wx_largefile" = "xyes"; then
23544 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23545 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23546
23547 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23548 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23549 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
23550 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23551 echo $ECHO_N "(cached) $ECHO_C" >&6
23552 else
23553
23554 cat >conftest.$ac_ext <<_ACEOF
23555 /* confdefs.h. */
23556 _ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560
23561 int
23562 main ()
23563 {
23564
23565 #ifndef __STDC_EXT__
23566 choke me
23567 #endif
23568
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try='test -s conftest.$ac_objext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_STDC_EXT_required=no
23595 else
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23598
23599 wx_cv_STDC_EXT_required=yes
23600
23601 fi
23602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23603
23604
23605 fi
23606 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23607 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
23608 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23609 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23610 fi
23611 fi
23612 else
23613 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23614 fi
23615 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23616 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
23617 if test "${ac_cv_sys_largefile_source+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 else
23620 while :; do
23621 ac_cv_sys_largefile_source=no
23622 cat >conftest.$ac_ext <<_ACEOF
23623 /* confdefs.h. */
23624 _ACEOF
23625 cat confdefs.h >>conftest.$ac_ext
23626 cat >>conftest.$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23628 #include <stdio.h>
23629 int
23630 main ()
23631 {
23632 return !fseeko;
23633 ;
23634 return 0;
23635 }
23636 _ACEOF
23637 rm -f conftest.$ac_objext
23638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23639 (eval $ac_compile) 2>conftest.er1
23640 ac_status=$?
23641 grep -v '^ *+' conftest.er1 >conftest.err
23642 rm -f conftest.er1
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } &&
23646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648 (eval $ac_try) 2>&5
23649 ac_status=$?
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; } &&
23652 { ac_try='test -s conftest.$ac_objext'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23658 break
23659 else
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.$ac_ext >&5
23662
23663 fi
23664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23665 cat >conftest.$ac_ext <<_ACEOF
23666 /* confdefs.h. */
23667 _ACEOF
23668 cat confdefs.h >>conftest.$ac_ext
23669 cat >>conftest.$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 #define _LARGEFILE_SOURCE 1
23672 #include <stdio.h>
23673 int
23674 main ()
23675 {
23676 return !fseeko;
23677 ;
23678 return 0;
23679 }
23680 _ACEOF
23681 rm -f conftest.$ac_objext
23682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23683 (eval $ac_compile) 2>conftest.er1
23684 ac_status=$?
23685 grep -v '^ *+' conftest.er1 >conftest.err
23686 rm -f conftest.er1
23687 cat conftest.err >&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } &&
23690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23696 { ac_try='test -s conftest.$ac_objext'
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23699 ac_status=$?
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; }; then
23702 ac_cv_sys_largefile_source=1; break
23703 else
23704 echo "$as_me: failed program was:" >&5
23705 sed 's/^/| /' conftest.$ac_ext >&5
23706
23707 fi
23708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23709 break
23710 done
23711 fi
23712 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23713 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
23714 if test "$ac_cv_sys_largefile_source" != no; then
23715
23716 cat >>confdefs.h <<_ACEOF
23717 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23718 _ACEOF
23719
23720 fi
23721 rm -f conftest*
23722
23723 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23724 # in glibc 2.1.3, but that breaks too many other things.
23725 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23726 echo "$as_me:$LINENO: checking for fseeko" >&5
23727 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23728 if test "${ac_cv_func_fseeko+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23730 else
23731 cat >conftest.$ac_ext <<_ACEOF
23732 /* confdefs.h. */
23733 _ACEOF
23734 cat confdefs.h >>conftest.$ac_ext
23735 cat >>conftest.$ac_ext <<_ACEOF
23736 /* end confdefs.h. */
23737 #include <stdio.h>
23738 int
23739 main ()
23740 {
23741 return fseeko && fseeko (stdin, 0, 0);
23742 ;
23743 return 0;
23744 }
23745 _ACEOF
23746 rm -f conftest.$ac_objext conftest$ac_exeext
23747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23748 (eval $ac_link) 2>conftest.er1
23749 ac_status=$?
23750 grep -v '^ *+' conftest.er1 >conftest.err
23751 rm -f conftest.er1
23752 cat conftest.err >&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } &&
23755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; } &&
23761 { ac_try='test -s conftest$ac_exeext'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; }; then
23767 ac_cv_func_fseeko=yes
23768 else
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.$ac_ext >&5
23771
23772 ac_cv_func_fseeko=no
23773 fi
23774 rm -f conftest.err conftest.$ac_objext \
23775 conftest$ac_exeext conftest.$ac_ext
23776 fi
23777 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23778 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23779 if test $ac_cv_func_fseeko = yes; then
23780
23781 cat >>confdefs.h <<\_ACEOF
23782 #define HAVE_FSEEKO 1
23783 _ACEOF
23784
23785 fi
23786
23787 if test "$ac_cv_sys_largefile_source" != no; then
23788 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23789 fi
23790 fi
23791
23792 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23793 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23794 if test "${ac_cv_c_bigendian+set}" = set; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 else
23797 ac_cv_c_bigendian=unknown
23798 # See if sys/param.h defines the BYTE_ORDER macro.
23799 cat >conftest.$ac_ext <<_ACEOF
23800 /* confdefs.h. */
23801 _ACEOF
23802 cat confdefs.h >>conftest.$ac_ext
23803 cat >>conftest.$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 #include <sys/types.h>
23806 #include <sys/param.h>
23807 int
23808 main ()
23809 {
23810
23811 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23812 bogus endian macros
23813 #endif
23814 ;
23815 return 0;
23816 }
23817 _ACEOF
23818 rm -f conftest.$ac_objext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23820 (eval $ac_compile) 2>conftest.er1
23821 ac_status=$?
23822 grep -v '^ *+' conftest.er1 >conftest.err
23823 rm -f conftest.er1
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } &&
23827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23830 ac_status=$?
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; } &&
23833 { ac_try='test -s conftest.$ac_objext'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; }; then
23839 # It does; now see whether it defined to BIG_ENDIAN or not.
23840 cat >conftest.$ac_ext <<_ACEOF
23841 /* confdefs.h. */
23842 _ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 #include <sys/types.h>
23847 #include <sys/param.h>
23848 int
23849 main ()
23850 {
23851
23852 #if BYTE_ORDER != BIG_ENDIAN
23853 not big endian
23854 #endif
23855 ;
23856 return 0;
23857 }
23858 _ACEOF
23859 rm -f conftest.$ac_objext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23861 (eval $ac_compile) 2>conftest.er1
23862 ac_status=$?
23863 grep -v '^ *+' conftest.er1 >conftest.err
23864 rm -f conftest.er1
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870 (eval $ac_try) 2>&5
23871 ac_status=$?
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); }; } &&
23874 { ac_try='test -s conftest.$ac_objext'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23877 ac_status=$?
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; }; then
23880 ac_cv_c_bigendian=yes
23881 else
23882 echo "$as_me: failed program was:" >&5
23883 sed 's/^/| /' conftest.$ac_ext >&5
23884
23885 ac_cv_c_bigendian=no
23886 fi
23887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23888 else
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23891
23892 fi
23893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23894 if test $ac_cv_c_bigendian = unknown; then
23895 if test "$cross_compiling" = yes; then
23896 ac_cv_c_bigendian=unknown
23897 else
23898 cat >conftest.$ac_ext <<_ACEOF
23899 /* confdefs.h. */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904 main () {
23905 /* Are we little or big endian? From Harbison&Steele. */
23906 union
23907 {
23908 long l;
23909 char c[sizeof (long)];
23910 } u;
23911 u.l = 1;
23912 exit (u.c[sizeof (long) - 1] == 1);
23913 }
23914 _ACEOF
23915 rm -f conftest$ac_exeext
23916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23917 (eval $ac_link) 2>&5
23918 ac_status=$?
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; }; then
23926 ac_cv_c_bigendian=no
23927 else
23928 echo "$as_me: program exited with status $ac_status" >&5
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23931
23932 ( exit $ac_status )
23933 ac_cv_c_bigendian=yes
23934 fi
23935 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23936 fi
23937 fi
23938 fi
23939 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23940 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23941 if test $ac_cv_c_bigendian = unknown; then
23942 { 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
23943 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;}
23944 fi
23945 if test $ac_cv_c_bigendian = yes; then
23946 cat >>confdefs.h <<\_ACEOF
23947 #define WORDS_BIGENDIAN 1
23948 _ACEOF
23949
23950 fi
23951
23952
23953
23954
23955
23956 ac_ext=cc
23957 ac_cpp='$CXXCPP $CPPFLAGS'
23958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23961
23962
23963
23964 for ac_header in iostream
23965 do
23966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23968 echo "$as_me:$LINENO: checking for $ac_header" >&5
23969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23971 echo $ECHO_N "(cached) $ECHO_C" >&6
23972 fi
23973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23975 else
23976 # Is the header compilable?
23977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23979 cat >conftest.$ac_ext <<_ACEOF
23980 /* confdefs.h. */
23981 _ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23985 $ac_includes_default
23986 #include <$ac_header>
23987 _ACEOF
23988 rm -f conftest.$ac_objext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23990 (eval $ac_compile) 2>conftest.er1
23991 ac_status=$?
23992 grep -v '^ *+' conftest.er1 >conftest.err
23993 rm -f conftest.er1
23994 cat conftest.err >&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23999 (eval $ac_try) 2>&5
24000 ac_status=$?
24001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002 (exit $ac_status); }; } &&
24003 { ac_try='test -s conftest.$ac_objext'
24004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24005 (eval $ac_try) 2>&5
24006 ac_status=$?
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); }; }; then
24009 ac_header_compiler=yes
24010 else
24011 echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.$ac_ext >&5
24013
24014 ac_header_compiler=no
24015 fi
24016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24018 echo "${ECHO_T}$ac_header_compiler" >&6
24019
24020 # Is the header present?
24021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24023 cat >conftest.$ac_ext <<_ACEOF
24024 /* confdefs.h. */
24025 _ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24029 #include <$ac_header>
24030 _ACEOF
24031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24033 ac_status=$?
24034 grep -v '^ *+' conftest.er1 >conftest.err
24035 rm -f conftest.er1
24036 cat conftest.err >&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } >/dev/null; then
24039 if test -s conftest.err; then
24040 ac_cpp_err=$ac_cxx_preproc_warn_flag
24041 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24042 else
24043 ac_cpp_err=
24044 fi
24045 else
24046 ac_cpp_err=yes
24047 fi
24048 if test -z "$ac_cpp_err"; then
24049 ac_header_preproc=yes
24050 else
24051 echo "$as_me: failed program was:" >&5
24052 sed 's/^/| /' conftest.$ac_ext >&5
24053
24054 ac_header_preproc=no
24055 fi
24056 rm -f conftest.err conftest.$ac_ext
24057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24058 echo "${ECHO_T}$ac_header_preproc" >&6
24059
24060 # So? What about this header?
24061 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24062 yes:no: )
24063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24067 ac_header_preproc=yes
24068 ;;
24069 no:yes:* )
24070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24082 (
24083 cat <<\_ASBOX
24084 ## ----------------------------------------- ##
24085 ## Report this to wx-dev@lists.wxwidgets.org ##
24086 ## ----------------------------------------- ##
24087 _ASBOX
24088 ) |
24089 sed "s/^/$as_me: WARNING: /" >&2
24090 ;;
24091 esac
24092 echo "$as_me:$LINENO: checking for $ac_header" >&5
24093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24095 echo $ECHO_N "(cached) $ECHO_C" >&6
24096 else
24097 eval "$as_ac_Header=\$ac_header_preproc"
24098 fi
24099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24101
24102 fi
24103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24104 cat >>confdefs.h <<_ACEOF
24105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24106 _ACEOF
24107
24108 fi
24109
24110 done
24111
24112
24113 if test "$ac_cv_header_iostream" = "yes" ; then
24114 :
24115 else
24116 cat >>confdefs.h <<\_ACEOF
24117 #define wxUSE_IOSTREAMH 1
24118 _ACEOF
24119
24120 fi
24121
24122 ac_ext=cc
24123 ac_cpp='$CXXCPP $CPPFLAGS'
24124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24127
24128
24129
24130
24131 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24132 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
24133 if test "${wx_cv_cpp_bool+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 else
24136
24137
24138
24139 ac_ext=cc
24140 ac_cpp='$CXXCPP $CPPFLAGS'
24141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24144
24145
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152
24153
24154 int
24155 main ()
24156 {
24157
24158 bool b = true;
24159
24160 return 0;
24161
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 rm -f conftest.$ac_objext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24168 (eval $ac_compile) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24178 ac_status=$?
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try='test -s conftest.$ac_objext'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24184 ac_status=$?
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; }; then
24187
24188 wx_cv_cpp_bool=yes
24189
24190 else
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.$ac_ext >&5
24193
24194
24195 wx_cv_cpp_bool=no
24196
24197
24198 fi
24199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24200
24201 ac_ext=cc
24202 ac_cpp='$CXXCPP $CPPFLAGS'
24203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24206
24207
24208 fi
24209 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24210 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
24211
24212 if test "$wx_cv_cpp_bool" = "yes"; then
24213 cat >>confdefs.h <<\_ACEOF
24214 #define HAVE_BOOL 1
24215 _ACEOF
24216
24217 fi
24218
24219
24220
24221 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24222 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
24223 if test "${wx_cv_explicit+set}" = set; then
24224 echo $ECHO_N "(cached) $ECHO_C" >&6
24225 else
24226
24227
24228
24229 ac_ext=cc
24230 ac_cpp='$CXXCPP $CPPFLAGS'
24231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24234
24235
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242
24243 class Foo { public: explicit Foo(int) {} };
24244
24245 int
24246 main ()
24247 {
24248
24249 return 0;
24250
24251 ;
24252 return 0;
24253 }
24254 _ACEOF
24255 rm -f conftest.$ac_objext
24256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24257 (eval $ac_compile) 2>conftest.er1
24258 ac_status=$?
24259 grep -v '^ *+' conftest.er1 >conftest.err
24260 rm -f conftest.er1
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } &&
24264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24267 ac_status=$?
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; } &&
24270 { ac_try='test -s conftest.$ac_objext'
24271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24272 (eval $ac_try) 2>&5
24273 ac_status=$?
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); }; }; then
24276
24277 cat >conftest.$ac_ext <<_ACEOF
24278 /* confdefs.h. */
24279 _ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283
24284 class Foo { public: explicit Foo(int) {} };
24285 static void TakeFoo(const Foo& foo) { }
24286
24287 int
24288 main ()
24289 {
24290
24291 TakeFoo(17);
24292 return 0;
24293
24294 ;
24295 return 0;
24296 }
24297 _ACEOF
24298 rm -f conftest.$ac_objext
24299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24300 (eval $ac_compile) 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); } &&
24307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24310 ac_status=$?
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try='test -s conftest.$ac_objext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24319 wx_cv_explicit=no
24320 else
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.$ac_ext >&5
24323
24324 wx_cv_explicit=yes
24325
24326 fi
24327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24328
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24332
24333 wx_cv_explicit=no
24334
24335 fi
24336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24337
24338 ac_ext=cc
24339 ac_cpp='$CXXCPP $CPPFLAGS'
24340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24343
24344
24345 fi
24346 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24347 echo "${ECHO_T}$wx_cv_explicit" >&6
24348
24349 if test "$wx_cv_explicit" = "yes"; then
24350 cat >>confdefs.h <<\_ACEOF
24351 #define HAVE_EXPLICIT 1
24352 _ACEOF
24353
24354 fi
24355
24356
24357 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24358 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
24359 if test "${ac_cv_cxx_const_cast+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24361 else
24362
24363
24364 ac_ext=cc
24365 ac_cpp='$CXXCPP $CPPFLAGS'
24366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24369
24370 cat >conftest.$ac_ext <<_ACEOF
24371 /* confdefs.h. */
24372 _ACEOF
24373 cat confdefs.h >>conftest.$ac_ext
24374 cat >>conftest.$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24376
24377 int
24378 main ()
24379 {
24380 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24381 ;
24382 return 0;
24383 }
24384 _ACEOF
24385 rm -f conftest.$ac_objext
24386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24387 (eval $ac_compile) 2>conftest.er1
24388 ac_status=$?
24389 grep -v '^ *+' conftest.er1 >conftest.err
24390 rm -f conftest.er1
24391 cat conftest.err >&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } &&
24394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24397 ac_status=$?
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; } &&
24400 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24406 ac_cv_cxx_const_cast=yes
24407 else
24408 echo "$as_me: failed program was:" >&5
24409 sed 's/^/| /' conftest.$ac_ext >&5
24410
24411 ac_cv_cxx_const_cast=no
24412 fi
24413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24414 ac_ext=cc
24415 ac_cpp='$CXXCPP $CPPFLAGS'
24416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24419
24420
24421 fi
24422 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24423 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
24424 if test "$ac_cv_cxx_const_cast" = yes; then
24425
24426 cat >>confdefs.h <<\_ACEOF
24427 #define HAVE_CONST_CAST
24428 _ACEOF
24429
24430 fi
24431
24432 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24433 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
24434 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24436 else
24437
24438
24439 ac_ext=cc
24440 ac_cpp='$CXXCPP $CPPFLAGS'
24441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24444
24445 cat >conftest.$ac_ext <<_ACEOF
24446 /* confdefs.h. */
24447 _ACEOF
24448 cat confdefs.h >>conftest.$ac_ext
24449 cat >>conftest.$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24451 #include <typeinfo>
24452 class Base { public : Base () {} virtual void f () = 0;};
24453 class Derived : public Base { public : Derived () {} virtual void f () {} };
24454 class Unrelated { public : Unrelated () {} };
24455 int g (Unrelated&) { return 0; }
24456 int
24457 main ()
24458 {
24459
24460 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24461 ;
24462 return 0;
24463 }
24464 _ACEOF
24465 rm -f conftest.$ac_objext
24466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24467 (eval $ac_compile) 2>conftest.er1
24468 ac_status=$?
24469 grep -v '^ *+' conftest.er1 >conftest.err
24470 rm -f conftest.er1
24471 cat conftest.err >&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); } &&
24474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24477 ac_status=$?
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; } &&
24480 { ac_try='test -s conftest.$ac_objext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 ac_cv_cxx_reinterpret_cast=yes
24487 else
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.$ac_ext >&5
24490
24491 ac_cv_cxx_reinterpret_cast=no
24492 fi
24493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24494 ac_ext=cc
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24499
24500
24501 fi
24502 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24503 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
24504 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24505
24506 cat >>confdefs.h <<\_ACEOF
24507 #define HAVE_REINTERPRET_CAST
24508 _ACEOF
24509
24510 fi
24511
24512 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24513 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
24514 if test "${ac_cv_cxx_static_cast+set}" = set; then
24515 echo $ECHO_N "(cached) $ECHO_C" >&6
24516 else
24517
24518
24519 ac_ext=cc
24520 ac_cpp='$CXXCPP $CPPFLAGS'
24521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24524
24525 cat >conftest.$ac_ext <<_ACEOF
24526 /* confdefs.h. */
24527 _ACEOF
24528 cat confdefs.h >>conftest.$ac_ext
24529 cat >>conftest.$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24531 #include <typeinfo>
24532 class Base { public : Base () {} virtual void f () = 0; };
24533 class Derived : public Base { public : Derived () {} virtual void f () {} };
24534 int g (Derived&) { return 0; }
24535 int
24536 main ()
24537 {
24538
24539 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 rm -f conftest.$ac_objext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24546 (eval $ac_compile) 2>conftest.er1
24547 ac_status=$?
24548 grep -v '^ *+' conftest.er1 >conftest.err
24549 rm -f conftest.er1
24550 cat conftest.err >&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24555 (eval $ac_try) 2>&5
24556 ac_status=$?
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); }; } &&
24559 { ac_try='test -s conftest.$ac_objext'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24562 ac_status=$?
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; }; then
24565 ac_cv_cxx_static_cast=yes
24566 else
24567 echo "$as_me: failed program was:" >&5
24568 sed 's/^/| /' conftest.$ac_ext >&5
24569
24570 ac_cv_cxx_static_cast=no
24571 fi
24572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24573 ac_ext=cc
24574 ac_cpp='$CXXCPP $CPPFLAGS'
24575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24578
24579
24580 fi
24581 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24582 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
24583 if test "$ac_cv_cxx_static_cast" = yes; then
24584
24585 cat >>confdefs.h <<\_ACEOF
24586 #define HAVE_STATIC_CAST
24587 _ACEOF
24588
24589 fi
24590
24591
24592 if test "x$SUNCXX" = xyes; then
24593 CXXFLAGS="-features=tmplife $CXXFLAGS"
24594 fi
24595
24596 if test "x$SUNCC" = xyes; then
24597 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24598 fi
24599
24600 if test "x$SGICC" = "xyes"; then
24601 CFLAGS="-woff 3970 $CFLAGS"
24602 fi
24603 if test "x$SGICXX" = "xyes"; then
24604 CXXFLAGS="-woff 3970 $CXXFLAGS"
24605 fi
24606
24607 if test "x$HPCC" = "xyes"; then
24608 CFLAGS="+W 2011,2450 $CFLAGS"
24609 fi
24610 if test "x$HPCXX" = "xyes"; then
24611 CXXFLAGS="+W 2340 $CXXFLAGS"
24612 fi
24613
24614 if test "x$COMPAQCXX" = "xyes"; then
24615 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24616 fi
24617
24618 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24619 if test "$wxUSE_UNICODE" = "yes"; then
24620 std_string="std::wstring"
24621 char_type="wchar_t"
24622 else
24623 std_string="std::string"
24624 char_type="char"
24625 fi
24626
24627 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24628 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
24629 cat >conftest.$ac_ext <<_ACEOF
24630 /* confdefs.h. */
24631 _ACEOF
24632 cat confdefs.h >>conftest.$ac_ext
24633 cat >>conftest.$ac_ext <<_ACEOF
24634 /* end confdefs.h. */
24635 #include <string>
24636 int
24637 main ()
24638 {
24639 $std_string foo;
24640 ;
24641 return 0;
24642 }
24643 _ACEOF
24644 rm -f conftest.$ac_objext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24646 (eval $ac_compile) 2>conftest.er1
24647 ac_status=$?
24648 grep -v '^ *+' conftest.er1 >conftest.err
24649 rm -f conftest.er1
24650 cat conftest.err >&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } &&
24653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; } &&
24659 { ac_try='test -s conftest.$ac_objext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24662 ac_status=$?
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24665 echo "$as_me:$LINENO: result: yes" >&5
24666 echo "${ECHO_T}yes" >&6
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_STD_WSTRING 1
24669 _ACEOF
24670
24671 else
24672 echo "$as_me: failed program was:" >&5
24673 sed 's/^/| /' conftest.$ac_ext >&5
24674
24675 echo "$as_me:$LINENO: result: no" >&5
24676 echo "${ECHO_T}no" >&6
24677 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24678 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685
24686 #ifdef HAVE_WCHAR_H
24687 # ifdef __CYGWIN__
24688 # include <stddef.h>
24689 # endif
24690 # include <wchar.h>
24691 #endif
24692 #ifdef HAVE_STDLIB_H
24693 # include <stdlib.h>
24694 #endif
24695 #include <stdio.h>
24696 #include <string>
24697
24698 int
24699 main ()
24700 {
24701 std::basic_string<$char_type> foo;
24702 const $char_type* dummy = foo.c_str();
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 rm -f conftest.$ac_objext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24709 (eval $ac_compile) 2>conftest.er1
24710 ac_status=$?
24711 grep -v '^ *+' conftest.er1 >conftest.err
24712 rm -f conftest.er1
24713 cat conftest.err >&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24718 (eval $ac_try) 2>&5
24719 ac_status=$?
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); }; } &&
24722 { ac_try='test -s conftest.$ac_objext'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24725 ac_status=$?
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; }; then
24728 echo "$as_me:$LINENO: result: yes" >&5
24729 echo "${ECHO_T}yes" >&6
24730 else
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.$ac_ext >&5
24733
24734 echo "$as_me:$LINENO: result: no" >&5
24735 echo "${ECHO_T}no" >&6
24736 if test "$wxUSE_STL" = "yes"; then
24737 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24738 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24739 { (exit 1); exit 1; }; }
24740 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24741 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24742 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24743 { (exit 1); exit 1; }; }
24744 else
24745 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24746 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24747 wxUSE_STD_STRING=no
24748 fi
24749
24750
24751 fi
24752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24753
24754 fi
24755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24756 fi
24757
24758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24759 echo "$as_me:$LINENO: checking for std::istream" >&5
24760 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24761 if test "${ac_cv_type_std__istream+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 cat >conftest.$ac_ext <<_ACEOF
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <iostream>
24771
24772 int
24773 main ()
24774 {
24775 if ((std::istream *) 0)
24776 return 0;
24777 if (sizeof (std::istream))
24778 return 0;
24779 ;
24780 return 0;
24781 }
24782 _ACEOF
24783 rm -f conftest.$ac_objext
24784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24785 (eval $ac_compile) 2>conftest.er1
24786 ac_status=$?
24787 grep -v '^ *+' conftest.er1 >conftest.err
24788 rm -f conftest.er1
24789 cat conftest.err >&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); } &&
24792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; } &&
24798 { ac_try='test -s conftest.$ac_objext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24801 ac_status=$?
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_type_std__istream=yes
24805 else
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24808
24809 ac_cv_type_std__istream=no
24810 fi
24811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24812 fi
24813 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24814 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24815 if test $ac_cv_type_std__istream = yes; then
24816
24817 cat >>confdefs.h <<_ACEOF
24818 #define HAVE_STD__ISTREAM 1
24819 _ACEOF
24820
24821
24822 else
24823 wxUSE_STD_IOSTREAM=no
24824 fi
24825 echo "$as_me:$LINENO: checking for std::ostream" >&5
24826 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24827 if test "${ac_cv_type_std__ostream+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24830 cat >conftest.$ac_ext <<_ACEOF
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 #include <iostream>
24837
24838 int
24839 main ()
24840 {
24841 if ((std::ostream *) 0)
24842 return 0;
24843 if (sizeof (std::ostream))
24844 return 0;
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 rm -f conftest.$ac_objext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24851 (eval $ac_compile) 2>conftest.er1
24852 ac_status=$?
24853 grep -v '^ *+' conftest.er1 >conftest.err
24854 rm -f conftest.er1
24855 cat conftest.err >&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24860 (eval $ac_try) 2>&5
24861 ac_status=$?
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); }; } &&
24864 { ac_try='test -s conftest.$ac_objext'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24867 ac_status=$?
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; }; then
24870 ac_cv_type_std__ostream=yes
24871 else
24872 echo "$as_me: failed program was:" >&5
24873 sed 's/^/| /' conftest.$ac_ext >&5
24874
24875 ac_cv_type_std__ostream=no
24876 fi
24877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24878 fi
24879 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24880 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24881 if test $ac_cv_type_std__ostream = yes; then
24882
24883 cat >>confdefs.h <<_ACEOF
24884 #define HAVE_STD__OSTREAM 1
24885 _ACEOF
24886
24887
24888 else
24889 wxUSE_STD_IOSTREAM=no
24890 fi
24891
24892
24893 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24894 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24895 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24896 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24897 { (exit 1); exit 1; }; }
24898 else
24899 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24900 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24901 fi
24902 fi
24903 fi
24904
24905 if test "$wxUSE_STL" = "yes"; then
24906 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24907 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24908 cat >conftest.$ac_ext <<_ACEOF
24909 /* confdefs.h. */
24910 _ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914 #include <string>
24915 #include <functional>
24916 #include <algorithm>
24917 #include <vector>
24918 #include <list>
24919 int
24920 main ()
24921 {
24922 std::vector<int> moo;
24923 std::list<int> foo;
24924 std::vector<int>::iterator it =
24925 std::find_if(moo.begin(), moo.end(),
24926 std::bind2nd(std::less<int>(), 3));
24927 ;
24928 return 0;
24929 }
24930 _ACEOF
24931 rm -f conftest.$ac_objext
24932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24933 (eval $ac_compile) 2>conftest.er1
24934 ac_status=$?
24935 grep -v '^ *+' conftest.er1 >conftest.err
24936 rm -f conftest.er1
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } &&
24940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24943 ac_status=$?
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; } &&
24946 { ac_try='test -s conftest.$ac_objext'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24949 ac_status=$?
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; }; then
24952 echo "$as_me:$LINENO: result: yes" >&5
24953 echo "${ECHO_T}yes" >&6
24954 else
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.$ac_ext >&5
24957
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24961 echo "$as_me: error: Basic STL functionality missing" >&2;}
24962 { (exit 1); exit 1; }; }
24963 fi
24964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24965
24966 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24967 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24968 cat >conftest.$ac_ext <<_ACEOF
24969 /* confdefs.h. */
24970 _ACEOF
24971 cat confdefs.h >>conftest.$ac_ext
24972 cat >>conftest.$ac_ext <<_ACEOF
24973 /* end confdefs.h. */
24974 #include <string>
24975 int
24976 main ()
24977 {
24978 std::string foo, bar;
24979 foo.compare(bar);
24980 foo.compare(1, 1, bar);
24981 foo.compare(1, 1, bar, 1, 1);
24982 foo.compare("");
24983 foo.compare(1, 1, "");
24984 foo.compare(1, 1, "", 2);
24985 ;
24986 return 0;
24987 }
24988 _ACEOF
24989 rm -f conftest.$ac_objext
24990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24991 (eval $ac_compile) 2>conftest.er1
24992 ac_status=$?
24993 grep -v '^ *+' conftest.er1 >conftest.err
24994 rm -f conftest.er1
24995 cat conftest.err >&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } &&
24998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; } &&
25004 { ac_try='test -s conftest.$ac_objext'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; }; then
25010 echo "$as_me:$LINENO: result: yes" >&5
25011 echo "${ECHO_T}yes" >&6
25012 cat >>confdefs.h <<\_ACEOF
25013 #define HAVE_STD_STRING_COMPARE 1
25014 _ACEOF
25015
25016 else
25017 echo "$as_me: failed program was:" >&5
25018 sed 's/^/| /' conftest.$ac_ext >&5
25019
25020 echo "$as_me:$LINENO: result: no" >&5
25021 echo "${ECHO_T}no" >&6
25022 fi
25023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25024
25025 if test "${ac_cv_header_hash_map+set}" = set; then
25026 echo "$as_me:$LINENO: checking for hash_map" >&5
25027 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25028 if test "${ac_cv_header_hash_map+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 fi
25031 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25032 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25033 else
25034 # Is the header compilable?
25035 echo "$as_me:$LINENO: checking hash_map usability" >&5
25036 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
25037 cat >conftest.$ac_ext <<_ACEOF
25038 /* confdefs.h. */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043 $ac_includes_default
25044 #include <hash_map>
25045 _ACEOF
25046 rm -f conftest.$ac_objext
25047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25048 (eval $ac_compile) 2>conftest.er1
25049 ac_status=$?
25050 grep -v '^ *+' conftest.er1 >conftest.err
25051 rm -f conftest.er1
25052 cat conftest.err >&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); } &&
25055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25057 (eval $ac_try) 2>&5
25058 ac_status=$?
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; } &&
25061 { ac_try='test -s conftest.$ac_objext'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25064 ac_status=$?
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; }; then
25067 ac_header_compiler=yes
25068 else
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.$ac_ext >&5
25071
25072 ac_header_compiler=no
25073 fi
25074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25076 echo "${ECHO_T}$ac_header_compiler" >&6
25077
25078 # Is the header present?
25079 echo "$as_me:$LINENO: checking hash_map presence" >&5
25080 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
25081 cat >conftest.$ac_ext <<_ACEOF
25082 /* confdefs.h. */
25083 _ACEOF
25084 cat confdefs.h >>conftest.$ac_ext
25085 cat >>conftest.$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25087 #include <hash_map>
25088 _ACEOF
25089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25091 ac_status=$?
25092 grep -v '^ *+' conftest.er1 >conftest.err
25093 rm -f conftest.er1
25094 cat conftest.err >&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); } >/dev/null; then
25097 if test -s conftest.err; then
25098 ac_cpp_err=$ac_cxx_preproc_warn_flag
25099 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25100 else
25101 ac_cpp_err=
25102 fi
25103 else
25104 ac_cpp_err=yes
25105 fi
25106 if test -z "$ac_cpp_err"; then
25107 ac_header_preproc=yes
25108 else
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.$ac_ext >&5
25111
25112 ac_header_preproc=no
25113 fi
25114 rm -f conftest.err conftest.$ac_ext
25115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25116 echo "${ECHO_T}$ac_header_preproc" >&6
25117
25118 # So? What about this header?
25119 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25120 yes:no: )
25121 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
25122 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
25123 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
25124 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
25125 ac_header_preproc=yes
25126 ;;
25127 no:yes:* )
25128 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
25129 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
25130 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
25131 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
25132 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
25133 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
25134 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
25135 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25136 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
25137 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
25138 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
25139 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
25140 (
25141 cat <<\_ASBOX
25142 ## ----------------------------------------- ##
25143 ## Report this to wx-dev@lists.wxwidgets.org ##
25144 ## ----------------------------------------- ##
25145 _ASBOX
25146 ) |
25147 sed "s/^/$as_me: WARNING: /" >&2
25148 ;;
25149 esac
25150 echo "$as_me:$LINENO: checking for hash_map" >&5
25151 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25152 if test "${ac_cv_header_hash_map+set}" = set; then
25153 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 else
25155 ac_cv_header_hash_map=$ac_header_preproc
25156 fi
25157 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25158 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25159
25160 fi
25161 if test $ac_cv_header_hash_map = yes; then
25162 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
25163 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
25164 cat >conftest.$ac_ext <<_ACEOF
25165 /* confdefs.h. */
25166 _ACEOF
25167 cat confdefs.h >>conftest.$ac_ext
25168 cat >>conftest.$ac_ext <<_ACEOF
25169 /* end confdefs.h. */
25170 #include <hash_map>
25171 #include <hash_set>
25172 int
25173 main ()
25174 {
25175 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25176 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 rm -f conftest.$ac_objext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25183 (eval $ac_compile) 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25193 ac_status=$?
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try='test -s conftest.$ac_objext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25199 ac_status=$?
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 echo "$as_me:$LINENO: result: yes" >&5
25203 echo "${ECHO_T}yes" >&6
25204 cat >>confdefs.h <<\_ACEOF
25205 #define HAVE_HASH_MAP 1
25206 _ACEOF
25207
25208 cat >>confdefs.h <<\_ACEOF
25209 #define HAVE_STD_HASH_MAP 1
25210 _ACEOF
25211
25212 else
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25215
25216 echo "$as_me:$LINENO: result: no" >&5
25217 echo "${ECHO_T}no" >&6
25218 fi
25219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25220
25221 fi
25222
25223
25224
25225 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25226 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25227 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25228 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25229 echo $ECHO_N "(cached) $ECHO_C" >&6
25230 fi
25231 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25232 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25233 else
25234 # Is the header compilable?
25235 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
25236 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
25237 cat >conftest.$ac_ext <<_ACEOF
25238 /* confdefs.h. */
25239 _ACEOF
25240 cat confdefs.h >>conftest.$ac_ext
25241 cat >>conftest.$ac_ext <<_ACEOF
25242 /* end confdefs.h. */
25243 $ac_includes_default
25244 #include <ext/hash_map>
25245 _ACEOF
25246 rm -f conftest.$ac_objext
25247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25248 (eval $ac_compile) 2>conftest.er1
25249 ac_status=$?
25250 grep -v '^ *+' conftest.er1 >conftest.err
25251 rm -f conftest.er1
25252 cat conftest.err >&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } &&
25255 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25257 (eval $ac_try) 2>&5
25258 ac_status=$?
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); }; } &&
25261 { ac_try='test -s conftest.$ac_objext'
25262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25263 (eval $ac_try) 2>&5
25264 ac_status=$?
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); }; }; then
25267 ac_header_compiler=yes
25268 else
25269 echo "$as_me: failed program was:" >&5
25270 sed 's/^/| /' conftest.$ac_ext >&5
25271
25272 ac_header_compiler=no
25273 fi
25274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25276 echo "${ECHO_T}$ac_header_compiler" >&6
25277
25278 # Is the header present?
25279 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
25280 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h. */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 #include <ext/hash_map>
25288 _ACEOF
25289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25291 ac_status=$?
25292 grep -v '^ *+' conftest.er1 >conftest.err
25293 rm -f conftest.er1
25294 cat conftest.err >&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } >/dev/null; then
25297 if test -s conftest.err; then
25298 ac_cpp_err=$ac_cxx_preproc_warn_flag
25299 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25300 else
25301 ac_cpp_err=
25302 fi
25303 else
25304 ac_cpp_err=yes
25305 fi
25306 if test -z "$ac_cpp_err"; then
25307 ac_header_preproc=yes
25308 else
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25311
25312 ac_header_preproc=no
25313 fi
25314 rm -f conftest.err conftest.$ac_ext
25315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25316 echo "${ECHO_T}$ac_header_preproc" >&6
25317
25318 # So? What about this header?
25319 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25320 yes:no: )
25321 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
25322 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
25323 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
25324 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
25325 ac_header_preproc=yes
25326 ;;
25327 no:yes:* )
25328 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
25329 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
25330 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
25331 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
25332 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
25333 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
25334 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
25335 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25336 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
25337 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
25338 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
25339 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
25340 (
25341 cat <<\_ASBOX
25342 ## ----------------------------------------- ##
25343 ## Report this to wx-dev@lists.wxwidgets.org ##
25344 ## ----------------------------------------- ##
25345 _ASBOX
25346 ) |
25347 sed "s/^/$as_me: WARNING: /" >&2
25348 ;;
25349 esac
25350 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25351 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25352 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25353 echo $ECHO_N "(cached) $ECHO_C" >&6
25354 else
25355 ac_cv_header_ext_hash_map=$ac_header_preproc
25356 fi
25357 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25358 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25359
25360 fi
25361 if test $ac_cv_header_ext_hash_map = yes; then
25362 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
25363 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 #include <ext/hash_map>
25371 #include <ext/hash_set>
25372 int
25373 main ()
25374 {
25375 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25376 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25377 ;
25378 return 0;
25379 }
25380 _ACEOF
25381 rm -f conftest.$ac_objext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25383 (eval $ac_compile) 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392 (eval $ac_try) 2>&5
25393 ac_status=$?
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); }; } &&
25396 { ac_try='test -s conftest.$ac_objext'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25399 ac_status=$?
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; }; then
25402 echo "$as_me:$LINENO: result: yes" >&5
25403 echo "${ECHO_T}yes" >&6
25404 cat >>confdefs.h <<\_ACEOF
25405 #define HAVE_EXT_HASH_MAP 1
25406 _ACEOF
25407
25408 cat >>confdefs.h <<\_ACEOF
25409 #define HAVE_GNU_CXX_HASH_MAP 1
25410 _ACEOF
25411
25412 else
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.$ac_ext >&5
25415
25416 echo "$as_me:$LINENO: result: no" >&5
25417 echo "${ECHO_T}no" >&6
25418 fi
25419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25420
25421 fi
25422
25423
25424 fi
25425
25426
25427 SEARCH_INCLUDE="\
25428 /usr/local/include \
25429 \
25430 /usr/Motif-2.1/include \
25431 /usr/Motif-1.2/include \
25432 /usr/include/Motif1.2 \
25433 \
25434 /usr/dt/include \
25435 /usr/openwin/include \
25436 \
25437 /usr/include/Xm \
25438 \
25439 /usr/X11R6/include \
25440 /usr/X11R6.4/include \
25441 /usr/X11R5/include \
25442 /usr/X11R4/include \
25443 \
25444 /usr/include/X11R6 \
25445 /usr/include/X11R5 \
25446 /usr/include/X11R4 \
25447 \
25448 /usr/local/X11R6/include \
25449 /usr/local/X11R5/include \
25450 /usr/local/X11R4/include \
25451 \
25452 /usr/local/include/X11R6 \
25453 /usr/local/include/X11R5 \
25454 /usr/local/include/X11R4 \
25455 \
25456 /usr/X11/include \
25457 /usr/include/X11 \
25458 /usr/local/X11/include \
25459 /usr/local/include/X11 \
25460 \
25461 /usr/XFree86/include/X11 \
25462 /usr/pkg/include \
25463 \
25464 /usr/openwin/share/include"
25465
25466 echo "$as_me:$LINENO: checking for libraries directory" >&5
25467 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
25468
25469 case "${host}" in
25470 *-*-irix6* )
25471 if test "${wx_cv_std_libpath+set}" = set; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 else
25474
25475 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25476 for e in a so sl dylib dll.a; do
25477 libc="$d/libc.$e"
25478 if test -f $libc; then
25479 save_LIBS="$LIBS"
25480 LIBS="$libc"
25481 cat >conftest.$ac_ext <<_ACEOF
25482 int main() { return 0; }
25483 _ACEOF
25484 rm -f conftest.$ac_objext conftest$ac_exeext
25485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25486 (eval $ac_link) 2>conftest.er1
25487 ac_status=$?
25488 grep -v '^ *+' conftest.er1 >conftest.err
25489 rm -f conftest.er1
25490 cat conftest.err >&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } &&
25493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25496 ac_status=$?
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try='test -s conftest$ac_exeext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25502 ac_status=$?
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25506 else
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25509
25510 fi
25511 rm -f conftest.err conftest.$ac_objext \
25512 conftest$ac_exeext conftest.$ac_ext
25513 LIBS="$save_LIBS"
25514 if test "x$wx_cv_std_libpath" != "x"; then
25515 break 2
25516 fi
25517 fi
25518 done
25519 done
25520 if test "x$wx_cv_std_libpath" = "x"; then
25521 wx_cv_std_libpath="lib"
25522 fi
25523
25524
25525 fi
25526
25527 ;;
25528
25529 *-*-solaris2* )
25530 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25531 wx_cv_std_libpath="lib/64"
25532 else
25533 wx_cv_std_libpath="lib"
25534 fi
25535 ;;
25536
25537 *-*-linux* )
25538 if test "$ac_cv_sizeof_void_p" = 8 -a \
25539 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25540 wx_cv_std_libpath="lib64"
25541 else
25542 wx_cv_std_libpath="lib"
25543 fi
25544 ;;
25545
25546 *)
25547 wx_cv_std_libpath="lib";
25548 ;;
25549 esac
25550
25551 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25552 echo "${ECHO_T}$wx_cv_std_libpath" >&6
25553
25554 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25555
25556 if test "$build" != "$host" -a "$GCC" = yes; then
25557 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25558 cross_root=`dirname $cross_root`
25559 cross_root=`dirname $cross_root`
25560
25561 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25562 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25563 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25564
25565 if test -z "$PKG_CONFIG_PATH"; then
25566 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25567 export PKG_CONFIG_PATH
25568 fi
25569
25570 if test -z "$x_includes" -o "$x_includes" = NONE; then
25571
25572 ac_find_includes=
25573 for ac_dir in $SEARCH_INCLUDE /usr/include;
25574 do
25575 if test -f "$ac_dir/X11/Intrinsic.h"; then
25576 ac_find_includes=$ac_dir
25577 break
25578 fi
25579 done
25580
25581 x_includes=$ac_find_includes
25582 fi
25583 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25584
25585 ac_find_libraries=
25586 for ac_dir in $SEARCH_LIB;
25587 do
25588 for ac_extension in a so sl dylib dll.a; do
25589 if test -f "$ac_dir/libXt.$ac_extension"; then
25590 ac_find_libraries=$ac_dir
25591 break 2
25592 fi
25593 done
25594 done
25595
25596 x_libraries=$ac_find_libraries
25597 fi
25598 fi
25599 fi
25600
25601
25602 cat >confcache <<\_ACEOF
25603 # This file is a shell script that caches the results of configure
25604 # tests run on this system so they can be shared between configure
25605 # scripts and configure runs, see configure's option --config-cache.
25606 # It is not useful on other systems. If it contains results you don't
25607 # want to keep, you may remove or edit it.
25608 #
25609 # config.status only pays attention to the cache file if you give it
25610 # the --recheck option to rerun configure.
25611 #
25612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25614 # following values.
25615
25616 _ACEOF
25617
25618 # The following way of writing the cache mishandles newlines in values,
25619 # but we know of no workaround that is simple, portable, and efficient.
25620 # So, don't put newlines in cache variables' values.
25621 # Ultrix sh set writes to stderr and can't be redirected directly,
25622 # and sets the high bit in the cache file unless we assign to the vars.
25623 {
25624 (set) 2>&1 |
25625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25626 *ac_space=\ *)
25627 # `set' does not quote correctly, so add quotes (double-quote
25628 # substitution turns \\\\ into \\, and sed turns \\ into \).
25629 sed -n \
25630 "s/'/'\\\\''/g;
25631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25632 ;;
25633 *)
25634 # `set' quotes correctly as required by POSIX, so do not add quotes.
25635 sed -n \
25636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25637 ;;
25638 esac;
25639 } |
25640 sed '
25641 t clear
25642 : clear
25643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25644 t end
25645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25646 : end' >>confcache
25647 if diff $cache_file confcache >/dev/null 2>&1; then :; else
25648 if test -w $cache_file; then
25649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25650 cat confcache >$cache_file
25651 else
25652 echo "not updating unwritable cache $cache_file"
25653 fi
25654 fi
25655 rm -f confcache
25656
25657 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25658 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25659 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
25660 if test "${wx_cv_lib_glibc21+set}" = set; then
25661 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 else
25663
25664 cat >conftest.$ac_ext <<_ACEOF
25665 /* confdefs.h. */
25666 _ACEOF
25667 cat confdefs.h >>conftest.$ac_ext
25668 cat >>conftest.$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670 #include <features.h>
25671 int
25672 main ()
25673 {
25674
25675 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25676 not glibc 2.1
25677 #endif
25678
25679 ;
25680 return 0;
25681 }
25682 _ACEOF
25683 rm -f conftest.$ac_objext
25684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25685 (eval $ac_compile) 2>conftest.er1
25686 ac_status=$?
25687 grep -v '^ *+' conftest.er1 >conftest.err
25688 rm -f conftest.er1
25689 cat conftest.err >&5
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } &&
25692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25694 (eval $ac_try) 2>&5
25695 ac_status=$?
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); }; } &&
25698 { ac_try='test -s conftest.$ac_objext'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; }; then
25704
25705 wx_cv_lib_glibc21=yes
25706
25707 else
25708 echo "$as_me: failed program was:" >&5
25709 sed 's/^/| /' conftest.$ac_ext >&5
25710
25711
25712 wx_cv_lib_glibc21=no
25713
25714
25715 fi
25716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25717
25718 fi
25719 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25720 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
25721 if test "$wx_cv_lib_glibc21" = "yes"; then
25722 cat >>confdefs.h <<\_ACEOF
25723 #define wxHAVE_GLIBC2 1
25724 _ACEOF
25725
25726 fi
25727 fi
25728
25729 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25730 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25731 cat >>confdefs.h <<\_ACEOF
25732 #define _GNU_SOURCE 1
25733 _ACEOF
25734
25735 fi
25736 fi
25737
25738 have_cos=0
25739 have_floor=0
25740
25741 for ac_func in cos
25742 do
25743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25744 echo "$as_me:$LINENO: checking for $ac_func" >&5
25745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25746 if eval "test \"\${$as_ac_var+set}\" = set"; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 else
25749 cat >conftest.$ac_ext <<_ACEOF
25750 /* confdefs.h. */
25751 _ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25757 #define $ac_func innocuous_$ac_func
25758
25759 /* System header to define __stub macros and hopefully few prototypes,
25760 which can conflict with char $ac_func (); below.
25761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25762 <limits.h> exists even on freestanding compilers. */
25763
25764 #ifdef __STDC__
25765 # include <limits.h>
25766 #else
25767 # include <assert.h>
25768 #endif
25769
25770 #undef $ac_func
25771
25772 /* Override any gcc2 internal prototype to avoid an error. */
25773 #ifdef __cplusplus
25774 extern "C"
25775 {
25776 #endif
25777 /* We use char because int might match the return type of a gcc2
25778 builtin and then its argument prototype would still apply. */
25779 char $ac_func ();
25780 /* The GNU C library defines this for functions which it implements
25781 to always fail with ENOSYS. Some functions are actually named
25782 something starting with __ and the normal name is an alias. */
25783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25784 choke me
25785 #else
25786 char (*f) () = $ac_func;
25787 #endif
25788 #ifdef __cplusplus
25789 }
25790 #endif
25791
25792 int
25793 main ()
25794 {
25795 return f != $ac_func;
25796 ;
25797 return 0;
25798 }
25799 _ACEOF
25800 rm -f conftest.$ac_objext conftest$ac_exeext
25801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25802 (eval $ac_link) 2>conftest.er1
25803 ac_status=$?
25804 grep -v '^ *+' conftest.er1 >conftest.err
25805 rm -f conftest.er1
25806 cat conftest.err >&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } &&
25809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25812 ac_status=$?
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; } &&
25815 { ac_try='test -s conftest$ac_exeext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25818 ac_status=$?
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 eval "$as_ac_var=yes"
25822 else
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25825
25826 eval "$as_ac_var=no"
25827 fi
25828 rm -f conftest.err conftest.$ac_objext \
25829 conftest$ac_exeext conftest.$ac_ext
25830 fi
25831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25833 if test `eval echo '${'$as_ac_var'}'` = yes; then
25834 cat >>confdefs.h <<_ACEOF
25835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25836 _ACEOF
25837 have_cos=1
25838 fi
25839 done
25840
25841
25842 for ac_func in floor
25843 do
25844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25845 echo "$as_me:$LINENO: checking for $ac_func" >&5
25846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25847 if eval "test \"\${$as_ac_var+set}\" = set"; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 else
25850 cat >conftest.$ac_ext <<_ACEOF
25851 /* confdefs.h. */
25852 _ACEOF
25853 cat confdefs.h >>conftest.$ac_ext
25854 cat >>conftest.$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25858 #define $ac_func innocuous_$ac_func
25859
25860 /* System header to define __stub macros and hopefully few prototypes,
25861 which can conflict with char $ac_func (); below.
25862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25863 <limits.h> exists even on freestanding compilers. */
25864
25865 #ifdef __STDC__
25866 # include <limits.h>
25867 #else
25868 # include <assert.h>
25869 #endif
25870
25871 #undef $ac_func
25872
25873 /* Override any gcc2 internal prototype to avoid an error. */
25874 #ifdef __cplusplus
25875 extern "C"
25876 {
25877 #endif
25878 /* We use char because int might match the return type of a gcc2
25879 builtin and then its argument prototype would still apply. */
25880 char $ac_func ();
25881 /* The GNU C library defines this for functions which it implements
25882 to always fail with ENOSYS. Some functions are actually named
25883 something starting with __ and the normal name is an alias. */
25884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25885 choke me
25886 #else
25887 char (*f) () = $ac_func;
25888 #endif
25889 #ifdef __cplusplus
25890 }
25891 #endif
25892
25893 int
25894 main ()
25895 {
25896 return f != $ac_func;
25897 ;
25898 return 0;
25899 }
25900 _ACEOF
25901 rm -f conftest.$ac_objext conftest$ac_exeext
25902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25903 (eval $ac_link) 2>conftest.er1
25904 ac_status=$?
25905 grep -v '^ *+' conftest.er1 >conftest.err
25906 rm -f conftest.er1
25907 cat conftest.err >&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); } &&
25910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912 (eval $ac_try) 2>&5
25913 ac_status=$?
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); }; } &&
25916 { ac_try='test -s conftest$ac_exeext'
25917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25918 (eval $ac_try) 2>&5
25919 ac_status=$?
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); }; }; then
25922 eval "$as_ac_var=yes"
25923 else
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.$ac_ext >&5
25926
25927 eval "$as_ac_var=no"
25928 fi
25929 rm -f conftest.err conftest.$ac_objext \
25930 conftest$ac_exeext conftest.$ac_ext
25931 fi
25932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25934 if test `eval echo '${'$as_ac_var'}'` = yes; then
25935 cat >>confdefs.h <<_ACEOF
25936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25937 _ACEOF
25938 have_floor=1
25939 fi
25940 done
25941
25942 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25943 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25944 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25945 echo "$as_me:$LINENO: result: yes" >&5
25946 echo "${ECHO_T}yes" >&6
25947 else
25948 echo "$as_me:$LINENO: result: no" >&5
25949 echo "${ECHO_T}no" >&6
25950 LIBS="$LIBS -lm"
25951 # use different functions to avoid configure caching
25952 have_sin=0
25953 have_ceil=0
25954
25955 for ac_func in sin
25956 do
25957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25958 echo "$as_me:$LINENO: checking for $ac_func" >&5
25959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25960 if eval "test \"\${$as_ac_var+set}\" = set"; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 else
25963 cat >conftest.$ac_ext <<_ACEOF
25964 /* confdefs.h. */
25965 _ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25971 #define $ac_func innocuous_$ac_func
25972
25973 /* System header to define __stub macros and hopefully few prototypes,
25974 which can conflict with char $ac_func (); below.
25975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25976 <limits.h> exists even on freestanding compilers. */
25977
25978 #ifdef __STDC__
25979 # include <limits.h>
25980 #else
25981 # include <assert.h>
25982 #endif
25983
25984 #undef $ac_func
25985
25986 /* Override any gcc2 internal prototype to avoid an error. */
25987 #ifdef __cplusplus
25988 extern "C"
25989 {
25990 #endif
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
25993 char $ac_func ();
25994 /* The GNU C library defines this for functions which it implements
25995 to always fail with ENOSYS. Some functions are actually named
25996 something starting with __ and the normal name is an alias. */
25997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25998 choke me
25999 #else
26000 char (*f) () = $ac_func;
26001 #endif
26002 #ifdef __cplusplus
26003 }
26004 #endif
26005
26006 int
26007 main ()
26008 {
26009 return f != $ac_func;
26010 ;
26011 return 0;
26012 }
26013 _ACEOF
26014 rm -f conftest.$ac_objext conftest$ac_exeext
26015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26016 (eval $ac_link) 2>conftest.er1
26017 ac_status=$?
26018 grep -v '^ *+' conftest.er1 >conftest.err
26019 rm -f conftest.er1
26020 cat conftest.err >&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } &&
26023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; } &&
26029 { ac_try='test -s conftest$ac_exeext'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; }; then
26035 eval "$as_ac_var=yes"
26036 else
26037 echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.$ac_ext >&5
26039
26040 eval "$as_ac_var=no"
26041 fi
26042 rm -f conftest.err conftest.$ac_objext \
26043 conftest$ac_exeext conftest.$ac_ext
26044 fi
26045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26047 if test `eval echo '${'$as_ac_var'}'` = yes; then
26048 cat >>confdefs.h <<_ACEOF
26049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26050 _ACEOF
26051 have_sin=1
26052 fi
26053 done
26054
26055
26056 for ac_func in ceil
26057 do
26058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26059 echo "$as_me:$LINENO: checking for $ac_func" >&5
26060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26061 if eval "test \"\${$as_ac_var+set}\" = set"; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064 cat >conftest.$ac_ext <<_ACEOF
26065 /* confdefs.h. */
26066 _ACEOF
26067 cat confdefs.h >>conftest.$ac_ext
26068 cat >>conftest.$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26072 #define $ac_func innocuous_$ac_func
26073
26074 /* System header to define __stub macros and hopefully few prototypes,
26075 which can conflict with char $ac_func (); below.
26076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26077 <limits.h> exists even on freestanding compilers. */
26078
26079 #ifdef __STDC__
26080 # include <limits.h>
26081 #else
26082 # include <assert.h>
26083 #endif
26084
26085 #undef $ac_func
26086
26087 /* Override any gcc2 internal prototype to avoid an error. */
26088 #ifdef __cplusplus
26089 extern "C"
26090 {
26091 #endif
26092 /* We use char because int might match the return type of a gcc2
26093 builtin and then its argument prototype would still apply. */
26094 char $ac_func ();
26095 /* The GNU C library defines this for functions which it implements
26096 to always fail with ENOSYS. Some functions are actually named
26097 something starting with __ and the normal name is an alias. */
26098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26099 choke me
26100 #else
26101 char (*f) () = $ac_func;
26102 #endif
26103 #ifdef __cplusplus
26104 }
26105 #endif
26106
26107 int
26108 main ()
26109 {
26110 return f != $ac_func;
26111 ;
26112 return 0;
26113 }
26114 _ACEOF
26115 rm -f conftest.$ac_objext conftest$ac_exeext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26117 (eval $ac_link) 2>conftest.er1
26118 ac_status=$?
26119 grep -v '^ *+' conftest.er1 >conftest.err
26120 rm -f conftest.er1
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26127 ac_status=$?
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; } &&
26130 { ac_try='test -s conftest$ac_exeext'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136 eval "$as_ac_var=yes"
26137 else
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26140
26141 eval "$as_ac_var=no"
26142 fi
26143 rm -f conftest.err conftest.$ac_objext \
26144 conftest$ac_exeext conftest.$ac_ext
26145 fi
26146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26148 if test `eval echo '${'$as_ac_var'}'` = yes; then
26149 cat >>confdefs.h <<_ACEOF
26150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26151 _ACEOF
26152 have_ceil=1
26153 fi
26154 done
26155
26156 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26157 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
26158 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26159 echo "$as_me:$LINENO: result: yes" >&5
26160 echo "${ECHO_T}yes" >&6
26161 else
26162 echo "$as_me:$LINENO: result: no" >&5
26163 echo "${ECHO_T}no" >&6
26164 # not sure we should warn the user, crash, etc.
26165 fi
26166 fi
26167
26168 if test "wxUSE_UNICODE" = "yes"; then
26169
26170 for ac_func in wcstoull
26171 do
26172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26173 echo "$as_me:$LINENO: checking for $ac_func" >&5
26174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26175 if eval "test \"\${$as_ac_var+set}\" = set"; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 else
26178 cat >conftest.$ac_ext <<_ACEOF
26179 /* confdefs.h. */
26180 _ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26186 #define $ac_func innocuous_$ac_func
26187
26188 /* System header to define __stub macros and hopefully few prototypes,
26189 which can conflict with char $ac_func (); below.
26190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26191 <limits.h> exists even on freestanding compilers. */
26192
26193 #ifdef __STDC__
26194 # include <limits.h>
26195 #else
26196 # include <assert.h>
26197 #endif
26198
26199 #undef $ac_func
26200
26201 /* Override any gcc2 internal prototype to avoid an error. */
26202 #ifdef __cplusplus
26203 extern "C"
26204 {
26205 #endif
26206 /* We use char because int might match the return type of a gcc2
26207 builtin and then its argument prototype would still apply. */
26208 char $ac_func ();
26209 /* The GNU C library defines this for functions which it implements
26210 to always fail with ENOSYS. Some functions are actually named
26211 something starting with __ and the normal name is an alias. */
26212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26213 choke me
26214 #else
26215 char (*f) () = $ac_func;
26216 #endif
26217 #ifdef __cplusplus
26218 }
26219 #endif
26220
26221 int
26222 main ()
26223 {
26224 return f != $ac_func;
26225 ;
26226 return 0;
26227 }
26228 _ACEOF
26229 rm -f conftest.$ac_objext conftest$ac_exeext
26230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26231 (eval $ac_link) 2>conftest.er1
26232 ac_status=$?
26233 grep -v '^ *+' conftest.er1 >conftest.err
26234 rm -f conftest.er1
26235 cat conftest.err >&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } &&
26238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26241 ac_status=$?
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; } &&
26244 { ac_try='test -s conftest$ac_exeext'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26247 ac_status=$?
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; }; then
26250 eval "$as_ac_var=yes"
26251 else
26252 echo "$as_me: failed program was:" >&5
26253 sed 's/^/| /' conftest.$ac_ext >&5
26254
26255 eval "$as_ac_var=no"
26256 fi
26257 rm -f conftest.err conftest.$ac_objext \
26258 conftest$ac_exeext conftest.$ac_ext
26259 fi
26260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26262 if test `eval echo '${'$as_ac_var'}'` = yes; then
26263 cat >>confdefs.h <<_ACEOF
26264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26265 _ACEOF
26266
26267 fi
26268 done
26269
26270 else
26271
26272 for ac_func in strtoull
26273 do
26274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26275 echo "$as_me:$LINENO: checking for $ac_func" >&5
26276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26277 if eval "test \"\${$as_ac_var+set}\" = set"; then
26278 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 else
26280 cat >conftest.$ac_ext <<_ACEOF
26281 /* confdefs.h. */
26282 _ACEOF
26283 cat confdefs.h >>conftest.$ac_ext
26284 cat >>conftest.$ac_ext <<_ACEOF
26285 /* end confdefs.h. */
26286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26288 #define $ac_func innocuous_$ac_func
26289
26290 /* System header to define __stub macros and hopefully few prototypes,
26291 which can conflict with char $ac_func (); below.
26292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26293 <limits.h> exists even on freestanding compilers. */
26294
26295 #ifdef __STDC__
26296 # include <limits.h>
26297 #else
26298 # include <assert.h>
26299 #endif
26300
26301 #undef $ac_func
26302
26303 /* Override any gcc2 internal prototype to avoid an error. */
26304 #ifdef __cplusplus
26305 extern "C"
26306 {
26307 #endif
26308 /* We use char because int might match the return type of a gcc2
26309 builtin and then its argument prototype would still apply. */
26310 char $ac_func ();
26311 /* The GNU C library defines this for functions which it implements
26312 to always fail with ENOSYS. Some functions are actually named
26313 something starting with __ and the normal name is an alias. */
26314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26315 choke me
26316 #else
26317 char (*f) () = $ac_func;
26318 #endif
26319 #ifdef __cplusplus
26320 }
26321 #endif
26322
26323 int
26324 main ()
26325 {
26326 return f != $ac_func;
26327 ;
26328 return 0;
26329 }
26330 _ACEOF
26331 rm -f conftest.$ac_objext conftest$ac_exeext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26333 (eval $ac_link) 2>conftest.er1
26334 ac_status=$?
26335 grep -v '^ *+' conftest.er1 >conftest.err
26336 rm -f conftest.er1
26337 cat conftest.err >&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try='test -s conftest$ac_exeext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26349 ac_status=$?
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 eval "$as_ac_var=yes"
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357 eval "$as_ac_var=no"
26358 fi
26359 rm -f conftest.err conftest.$ac_objext \
26360 conftest$ac_exeext conftest.$ac_ext
26361 fi
26362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26364 if test `eval echo '${'$as_ac_var'}'` = yes; then
26365 cat >>confdefs.h <<_ACEOF
26366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26367 _ACEOF
26368
26369 fi
26370 done
26371
26372 fi
26373
26374
26375
26376 if test "$wxUSE_REGEX" != "no"; then
26377 cat >>confdefs.h <<\_ACEOF
26378 #define wxUSE_REGEX 1
26379 _ACEOF
26380
26381
26382 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26383 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26384 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26385 wxUSE_REGEX=builtin
26386 fi
26387
26388 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26389 if test "${ac_cv_header_regex_h+set}" = set; then
26390 echo "$as_me:$LINENO: checking for regex.h" >&5
26391 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26392 if test "${ac_cv_header_regex_h+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 fi
26395 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26396 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
26397 else
26398 # Is the header compilable?
26399 echo "$as_me:$LINENO: checking regex.h usability" >&5
26400 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407 $ac_includes_default
26408 #include <regex.h>
26409 _ACEOF
26410 rm -f conftest.$ac_objext
26411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26412 (eval $ac_compile) 2>conftest.er1
26413 ac_status=$?
26414 grep -v '^ *+' conftest.er1 >conftest.err
26415 rm -f conftest.er1
26416 cat conftest.err >&5
26417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26418 (exit $ac_status); } &&
26419 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26421 (eval $ac_try) 2>&5
26422 ac_status=$?
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; } &&
26425 { ac_try='test -s conftest.$ac_objext'
26426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26427 (eval $ac_try) 2>&5
26428 ac_status=$?
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); }; }; then
26431 ac_header_compiler=yes
26432 else
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436 ac_header_compiler=no
26437 fi
26438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26440 echo "${ECHO_T}$ac_header_compiler" >&6
26441
26442 # Is the header present?
26443 echo "$as_me:$LINENO: checking regex.h presence" >&5
26444 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
26445 cat >conftest.$ac_ext <<_ACEOF
26446 /* confdefs.h. */
26447 _ACEOF
26448 cat confdefs.h >>conftest.$ac_ext
26449 cat >>conftest.$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451 #include <regex.h>
26452 _ACEOF
26453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26455 ac_status=$?
26456 grep -v '^ *+' conftest.er1 >conftest.err
26457 rm -f conftest.er1
26458 cat conftest.err >&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } >/dev/null; then
26461 if test -s conftest.err; then
26462 ac_cpp_err=$ac_cxx_preproc_warn_flag
26463 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26464 else
26465 ac_cpp_err=
26466 fi
26467 else
26468 ac_cpp_err=yes
26469 fi
26470 if test -z "$ac_cpp_err"; then
26471 ac_header_preproc=yes
26472 else
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26475
26476 ac_header_preproc=no
26477 fi
26478 rm -f conftest.err conftest.$ac_ext
26479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26480 echo "${ECHO_T}$ac_header_preproc" >&6
26481
26482 # So? What about this header?
26483 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26484 yes:no: )
26485 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26486 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
26488 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
26489 ac_header_preproc=yes
26490 ;;
26491 no:yes:* )
26492 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
26493 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
26494 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
26495 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
26496 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
26497 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
26498 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
26499 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26500 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
26501 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
26502 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
26503 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
26504 (
26505 cat <<\_ASBOX
26506 ## ----------------------------------------- ##
26507 ## Report this to wx-dev@lists.wxwidgets.org ##
26508 ## ----------------------------------------- ##
26509 _ASBOX
26510 ) |
26511 sed "s/^/$as_me: WARNING: /" >&2
26512 ;;
26513 esac
26514 echo "$as_me:$LINENO: checking for regex.h" >&5
26515 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26516 if test "${ac_cv_header_regex_h+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26518 else
26519 ac_cv_header_regex_h=$ac_header_preproc
26520 fi
26521 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26522 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
26523
26524 fi
26525 if test $ac_cv_header_regex_h = yes; then
26526
26527
26528 for ac_func in regcomp re_search
26529 do
26530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26531 echo "$as_me:$LINENO: checking for $ac_func" >&5
26532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26533 if eval "test \"\${$as_ac_var+set}\" = set"; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 else
26536 cat >conftest.$ac_ext <<_ACEOF
26537 /* confdefs.h. */
26538 _ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26544 #define $ac_func innocuous_$ac_func
26545
26546 /* System header to define __stub macros and hopefully few prototypes,
26547 which can conflict with char $ac_func (); below.
26548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26549 <limits.h> exists even on freestanding compilers. */
26550
26551 #ifdef __STDC__
26552 # include <limits.h>
26553 #else
26554 # include <assert.h>
26555 #endif
26556
26557 #undef $ac_func
26558
26559 /* Override any gcc2 internal prototype to avoid an error. */
26560 #ifdef __cplusplus
26561 extern "C"
26562 {
26563 #endif
26564 /* We use char because int might match the return type of a gcc2
26565 builtin and then its argument prototype would still apply. */
26566 char $ac_func ();
26567 /* The GNU C library defines this for functions which it implements
26568 to always fail with ENOSYS. Some functions are actually named
26569 something starting with __ and the normal name is an alias. */
26570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26571 choke me
26572 #else
26573 char (*f) () = $ac_func;
26574 #endif
26575 #ifdef __cplusplus
26576 }
26577 #endif
26578
26579 int
26580 main ()
26581 {
26582 return f != $ac_func;
26583 ;
26584 return 0;
26585 }
26586 _ACEOF
26587 rm -f conftest.$ac_objext conftest$ac_exeext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26589 (eval $ac_link) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26599 ac_status=$?
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; } &&
26602 { ac_try='test -s conftest$ac_exeext'
26603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604 (eval $ac_try) 2>&5
26605 ac_status=$?
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); }; }; then
26608 eval "$as_ac_var=yes"
26609 else
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.$ac_ext >&5
26612
26613 eval "$as_ac_var=no"
26614 fi
26615 rm -f conftest.err conftest.$ac_objext \
26616 conftest$ac_exeext conftest.$ac_ext
26617 fi
26618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26620 if test `eval echo '${'$as_ac_var'}'` = yes; then
26621 cat >>confdefs.h <<_ACEOF
26622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26623 _ACEOF
26624
26625 fi
26626 done
26627
26628 fi
26629
26630
26631
26632 if test "x$ac_cv_func_regcomp" != "xyes"; then
26633 if test "$wxUSE_REGEX" = "sys" ; then
26634 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26635 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26636 { (exit 1); exit 1; }; }
26637 else
26638 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26639 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26640 wxUSE_REGEX=builtin
26641 fi
26642 else
26643 wxUSE_REGEX=sys
26644 cat >>confdefs.h <<\_ACEOF
26645 #define WX_NO_REGEX_ADVANCED 1
26646 _ACEOF
26647
26648 fi
26649 fi
26650 fi
26651
26652
26653 ZLIB_LINK=
26654 if test "$wxUSE_ZLIB" != "no" ; then
26655 cat >>confdefs.h <<\_ACEOF
26656 #define wxUSE_ZLIB 1
26657 _ACEOF
26658
26659
26660 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26661 if test "$USE_DARWIN" = 1; then
26662 system_zlib_h_ok="yes"
26663 else
26664 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26665 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
26666 if test "${ac_cv_header_zlib_h+set}" = set; then
26667 echo $ECHO_N "(cached) $ECHO_C" >&6
26668 else
26669 if test "$cross_compiling" = yes; then
26670 unset ac_cv_header_zlib_h
26671
26672 else
26673 cat >conftest.$ac_ext <<_ACEOF
26674 /* confdefs.h. */
26675 _ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26679
26680 #include <zlib.h>
26681 #include <stdio.h>
26682
26683 int main()
26684 {
26685 FILE *f=fopen("conftestval", "w");
26686 if (!f) exit(1);
26687 fprintf(f, "%s",
26688 ZLIB_VERSION[0] == '1' &&
26689 (ZLIB_VERSION[2] > '1' ||
26690 (ZLIB_VERSION[2] == '1' &&
26691 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26692 exit(0);
26693 }
26694
26695 _ACEOF
26696 rm -f conftest$ac_exeext
26697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26698 (eval $ac_link) 2>&5
26699 ac_status=$?
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26704 ac_status=$?
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 ac_cv_header_zlib_h=`cat conftestval`
26708 else
26709 echo "$as_me: program exited with status $ac_status" >&5
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26712
26713 ( exit $ac_status )
26714 ac_cv_header_zlib_h=no
26715 fi
26716 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26717 fi
26718
26719 fi
26720 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26721 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26722 if test "${ac_cv_header_zlib_h+set}" = set; then
26723 echo "$as_me:$LINENO: checking for zlib.h" >&5
26724 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26725 if test "${ac_cv_header_zlib_h+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 fi
26728 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26729 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26730 else
26731 # Is the header compilable?
26732 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26733 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h. */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740 $ac_includes_default
26741 #include <zlib.h>
26742 _ACEOF
26743 rm -f conftest.$ac_objext
26744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26745 (eval $ac_compile) 2>conftest.er1
26746 ac_status=$?
26747 grep -v '^ *+' conftest.er1 >conftest.err
26748 rm -f conftest.er1
26749 cat conftest.err >&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } &&
26752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; } &&
26758 { ac_try='test -s conftest.$ac_objext'
26759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26760 (eval $ac_try) 2>&5
26761 ac_status=$?
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); }; }; then
26764 ac_header_compiler=yes
26765 else
26766 echo "$as_me: failed program was:" >&5
26767 sed 's/^/| /' conftest.$ac_ext >&5
26768
26769 ac_header_compiler=no
26770 fi
26771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26773 echo "${ECHO_T}$ac_header_compiler" >&6
26774
26775 # Is the header present?
26776 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26777 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26778 cat >conftest.$ac_ext <<_ACEOF
26779 /* confdefs.h. */
26780 _ACEOF
26781 cat confdefs.h >>conftest.$ac_ext
26782 cat >>conftest.$ac_ext <<_ACEOF
26783 /* end confdefs.h. */
26784 #include <zlib.h>
26785 _ACEOF
26786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } >/dev/null; then
26794 if test -s conftest.err; then
26795 ac_cpp_err=$ac_cxx_preproc_warn_flag
26796 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26797 else
26798 ac_cpp_err=
26799 fi
26800 else
26801 ac_cpp_err=yes
26802 fi
26803 if test -z "$ac_cpp_err"; then
26804 ac_header_preproc=yes
26805 else
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26808
26809 ac_header_preproc=no
26810 fi
26811 rm -f conftest.err conftest.$ac_ext
26812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26813 echo "${ECHO_T}$ac_header_preproc" >&6
26814
26815 # So? What about this header?
26816 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26817 yes:no: )
26818 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26819 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26820 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26821 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26822 ac_header_preproc=yes
26823 ;;
26824 no:yes:* )
26825 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26826 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26828 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26829 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26830 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26832 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26833 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26834 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26835 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26836 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26837 (
26838 cat <<\_ASBOX
26839 ## ----------------------------------------- ##
26840 ## Report this to wx-dev@lists.wxwidgets.org ##
26841 ## ----------------------------------------- ##
26842 _ASBOX
26843 ) |
26844 sed "s/^/$as_me: WARNING: /" >&2
26845 ;;
26846 esac
26847 echo "$as_me:$LINENO: checking for zlib.h" >&5
26848 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26849 if test "${ac_cv_header_zlib_h+set}" = set; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26851 else
26852 ac_cv_header_zlib_h=$ac_header_preproc
26853 fi
26854 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26855 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26856
26857 fi
26858
26859
26860
26861 system_zlib_h_ok=$ac_cv_header_zlib_h
26862 fi
26863
26864 if test "$system_zlib_h_ok" = "yes"; then
26865 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26866 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26867 if test "${ac_cv_lib_z_deflate+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 else
26870 ac_check_lib_save_LIBS=$LIBS
26871 LIBS="-lz $LIBS"
26872 cat >conftest.$ac_ext <<_ACEOF
26873 /* confdefs.h. */
26874 _ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26878
26879 /* Override any gcc2 internal prototype to avoid an error. */
26880 #ifdef __cplusplus
26881 extern "C"
26882 #endif
26883 /* We use char because int might match the return type of a gcc2
26884 builtin and then its argument prototype would still apply. */
26885 char deflate ();
26886 int
26887 main ()
26888 {
26889 deflate ();
26890 ;
26891 return 0;
26892 }
26893 _ACEOF
26894 rm -f conftest.$ac_objext conftest$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896 (eval $ac_link) 2>conftest.er1
26897 ac_status=$?
26898 grep -v '^ *+' conftest.er1 >conftest.err
26899 rm -f conftest.er1
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try='test -s conftest$ac_exeext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 ac_cv_lib_z_deflate=yes
26916 else
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26919
26920 ac_cv_lib_z_deflate=no
26921 fi
26922 rm -f conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26924 LIBS=$ac_check_lib_save_LIBS
26925 fi
26926 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26927 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26928 if test $ac_cv_lib_z_deflate = yes; then
26929 ZLIB_LINK=" -lz"
26930 fi
26931
26932 fi
26933
26934 if test "x$ZLIB_LINK" = "x" ; then
26935 if test "$wxUSE_ZLIB" = "sys" ; then
26936 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26937 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26938 { (exit 1); exit 1; }; }
26939 else
26940 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26941 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26942 wxUSE_ZLIB=builtin
26943 fi
26944 else
26945 wxUSE_ZLIB=sys
26946 fi
26947 fi
26948 fi
26949
26950
26951 PNG_LINK=
26952 if test "$wxUSE_LIBPNG" != "no" ; then
26953 cat >>confdefs.h <<\_ACEOF
26954 #define wxUSE_LIBPNG 1
26955 _ACEOF
26956
26957
26958 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26959 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26960 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26961 wxUSE_LIBPNG=sys
26962 fi
26963
26964 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26965 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26966 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26967 wxUSE_LIBPNG=builtin
26968 fi
26969
26970 if test "$wxUSE_MGL" != 1 ; then
26971 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26972 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26973 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26974 if test "${ac_cv_header_png_h+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26977 if test "$cross_compiling" = yes; then
26978 unset ac_cv_header_png_h
26979
26980 else
26981 cat >conftest.$ac_ext <<_ACEOF
26982 /* confdefs.h. */
26983 _ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26987
26988 #include <png.h>
26989 #include <stdio.h>
26990
26991 int main()
26992 {
26993 FILE *f=fopen("conftestval", "w");
26994 if (!f) exit(1);
26995 fprintf(f, "%s",
26996 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26997 exit(0);
26998 }
26999
27000 _ACEOF
27001 rm -f conftest$ac_exeext
27002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27003 (eval $ac_link) 2>&5
27004 ac_status=$?
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27009 ac_status=$?
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; }; then
27012 ac_cv_header_png_h=`cat conftestval`
27013 else
27014 echo "$as_me: program exited with status $ac_status" >&5
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.$ac_ext >&5
27017
27018 ( exit $ac_status )
27019 ac_cv_header_png_h=no
27020 fi
27021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27022 fi
27023
27024 fi
27025 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27026 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27027 if test "${ac_cv_header_png_h+set}" = set; then
27028 echo "$as_me:$LINENO: checking for png.h" >&5
27029 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27030 if test "${ac_cv_header_png_h+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 fi
27033 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27034 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27035 else
27036 # Is the header compilable?
27037 echo "$as_me:$LINENO: checking png.h usability" >&5
27038 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
27039 cat >conftest.$ac_ext <<_ACEOF
27040 /* confdefs.h. */
27041 _ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045 $ac_includes_default
27046 #include <png.h>
27047 _ACEOF
27048 rm -f conftest.$ac_objext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27050 (eval $ac_compile) 2>conftest.er1
27051 ac_status=$?
27052 grep -v '^ *+' conftest.er1 >conftest.err
27053 rm -f conftest.er1
27054 cat conftest.err >&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27060 ac_status=$?
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; } &&
27063 { ac_try='test -s conftest.$ac_objext'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27066 ac_status=$?
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; }; then
27069 ac_header_compiler=yes
27070 else
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.$ac_ext >&5
27073
27074 ac_header_compiler=no
27075 fi
27076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27078 echo "${ECHO_T}$ac_header_compiler" >&6
27079
27080 # Is the header present?
27081 echo "$as_me:$LINENO: checking png.h presence" >&5
27082 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
27083 cat >conftest.$ac_ext <<_ACEOF
27084 /* confdefs.h. */
27085 _ACEOF
27086 cat confdefs.h >>conftest.$ac_ext
27087 cat >>conftest.$ac_ext <<_ACEOF
27088 /* end confdefs.h. */
27089 #include <png.h>
27090 _ACEOF
27091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27093 ac_status=$?
27094 grep -v '^ *+' conftest.er1 >conftest.err
27095 rm -f conftest.er1
27096 cat conftest.err >&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } >/dev/null; then
27099 if test -s conftest.err; then
27100 ac_cpp_err=$ac_cxx_preproc_warn_flag
27101 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27102 else
27103 ac_cpp_err=
27104 fi
27105 else
27106 ac_cpp_err=yes
27107 fi
27108 if test -z "$ac_cpp_err"; then
27109 ac_header_preproc=yes
27110 else
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27113
27114 ac_header_preproc=no
27115 fi
27116 rm -f conftest.err conftest.$ac_ext
27117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27118 echo "${ECHO_T}$ac_header_preproc" >&6
27119
27120 # So? What about this header?
27121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27122 yes:no: )
27123 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
27124 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27125 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
27126 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
27127 ac_header_preproc=yes
27128 ;;
27129 no:yes:* )
27130 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
27131 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
27132 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
27133 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
27134 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
27135 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
27136 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
27137 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
27138 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
27139 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
27140 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
27141 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
27142 (
27143 cat <<\_ASBOX
27144 ## ----------------------------------------- ##
27145 ## Report this to wx-dev@lists.wxwidgets.org ##
27146 ## ----------------------------------------- ##
27147 _ASBOX
27148 ) |
27149 sed "s/^/$as_me: WARNING: /" >&2
27150 ;;
27151 esac
27152 echo "$as_me:$LINENO: checking for png.h" >&5
27153 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27154 if test "${ac_cv_header_png_h+set}" = set; then
27155 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 else
27157 ac_cv_header_png_h=$ac_header_preproc
27158 fi
27159 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27160 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27161
27162 fi
27163
27164
27165
27166 if test "$ac_cv_header_png_h" = "yes"; then
27167 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27168 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
27169 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 else
27172 ac_check_lib_save_LIBS=$LIBS
27173 LIBS="-lpng -lz -lm $LIBS"
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h. */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180
27181 /* Override any gcc2 internal prototype to avoid an error. */
27182 #ifdef __cplusplus
27183 extern "C"
27184 #endif
27185 /* We use char because int might match the return type of a gcc2
27186 builtin and then its argument prototype would still apply. */
27187 char png_check_sig ();
27188 int
27189 main ()
27190 {
27191 png_check_sig ();
27192 ;
27193 return 0;
27194 }
27195 _ACEOF
27196 rm -f conftest.$ac_objext conftest$ac_exeext
27197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27198 (eval $ac_link) 2>conftest.er1
27199 ac_status=$?
27200 grep -v '^ *+' conftest.er1 >conftest.err
27201 rm -f conftest.er1
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } &&
27205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_lib_png_png_check_sig=yes
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27221
27222 ac_cv_lib_png_png_check_sig=no
27223 fi
27224 rm -f conftest.err conftest.$ac_objext \
27225 conftest$ac_exeext conftest.$ac_ext
27226 LIBS=$ac_check_lib_save_LIBS
27227 fi
27228 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27229 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
27230 if test $ac_cv_lib_png_png_check_sig = yes; then
27231 PNG_LINK=" -lpng -lz"
27232 fi
27233
27234 fi
27235
27236 if test "x$PNG_LINK" = "x" ; then
27237 if test "$wxUSE_LIBPNG" = "sys" ; then
27238 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27239 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27240 { (exit 1); exit 1; }; }
27241 else
27242 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27243 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27244 wxUSE_LIBPNG=builtin
27245 fi
27246 else
27247 wxUSE_LIBPNG=sys
27248 fi
27249 fi
27250 fi
27251
27252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27253 fi
27254
27255
27256 JPEG_LINK=
27257 if test "$wxUSE_LIBJPEG" != "no" ; then
27258 cat >>confdefs.h <<\_ACEOF
27259 #define wxUSE_LIBJPEG 1
27260 _ACEOF
27261
27262
27263 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27264 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27265 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27266 wxUSE_LIBJPEG=sys
27267 fi
27268
27269 if test "$wxUSE_MGL" != 1 ; then
27270 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27271 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27272 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
27273 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27275 else
27276 cat >conftest.$ac_ext <<_ACEOF
27277 /* confdefs.h. */
27278 _ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27282
27283 #undef HAVE_STDLIB_H
27284 #include <stdio.h>
27285 #include <jpeglib.h>
27286
27287 int
27288 main ()
27289 {
27290
27291
27292 ;
27293 return 0;
27294 }
27295 _ACEOF
27296 rm -f conftest.$ac_objext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27298 (eval $ac_compile) 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27308 ac_status=$?
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; } &&
27311 { ac_try='test -s conftest.$ac_objext'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27314 ac_status=$?
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; }; then
27317 ac_cv_header_jpeglib_h=yes
27318 else
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27321
27322 ac_cv_header_jpeglib_h=no
27323
27324 fi
27325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27326
27327 fi
27328
27329 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27330 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
27331
27332 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27333 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27334 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
27335 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338 ac_check_lib_save_LIBS=$LIBS
27339 LIBS="-ljpeg $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 jpeg_read_header ();
27354 int
27355 main ()
27356 {
27357 jpeg_read_header ();
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_jpeg_jpeg_read_header=yes
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 ac_cv_lib_jpeg_jpeg_read_header=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_jpeg_jpeg_read_header" >&5
27395 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
27396 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27397 JPEG_LINK=" -ljpeg"
27398 fi
27399
27400 fi
27401
27402 if test "x$JPEG_LINK" = "x" ; then
27403 if test "$wxUSE_LIBJPEG" = "sys" ; then
27404 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27405 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27406 { (exit 1); exit 1; }; }
27407 else
27408 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27409 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27410 wxUSE_LIBJPEG=builtin
27411 fi
27412 else
27413 wxUSE_LIBJPEG=sys
27414 fi
27415 fi
27416 fi
27417 fi
27418
27419
27420 TIFF_LINK=
27421 TIFF_PREREQ_LINKS=-lm
27422 if test "$wxUSE_LIBTIFF" != "no" ; then
27423 cat >>confdefs.h <<\_ACEOF
27424 #define wxUSE_LIBTIFF 1
27425 _ACEOF
27426
27427
27428 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27429 if test "$wxUSE_LIBJPEG" = "sys"; then
27430 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27431 fi
27432 if test "$wxUSE_ZLIB" = "sys"; then
27433 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27434 fi
27435 if test "${ac_cv_header_tiffio_h+set}" = set; then
27436 echo "$as_me:$LINENO: checking for tiffio.h" >&5
27437 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
27438 if test "${ac_cv_header_tiffio_h+set}" = set; then
27439 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 fi
27441 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27442 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
27443 else
27444 # Is the header compilable?
27445 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
27446 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
27447 cat >conftest.$ac_ext <<_ACEOF
27448 /* confdefs.h. */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453 $ac_includes_default
27454 #include <tiffio.h>
27455 _ACEOF
27456 rm -f conftest.$ac_objext
27457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27458 (eval $ac_compile) 2>conftest.er1
27459 ac_status=$?
27460 grep -v '^ *+' conftest.er1 >conftest.err
27461 rm -f conftest.er1
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } &&
27465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27468 ac_status=$?
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try='test -s conftest.$ac_objext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27474 ac_status=$?
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 ac_header_compiler=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 ac_header_compiler=no
27483 fi
27484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27486 echo "${ECHO_T}$ac_header_compiler" >&6
27487
27488 # Is the header present?
27489 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
27490 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
27491 cat >conftest.$ac_ext <<_ACEOF
27492 /* confdefs.h. */
27493 _ACEOF
27494 cat confdefs.h >>conftest.$ac_ext
27495 cat >>conftest.$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27497 #include <tiffio.h>
27498 _ACEOF
27499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27501 ac_status=$?
27502 grep -v '^ *+' conftest.er1 >conftest.err
27503 rm -f conftest.er1
27504 cat conftest.err >&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } >/dev/null; then
27507 if test -s conftest.err; then
27508 ac_cpp_err=$ac_cxx_preproc_warn_flag
27509 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27510 else
27511 ac_cpp_err=
27512 fi
27513 else
27514 ac_cpp_err=yes
27515 fi
27516 if test -z "$ac_cpp_err"; then
27517 ac_header_preproc=yes
27518 else
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.$ac_ext >&5
27521
27522 ac_header_preproc=no
27523 fi
27524 rm -f conftest.err conftest.$ac_ext
27525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27526 echo "${ECHO_T}$ac_header_preproc" >&6
27527
27528 # So? What about this header?
27529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27530 yes:no: )
27531 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
27532 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27533 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
27534 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
27535 ac_header_preproc=yes
27536 ;;
27537 no:yes:* )
27538 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
27539 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
27541 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
27542 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
27543 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
27544 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
27545 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
27546 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
27547 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
27548 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
27549 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
27550 (
27551 cat <<\_ASBOX
27552 ## ----------------------------------------- ##
27553 ## Report this to wx-dev@lists.wxwidgets.org ##
27554 ## ----------------------------------------- ##
27555 _ASBOX
27556 ) |
27557 sed "s/^/$as_me: WARNING: /" >&2
27558 ;;
27559 esac
27560 echo "$as_me:$LINENO: checking for tiffio.h" >&5
27561 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
27562 if test "${ac_cv_header_tiffio_h+set}" = set; then
27563 echo $ECHO_N "(cached) $ECHO_C" >&6
27564 else
27565 ac_cv_header_tiffio_h=$ac_header_preproc
27566 fi
27567 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27568 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
27569
27570 fi
27571 if test $ac_cv_header_tiffio_h = yes; then
27572
27573 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27574 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
27575 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 ac_check_lib_save_LIBS=$LIBS
27579 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586
27587 /* Override any gcc2 internal prototype to avoid an error. */
27588 #ifdef __cplusplus
27589 extern "C"
27590 #endif
27591 /* We use char because int might match the return type of a gcc2
27592 builtin and then its argument prototype would still apply. */
27593 char TIFFError ();
27594 int
27595 main ()
27596 {
27597 TIFFError ();
27598 ;
27599 return 0;
27600 }
27601 _ACEOF
27602 rm -f conftest.$ac_objext conftest$ac_exeext
27603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27604 (eval $ac_link) 2>conftest.er1
27605 ac_status=$?
27606 grep -v '^ *+' conftest.er1 >conftest.err
27607 rm -f conftest.er1
27608 cat conftest.err >&5
27609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27610 (exit $ac_status); } &&
27611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27613 (eval $ac_try) 2>&5
27614 ac_status=$?
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); }; } &&
27617 { ac_try='test -s conftest$ac_exeext'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27620 ac_status=$?
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; }; then
27623 ac_cv_lib_tiff_TIFFError=yes
27624 else
27625 echo "$as_me: failed program was:" >&5
27626 sed 's/^/| /' conftest.$ac_ext >&5
27627
27628 ac_cv_lib_tiff_TIFFError=no
27629 fi
27630 rm -f conftest.err conftest.$ac_objext \
27631 conftest$ac_exeext conftest.$ac_ext
27632 LIBS=$ac_check_lib_save_LIBS
27633 fi
27634 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27635 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
27636 if test $ac_cv_lib_tiff_TIFFError = yes; then
27637 TIFF_LINK=" -ltiff"
27638 fi
27639
27640
27641
27642 fi
27643
27644
27645
27646 if test "x$TIFF_LINK" = "x" ; then
27647 if test "$wxUSE_LIBTIFF" = "sys" ; then
27648 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27649 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27650 { (exit 1); exit 1; }; }
27651 else
27652 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27653 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27654 wxUSE_LIBTIFF=builtin
27655 fi
27656 else
27657 wxUSE_LIBTIFF=sys
27658 fi
27659 fi
27660 fi
27661
27662
27663 if test "$wxUSE_WCHAR_T" != "yes"; then
27664 if test "$wxUSE_EXPAT" != "no"; then
27665 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27666 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27667 wxUSE_EXPAT=no
27668 fi
27669 if test "$wxUSE_XML" != "no"; then
27670 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27671 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27672 wxUSE_XML=no
27673 fi
27674 fi
27675
27676 if test "$wxUSE_EXPAT" != "no"; then
27677 wxUSE_XML=yes
27678 cat >>confdefs.h <<\_ACEOF
27679 #define wxUSE_EXPAT 1
27680 _ACEOF
27681
27682 cat >>confdefs.h <<\_ACEOF
27683 #define wxUSE_XML 1
27684 _ACEOF
27685
27686
27687 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27688 if test "${ac_cv_header_expat_h+set}" = set; then
27689 echo "$as_me:$LINENO: checking for expat.h" >&5
27690 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27691 if test "${ac_cv_header_expat_h+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 fi
27694 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27696 else
27697 # Is the header compilable?
27698 echo "$as_me:$LINENO: checking expat.h usability" >&5
27699 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
27700 cat >conftest.$ac_ext <<_ACEOF
27701 /* confdefs.h. */
27702 _ACEOF
27703 cat confdefs.h >>conftest.$ac_ext
27704 cat >>conftest.$ac_ext <<_ACEOF
27705 /* end confdefs.h. */
27706 $ac_includes_default
27707 #include <expat.h>
27708 _ACEOF
27709 rm -f conftest.$ac_objext
27710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27711 (eval $ac_compile) 2>conftest.er1
27712 ac_status=$?
27713 grep -v '^ *+' conftest.er1 >conftest.err
27714 rm -f conftest.er1
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } &&
27718 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27721 ac_status=$?
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; } &&
27724 { ac_try='test -s conftest.$ac_objext'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27727 ac_status=$?
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730 ac_header_compiler=yes
27731 else
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27734
27735 ac_header_compiler=no
27736 fi
27737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27739 echo "${ECHO_T}$ac_header_compiler" >&6
27740
27741 # Is the header present?
27742 echo "$as_me:$LINENO: checking expat.h presence" >&5
27743 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27744 cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h. */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27750 #include <expat.h>
27751 _ACEOF
27752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27754 ac_status=$?
27755 grep -v '^ *+' conftest.er1 >conftest.err
27756 rm -f conftest.er1
27757 cat conftest.err >&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } >/dev/null; then
27760 if test -s conftest.err; then
27761 ac_cpp_err=$ac_cxx_preproc_warn_flag
27762 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27763 else
27764 ac_cpp_err=
27765 fi
27766 else
27767 ac_cpp_err=yes
27768 fi
27769 if test -z "$ac_cpp_err"; then
27770 ac_header_preproc=yes
27771 else
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27774
27775 ac_header_preproc=no
27776 fi
27777 rm -f conftest.err conftest.$ac_ext
27778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27779 echo "${ECHO_T}$ac_header_preproc" >&6
27780
27781 # So? What about this header?
27782 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27783 yes:no: )
27784 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27785 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27786 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27787 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27788 ac_header_preproc=yes
27789 ;;
27790 no:yes:* )
27791 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27792 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27793 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27794 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27795 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27796 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27797 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27798 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27799 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27800 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27801 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27802 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27803 (
27804 cat <<\_ASBOX
27805 ## ----------------------------------------- ##
27806 ## Report this to wx-dev@lists.wxwidgets.org ##
27807 ## ----------------------------------------- ##
27808 _ASBOX
27809 ) |
27810 sed "s/^/$as_me: WARNING: /" >&2
27811 ;;
27812 esac
27813 echo "$as_me:$LINENO: checking for expat.h" >&5
27814 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27815 if test "${ac_cv_header_expat_h+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27817 else
27818 ac_cv_header_expat_h=$ac_header_preproc
27819 fi
27820 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27821 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27822
27823 fi
27824 if test $ac_cv_header_expat_h = yes; then
27825 found_expat_h=1
27826 fi
27827
27828
27829 if test "x$found_expat_h" = "x1"; then
27830 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27831 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27832 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27834 else
27835
27836 cat >conftest.$ac_ext <<_ACEOF
27837 /* confdefs.h. */
27838 _ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27842 #include <expat.h>
27843 int
27844 main ()
27845 {
27846
27847 ;
27848 return 0;
27849 }
27850 _ACEOF
27851 rm -f conftest.$ac_objext
27852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27853 (eval $ac_compile) 2>conftest.er1
27854 ac_status=$?
27855 grep -v '^ *+' conftest.er1 >conftest.err
27856 rm -f conftest.er1
27857 cat conftest.err >&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } &&
27860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27863 ac_status=$?
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try='test -s conftest.$ac_objext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 wx_cv_expat_is_not_broken=yes
27873 else
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27876
27877 wx_cv_expat_is_not_broken=no
27878
27879 fi
27880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27881
27882
27883 fi
27884 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27885 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27886 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27887 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27888 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27889 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27890 echo $ECHO_N "(cached) $ECHO_C" >&6
27891 else
27892 ac_check_lib_save_LIBS=$LIBS
27893 LIBS="-lexpat $LIBS"
27894 cat >conftest.$ac_ext <<_ACEOF
27895 /* confdefs.h. */
27896 _ACEOF
27897 cat confdefs.h >>conftest.$ac_ext
27898 cat >>conftest.$ac_ext <<_ACEOF
27899 /* end confdefs.h. */
27900
27901 /* Override any gcc2 internal prototype to avoid an error. */
27902 #ifdef __cplusplus
27903 extern "C"
27904 #endif
27905 /* We use char because int might match the return type of a gcc2
27906 builtin and then its argument prototype would still apply. */
27907 char XML_ParserCreate ();
27908 int
27909 main ()
27910 {
27911 XML_ParserCreate ();
27912 ;
27913 return 0;
27914 }
27915 _ACEOF
27916 rm -f conftest.$ac_objext conftest$ac_exeext
27917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27918 (eval $ac_link) 2>conftest.er1
27919 ac_status=$?
27920 grep -v '^ *+' conftest.er1 >conftest.err
27921 rm -f conftest.er1
27922 cat conftest.err >&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); } &&
27925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; } &&
27931 { ac_try='test -s conftest$ac_exeext'
27932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27933 (eval $ac_try) 2>&5
27934 ac_status=$?
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); }; }; then
27937 ac_cv_lib_expat_XML_ParserCreate=yes
27938 else
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27941
27942 ac_cv_lib_expat_XML_ParserCreate=no
27943 fi
27944 rm -f conftest.err conftest.$ac_objext \
27945 conftest$ac_exeext conftest.$ac_ext
27946 LIBS=$ac_check_lib_save_LIBS
27947 fi
27948 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27949 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27950 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27951 EXPAT_LINK=" -lexpat"
27952 fi
27953
27954 fi
27955 fi
27956 if test "x$EXPAT_LINK" = "x" ; then
27957 if test "$wxUSE_EXPAT" = "sys" ; then
27958 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27959 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27960 { (exit 1); exit 1; }; }
27961 else
27962 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27963 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27964 wxUSE_EXPAT=builtin
27965 fi
27966 else
27967 wxUSE_EXPAT=sys
27968 fi
27969 fi
27970 if test "$wxUSE_EXPAT" = "builtin" ; then
27971
27972
27973 subdirs="$subdirs src/expat"
27974
27975 fi
27976 fi
27977
27978
27979
27980 if test "$wxUSE_LIBMSPACK" != "no"; then
27981 if test "${ac_cv_header_mspack_h+set}" = set; then
27982 echo "$as_me:$LINENO: checking for mspack.h" >&5
27983 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27984 if test "${ac_cv_header_mspack_h+set}" = set; then
27985 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 fi
27987 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27988 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27989 else
27990 # Is the header compilable?
27991 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27992 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27993 cat >conftest.$ac_ext <<_ACEOF
27994 /* confdefs.h. */
27995 _ACEOF
27996 cat confdefs.h >>conftest.$ac_ext
27997 cat >>conftest.$ac_ext <<_ACEOF
27998 /* end confdefs.h. */
27999 $ac_includes_default
28000 #include <mspack.h>
28001 _ACEOF
28002 rm -f conftest.$ac_objext
28003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28004 (eval $ac_compile) 2>conftest.er1
28005 ac_status=$?
28006 grep -v '^ *+' conftest.er1 >conftest.err
28007 rm -f conftest.er1
28008 cat conftest.err >&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); } &&
28011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28013 (eval $ac_try) 2>&5
28014 ac_status=$?
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); }; } &&
28017 { ac_try='test -s conftest.$ac_objext'
28018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28019 (eval $ac_try) 2>&5
28020 ac_status=$?
28021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28022 (exit $ac_status); }; }; then
28023 ac_header_compiler=yes
28024 else
28025 echo "$as_me: failed program was:" >&5
28026 sed 's/^/| /' conftest.$ac_ext >&5
28027
28028 ac_header_compiler=no
28029 fi
28030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28032 echo "${ECHO_T}$ac_header_compiler" >&6
28033
28034 # Is the header present?
28035 echo "$as_me:$LINENO: checking mspack.h presence" >&5
28036 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
28037 cat >conftest.$ac_ext <<_ACEOF
28038 /* confdefs.h. */
28039 _ACEOF
28040 cat confdefs.h >>conftest.$ac_ext
28041 cat >>conftest.$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 #include <mspack.h>
28044 _ACEOF
28045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28047 ac_status=$?
28048 grep -v '^ *+' conftest.er1 >conftest.err
28049 rm -f conftest.er1
28050 cat conftest.err >&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } >/dev/null; then
28053 if test -s conftest.err; then
28054 ac_cpp_err=$ac_cxx_preproc_warn_flag
28055 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28056 else
28057 ac_cpp_err=
28058 fi
28059 else
28060 ac_cpp_err=yes
28061 fi
28062 if test -z "$ac_cpp_err"; then
28063 ac_header_preproc=yes
28064 else
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.$ac_ext >&5
28067
28068 ac_header_preproc=no
28069 fi
28070 rm -f conftest.err conftest.$ac_ext
28071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28072 echo "${ECHO_T}$ac_header_preproc" >&6
28073
28074 # So? What about this header?
28075 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28076 yes:no: )
28077 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
28078 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28079 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
28080 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
28081 ac_header_preproc=yes
28082 ;;
28083 no:yes:* )
28084 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
28085 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
28086 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
28087 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
28088 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
28089 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
28090 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
28091 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
28092 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
28093 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
28094 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
28095 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
28096 (
28097 cat <<\_ASBOX
28098 ## ----------------------------------------- ##
28099 ## Report this to wx-dev@lists.wxwidgets.org ##
28100 ## ----------------------------------------- ##
28101 _ASBOX
28102 ) |
28103 sed "s/^/$as_me: WARNING: /" >&2
28104 ;;
28105 esac
28106 echo "$as_me:$LINENO: checking for mspack.h" >&5
28107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
28108 if test "${ac_cv_header_mspack_h+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 else
28111 ac_cv_header_mspack_h=$ac_header_preproc
28112 fi
28113 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28114 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
28115
28116 fi
28117 if test $ac_cv_header_mspack_h = yes; then
28118 found_mspack_h=1
28119 fi
28120
28121
28122 if test "x$found_mspack_h" = "x1"; then
28123 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28124 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
28125 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28127 else
28128 ac_check_lib_save_LIBS=$LIBS
28129 LIBS="-lmspack $LIBS"
28130 cat >conftest.$ac_ext <<_ACEOF
28131 /* confdefs.h. */
28132 _ACEOF
28133 cat confdefs.h >>conftest.$ac_ext
28134 cat >>conftest.$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28136
28137 /* Override any gcc2 internal prototype to avoid an error. */
28138 #ifdef __cplusplus
28139 extern "C"
28140 #endif
28141 /* We use char because int might match the return type of a gcc2
28142 builtin and then its argument prototype would still apply. */
28143 char mspack_create_chm_decompressor ();
28144 int
28145 main ()
28146 {
28147 mspack_create_chm_decompressor ();
28148 ;
28149 return 0;
28150 }
28151 _ACEOF
28152 rm -f conftest.$ac_objext conftest$ac_exeext
28153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28154 (eval $ac_link) 2>conftest.er1
28155 ac_status=$?
28156 grep -v '^ *+' conftest.er1 >conftest.err
28157 rm -f conftest.er1
28158 cat conftest.err >&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; } &&
28167 { ac_try='test -s conftest$ac_exeext'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28170 ac_status=$?
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; }; then
28173 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28179 fi
28180 rm -f conftest.err conftest.$ac_objext \
28181 conftest$ac_exeext conftest.$ac_ext
28182 LIBS=$ac_check_lib_save_LIBS
28183 fi
28184 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28185 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
28186 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28187 MSPACK_LINK=" -lmspack"
28188 fi
28189
28190 fi
28191 if test "x$MSPACK_LINK" = "x" ; then
28192 wxUSE_LIBMSPACK=no
28193 fi
28194 fi
28195
28196 if test "$wxUSE_LIBMSPACK" != "no"; then
28197 cat >>confdefs.h <<\_ACEOF
28198 #define wxUSE_LIBMSPACK 1
28199 _ACEOF
28200
28201 fi
28202
28203
28204
28205 AFMINSTALL=
28206 WIN32INSTALL=
28207
28208 TOOLKIT=
28209 TOOLKIT_INCLUDE=
28210 WIDGET_SET=
28211
28212 if test "$USE_WIN32" = 1 ; then
28213
28214 for ac_header in w32api.h
28215 do
28216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28218 echo "$as_me:$LINENO: checking for $ac_header" >&5
28219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28222 fi
28223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28225 else
28226 # Is the header compilable?
28227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28229 cat >conftest.$ac_ext <<_ACEOF
28230 /* confdefs.h. */
28231 _ACEOF
28232 cat confdefs.h >>conftest.$ac_ext
28233 cat >>conftest.$ac_ext <<_ACEOF
28234 /* end confdefs.h. */
28235 $ac_includes_default
28236 #include <$ac_header>
28237 _ACEOF
28238 rm -f conftest.$ac_objext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28240 (eval $ac_compile) 2>conftest.er1
28241 ac_status=$?
28242 grep -v '^ *+' conftest.er1 >conftest.err
28243 rm -f conftest.er1
28244 cat conftest.err >&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28250 ac_status=$?
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; } &&
28253 { ac_try='test -s conftest.$ac_objext'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28256 ac_status=$?
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; }; then
28259 ac_header_compiler=yes
28260 else
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28263
28264 ac_header_compiler=no
28265 fi
28266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28268 echo "${ECHO_T}$ac_header_compiler" >&6
28269
28270 # Is the header present?
28271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28273 cat >conftest.$ac_ext <<_ACEOF
28274 /* confdefs.h. */
28275 _ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28279 #include <$ac_header>
28280 _ACEOF
28281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28283 ac_status=$?
28284 grep -v '^ *+' conftest.er1 >conftest.err
28285 rm -f conftest.er1
28286 cat conftest.err >&5
28287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288 (exit $ac_status); } >/dev/null; then
28289 if test -s conftest.err; then
28290 ac_cpp_err=$ac_cxx_preproc_warn_flag
28291 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28292 else
28293 ac_cpp_err=
28294 fi
28295 else
28296 ac_cpp_err=yes
28297 fi
28298 if test -z "$ac_cpp_err"; then
28299 ac_header_preproc=yes
28300 else
28301 echo "$as_me: failed program was:" >&5
28302 sed 's/^/| /' conftest.$ac_ext >&5
28303
28304 ac_header_preproc=no
28305 fi
28306 rm -f conftest.err conftest.$ac_ext
28307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28308 echo "${ECHO_T}$ac_header_preproc" >&6
28309
28310 # So? What about this header?
28311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28312 yes:no: )
28313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28317 ac_header_preproc=yes
28318 ;;
28319 no:yes:* )
28320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28332 (
28333 cat <<\_ASBOX
28334 ## ----------------------------------------- ##
28335 ## Report this to wx-dev@lists.wxwidgets.org ##
28336 ## ----------------------------------------- ##
28337 _ASBOX
28338 ) |
28339 sed "s/^/$as_me: WARNING: /" >&2
28340 ;;
28341 esac
28342 echo "$as_me:$LINENO: checking for $ac_header" >&5
28343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28346 else
28347 eval "$as_ac_Header=\$ac_header_preproc"
28348 fi
28349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28351
28352 fi
28353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28354 cat >>confdefs.h <<_ACEOF
28355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28356 _ACEOF
28357
28358 fi
28359
28360 done
28361
28362 if test "${ac_cv_header_windows_h+set}" = set; then
28363 echo "$as_me:$LINENO: checking for windows.h" >&5
28364 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28365 if test "${ac_cv_header_windows_h+set}" = set; then
28366 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 fi
28368 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28369 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28370 else
28371 # Is the header compilable?
28372 echo "$as_me:$LINENO: checking windows.h usability" >&5
28373 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
28374 cat >conftest.$ac_ext <<_ACEOF
28375 /* confdefs.h. */
28376 _ACEOF
28377 cat confdefs.h >>conftest.$ac_ext
28378 cat >>conftest.$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28380 $ac_includes_default
28381 #include <windows.h>
28382 _ACEOF
28383 rm -f conftest.$ac_objext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28385 (eval $ac_compile) 2>conftest.er1
28386 ac_status=$?
28387 grep -v '^ *+' conftest.er1 >conftest.err
28388 rm -f conftest.er1
28389 cat conftest.err >&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } &&
28392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28395 ac_status=$?
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; } &&
28398 { ac_try='test -s conftest.$ac_objext'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; }; then
28404 ac_header_compiler=yes
28405 else
28406 echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.$ac_ext >&5
28408
28409 ac_header_compiler=no
28410 fi
28411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28413 echo "${ECHO_T}$ac_header_compiler" >&6
28414
28415 # Is the header present?
28416 echo "$as_me:$LINENO: checking windows.h presence" >&5
28417 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
28418 cat >conftest.$ac_ext <<_ACEOF
28419 /* confdefs.h. */
28420 _ACEOF
28421 cat confdefs.h >>conftest.$ac_ext
28422 cat >>conftest.$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28424 #include <windows.h>
28425 _ACEOF
28426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28427 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28428 ac_status=$?
28429 grep -v '^ *+' conftest.er1 >conftest.err
28430 rm -f conftest.er1
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } >/dev/null; then
28434 if test -s conftest.err; then
28435 ac_cpp_err=$ac_cxx_preproc_warn_flag
28436 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28437 else
28438 ac_cpp_err=
28439 fi
28440 else
28441 ac_cpp_err=yes
28442 fi
28443 if test -z "$ac_cpp_err"; then
28444 ac_header_preproc=yes
28445 else
28446 echo "$as_me: failed program was:" >&5
28447 sed 's/^/| /' conftest.$ac_ext >&5
28448
28449 ac_header_preproc=no
28450 fi
28451 rm -f conftest.err conftest.$ac_ext
28452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28453 echo "${ECHO_T}$ac_header_preproc" >&6
28454
28455 # So? What about this header?
28456 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28457 yes:no: )
28458 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
28459 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28460 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
28461 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
28462 ac_header_preproc=yes
28463 ;;
28464 no:yes:* )
28465 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
28466 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
28467 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
28468 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
28469 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
28470 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
28471 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
28472 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
28473 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
28474 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
28475 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
28476 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
28477 (
28478 cat <<\_ASBOX
28479 ## ----------------------------------------- ##
28480 ## Report this to wx-dev@lists.wxwidgets.org ##
28481 ## ----------------------------------------- ##
28482 _ASBOX
28483 ) |
28484 sed "s/^/$as_me: WARNING: /" >&2
28485 ;;
28486 esac
28487 echo "$as_me:$LINENO: checking for windows.h" >&5
28488 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28489 if test "${ac_cv_header_windows_h+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28491 else
28492 ac_cv_header_windows_h=$ac_header_preproc
28493 fi
28494 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28495 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28496
28497 fi
28498 if test $ac_cv_header_windows_h = yes; then
28499 :
28500 else
28501
28502 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28503 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28504 { (exit 1); exit 1; }; }
28505
28506 fi
28507
28508
28509
28510 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28511
28512 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28513 LIBS="$LIBS -loleacc"
28514 fi
28515
28516 case "${host}" in
28517 *-*-cygwin* )
28518 LIBS="$LIBS -lkernel32 -luser32"
28519 esac
28520
28521 if test "$wxUSE_ODBC" = "sys" ; then
28522 wxUSE_ODBC = "yes"
28523 fi
28524 if test "$wxUSE_ODBC" = "yes" ; then
28525 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28526 cat >>confdefs.h <<\_ACEOF
28527 #define wxUSE_ODBC 1
28528 _ACEOF
28529
28530 fi
28531
28532 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28533 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28534
28535 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28536
28537 WIN32INSTALL=win32install
28538
28539 echo "$as_me:$LINENO: checking for boolean" >&5
28540 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
28541 if test "${ac_cv_type_boolean+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 cat >conftest.$ac_ext <<_ACEOF
28545 /* confdefs.h. */
28546 _ACEOF
28547 cat confdefs.h >>conftest.$ac_ext
28548 cat >>conftest.$ac_ext <<_ACEOF
28549 /* end confdefs.h. */
28550 #include <windows.h>
28551
28552 int
28553 main ()
28554 {
28555 if ((boolean *) 0)
28556 return 0;
28557 if (sizeof (boolean))
28558 return 0;
28559 ;
28560 return 0;
28561 }
28562 _ACEOF
28563 rm -f conftest.$ac_objext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28565 (eval $ac_compile) 2>conftest.er1
28566 ac_status=$?
28567 grep -v '^ *+' conftest.er1 >conftest.err
28568 rm -f conftest.er1
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28575 ac_status=$?
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; } &&
28578 { ac_try='test -s conftest.$ac_objext'
28579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28580 (eval $ac_try) 2>&5
28581 ac_status=$?
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); }; }; then
28584 ac_cv_type_boolean=yes
28585 else
28586 echo "$as_me: failed program was:" >&5
28587 sed 's/^/| /' conftest.$ac_ext >&5
28588
28589 ac_cv_type_boolean=no
28590 fi
28591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28592 fi
28593 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28594 echo "${ECHO_T}$ac_cv_type_boolean" >&6
28595 if test $ac_cv_type_boolean = yes; then
28596
28597 cat >>confdefs.h <<_ACEOF
28598 #define HAVE_BOOLEAN 1
28599 _ACEOF
28600
28601
28602 fi
28603
28604
28605
28606 for ac_header in pbt.h
28607 do
28608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28610 echo "$as_me:$LINENO: checking for $ac_header" >&5
28611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28613 echo $ECHO_N "(cached) $ECHO_C" >&6
28614 fi
28615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28617 else
28618 # Is the header compilable?
28619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 $ac_includes_default
28628 #include <$ac_header>
28629 _ACEOF
28630 rm -f conftest.$ac_objext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28632 (eval $ac_compile) 2>conftest.er1
28633 ac_status=$?
28634 grep -v '^ *+' conftest.er1 >conftest.err
28635 rm -f conftest.er1
28636 cat conftest.err >&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); } &&
28639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28641 (eval $ac_try) 2>&5
28642 ac_status=$?
28643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28644 (exit $ac_status); }; } &&
28645 { ac_try='test -s conftest.$ac_objext'
28646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28647 (eval $ac_try) 2>&5
28648 ac_status=$?
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); }; }; then
28651 ac_header_compiler=yes
28652 else
28653 echo "$as_me: failed program was:" >&5
28654 sed 's/^/| /' conftest.$ac_ext >&5
28655
28656 ac_header_compiler=no
28657 fi
28658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28660 echo "${ECHO_T}$ac_header_compiler" >&6
28661
28662 # Is the header present?
28663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28665 cat >conftest.$ac_ext <<_ACEOF
28666 /* confdefs.h. */
28667 _ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671 #include <$ac_header>
28672 _ACEOF
28673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28675 ac_status=$?
28676 grep -v '^ *+' conftest.er1 >conftest.err
28677 rm -f conftest.er1
28678 cat conftest.err >&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } >/dev/null; then
28681 if test -s conftest.err; then
28682 ac_cpp_err=$ac_cxx_preproc_warn_flag
28683 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28684 else
28685 ac_cpp_err=
28686 fi
28687 else
28688 ac_cpp_err=yes
28689 fi
28690 if test -z "$ac_cpp_err"; then
28691 ac_header_preproc=yes
28692 else
28693 echo "$as_me: failed program was:" >&5
28694 sed 's/^/| /' conftest.$ac_ext >&5
28695
28696 ac_header_preproc=no
28697 fi
28698 rm -f conftest.err conftest.$ac_ext
28699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28700 echo "${ECHO_T}$ac_header_preproc" >&6
28701
28702 # So? What about this header?
28703 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28704 yes:no: )
28705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28709 ac_header_preproc=yes
28710 ;;
28711 no:yes:* )
28712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28724 (
28725 cat <<\_ASBOX
28726 ## ----------------------------------------- ##
28727 ## Report this to wx-dev@lists.wxwidgets.org ##
28728 ## ----------------------------------------- ##
28729 _ASBOX
28730 ) |
28731 sed "s/^/$as_me: WARNING: /" >&2
28732 ;;
28733 esac
28734 echo "$as_me:$LINENO: checking for $ac_header" >&5
28735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 else
28739 eval "$as_ac_Header=\$ac_header_preproc"
28740 fi
28741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28743
28744 fi
28745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28746 cat >>confdefs.h <<_ACEOF
28747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28748 _ACEOF
28749
28750 else
28751 cat >>confdefs.h <<\_ACEOF
28752 #define NEED_PBT_H 1
28753 _ACEOF
28754
28755 fi
28756
28757 done
28758
28759 fi
28760
28761 if test "$wxUSE_GUI" = "yes"; then
28762 USE_GUI=1
28763
28764 GUI_TK_LIBRARY=
28765
28766 WXGTK12=
28767 WXGTK127=
28768 WXGTK20=
28769 WXGPE=
28770
28771 if test "$wxUSE_COCOA" = 1 ; then
28772 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28773 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28774 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28775 wxUSE_PRINTING_ARCHITECTURE=no
28776 fi
28777 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28778 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28779 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28780 wxUSE_DRAG_AND_DROP=no
28781 fi
28782 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28783 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28784 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28785 wxUSE_DRAGIMAGE=no
28786 fi
28787 fi
28788
28789 if test "$wxUSE_MSW" = 1 ; then
28790 TOOLKIT=MSW
28791 GUIDIST=MSW_DIST
28792
28793 case "${host}" in
28794 *-*-mingw32* )
28795 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28796 esac
28797 fi
28798
28799 if test "$wxUSE_GTK" = 1; then
28800 ac_ext=c
28801 ac_cpp='$CPP $CPPFLAGS'
28802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28805
28806
28807 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28808 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28809
28810 gtk_version_cached=1
28811 if test "${wx_cv_lib_gtk+set}" = set; then
28812 echo $ECHO_N "(cached) $ECHO_C" >&6
28813 else
28814
28815 gtk_version_cached=0
28816 echo "$as_me:$LINENO: result: " >&5
28817 echo "${ECHO_T}" >&6
28818
28819 GTK_MODULES=
28820 if test "$wxUSE_THREADS" = "yes"; then
28821 GTK_MODULES=gthread
28822 fi
28823
28824 wx_cv_lib_gtk=
28825 if test "x$wxGTK_VERSION" != "x1"
28826 then
28827 case "${host}" in
28828 *-*-solaris2* )
28829 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28830 enable_gtktest=no
28831 fi
28832 esac
28833
28834 # Check whether --enable-gtktest or --disable-gtktest was given.
28835 if test "${enable_gtktest+set}" = set; then
28836 enableval="$enable_gtktest"
28837
28838 else
28839 enable_gtktest=yes
28840 fi;
28841
28842 pkg_config_args=gtk+-2.0
28843 for module in . $GTK_MODULES
28844 do
28845 case "$module" in
28846 gthread)
28847 pkg_config_args="$pkg_config_args gthread-2.0"
28848 ;;
28849 esac
28850 done
28851
28852 no_gtk=""
28853
28854 # Extract the first word of "pkg-config", so it can be a program name with args.
28855 set dummy pkg-config; ac_word=$2
28856 echo "$as_me:$LINENO: checking for $ac_word" >&5
28857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28858 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28859 echo $ECHO_N "(cached) $ECHO_C" >&6
28860 else
28861 case $PKG_CONFIG in
28862 [\\/]* | ?:[\\/]*)
28863 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28864 ;;
28865 *)
28866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28867 for as_dir in $PATH
28868 do
28869 IFS=$as_save_IFS
28870 test -z "$as_dir" && as_dir=.
28871 for ac_exec_ext in '' $ac_executable_extensions; do
28872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28873 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28875 break 2
28876 fi
28877 done
28878 done
28879
28880 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28881 ;;
28882 esac
28883 fi
28884 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28885
28886 if test -n "$PKG_CONFIG"; then
28887 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28888 echo "${ECHO_T}$PKG_CONFIG" >&6
28889 else
28890 echo "$as_me:$LINENO: result: no" >&5
28891 echo "${ECHO_T}no" >&6
28892 fi
28893
28894
28895 if test x$PKG_CONFIG != xno ; then
28896 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28897 :
28898 else
28899 echo "*** pkg-config too old; version 0.7 or better required."
28900 no_gtk=yes
28901 PKG_CONFIG=no
28902 fi
28903 else
28904 no_gtk=yes
28905 fi
28906
28907 min_gtk_version=2.0.0
28908 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28909 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28910
28911 if test x$PKG_CONFIG != xno ; then
28912 ## don't try to run the test against uninstalled libtool libs
28913 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28914 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28915 enable_gtktest=no
28916 fi
28917
28918 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28919 :
28920 else
28921 no_gtk=yes
28922 fi
28923 fi
28924
28925 if test x"$no_gtk" = x ; then
28926 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28927 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28928 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28930 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28932 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28934 if test "x$enable_gtktest" = "xyes" ; then
28935 ac_save_CFLAGS="$CFLAGS"
28936 ac_save_LIBS="$LIBS"
28937 CFLAGS="$CFLAGS $GTK_CFLAGS"
28938 LIBS="$GTK_LIBS $LIBS"
28939 rm -f conf.gtktest
28940 if test "$cross_compiling" = yes; then
28941 echo $ac_n "cross compiling; assumed OK... $ac_c"
28942 else
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949
28950 #include <gtk/gtk.h>
28951 #include <stdio.h>
28952 #include <stdlib.h>
28953
28954 int
28955 main ()
28956 {
28957 int major, minor, micro;
28958 char *tmp_version;
28959
28960 system ("touch conf.gtktest");
28961
28962 /* HP/UX 9 (%@#!) writes to sscanf strings */
28963 tmp_version = g_strdup("$min_gtk_version");
28964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28965 printf("%s, bad version string\n", "$min_gtk_version");
28966 exit(1);
28967 }
28968
28969 if ((gtk_major_version != $gtk_config_major_version) ||
28970 (gtk_minor_version != $gtk_config_minor_version) ||
28971 (gtk_micro_version != $gtk_config_micro_version))
28972 {
28973 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28974 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28975 gtk_major_version, gtk_minor_version, gtk_micro_version);
28976 printf ("*** was found! If pkg-config was correct, then it is best\n");
28977 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28978 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28979 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28980 printf("*** required on your system.\n");
28981 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28982 printf("*** to point to the correct configuration files\n");
28983 }
28984 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28985 (gtk_minor_version != GTK_MINOR_VERSION) ||
28986 (gtk_micro_version != GTK_MICRO_VERSION))
28987 {
28988 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28989 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28990 printf("*** library (version %d.%d.%d)\n",
28991 gtk_major_version, gtk_minor_version, gtk_micro_version);
28992 }
28993 else
28994 {
28995 if ((gtk_major_version > major) ||
28996 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28997 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28998 {
28999 return 0;
29000 }
29001 else
29002 {
29003 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29004 gtk_major_version, gtk_minor_version, gtk_micro_version);
29005 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29006 major, minor, micro);
29007 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29008 printf("***\n");
29009 printf("*** If you have already installed a sufficiently new version, this error\n");
29010 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29011 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29012 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29013 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29014 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29015 printf("*** so that the correct libraries are found at run-time))\n");
29016 }
29017 }
29018 return 1;
29019 }
29020
29021 _ACEOF
29022 rm -f conftest$ac_exeext
29023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29024 (eval $ac_link) 2>&5
29025 ac_status=$?
29026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29027 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29030 ac_status=$?
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033 :
29034 else
29035 echo "$as_me: program exited with status $ac_status" >&5
29036 echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.$ac_ext >&5
29038
29039 ( exit $ac_status )
29040 no_gtk=yes
29041 fi
29042 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29043 fi
29044 CFLAGS="$ac_save_CFLAGS"
29045 LIBS="$ac_save_LIBS"
29046 fi
29047 fi
29048 if test "x$no_gtk" = x ; then
29049 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29050 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
29051 wx_cv_lib_gtk=2.0
29052 else
29053 echo "$as_me:$LINENO: result: no" >&5
29054 echo "${ECHO_T}no" >&6
29055 if test "$PKG_CONFIG" = "no" ; then
29056 echo "*** A new enough version of pkg-config was not found."
29057 echo "*** See http://pkgconfig.sourceforge.net"
29058 else
29059 if test -f conf.gtktest ; then
29060 :
29061 else
29062 echo "*** Could not run GTK+ test program, checking why..."
29063 ac_save_CFLAGS="$CFLAGS"
29064 ac_save_LIBS="$LIBS"
29065 CFLAGS="$CFLAGS $GTK_CFLAGS"
29066 LIBS="$LIBS $GTK_LIBS"
29067 cat >conftest.$ac_ext <<_ACEOF
29068 /* confdefs.h. */
29069 _ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073
29074 #include <gtk/gtk.h>
29075 #include <stdio.h>
29076
29077 int
29078 main ()
29079 {
29080 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29081 ;
29082 return 0;
29083 }
29084 _ACEOF
29085 rm -f conftest.$ac_objext conftest$ac_exeext
29086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29087 (eval $ac_link) 2>conftest.er1
29088 ac_status=$?
29089 grep -v '^ *+' conftest.er1 >conftest.err
29090 rm -f conftest.er1
29091 cat conftest.err >&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); } &&
29094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; } &&
29100 { ac_try='test -s conftest$ac_exeext'
29101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29102 (eval $ac_try) 2>&5
29103 ac_status=$?
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; }; then
29106 echo "*** The test program compiled, but did not run. This usually means"
29107 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29108 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29109 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29110 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29111 echo "*** is required on your system"
29112 echo "***"
29113 echo "*** If you have an old version installed, it is best to remove it, although"
29114 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29115 else
29116 echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29118
29119 echo "*** The test program failed to compile or link. See the file config.log for the"
29120 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29121 fi
29122 rm -f conftest.err conftest.$ac_objext \
29123 conftest$ac_exeext conftest.$ac_ext
29124 CFLAGS="$ac_save_CFLAGS"
29125 LIBS="$ac_save_LIBS"
29126 fi
29127 fi
29128 GTK_CFLAGS=""
29129 GTK_LIBS=""
29130 :
29131 fi
29132
29133
29134 rm -f conf.gtktest
29135
29136
29137 case "${host}" in
29138 *-*-solaris2* )
29139 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29140 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29141 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29142 fi
29143 if test "$wxUSE_SHARED" != "yes"; then
29144 GTK_LIBS="$GTK_LIBS -lX11"
29145 fi
29146 esac
29147 fi
29148
29149 if test -z "$wx_cv_lib_gtk"; then
29150 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29151
29152 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29153 if test "${with_gtk_prefix+set}" = set; then
29154 withval="$with_gtk_prefix"
29155 gtk_config_prefix="$withval"
29156 else
29157 gtk_config_prefix=""
29158 fi;
29159
29160 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29161 if test "${with_gtk_exec_prefix+set}" = set; then
29162 withval="$with_gtk_exec_prefix"
29163 gtk_config_exec_prefix="$withval"
29164 else
29165 gtk_config_exec_prefix=""
29166 fi;
29167 # Check whether --enable-gtktest or --disable-gtktest was given.
29168 if test "${enable_gtktest+set}" = set; then
29169 enableval="$enable_gtktest"
29170
29171 else
29172 enable_gtktest=yes
29173 fi;
29174
29175 for module in . $GTK_MODULES
29176 do
29177 case "$module" in
29178 gthread)
29179 gtk_config_args="$gtk_config_args gthread"
29180 ;;
29181 esac
29182 done
29183
29184 if test x$gtk_config_exec_prefix != x ; then
29185 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29186 if test x${GTK_CONFIG+set} != xset ; then
29187 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29188 fi
29189 fi
29190 if test x$gtk_config_prefix != x ; then
29191 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29192 if test x${GTK_CONFIG+set} != xset ; then
29193 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29194 fi
29195 fi
29196
29197 # Extract the first word of "gtk-config", so it can be a program name with args.
29198 set dummy gtk-config; ac_word=$2
29199 echo "$as_me:$LINENO: checking for $ac_word" >&5
29200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29201 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 else
29204 case $GTK_CONFIG in
29205 [\\/]* | ?:[\\/]*)
29206 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29207 ;;
29208 *)
29209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29210 for as_dir in $PATH
29211 do
29212 IFS=$as_save_IFS
29213 test -z "$as_dir" && as_dir=.
29214 for ac_exec_ext in '' $ac_executable_extensions; do
29215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29216 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29218 break 2
29219 fi
29220 done
29221 done
29222
29223 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29224 ;;
29225 esac
29226 fi
29227 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29228
29229 if test -n "$GTK_CONFIG"; then
29230 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29231 echo "${ECHO_T}$GTK_CONFIG" >&6
29232 else
29233 echo "$as_me:$LINENO: result: no" >&5
29234 echo "${ECHO_T}no" >&6
29235 fi
29236
29237 min_gtk_version=1.2.7
29238 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29239 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29240 no_gtk=""
29241 if test "$GTK_CONFIG" = "no" ; then
29242 no_gtk=yes
29243 else
29244 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29245 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29246 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29248 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29250 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29252 if test "x$enable_gtktest" = "xyes" ; then
29253 ac_save_CFLAGS="$CFLAGS"
29254 ac_save_LIBS="$LIBS"
29255 CFLAGS="$CFLAGS $GTK_CFLAGS"
29256 LIBS="$GTK_LIBS $LIBS"
29257 rm -f conf.gtktest
29258 if test "$cross_compiling" = yes; then
29259 echo $ac_n "cross compiling; assumed OK... $ac_c"
29260 else
29261 cat >conftest.$ac_ext <<_ACEOF
29262 /* confdefs.h. */
29263 _ACEOF
29264 cat confdefs.h >>conftest.$ac_ext
29265 cat >>conftest.$ac_ext <<_ACEOF
29266 /* end confdefs.h. */
29267
29268 #include <gtk/gtk.h>
29269 #include <stdio.h>
29270 #include <stdlib.h>
29271
29272 int
29273 main ()
29274 {
29275 int major, minor, micro;
29276 char *tmp_version;
29277
29278 system ("touch conf.gtktest");
29279
29280 /* HP/UX 9 (%@#!) writes to sscanf strings */
29281 tmp_version = g_strdup("$min_gtk_version");
29282 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29283 printf("%s, bad version string\n", "$min_gtk_version");
29284 exit(1);
29285 }
29286
29287 if ((gtk_major_version != $gtk_config_major_version) ||
29288 (gtk_minor_version != $gtk_config_minor_version) ||
29289 (gtk_micro_version != $gtk_config_micro_version))
29290 {
29291 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29293 gtk_major_version, gtk_minor_version, gtk_micro_version);
29294 printf ("*** was found! If gtk-config was correct, then it is best\n");
29295 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29296 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29297 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29298 printf("*** required on your system.\n");
29299 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29300 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29301 printf("*** before re-running configure\n");
29302 }
29303 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29304 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29305 (gtk_minor_version != GTK_MINOR_VERSION) ||
29306 (gtk_micro_version != GTK_MICRO_VERSION))
29307 {
29308 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29309 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29310 printf("*** library (version %d.%d.%d)\n",
29311 gtk_major_version, gtk_minor_version, gtk_micro_version);
29312 }
29313 #endif /* defined (GTK_MAJOR_VERSION) ... */
29314 else
29315 {
29316 if ((gtk_major_version > major) ||
29317 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29318 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29319 {
29320 return 0;
29321 }
29322 else
29323 {
29324 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29325 gtk_major_version, gtk_minor_version, gtk_micro_version);
29326 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29327 major, minor, micro);
29328 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29329 printf("***\n");
29330 printf("*** If you have already installed a sufficiently new version, this error\n");
29331 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29332 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29333 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29334 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29335 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29336 printf("*** so that the correct libraries are found at run-time))\n");
29337 }
29338 }
29339 return 1;
29340 }
29341
29342 _ACEOF
29343 rm -f conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29351 ac_status=$?
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; }; then
29354 :
29355 else
29356 echo "$as_me: program exited with status $ac_status" >&5
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.$ac_ext >&5
29359
29360 ( exit $ac_status )
29361 no_gtk=yes
29362 fi
29363 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29364 fi
29365 CFLAGS="$ac_save_CFLAGS"
29366 LIBS="$ac_save_LIBS"
29367 fi
29368 fi
29369 if test "x$no_gtk" = x ; then
29370 echo "$as_me:$LINENO: result: yes" >&5
29371 echo "${ECHO_T}yes" >&6
29372 wx_cv_lib_gtk=1.2.7
29373 else
29374 echo "$as_me:$LINENO: result: no" >&5
29375 echo "${ECHO_T}no" >&6
29376 if test "$GTK_CONFIG" = "no" ; then
29377 echo "*** The gtk-config script installed by GTK could not be found"
29378 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29379 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29380 echo "*** full path to gtk-config."
29381 else
29382 if test -f conf.gtktest ; then
29383 :
29384 else
29385 echo "*** Could not run GTK test program, checking why..."
29386 CFLAGS="$CFLAGS $GTK_CFLAGS"
29387 LIBS="$LIBS $GTK_LIBS"
29388 cat >conftest.$ac_ext <<_ACEOF
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394
29395 #include <gtk/gtk.h>
29396 #include <stdio.h>
29397
29398 int
29399 main ()
29400 {
29401 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29402 ;
29403 return 0;
29404 }
29405 _ACEOF
29406 rm -f conftest.$ac_objext conftest$ac_exeext
29407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29408 (eval $ac_link) 2>conftest.er1
29409 ac_status=$?
29410 grep -v '^ *+' conftest.er1 >conftest.err
29411 rm -f conftest.er1
29412 cat conftest.err >&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } &&
29415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; } &&
29421 { ac_try='test -s conftest$ac_exeext'
29422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29423 (eval $ac_try) 2>&5
29424 ac_status=$?
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); }; }; then
29427 echo "*** The test program compiled, but did not run. This usually means"
29428 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29429 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29430 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29431 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29432 echo "*** is required on your system"
29433 echo "***"
29434 echo "*** If you have an old version installed, it is best to remove it, although"
29435 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29436 echo "***"
29437 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29438 echo "*** came with the system with the command"
29439 echo "***"
29440 echo "*** rpm --erase --nodeps gtk gtk-devel"
29441 else
29442 echo "$as_me: failed program was:" >&5
29443 sed 's/^/| /' conftest.$ac_ext >&5
29444
29445 echo "*** The test program failed to compile or link. See the file config.log for the"
29446 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29447 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29448 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29449 fi
29450 rm -f conftest.err conftest.$ac_objext \
29451 conftest$ac_exeext conftest.$ac_ext
29452 CFLAGS="$ac_save_CFLAGS"
29453 LIBS="$ac_save_LIBS"
29454 fi
29455 fi
29456 GTK_CFLAGS=""
29457 GTK_LIBS=""
29458 :
29459 fi
29460
29461
29462 rm -f conf.gtktest
29463
29464
29465 if test -z "$wx_cv_lib_gtk"; then
29466
29467 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29468 if test "${with_gtk_prefix+set}" = set; then
29469 withval="$with_gtk_prefix"
29470 gtk_config_prefix="$withval"
29471 else
29472 gtk_config_prefix=""
29473 fi;
29474
29475 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29476 if test "${with_gtk_exec_prefix+set}" = set; then
29477 withval="$with_gtk_exec_prefix"
29478 gtk_config_exec_prefix="$withval"
29479 else
29480 gtk_config_exec_prefix=""
29481 fi;
29482 # Check whether --enable-gtktest or --disable-gtktest was given.
29483 if test "${enable_gtktest+set}" = set; then
29484 enableval="$enable_gtktest"
29485
29486 else
29487 enable_gtktest=yes
29488 fi;
29489
29490 for module in . $GTK_MODULES
29491 do
29492 case "$module" in
29493 gthread)
29494 gtk_config_args="$gtk_config_args gthread"
29495 ;;
29496 esac
29497 done
29498
29499 if test x$gtk_config_exec_prefix != x ; then
29500 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29501 if test x${GTK_CONFIG+set} != xset ; then
29502 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29503 fi
29504 fi
29505 if test x$gtk_config_prefix != x ; then
29506 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29507 if test x${GTK_CONFIG+set} != xset ; then
29508 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29509 fi
29510 fi
29511
29512 # Extract the first word of "gtk-config", so it can be a program name with args.
29513 set dummy gtk-config; ac_word=$2
29514 echo "$as_me:$LINENO: checking for $ac_word" >&5
29515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29516 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 else
29519 case $GTK_CONFIG in
29520 [\\/]* | ?:[\\/]*)
29521 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29522 ;;
29523 *)
29524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29525 for as_dir in $PATH
29526 do
29527 IFS=$as_save_IFS
29528 test -z "$as_dir" && as_dir=.
29529 for ac_exec_ext in '' $ac_executable_extensions; do
29530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29531 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29533 break 2
29534 fi
29535 done
29536 done
29537
29538 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29539 ;;
29540 esac
29541 fi
29542 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29543
29544 if test -n "$GTK_CONFIG"; then
29545 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29546 echo "${ECHO_T}$GTK_CONFIG" >&6
29547 else
29548 echo "$as_me:$LINENO: result: no" >&5
29549 echo "${ECHO_T}no" >&6
29550 fi
29551
29552 min_gtk_version=1.2.3
29553 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29554 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29555 no_gtk=""
29556 if test "$GTK_CONFIG" = "no" ; then
29557 no_gtk=yes
29558 else
29559 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29560 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29561 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29563 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29565 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29567 if test "x$enable_gtktest" = "xyes" ; then
29568 ac_save_CFLAGS="$CFLAGS"
29569 ac_save_LIBS="$LIBS"
29570 CFLAGS="$CFLAGS $GTK_CFLAGS"
29571 LIBS="$GTK_LIBS $LIBS"
29572 rm -f conf.gtktest
29573 if test "$cross_compiling" = yes; then
29574 echo $ac_n "cross compiling; assumed OK... $ac_c"
29575 else
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582
29583 #include <gtk/gtk.h>
29584 #include <stdio.h>
29585 #include <stdlib.h>
29586
29587 int
29588 main ()
29589 {
29590 int major, minor, micro;
29591 char *tmp_version;
29592
29593 system ("touch conf.gtktest");
29594
29595 /* HP/UX 9 (%@#!) writes to sscanf strings */
29596 tmp_version = g_strdup("$min_gtk_version");
29597 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29598 printf("%s, bad version string\n", "$min_gtk_version");
29599 exit(1);
29600 }
29601
29602 if ((gtk_major_version != $gtk_config_major_version) ||
29603 (gtk_minor_version != $gtk_config_minor_version) ||
29604 (gtk_micro_version != $gtk_config_micro_version))
29605 {
29606 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29607 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29608 gtk_major_version, gtk_minor_version, gtk_micro_version);
29609 printf ("*** was found! If gtk-config was correct, then it is best\n");
29610 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29611 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29612 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29613 printf("*** required on your system.\n");
29614 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29615 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29616 printf("*** before re-running configure\n");
29617 }
29618 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29619 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29620 (gtk_minor_version != GTK_MINOR_VERSION) ||
29621 (gtk_micro_version != GTK_MICRO_VERSION))
29622 {
29623 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29624 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29625 printf("*** library (version %d.%d.%d)\n",
29626 gtk_major_version, gtk_minor_version, gtk_micro_version);
29627 }
29628 #endif /* defined (GTK_MAJOR_VERSION) ... */
29629 else
29630 {
29631 if ((gtk_major_version > major) ||
29632 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29633 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29634 {
29635 return 0;
29636 }
29637 else
29638 {
29639 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29640 gtk_major_version, gtk_minor_version, gtk_micro_version);
29641 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29642 major, minor, micro);
29643 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29644 printf("***\n");
29645 printf("*** If you have already installed a sufficiently new version, this error\n");
29646 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29647 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29648 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29649 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29650 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29651 printf("*** so that the correct libraries are found at run-time))\n");
29652 }
29653 }
29654 return 1;
29655 }
29656
29657 _ACEOF
29658 rm -f conftest$ac_exeext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29660 (eval $ac_link) 2>&5
29661 ac_status=$?
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29666 ac_status=$?
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; }; then
29669 :
29670 else
29671 echo "$as_me: program exited with status $ac_status" >&5
29672 echo "$as_me: failed program was:" >&5
29673 sed 's/^/| /' conftest.$ac_ext >&5
29674
29675 ( exit $ac_status )
29676 no_gtk=yes
29677 fi
29678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29679 fi
29680 CFLAGS="$ac_save_CFLAGS"
29681 LIBS="$ac_save_LIBS"
29682 fi
29683 fi
29684 if test "x$no_gtk" = x ; then
29685 echo "$as_me:$LINENO: result: yes" >&5
29686 echo "${ECHO_T}yes" >&6
29687 wx_cv_lib_gtk=1.2.3
29688 else
29689 echo "$as_me:$LINENO: result: no" >&5
29690 echo "${ECHO_T}no" >&6
29691 if test "$GTK_CONFIG" = "no" ; then
29692 echo "*** The gtk-config script installed by GTK could not be found"
29693 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29694 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29695 echo "*** full path to gtk-config."
29696 else
29697 if test -f conf.gtktest ; then
29698 :
29699 else
29700 echo "*** Could not run GTK test program, checking why..."
29701 CFLAGS="$CFLAGS $GTK_CFLAGS"
29702 LIBS="$LIBS $GTK_LIBS"
29703 cat >conftest.$ac_ext <<_ACEOF
29704 /* confdefs.h. */
29705 _ACEOF
29706 cat confdefs.h >>conftest.$ac_ext
29707 cat >>conftest.$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29709
29710 #include <gtk/gtk.h>
29711 #include <stdio.h>
29712
29713 int
29714 main ()
29715 {
29716 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29717 ;
29718 return 0;
29719 }
29720 _ACEOF
29721 rm -f conftest.$ac_objext conftest$ac_exeext
29722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29723 (eval $ac_link) 2>conftest.er1
29724 ac_status=$?
29725 grep -v '^ *+' conftest.er1 >conftest.err
29726 rm -f conftest.er1
29727 cat conftest.err >&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); } &&
29730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29733 ac_status=$?
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; } &&
29736 { ac_try='test -s conftest$ac_exeext'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29739 ac_status=$?
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }; then
29742 echo "*** The test program compiled, but did not run. This usually means"
29743 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29744 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29745 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29746 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29747 echo "*** is required on your system"
29748 echo "***"
29749 echo "*** If you have an old version installed, it is best to remove it, although"
29750 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29751 echo "***"
29752 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29753 echo "*** came with the system with the command"
29754 echo "***"
29755 echo "*** rpm --erase --nodeps gtk gtk-devel"
29756 else
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29759
29760 echo "*** The test program failed to compile or link. See the file config.log for the"
29761 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29762 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29763 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29764 fi
29765 rm -f conftest.err conftest.$ac_objext \
29766 conftest$ac_exeext conftest.$ac_ext
29767 CFLAGS="$ac_save_CFLAGS"
29768 LIBS="$ac_save_LIBS"
29769 fi
29770 fi
29771 GTK_CFLAGS=""
29772 GTK_LIBS=""
29773 :
29774 fi
29775
29776
29777 rm -f conf.gtktest
29778
29779 fi
29780 fi
29781 fi
29782
29783 if test -z "$wx_cv_lib_gtk"; then
29784 wx_cv_lib_gtk=none
29785 else
29786 wx_cv_cflags_gtk=$GTK_CFLAGS
29787 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29788 fi
29789
29790
29791 fi
29792
29793
29794 if test "$gtk_version_cached" = 1; then
29795 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29796 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29797 fi
29798
29799 case "$wx_cv_lib_gtk" in
29800 2.0) WXGTK20=1
29801 TOOLKIT_VERSION=2
29802 ;;
29803 1.2.7) WXGTK127=1
29804 WXGTK12=1
29805 ;;
29806 1.2.3) WXGTK12=1
29807 ;;
29808 *) { { echo "$as_me:$LINENO: error:
29809 The development files for GTK+ were not found. For GTK+ 2, please
29810 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29811 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29812 and that the version is 1.2.3 or above. Also check that the
29813 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29814 --libs' are in the LD_LIBRARY_PATH or equivalent.
29815 " >&5
29816 echo "$as_me: error:
29817 The development files for GTK+ were not found. For GTK+ 2, please
29818 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29819 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29820 and that the version is 1.2.3 or above. Also check that the
29821 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29822 --libs' are in the LD_LIBRARY_PATH or equivalent.
29823 " >&2;}
29824 { (exit 1); exit 1; }; }
29825 ;;
29826 esac
29827
29828 if test "$WXGTK20" = 1; then
29829 save_CFLAGS="$CFLAGS"
29830 save_LIBS="$LIBS"
29831 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29832 LIBS="$LIBS $wx_cv_libs_gtk"
29833
29834 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29835 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29836 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 else
29839 cat >conftest.$ac_ext <<_ACEOF
29840 /* confdefs.h. */
29841 _ACEOF
29842 cat confdefs.h >>conftest.$ac_ext
29843 cat >>conftest.$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29845 #include <gtk/gtk.h>
29846
29847 int
29848 main ()
29849 {
29850 #ifndef gtk_icon_size_lookup
29851 char *p = (char *) gtk_icon_size_lookup;
29852 #endif
29853
29854 ;
29855 return 0;
29856 }
29857 _ACEOF
29858 rm -f conftest.$ac_objext
29859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29860 (eval $ac_compile) 2>conftest.er1
29861 ac_status=$?
29862 grep -v '^ *+' conftest.er1 >conftest.err
29863 rm -f conftest.er1
29864 cat conftest.err >&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); } &&
29867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29869 (eval $ac_try) 2>&5
29870 ac_status=$?
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); }; } &&
29873 { ac_try='test -s conftest.$ac_objext'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; }; then
29879 ac_cv_have_decl_gtk_icon_size_lookup=yes
29880 else
29881 echo "$as_me: failed program was:" >&5
29882 sed 's/^/| /' conftest.$ac_ext >&5
29883
29884 ac_cv_have_decl_gtk_icon_size_lookup=no
29885 fi
29886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29887 fi
29888 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29889 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29890 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29891
29892 cat >>confdefs.h <<_ACEOF
29893 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29894 _ACEOF
29895
29896
29897 else
29898 cat >>confdefs.h <<_ACEOF
29899 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29900 _ACEOF
29901
29902 cat >>confdefs.h <<\_ACEOF
29903 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29904 _ACEOF
29905
29906 fi
29907
29908
29909
29910 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29911 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918
29919 #include <gtk/gtk.h>
29920
29921 int
29922 main ()
29923 {
29924
29925 #if !GTK_CHECK_VERSION(2,6,0)
29926 Not GTK+ 2.6
29927 #endif
29928
29929 ;
29930 return 0;
29931 }
29932 _ACEOF
29933 rm -f conftest.$ac_objext
29934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29935 (eval $ac_compile) 2>conftest.er1
29936 ac_status=$?
29937 grep -v '^ *+' conftest.er1 >conftest.err
29938 rm -f conftest.er1
29939 cat conftest.err >&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29945 ac_status=$?
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; } &&
29948 { ac_try='test -s conftest.$ac_objext'
29949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29950 (eval $ac_try) 2>&5
29951 ac_status=$?
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29954
29955 cat >>confdefs.h <<\_ACEOF
29956 #define __WXGTK26__ 1
29957 _ACEOF
29958
29959 cat >>confdefs.h <<\_ACEOF
29960 #define __WXGTK24__ 1
29961 _ACEOF
29962
29963 echo "$as_me:$LINENO: result: yes" >&5
29964 echo "${ECHO_T}yes" >&6
29965 ac_wxgtk26=1
29966
29967 else
29968 echo "$as_me: failed program was:" >&5
29969 sed 's/^/| /' conftest.$ac_ext >&5
29970
29971
29972 echo "$as_me:$LINENO: result: no" >&5
29973 echo "${ECHO_T}no" >&6
29974 ac_wxgtk26=0
29975
29976 fi
29977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29978
29979 if test "$ac_wxgtk26" = 0; then
29980 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29981 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29982 cat >conftest.$ac_ext <<_ACEOF
29983 /* confdefs.h. */
29984 _ACEOF
29985 cat confdefs.h >>conftest.$ac_ext
29986 cat >>conftest.$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29988
29989 #include <gtk/gtk.h>
29990
29991 int
29992 main ()
29993 {
29994
29995 #if !GTK_CHECK_VERSION(2,4,0)
29996 Not GTK+ 2.4
29997 #endif
29998
29999 ;
30000 return 0;
30001 }
30002 _ACEOF
30003 rm -f conftest.$ac_objext
30004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30005 (eval $ac_compile) 2>conftest.er1
30006 ac_status=$?
30007 grep -v '^ *+' conftest.er1 >conftest.err
30008 rm -f conftest.er1
30009 cat conftest.err >&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); } &&
30012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30014 (eval $ac_try) 2>&5
30015 ac_status=$?
30016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017 (exit $ac_status); }; } &&
30018 { ac_try='test -s conftest.$ac_objext'
30019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30020 (eval $ac_try) 2>&5
30021 ac_status=$?
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); }; }; then
30024
30025 cat >>confdefs.h <<\_ACEOF
30026 #define __WXGTK24__ 1
30027 _ACEOF
30028
30029 echo "$as_me:$LINENO: result: yes" >&5
30030 echo "${ECHO_T}yes" >&6
30031
30032 else
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30035
30036
30037 echo "$as_me:$LINENO: result: no" >&5
30038 echo "${ECHO_T}no" >&6
30039
30040 fi
30041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30042 fi
30043
30044 CFLAGS="$save_CFLAGS"
30045 LIBS="$save_LIBS"
30046 else
30047 if test "$wxUSE_UNICODE" = "yes"; then
30048 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30049 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30050 wxUSE_UNICODE=no
30051 fi
30052
30053 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30054 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
30055 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30056 echo $ECHO_N "(cached) $ECHO_C" >&6
30057 else
30058 ac_check_lib_save_LIBS=$LIBS
30059 LIBS="-lgdk $LIBS"
30060 cat >conftest.$ac_ext <<_ACEOF
30061 /* confdefs.h. */
30062 _ACEOF
30063 cat confdefs.h >>conftest.$ac_ext
30064 cat >>conftest.$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30066
30067 /* Override any gcc2 internal prototype to avoid an error. */
30068 #ifdef __cplusplus
30069 extern "C"
30070 #endif
30071 /* We use char because int might match the return type of a gcc2
30072 builtin and then its argument prototype would still apply. */
30073 char gdk_im_open ();
30074 int
30075 main ()
30076 {
30077 gdk_im_open ();
30078 ;
30079 return 0;
30080 }
30081 _ACEOF
30082 rm -f conftest.$ac_objext conftest$ac_exeext
30083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30084 (eval $ac_link) 2>conftest.er1
30085 ac_status=$?
30086 grep -v '^ *+' conftest.er1 >conftest.err
30087 rm -f conftest.er1
30088 cat conftest.err >&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } &&
30091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30093 (eval $ac_try) 2>&5
30094 ac_status=$?
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); }; } &&
30097 { ac_try='test -s conftest$ac_exeext'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30100 ac_status=$?
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; }; then
30103 ac_cv_lib_gdk_gdk_im_open=yes
30104 else
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.$ac_ext >&5
30107
30108 ac_cv_lib_gdk_gdk_im_open=no
30109 fi
30110 rm -f conftest.err conftest.$ac_objext \
30111 conftest$ac_exeext conftest.$ac_ext
30112 LIBS=$ac_check_lib_save_LIBS
30113 fi
30114 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30115 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
30116 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30117 cat >>confdefs.h <<\_ACEOF
30118 #define HAVE_XIM 1
30119 _ACEOF
30120
30121 fi
30122
30123 fi
30124
30125 ac_ext=cc
30126 ac_cpp='$CXXCPP $CPPFLAGS'
30127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30130
30131
30132 if test "$USE_DARWIN" != 1; then
30133
30134 for ac_func in poll
30135 do
30136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30137 echo "$as_me:$LINENO: checking for $ac_func" >&5
30138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30139 if eval "test \"\${$as_ac_var+set}\" = set"; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 else
30142 cat >conftest.$ac_ext <<_ACEOF
30143 /* confdefs.h. */
30144 _ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30150 #define $ac_func innocuous_$ac_func
30151
30152 /* System header to define __stub macros and hopefully few prototypes,
30153 which can conflict with char $ac_func (); below.
30154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30155 <limits.h> exists even on freestanding compilers. */
30156
30157 #ifdef __STDC__
30158 # include <limits.h>
30159 #else
30160 # include <assert.h>
30161 #endif
30162
30163 #undef $ac_func
30164
30165 /* Override any gcc2 internal prototype to avoid an error. */
30166 #ifdef __cplusplus
30167 extern "C"
30168 {
30169 #endif
30170 /* We use char because int might match the return type of a gcc2
30171 builtin and then its argument prototype would still apply. */
30172 char $ac_func ();
30173 /* The GNU C library defines this for functions which it implements
30174 to always fail with ENOSYS. Some functions are actually named
30175 something starting with __ and the normal name is an alias. */
30176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30177 choke me
30178 #else
30179 char (*f) () = $ac_func;
30180 #endif
30181 #ifdef __cplusplus
30182 }
30183 #endif
30184
30185 int
30186 main ()
30187 {
30188 return f != $ac_func;
30189 ;
30190 return 0;
30191 }
30192 _ACEOF
30193 rm -f conftest.$ac_objext conftest$ac_exeext
30194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30195 (eval $ac_link) 2>conftest.er1
30196 ac_status=$?
30197 grep -v '^ *+' conftest.er1 >conftest.err
30198 rm -f conftest.er1
30199 cat conftest.err >&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); } &&
30202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; } &&
30208 { ac_try='test -s conftest$ac_exeext'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 eval "$as_ac_var=yes"
30215 else
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.$ac_ext >&5
30218
30219 eval "$as_ac_var=no"
30220 fi
30221 rm -f conftest.err conftest.$ac_objext \
30222 conftest$ac_exeext conftest.$ac_ext
30223 fi
30224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30226 if test `eval echo '${'$as_ac_var'}'` = yes; then
30227 cat >>confdefs.h <<_ACEOF
30228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30229 _ACEOF
30230
30231 fi
30232 done
30233
30234 fi
30235
30236 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30237 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30238
30239 AFMINSTALL=afminstall
30240 TOOLKIT=GTK
30241 GUIDIST=GTK_DIST
30242
30243 if test "$wxUSE_GPE" = "yes"; then
30244 echo "$as_me:$LINENO: checking for gpewidget library" >&5
30245 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
30246
30247 ac_find_libraries=
30248 for ac_dir in $SEARCH_LIB;
30249 do
30250 for ac_extension in a so sl dylib dll.a; do
30251 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30252 ac_find_libraries=$ac_dir
30253 break 2
30254 fi
30255 done
30256 done
30257
30258 if test "$ac_find_libraries" != "" ; then
30259
30260 if test "$ac_find_libraries" = "default location"; then
30261 ac_path_to_link=""
30262 else
30263 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30264 result=$?
30265 if test $result = 0; then
30266 ac_path_to_link=""
30267 else
30268 ac_path_to_link=" -L$ac_find_libraries"
30269 fi
30270 fi
30271
30272 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30273 WXGPE=1
30274 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30275 echo "${ECHO_T}found in $ac_find_libraries" >&6
30276 else
30277 echo "$as_me:$LINENO: result: not found" >&5
30278 echo "${ECHO_T}not found" >&6
30279 fi
30280
30281 fi
30282 fi
30283
30284 if test "$wxUSE_MGL" = 1; then
30285 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30286 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
30287 if test "x$MGL_ROOT" = x ; then
30288 echo "$as_me:$LINENO: result: not found" >&5
30289 echo "${ECHO_T}not found" >&6
30290 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30291 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30292 { (exit 1); exit 1; }; }
30293 else
30294 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30295 echo "${ECHO_T}$MGL_ROOT" >&6
30296 fi
30297
30298 echo "$as_me:$LINENO: checking for libmgl location" >&5
30299 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
30300 case "${host}" in
30301 *-*-linux* )
30302 if test "x$wxUSE_SHARED" = xyes ; then
30303 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30304 else
30305 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30306 fi
30307 ;;
30308 *-pc-msdosdjgpp )
30309 mgl_os_candidates="dos32/dj2"
30310 ;;
30311 *)
30312 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30313 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30314 { (exit 1); exit 1; }; }
30315 esac
30316
30317 mgl_lib_type=""
30318 mgl_os=""
30319
30320 for mgl_os_i in $mgl_os_candidates ; do
30321 if test "x$mgl_os" = x ; then
30322 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30323 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30324 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30325 mgl_lib_type=debug
30326 mgl_os=$mgl_os_i
30327 fi
30328 fi
30329 if test "x$mgl_lib_type" = x ; then
30330 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30331 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30332 mgl_lib_type=release
30333 mgl_os=$mgl_os_i
30334 fi
30335 fi
30336 fi
30337 done
30338
30339 if test "x$mgl_os" = x ; then
30340 echo "$as_me:$LINENO: result: not found" >&5
30341 echo "${ECHO_T}not found" >&6
30342 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30343 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30344 { (exit 1); exit 1; }; }
30345 fi
30346 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30347 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
30348
30349 wxUSE_UNIVERSAL="yes"
30350
30351 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30352 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30353
30354 AFMINSTALL=afminstall
30355 TOOLKIT=MGL
30356 GUIDIST=MGL_DIST
30357 fi
30358
30359 if test "$wxUSE_DFB" = 1; then
30360
30361
30362 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30363 if test -n "$ac_tool_prefix"; then
30364 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30365 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30366 echo "$as_me:$LINENO: checking for $ac_word" >&5
30367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30368 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30370 else
30371 case $PKG_CONFIG in
30372 [\\/]* | ?:[\\/]*)
30373 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30374 ;;
30375 *)
30376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30377 for as_dir in $PATH
30378 do
30379 IFS=$as_save_IFS
30380 test -z "$as_dir" && as_dir=.
30381 for ac_exec_ext in '' $ac_executable_extensions; do
30382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30383 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30385 break 2
30386 fi
30387 done
30388 done
30389
30390 ;;
30391 esac
30392 fi
30393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30394
30395 if test -n "$PKG_CONFIG"; then
30396 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30397 echo "${ECHO_T}$PKG_CONFIG" >&6
30398 else
30399 echo "$as_me:$LINENO: result: no" >&5
30400 echo "${ECHO_T}no" >&6
30401 fi
30402
30403 fi
30404 if test -z "$ac_cv_path_PKG_CONFIG"; then
30405 ac_pt_PKG_CONFIG=$PKG_CONFIG
30406 # Extract the first word of "pkg-config", so it can be a program name with args.
30407 set dummy pkg-config; ac_word=$2
30408 echo "$as_me:$LINENO: checking for $ac_word" >&5
30409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30410 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30411 echo $ECHO_N "(cached) $ECHO_C" >&6
30412 else
30413 case $ac_pt_PKG_CONFIG in
30414 [\\/]* | ?:[\\/]*)
30415 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30416 ;;
30417 *)
30418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30419 for as_dir in $PATH
30420 do
30421 IFS=$as_save_IFS
30422 test -z "$as_dir" && as_dir=.
30423 for ac_exec_ext in '' $ac_executable_extensions; do
30424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30425 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30427 break 2
30428 fi
30429 done
30430 done
30431
30432 ;;
30433 esac
30434 fi
30435 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30436
30437 if test -n "$ac_pt_PKG_CONFIG"; then
30438 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30439 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30440 else
30441 echo "$as_me:$LINENO: result: no" >&5
30442 echo "${ECHO_T}no" >&6
30443 fi
30444
30445 PKG_CONFIG=$ac_pt_PKG_CONFIG
30446 else
30447 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30448 fi
30449
30450 fi
30451 if test -n "$PKG_CONFIG"; then
30452 _pkg_min_version=0.9.0
30453 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30454 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30456 echo "$as_me:$LINENO: result: yes" >&5
30457 echo "${ECHO_T}yes" >&6
30458 else
30459 echo "$as_me:$LINENO: result: no" >&5
30460 echo "${ECHO_T}no" >&6
30461 PKG_CONFIG=""
30462 fi
30463
30464 fi
30465
30466
30467 pkg_failed=no
30468 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30469 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
30470
30471 if test -n "$PKG_CONFIG"; then
30472 if test -n "$DIRECTFB_CFLAGS"; then
30473 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30474 else
30475 if test -n "$PKG_CONFIG" && \
30476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
30477 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
30478 ac_status=$?
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; then
30481 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
30482 else
30483 pkg_failed=yes
30484 fi
30485 fi
30486 else
30487 pkg_failed=untried
30488 fi
30489 if test -n "$PKG_CONFIG"; then
30490 if test -n "$DIRECTFB_LIBS"; then
30491 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30492 else
30493 if test -n "$PKG_CONFIG" && \
30494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
30495 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
30496 ac_status=$?
30497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498 (exit $ac_status); }; then
30499 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
30500 else
30501 pkg_failed=yes
30502 fi
30503 fi
30504 else
30505 pkg_failed=untried
30506 fi
30507
30508
30509
30510 if test $pkg_failed = yes; then
30511
30512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30513 _pkg_short_errors_supported=yes
30514 else
30515 _pkg_short_errors_supported=no
30516 fi
30517 if test $_pkg_short_errors_supported = yes; then
30518 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
30519 else
30520 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
30521 fi
30522 # Put the nasty error message in config.log where it belongs
30523 echo "$DIRECTFB_PKG_ERRORS" >&5
30524
30525
30526 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30527 echo "$as_me: error: DirectFB not found." >&2;}
30528 { (exit 1); exit 1; }; }
30529
30530
30531 elif test $pkg_failed = untried; then
30532
30533 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30534 echo "$as_me: error: DirectFB not found." >&2;}
30535 { (exit 1); exit 1; }; }
30536
30537
30538 else
30539 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30540 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30541 echo "$as_me:$LINENO: result: yes" >&5
30542 echo "${ECHO_T}yes" >&6
30543
30544 wxUSE_UNIVERSAL="yes"
30545 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30546 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30547 TOOLKIT=DFB
30548 GUIDIST=DFB_DIST
30549
30550 fi
30551 fi
30552
30553 if test "$wxUSE_MICROWIN" = 1; then
30554 echo "$as_me:$LINENO: checking for MicroWindows" >&5
30555 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
30556 if test "x$MICROWINDOWS" = x ; then
30557 echo "$as_me:$LINENO: result: not found" >&5
30558 echo "${ECHO_T}not found" >&6
30559 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30560 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30561 { (exit 1); exit 1; }; }
30562 else
30563 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30564 echo "${ECHO_T}$MICROWINDOWS" >&6
30565 fi
30566
30567 if test -f $MICROWINDOWS/lib/libmwin.a; then
30568 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30569 echo "${ECHO_T}MicroWindows' libraries found." >&6
30570 else
30571 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30572 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30573 { (exit 1); exit 1; }; }
30574 fi
30575
30576 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30577 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30578
30579 wxUSE_UNIVERSAL="yes"
30580
30581 AFMINSTALL=afminstall
30582 TOOLKIT=MICROWIN
30583 GUIDIST=MICROWIN_DIST
30584
30585 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30586 fi
30587
30588 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30589
30590 if test "x$ac_path_x_has_been_run" != xyes; then
30591 echo "$as_me:$LINENO: checking for X" >&5
30592 echo $ECHO_N "checking for X... $ECHO_C" >&6
30593
30594 ac_path_x_has_been_run=yes
30595
30596 # Check whether --with-x or --without-x was given.
30597 if test "${with_x+set}" = set; then
30598 withval="$with_x"
30599
30600 fi;
30601 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30602 if test "x$with_x" = xno; then
30603 # The user explicitly disabled X.
30604 have_x=disabled
30605 else
30606 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
30607 # Both variables are already set.
30608 have_x=yes
30609 else
30610 if test "${ac_cv_have_x+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30612 else
30613 # One or both of the vars are not set, and there is no cached value.
30614 ac_x_includes=no ac_x_libraries=no
30615 rm -fr conftest.dir
30616 if mkdir conftest.dir; then
30617 cd conftest.dir
30618 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30619 cat >Imakefile <<'_ACEOF'
30620 acfindx:
30621 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30622 _ACEOF
30623 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
30624 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30625 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30626 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30627 for ac_extension in a so sl; do
30628 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
30629 test -f $ac_im_libdir/libX11.$ac_extension; then
30630 ac_im_usrlibdir=$ac_im_libdir; break
30631 fi
30632 done
30633 # Screen out bogus values from the imake configuration. They are
30634 # bogus both because they are the default anyway, and because
30635 # using them would break gcc on systems where it needs fixed includes.
30636 case $ac_im_incroot in
30637 /usr/include) ;;
30638 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30639 esac
30640 case $ac_im_usrlibdir in
30641 /usr/lib | /lib) ;;
30642 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30643 esac
30644 fi
30645 cd ..
30646 rm -fr conftest.dir
30647 fi
30648
30649 # Standard set of common directories for X headers.
30650 # Check X11 before X11Rn because it is often a symlink to the current release.
30651 ac_x_header_dirs='
30652 /usr/X11/include
30653 /usr/X11R6/include
30654 /usr/X11R5/include
30655 /usr/X11R4/include
30656
30657 /usr/include/X11
30658 /usr/include/X11R6
30659 /usr/include/X11R5
30660 /usr/include/X11R4
30661
30662 /usr/local/X11/include
30663 /usr/local/X11R6/include
30664 /usr/local/X11R5/include
30665 /usr/local/X11R4/include
30666
30667 /usr/local/include/X11
30668 /usr/local/include/X11R6
30669 /usr/local/include/X11R5
30670 /usr/local/include/X11R4
30671
30672 /usr/X386/include
30673 /usr/x386/include
30674 /usr/XFree86/include/X11
30675
30676 /usr/include
30677 /usr/local/include
30678 /usr/unsupported/include
30679 /usr/athena/include
30680 /usr/local/x11r5/include
30681 /usr/lpp/Xamples/include
30682
30683 /usr/openwin/include
30684 /usr/openwin/share/include'
30685
30686 if test "$ac_x_includes" = no; then
30687 # Guess where to find include files, by looking for a specified header file.
30688 # First, try using that file with no special directory specified.
30689 cat >conftest.$ac_ext <<_ACEOF
30690 /* confdefs.h. */
30691 _ACEOF
30692 cat confdefs.h >>conftest.$ac_ext
30693 cat >>conftest.$ac_ext <<_ACEOF
30694 /* end confdefs.h. */
30695 #include <X11/Intrinsic.h>
30696 _ACEOF
30697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30699 ac_status=$?
30700 grep -v '^ *+' conftest.er1 >conftest.err
30701 rm -f conftest.er1
30702 cat conftest.err >&5
30703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30704 (exit $ac_status); } >/dev/null; then
30705 if test -s conftest.err; then
30706 ac_cpp_err=$ac_cxx_preproc_warn_flag
30707 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30708 else
30709 ac_cpp_err=
30710 fi
30711 else
30712 ac_cpp_err=yes
30713 fi
30714 if test -z "$ac_cpp_err"; then
30715 # We can compile using X headers with no special include directory.
30716 ac_x_includes=
30717 else
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30720
30721 for ac_dir in $ac_x_header_dirs; do
30722 if test -r "$ac_dir/X11/Intrinsic.h"; then
30723 ac_x_includes=$ac_dir
30724 break
30725 fi
30726 done
30727 fi
30728 rm -f conftest.err conftest.$ac_ext
30729 fi # $ac_x_includes = no
30730
30731 if test "$ac_x_libraries" = no; then
30732 # Check for the libraries.
30733 # See if we find them without any special options.
30734 # Don't add to $LIBS permanently.
30735 ac_save_LIBS=$LIBS
30736 LIBS="-lXt $LIBS"
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 #include <X11/Intrinsic.h>
30744 int
30745 main ()
30746 {
30747 XtMalloc (0)
30748 ;
30749 return 0;
30750 }
30751 _ACEOF
30752 rm -f conftest.$ac_objext conftest$ac_exeext
30753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30754 (eval $ac_link) 2>conftest.er1
30755 ac_status=$?
30756 grep -v '^ *+' conftest.er1 >conftest.err
30757 rm -f conftest.er1
30758 cat conftest.err >&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } &&
30761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30763 (eval $ac_try) 2>&5
30764 ac_status=$?
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); }; } &&
30767 { ac_try='test -s conftest$ac_exeext'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30770 ac_status=$?
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; }; then
30773 LIBS=$ac_save_LIBS
30774 # We can link X programs with no special library path.
30775 ac_x_libraries=
30776 else
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.$ac_ext >&5
30779
30780 LIBS=$ac_save_LIBS
30781 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30782 do
30783 # Don't even attempt the hair of trying to link an X program!
30784 for ac_extension in a so sl; do
30785 if test -r $ac_dir/libXt.$ac_extension; then
30786 ac_x_libraries=$ac_dir
30787 break 2
30788 fi
30789 done
30790 done
30791 fi
30792 rm -f conftest.err conftest.$ac_objext \
30793 conftest$ac_exeext conftest.$ac_ext
30794 fi # $ac_x_libraries = no
30795
30796 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30797 # Didn't find X anywhere. Cache the known absence of X.
30798 ac_cv_have_x="have_x=no"
30799 else
30800 # Record where we found X for the cache.
30801 ac_cv_have_x="have_x=yes \
30802 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30803 fi
30804 fi
30805
30806 fi
30807 eval "$ac_cv_have_x"
30808 fi # $with_x != no
30809
30810 if test "$have_x" != yes; then
30811 echo "$as_me:$LINENO: result: $have_x" >&5
30812 echo "${ECHO_T}$have_x" >&6
30813 no_x=yes
30814 else
30815 # If each of the values was on the command line, it overrides each guess.
30816 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30817 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30818 # Update the cache value to reflect the command line values.
30819 ac_cv_have_x="have_x=yes \
30820 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30821 # It might be that x_includes is empty (headers are found in the
30822 # standard search path. Then output the corresponding message
30823 ac_out_x_includes=$x_includes
30824 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30825 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30826 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30827 fi
30828
30829 fi
30830 if test "$no_x" = yes; then
30831 # Not all programs may use this symbol, but it does not hurt to define it.
30832
30833 cat >>confdefs.h <<\_ACEOF
30834 #define X_DISPLAY_MISSING 1
30835 _ACEOF
30836
30837 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30838 else
30839 if test -n "$x_includes"; then
30840 X_CFLAGS="$X_CFLAGS -I$x_includes"
30841 fi
30842
30843 # It would also be nice to do this for all -L options, not just this one.
30844 if test -n "$x_libraries"; then
30845 X_LIBS="$X_LIBS -L$x_libraries"
30846 # For Solaris; some versions of Sun CC require a space after -R and
30847 # others require no space. Words are not sufficient . . . .
30848 case `(uname -sr) 2>/dev/null` in
30849 "SunOS 5"*)
30850 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30851 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30852 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30853 cat >conftest.$ac_ext <<_ACEOF
30854 /* confdefs.h. */
30855 _ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30859
30860 int
30861 main ()
30862 {
30863
30864 ;
30865 return 0;
30866 }
30867 _ACEOF
30868 rm -f conftest.$ac_objext conftest$ac_exeext
30869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30870 (eval $ac_link) 2>conftest.er1
30871 ac_status=$?
30872 grep -v '^ *+' conftest.er1 >conftest.err
30873 rm -f conftest.er1
30874 cat conftest.err >&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } &&
30877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30880 ac_status=$?
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; } &&
30883 { ac_try='test -s conftest$ac_exeext'
30884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30885 (eval $ac_try) 2>&5
30886 ac_status=$?
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); }; }; then
30889 ac_R_nospace=yes
30890 else
30891 echo "$as_me: failed program was:" >&5
30892 sed 's/^/| /' conftest.$ac_ext >&5
30893
30894 ac_R_nospace=no
30895 fi
30896 rm -f conftest.err conftest.$ac_objext \
30897 conftest$ac_exeext conftest.$ac_ext
30898 if test $ac_R_nospace = yes; then
30899 echo "$as_me:$LINENO: result: no" >&5
30900 echo "${ECHO_T}no" >&6
30901 X_LIBS="$X_LIBS -R$x_libraries"
30902 else
30903 LIBS="$ac_xsave_LIBS -R $x_libraries"
30904 cat >conftest.$ac_ext <<_ACEOF
30905 /* confdefs.h. */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910
30911 int
30912 main ()
30913 {
30914
30915 ;
30916 return 0;
30917 }
30918 _ACEOF
30919 rm -f conftest.$ac_objext conftest$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30922 ac_status=$?
30923 grep -v '^ *+' conftest.er1 >conftest.err
30924 rm -f conftest.er1
30925 cat conftest.err >&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; } &&
30934 { ac_try='test -s conftest$ac_exeext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 ac_R_space=yes
30941 else
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30944
30945 ac_R_space=no
30946 fi
30947 rm -f conftest.err conftest.$ac_objext \
30948 conftest$ac_exeext conftest.$ac_ext
30949 if test $ac_R_space = yes; then
30950 echo "$as_me:$LINENO: result: yes" >&5
30951 echo "${ECHO_T}yes" >&6
30952 X_LIBS="$X_LIBS -R $x_libraries"
30953 else
30954 echo "$as_me:$LINENO: result: neither works" >&5
30955 echo "${ECHO_T}neither works" >&6
30956 fi
30957 fi
30958 LIBS=$ac_xsave_LIBS
30959 esac
30960 fi
30961
30962 # Check for system-dependent libraries X programs must link with.
30963 # Do this before checking for the system-independent R6 libraries
30964 # (-lICE), since we may need -lsocket or whatever for X linking.
30965
30966 if test "$ISC" = yes; then
30967 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30968 else
30969 # Martyn Johnson says this is needed for Ultrix, if the X
30970 # libraries were built with DECnet support. And Karl Berry says
30971 # the Alpha needs dnet_stub (dnet does not exist).
30972 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30973 cat >conftest.$ac_ext <<_ACEOF
30974 /* confdefs.h. */
30975 _ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30979
30980 /* Override any gcc2 internal prototype to avoid an error. */
30981 #ifdef __cplusplus
30982 extern "C"
30983 #endif
30984 /* We use char because int might match the return type of a gcc2
30985 builtin and then its argument prototype would still apply. */
30986 char XOpenDisplay ();
30987 int
30988 main ()
30989 {
30990 XOpenDisplay ();
30991 ;
30992 return 0;
30993 }
30994 _ACEOF
30995 rm -f conftest.$ac_objext conftest$ac_exeext
30996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30997 (eval $ac_link) 2>conftest.er1
30998 ac_status=$?
30999 grep -v '^ *+' conftest.er1 >conftest.err
31000 rm -f conftest.er1
31001 cat conftest.err >&5
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); } &&
31004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31006 (eval $ac_try) 2>&5
31007 ac_status=$?
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); }; } &&
31010 { ac_try='test -s conftest$ac_exeext'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31013 ac_status=$?
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; }; then
31016 :
31017 else
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31020
31021 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31022 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
31023 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31024 echo $ECHO_N "(cached) $ECHO_C" >&6
31025 else
31026 ac_check_lib_save_LIBS=$LIBS
31027 LIBS="-ldnet $LIBS"
31028 cat >conftest.$ac_ext <<_ACEOF
31029 /* confdefs.h. */
31030 _ACEOF
31031 cat confdefs.h >>conftest.$ac_ext
31032 cat >>conftest.$ac_ext <<_ACEOF
31033 /* end confdefs.h. */
31034
31035 /* Override any gcc2 internal prototype to avoid an error. */
31036 #ifdef __cplusplus
31037 extern "C"
31038 #endif
31039 /* We use char because int might match the return type of a gcc2
31040 builtin and then its argument prototype would still apply. */
31041 char dnet_ntoa ();
31042 int
31043 main ()
31044 {
31045 dnet_ntoa ();
31046 ;
31047 return 0;
31048 }
31049 _ACEOF
31050 rm -f conftest.$ac_objext conftest$ac_exeext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31052 (eval $ac_link) 2>conftest.er1
31053 ac_status=$?
31054 grep -v '^ *+' conftest.er1 >conftest.err
31055 rm -f conftest.er1
31056 cat conftest.err >&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } &&
31059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31061 (eval $ac_try) 2>&5
31062 ac_status=$?
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; } &&
31065 { ac_try='test -s conftest$ac_exeext'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31068 ac_status=$?
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; }; then
31071 ac_cv_lib_dnet_dnet_ntoa=yes
31072 else
31073 echo "$as_me: failed program was:" >&5
31074 sed 's/^/| /' conftest.$ac_ext >&5
31075
31076 ac_cv_lib_dnet_dnet_ntoa=no
31077 fi
31078 rm -f conftest.err conftest.$ac_objext \
31079 conftest$ac_exeext conftest.$ac_ext
31080 LIBS=$ac_check_lib_save_LIBS
31081 fi
31082 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31083 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31084 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31085 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31086 fi
31087
31088 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31089 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31090 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31091 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 else
31094 ac_check_lib_save_LIBS=$LIBS
31095 LIBS="-ldnet_stub $LIBS"
31096 cat >conftest.$ac_ext <<_ACEOF
31097 /* confdefs.h. */
31098 _ACEOF
31099 cat confdefs.h >>conftest.$ac_ext
31100 cat >>conftest.$ac_ext <<_ACEOF
31101 /* end confdefs.h. */
31102
31103 /* Override any gcc2 internal prototype to avoid an error. */
31104 #ifdef __cplusplus
31105 extern "C"
31106 #endif
31107 /* We use char because int might match the return type of a gcc2
31108 builtin and then its argument prototype would still apply. */
31109 char dnet_ntoa ();
31110 int
31111 main ()
31112 {
31113 dnet_ntoa ();
31114 ;
31115 return 0;
31116 }
31117 _ACEOF
31118 rm -f conftest.$ac_objext conftest$ac_exeext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31120 (eval $ac_link) 2>conftest.er1
31121 ac_status=$?
31122 grep -v '^ *+' conftest.er1 >conftest.err
31123 rm -f conftest.er1
31124 cat conftest.err >&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); } &&
31127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31130 ac_status=$?
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try='test -s conftest$ac_exeext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31136 ac_status=$?
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31140 else
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31143
31144 ac_cv_lib_dnet_stub_dnet_ntoa=no
31145 fi
31146 rm -f conftest.err conftest.$ac_objext \
31147 conftest$ac_exeext conftest.$ac_ext
31148 LIBS=$ac_check_lib_save_LIBS
31149 fi
31150 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31151 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31152 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31153 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31154 fi
31155
31156 fi
31157 fi
31158 rm -f conftest.err conftest.$ac_objext \
31159 conftest$ac_exeext conftest.$ac_ext
31160 LIBS="$ac_xsave_LIBS"
31161
31162 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31163 # to get the SysV transport functions.
31164 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31165 # needs -lnsl.
31166 # The nsl library prevents programs from opening the X display
31167 # on Irix 5.2, according to T.E. Dickey.
31168 # The functions gethostbyname, getservbyname, and inet_addr are
31169 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31170 echo "$as_me:$LINENO: checking for gethostbyname" >&5
31171 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31172 if test "${ac_cv_func_gethostbyname+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175 cat >conftest.$ac_ext <<_ACEOF
31176 /* confdefs.h. */
31177 _ACEOF
31178 cat confdefs.h >>conftest.$ac_ext
31179 cat >>conftest.$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31181 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31183 #define gethostbyname innocuous_gethostbyname
31184
31185 /* System header to define __stub macros and hopefully few prototypes,
31186 which can conflict with char gethostbyname (); below.
31187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31188 <limits.h> exists even on freestanding compilers. */
31189
31190 #ifdef __STDC__
31191 # include <limits.h>
31192 #else
31193 # include <assert.h>
31194 #endif
31195
31196 #undef gethostbyname
31197
31198 /* Override any gcc2 internal prototype to avoid an error. */
31199 #ifdef __cplusplus
31200 extern "C"
31201 {
31202 #endif
31203 /* We use char because int might match the return type of a gcc2
31204 builtin and then its argument prototype would still apply. */
31205 char gethostbyname ();
31206 /* The GNU C library defines this for functions which it implements
31207 to always fail with ENOSYS. Some functions are actually named
31208 something starting with __ and the normal name is an alias. */
31209 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31210 choke me
31211 #else
31212 char (*f) () = gethostbyname;
31213 #endif
31214 #ifdef __cplusplus
31215 }
31216 #endif
31217
31218 int
31219 main ()
31220 {
31221 return f != gethostbyname;
31222 ;
31223 return 0;
31224 }
31225 _ACEOF
31226 rm -f conftest.$ac_objext conftest$ac_exeext
31227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31228 (eval $ac_link) 2>conftest.er1
31229 ac_status=$?
31230 grep -v '^ *+' conftest.er1 >conftest.err
31231 rm -f conftest.er1
31232 cat conftest.err >&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); } &&
31235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31238 ac_status=$?
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; } &&
31241 { ac_try='test -s conftest$ac_exeext'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31247 ac_cv_func_gethostbyname=yes
31248 else
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.$ac_ext >&5
31251
31252 ac_cv_func_gethostbyname=no
31253 fi
31254 rm -f conftest.err conftest.$ac_objext \
31255 conftest$ac_exeext conftest.$ac_ext
31256 fi
31257 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31258 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31259
31260 if test $ac_cv_func_gethostbyname = no; then
31261 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31262 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31263 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 else
31266 ac_check_lib_save_LIBS=$LIBS
31267 LIBS="-lnsl $LIBS"
31268 cat >conftest.$ac_ext <<_ACEOF
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274
31275 /* Override any gcc2 internal prototype to avoid an error. */
31276 #ifdef __cplusplus
31277 extern "C"
31278 #endif
31279 /* We use char because int might match the return type of a gcc2
31280 builtin and then its argument prototype would still apply. */
31281 char gethostbyname ();
31282 int
31283 main ()
31284 {
31285 gethostbyname ();
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext conftest$ac_exeext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31292 (eval $ac_link) 2>conftest.er1
31293 ac_status=$?
31294 grep -v '^ *+' conftest.er1 >conftest.err
31295 rm -f conftest.er1
31296 cat conftest.err >&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; } &&
31305 { ac_try='test -s conftest$ac_exeext'
31306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31307 (eval $ac_try) 2>&5
31308 ac_status=$?
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); }; }; then
31311 ac_cv_lib_nsl_gethostbyname=yes
31312 else
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.$ac_ext >&5
31315
31316 ac_cv_lib_nsl_gethostbyname=no
31317 fi
31318 rm -f conftest.err conftest.$ac_objext \
31319 conftest$ac_exeext conftest.$ac_ext
31320 LIBS=$ac_check_lib_save_LIBS
31321 fi
31322 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31323 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31324 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31326 fi
31327
31328 if test $ac_cv_lib_nsl_gethostbyname = no; then
31329 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31330 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31331 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31333 else
31334 ac_check_lib_save_LIBS=$LIBS
31335 LIBS="-lbsd $LIBS"
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342
31343 /* Override any gcc2 internal prototype to avoid an error. */
31344 #ifdef __cplusplus
31345 extern "C"
31346 #endif
31347 /* We use char because int might match the return type of a gcc2
31348 builtin and then its argument prototype would still apply. */
31349 char gethostbyname ();
31350 int
31351 main ()
31352 {
31353 gethostbyname ();
31354 ;
31355 return 0;
31356 }
31357 _ACEOF
31358 rm -f conftest.$ac_objext conftest$ac_exeext
31359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31360 (eval $ac_link) 2>conftest.er1
31361 ac_status=$?
31362 grep -v '^ *+' conftest.er1 >conftest.err
31363 rm -f conftest.er1
31364 cat conftest.err >&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } &&
31367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369 (eval $ac_try) 2>&5
31370 ac_status=$?
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); }; } &&
31373 { ac_try='test -s conftest$ac_exeext'
31374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31375 (eval $ac_try) 2>&5
31376 ac_status=$?
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; }; then
31379 ac_cv_lib_bsd_gethostbyname=yes
31380 else
31381 echo "$as_me: failed program was:" >&5
31382 sed 's/^/| /' conftest.$ac_ext >&5
31383
31384 ac_cv_lib_bsd_gethostbyname=no
31385 fi
31386 rm -f conftest.err conftest.$ac_objext \
31387 conftest$ac_exeext conftest.$ac_ext
31388 LIBS=$ac_check_lib_save_LIBS
31389 fi
31390 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31391 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31392 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31394 fi
31395
31396 fi
31397 fi
31398
31399 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31400 # socket/setsockopt and other routines are undefined under SCO ODT
31401 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31402 # on later versions), says Simon Leinen: it contains gethostby*
31403 # variants that don't use the name server (or something). -lsocket
31404 # must be given before -lnsl if both are needed. We assume that
31405 # if connect needs -lnsl, so does gethostbyname.
31406 echo "$as_me:$LINENO: checking for connect" >&5
31407 echo $ECHO_N "checking for connect... $ECHO_C" >&6
31408 if test "${ac_cv_func_connect+set}" = set; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 else
31411 cat >conftest.$ac_ext <<_ACEOF
31412 /* confdefs.h. */
31413 _ACEOF
31414 cat confdefs.h >>conftest.$ac_ext
31415 cat >>conftest.$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31417 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31419 #define connect innocuous_connect
31420
31421 /* System header to define __stub macros and hopefully few prototypes,
31422 which can conflict with char connect (); below.
31423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31424 <limits.h> exists even on freestanding compilers. */
31425
31426 #ifdef __STDC__
31427 # include <limits.h>
31428 #else
31429 # include <assert.h>
31430 #endif
31431
31432 #undef connect
31433
31434 /* Override any gcc2 internal prototype to avoid an error. */
31435 #ifdef __cplusplus
31436 extern "C"
31437 {
31438 #endif
31439 /* We use char because int might match the return type of a gcc2
31440 builtin and then its argument prototype would still apply. */
31441 char connect ();
31442 /* The GNU C library defines this for functions which it implements
31443 to always fail with ENOSYS. Some functions are actually named
31444 something starting with __ and the normal name is an alias. */
31445 #if defined (__stub_connect) || defined (__stub___connect)
31446 choke me
31447 #else
31448 char (*f) () = connect;
31449 #endif
31450 #ifdef __cplusplus
31451 }
31452 #endif
31453
31454 int
31455 main ()
31456 {
31457 return f != connect;
31458 ;
31459 return 0;
31460 }
31461 _ACEOF
31462 rm -f conftest.$ac_objext conftest$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464 (eval $ac_link) 2>conftest.er1
31465 ac_status=$?
31466 grep -v '^ *+' conftest.er1 >conftest.err
31467 rm -f conftest.er1
31468 cat conftest.err >&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } &&
31471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31474 ac_status=$?
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try='test -s conftest$ac_exeext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 ac_cv_func_connect=yes
31484 else
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.$ac_ext >&5
31487
31488 ac_cv_func_connect=no
31489 fi
31490 rm -f conftest.err conftest.$ac_objext \
31491 conftest$ac_exeext conftest.$ac_ext
31492 fi
31493 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31494 echo "${ECHO_T}$ac_cv_func_connect" >&6
31495
31496 if test $ac_cv_func_connect = no; then
31497 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31498 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31499 if test "${ac_cv_lib_socket_connect+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 else
31502 ac_check_lib_save_LIBS=$LIBS
31503 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31504 cat >conftest.$ac_ext <<_ACEOF
31505 /* confdefs.h. */
31506 _ACEOF
31507 cat confdefs.h >>conftest.$ac_ext
31508 cat >>conftest.$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31510
31511 /* Override any gcc2 internal prototype to avoid an error. */
31512 #ifdef __cplusplus
31513 extern "C"
31514 #endif
31515 /* We use char because int might match the return type of a gcc2
31516 builtin and then its argument prototype would still apply. */
31517 char connect ();
31518 int
31519 main ()
31520 {
31521 connect ();
31522 ;
31523 return 0;
31524 }
31525 _ACEOF
31526 rm -f conftest.$ac_objext conftest$ac_exeext
31527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31528 (eval $ac_link) 2>conftest.er1
31529 ac_status=$?
31530 grep -v '^ *+' conftest.er1 >conftest.err
31531 rm -f conftest.er1
31532 cat conftest.err >&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); } &&
31535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; } &&
31541 { ac_try='test -s conftest$ac_exeext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31544 ac_status=$?
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 ac_cv_lib_socket_connect=yes
31548 else
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.$ac_ext >&5
31551
31552 ac_cv_lib_socket_connect=no
31553 fi
31554 rm -f conftest.err conftest.$ac_objext \
31555 conftest$ac_exeext conftest.$ac_ext
31556 LIBS=$ac_check_lib_save_LIBS
31557 fi
31558 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31559 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31560 if test $ac_cv_lib_socket_connect = yes; then
31561 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31562 fi
31563
31564 fi
31565
31566 # Guillermo Gomez says -lposix is necessary on A/UX.
31567 echo "$as_me:$LINENO: checking for remove" >&5
31568 echo $ECHO_N "checking for remove... $ECHO_C" >&6
31569 if test "${ac_cv_func_remove+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572 cat >conftest.$ac_ext <<_ACEOF
31573 /* confdefs.h. */
31574 _ACEOF
31575 cat confdefs.h >>conftest.$ac_ext
31576 cat >>conftest.$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31580 #define remove innocuous_remove
31581
31582 /* System header to define __stub macros and hopefully few prototypes,
31583 which can conflict with char remove (); below.
31584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31585 <limits.h> exists even on freestanding compilers. */
31586
31587 #ifdef __STDC__
31588 # include <limits.h>
31589 #else
31590 # include <assert.h>
31591 #endif
31592
31593 #undef remove
31594
31595 /* Override any gcc2 internal prototype to avoid an error. */
31596 #ifdef __cplusplus
31597 extern "C"
31598 {
31599 #endif
31600 /* We use char because int might match the return type of a gcc2
31601 builtin and then its argument prototype would still apply. */
31602 char remove ();
31603 /* The GNU C library defines this for functions which it implements
31604 to always fail with ENOSYS. Some functions are actually named
31605 something starting with __ and the normal name is an alias. */
31606 #if defined (__stub_remove) || defined (__stub___remove)
31607 choke me
31608 #else
31609 char (*f) () = remove;
31610 #endif
31611 #ifdef __cplusplus
31612 }
31613 #endif
31614
31615 int
31616 main ()
31617 {
31618 return f != remove;
31619 ;
31620 return 0;
31621 }
31622 _ACEOF
31623 rm -f conftest.$ac_objext conftest$ac_exeext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31625 (eval $ac_link) 2>conftest.er1
31626 ac_status=$?
31627 grep -v '^ *+' conftest.er1 >conftest.err
31628 rm -f conftest.er1
31629 cat conftest.err >&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
31632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31635 ac_status=$?
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try='test -s conftest$ac_exeext'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31644 ac_cv_func_remove=yes
31645 else
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.$ac_ext >&5
31648
31649 ac_cv_func_remove=no
31650 fi
31651 rm -f conftest.err conftest.$ac_objext \
31652 conftest$ac_exeext conftest.$ac_ext
31653 fi
31654 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31655 echo "${ECHO_T}$ac_cv_func_remove" >&6
31656
31657 if test $ac_cv_func_remove = no; then
31658 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31659 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31660 if test "${ac_cv_lib_posix_remove+set}" = set; then
31661 echo $ECHO_N "(cached) $ECHO_C" >&6
31662 else
31663 ac_check_lib_save_LIBS=$LIBS
31664 LIBS="-lposix $LIBS"
31665 cat >conftest.$ac_ext <<_ACEOF
31666 /* confdefs.h. */
31667 _ACEOF
31668 cat confdefs.h >>conftest.$ac_ext
31669 cat >>conftest.$ac_ext <<_ACEOF
31670 /* end confdefs.h. */
31671
31672 /* Override any gcc2 internal prototype to avoid an error. */
31673 #ifdef __cplusplus
31674 extern "C"
31675 #endif
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31678 char remove ();
31679 int
31680 main ()
31681 {
31682 remove ();
31683 ;
31684 return 0;
31685 }
31686 _ACEOF
31687 rm -f conftest.$ac_objext conftest$ac_exeext
31688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31689 (eval $ac_link) 2>conftest.er1
31690 ac_status=$?
31691 grep -v '^ *+' conftest.er1 >conftest.err
31692 rm -f conftest.er1
31693 cat conftest.err >&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); } &&
31696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31698 (eval $ac_try) 2>&5
31699 ac_status=$?
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); }; } &&
31702 { ac_try='test -s conftest$ac_exeext'
31703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704 (eval $ac_try) 2>&5
31705 ac_status=$?
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); }; }; then
31708 ac_cv_lib_posix_remove=yes
31709 else
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.$ac_ext >&5
31712
31713 ac_cv_lib_posix_remove=no
31714 fi
31715 rm -f conftest.err conftest.$ac_objext \
31716 conftest$ac_exeext conftest.$ac_ext
31717 LIBS=$ac_check_lib_save_LIBS
31718 fi
31719 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31720 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31721 if test $ac_cv_lib_posix_remove = yes; then
31722 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31723 fi
31724
31725 fi
31726
31727 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31728 echo "$as_me:$LINENO: checking for shmat" >&5
31729 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31730 if test "${ac_cv_func_shmat+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 else
31733 cat >conftest.$ac_ext <<_ACEOF
31734 /* confdefs.h. */
31735 _ACEOF
31736 cat confdefs.h >>conftest.$ac_ext
31737 cat >>conftest.$ac_ext <<_ACEOF
31738 /* end confdefs.h. */
31739 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31741 #define shmat innocuous_shmat
31742
31743 /* System header to define __stub macros and hopefully few prototypes,
31744 which can conflict with char shmat (); below.
31745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31746 <limits.h> exists even on freestanding compilers. */
31747
31748 #ifdef __STDC__
31749 # include <limits.h>
31750 #else
31751 # include <assert.h>
31752 #endif
31753
31754 #undef shmat
31755
31756 /* Override any gcc2 internal prototype to avoid an error. */
31757 #ifdef __cplusplus
31758 extern "C"
31759 {
31760 #endif
31761 /* We use char because int might match the return type of a gcc2
31762 builtin and then its argument prototype would still apply. */
31763 char shmat ();
31764 /* The GNU C library defines this for functions which it implements
31765 to always fail with ENOSYS. Some functions are actually named
31766 something starting with __ and the normal name is an alias. */
31767 #if defined (__stub_shmat) || defined (__stub___shmat)
31768 choke me
31769 #else
31770 char (*f) () = shmat;
31771 #endif
31772 #ifdef __cplusplus
31773 }
31774 #endif
31775
31776 int
31777 main ()
31778 {
31779 return f != shmat;
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31786 (eval $ac_link) 2>conftest.er1
31787 ac_status=$?
31788 grep -v '^ *+' conftest.er1 >conftest.err
31789 rm -f conftest.er1
31790 cat conftest.err >&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } &&
31793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795 (eval $ac_try) 2>&5
31796 ac_status=$?
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); }; } &&
31799 { ac_try='test -s conftest$ac_exeext'
31800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31801 (eval $ac_try) 2>&5
31802 ac_status=$?
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); }; }; then
31805 ac_cv_func_shmat=yes
31806 else
31807 echo "$as_me: failed program was:" >&5
31808 sed 's/^/| /' conftest.$ac_ext >&5
31809
31810 ac_cv_func_shmat=no
31811 fi
31812 rm -f conftest.err conftest.$ac_objext \
31813 conftest$ac_exeext conftest.$ac_ext
31814 fi
31815 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31816 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31817
31818 if test $ac_cv_func_shmat = no; then
31819 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31820 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31821 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31822 echo $ECHO_N "(cached) $ECHO_C" >&6
31823 else
31824 ac_check_lib_save_LIBS=$LIBS
31825 LIBS="-lipc $LIBS"
31826 cat >conftest.$ac_ext <<_ACEOF
31827 /* confdefs.h. */
31828 _ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832
31833 /* Override any gcc2 internal prototype to avoid an error. */
31834 #ifdef __cplusplus
31835 extern "C"
31836 #endif
31837 /* We use char because int might match the return type of a gcc2
31838 builtin and then its argument prototype would still apply. */
31839 char shmat ();
31840 int
31841 main ()
31842 {
31843 shmat ();
31844 ;
31845 return 0;
31846 }
31847 _ACEOF
31848 rm -f conftest.$ac_objext conftest$ac_exeext
31849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31850 (eval $ac_link) 2>conftest.er1
31851 ac_status=$?
31852 grep -v '^ *+' conftest.er1 >conftest.err
31853 rm -f conftest.er1
31854 cat conftest.err >&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } &&
31857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31860 ac_status=$?
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; } &&
31863 { ac_try='test -s conftest$ac_exeext'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; }; then
31869 ac_cv_lib_ipc_shmat=yes
31870 else
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.$ac_ext >&5
31873
31874 ac_cv_lib_ipc_shmat=no
31875 fi
31876 rm -f conftest.err conftest.$ac_objext \
31877 conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31879 fi
31880 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31881 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31882 if test $ac_cv_lib_ipc_shmat = yes; then
31883 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31884 fi
31885
31886 fi
31887 fi
31888
31889 # Check for libraries that X11R6 Xt/Xaw programs need.
31890 ac_save_LDFLAGS=$LDFLAGS
31891 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31892 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31893 # check for ICE first), but we must link in the order -lSM -lICE or
31894 # we get undefined symbols. So assume we have SM if we have ICE.
31895 # These have to be linked with before -lX11, unlike the other
31896 # libraries we check for below, so use a different variable.
31897 # John Interrante, Karl Berry
31898 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31899 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31900 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31901 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 else
31903 ac_check_lib_save_LIBS=$LIBS
31904 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31905 cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911
31912 /* Override any gcc2 internal prototype to avoid an error. */
31913 #ifdef __cplusplus
31914 extern "C"
31915 #endif
31916 /* We use char because int might match the return type of a gcc2
31917 builtin and then its argument prototype would still apply. */
31918 char IceConnectionNumber ();
31919 int
31920 main ()
31921 {
31922 IceConnectionNumber ();
31923 ;
31924 return 0;
31925 }
31926 _ACEOF
31927 rm -f conftest.$ac_objext conftest$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>conftest.er1
31930 ac_status=$?
31931 grep -v '^ *+' conftest.er1 >conftest.err
31932 rm -f conftest.er1
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } &&
31936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31939 ac_status=$?
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try='test -s conftest$ac_exeext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31945 ac_status=$?
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 ac_cv_lib_ICE_IceConnectionNumber=yes
31949 else
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 ac_cv_lib_ICE_IceConnectionNumber=no
31954 fi
31955 rm -f conftest.err conftest.$ac_objext \
31956 conftest$ac_exeext conftest.$ac_ext
31957 LIBS=$ac_check_lib_save_LIBS
31958 fi
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31960 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31961 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31962 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31963 fi
31964
31965 LDFLAGS=$ac_save_LDFLAGS
31966
31967 fi
31968
31969
31970 if test "$no_x" = "yes"; then
31971 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31972 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31973 { (exit 1); exit 1; }; }
31974 fi
31975
31976 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31977 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31978 AFMINSTALL=afminstall
31979 COMPILED_X_PROGRAM=0
31980
31981 fi
31982
31983 if test "$wxUSE_X11" = 1; then
31984 if test "$wxUSE_NANOX" = "yes"; then
31985 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31986 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31987 if test "x$MICROWIN" = x ; then
31988 echo "$as_me:$LINENO: result: not found" >&5
31989 echo "${ECHO_T}not found" >&6
31990 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31991 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31992 { (exit 1); exit 1; }; }
31993 else
31994 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31995 echo "${ECHO_T}$MICROWIN" >&6
31996 cat >>confdefs.h <<\_ACEOF
31997 #define wxUSE_NANOX 1
31998 _ACEOF
31999
32000 fi
32001 fi
32002
32003 if test "$wxUSE_UNICODE" = "yes"; then
32004
32005
32006 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32007 if test -n "$ac_tool_prefix"; then
32008 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32009 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32010 echo "$as_me:$LINENO: checking for $ac_word" >&5
32011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32012 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32014 else
32015 case $PKG_CONFIG in
32016 [\\/]* | ?:[\\/]*)
32017 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32018 ;;
32019 *)
32020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32021 for as_dir in $PATH
32022 do
32023 IFS=$as_save_IFS
32024 test -z "$as_dir" && as_dir=.
32025 for ac_exec_ext in '' $ac_executable_extensions; do
32026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32027 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32029 break 2
32030 fi
32031 done
32032 done
32033
32034 ;;
32035 esac
32036 fi
32037 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32038
32039 if test -n "$PKG_CONFIG"; then
32040 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32041 echo "${ECHO_T}$PKG_CONFIG" >&6
32042 else
32043 echo "$as_me:$LINENO: result: no" >&5
32044 echo "${ECHO_T}no" >&6
32045 fi
32046
32047 fi
32048 if test -z "$ac_cv_path_PKG_CONFIG"; then
32049 ac_pt_PKG_CONFIG=$PKG_CONFIG
32050 # Extract the first word of "pkg-config", so it can be a program name with args.
32051 set dummy pkg-config; ac_word=$2
32052 echo "$as_me:$LINENO: checking for $ac_word" >&5
32053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32054 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 else
32057 case $ac_pt_PKG_CONFIG in
32058 [\\/]* | ?:[\\/]*)
32059 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32060 ;;
32061 *)
32062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32063 for as_dir in $PATH
32064 do
32065 IFS=$as_save_IFS
32066 test -z "$as_dir" && as_dir=.
32067 for ac_exec_ext in '' $ac_executable_extensions; do
32068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32069 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32071 break 2
32072 fi
32073 done
32074 done
32075
32076 ;;
32077 esac
32078 fi
32079 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32080
32081 if test -n "$ac_pt_PKG_CONFIG"; then
32082 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32083 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
32084 else
32085 echo "$as_me:$LINENO: result: no" >&5
32086 echo "${ECHO_T}no" >&6
32087 fi
32088
32089 PKG_CONFIG=$ac_pt_PKG_CONFIG
32090 else
32091 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32092 fi
32093
32094 fi
32095 if test -n "$PKG_CONFIG"; then
32096 _pkg_min_version=0.9.0
32097 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32098 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
32099 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32100 echo "$as_me:$LINENO: result: yes" >&5
32101 echo "${ECHO_T}yes" >&6
32102 else
32103 echo "$as_me:$LINENO: result: no" >&5
32104 echo "${ECHO_T}no" >&6
32105 PKG_CONFIG=""
32106 fi
32107
32108 fi
32109
32110
32111 pkg_failed=no
32112 echo "$as_me:$LINENO: checking for PANGOX" >&5
32113 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
32114
32115 if test -n "$PKG_CONFIG"; then
32116 if test -n "$PANGOX_CFLAGS"; then
32117 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32118 else
32119 if test -n "$PKG_CONFIG" && \
32120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32121 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32122 ac_status=$?
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; then
32125 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32126 else
32127 pkg_failed=yes
32128 fi
32129 fi
32130 else
32131 pkg_failed=untried
32132 fi
32133 if test -n "$PKG_CONFIG"; then
32134 if test -n "$PANGOX_LIBS"; then
32135 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32136 else
32137 if test -n "$PKG_CONFIG" && \
32138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32139 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32140 ac_status=$?
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; then
32143 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32144 else
32145 pkg_failed=yes
32146 fi
32147 fi
32148 else
32149 pkg_failed=untried
32150 fi
32151
32152
32153
32154 if test $pkg_failed = yes; then
32155
32156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32157 _pkg_short_errors_supported=yes
32158 else
32159 _pkg_short_errors_supported=no
32160 fi
32161 if test $_pkg_short_errors_supported = yes; then
32162 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32163 else
32164 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32165 fi
32166 # Put the nasty error message in config.log where it belongs
32167 echo "$PANGOX_PKG_ERRORS" >&5
32168
32169
32170 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32171 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32172 { (exit 1); exit 1; }; }
32173
32174
32175 elif test $pkg_failed = untried; then
32176
32177 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32178 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32179 { (exit 1); exit 1; }; }
32180
32181
32182 else
32183 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32184 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32185 echo "$as_me:$LINENO: result: yes" >&5
32186 echo "${ECHO_T}yes" >&6
32187
32188 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32190
32191 fi
32192
32193 pkg_failed=no
32194 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32195 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
32196
32197 if test -n "$PKG_CONFIG"; then
32198 if test -n "$PANGOFT2_CFLAGS"; then
32199 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32200 else
32201 if test -n "$PKG_CONFIG" && \
32202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32203 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32204 ac_status=$?
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); }; then
32207 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32208 else
32209 pkg_failed=yes
32210 fi
32211 fi
32212 else
32213 pkg_failed=untried
32214 fi
32215 if test -n "$PKG_CONFIG"; then
32216 if test -n "$PANGOFT2_LIBS"; then
32217 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32218 else
32219 if test -n "$PKG_CONFIG" && \
32220 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32221 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; then
32225 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32226 else
32227 pkg_failed=yes
32228 fi
32229 fi
32230 else
32231 pkg_failed=untried
32232 fi
32233
32234
32235
32236 if test $pkg_failed = yes; then
32237
32238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32239 _pkg_short_errors_supported=yes
32240 else
32241 _pkg_short_errors_supported=no
32242 fi
32243 if test $_pkg_short_errors_supported = yes; then
32244 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32245 else
32246 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32247 fi
32248 # Put the nasty error message in config.log where it belongs
32249 echo "$PANGOFT2_PKG_ERRORS" >&5
32250
32251
32252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32254 wxUSE_PRINTING_ARCHITECTURE="no"
32255
32256
32257 elif test $pkg_failed = untried; then
32258
32259 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32260 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32261 wxUSE_PRINTING_ARCHITECTURE="no"
32262
32263
32264 else
32265 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32266 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32267 echo "$as_me:$LINENO: result: yes" >&5
32268 echo "${ECHO_T}yes" >&6
32269
32270 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32272
32273 fi
32274
32275 pkg_failed=no
32276 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32277 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
32278
32279 if test -n "$PKG_CONFIG"; then
32280 if test -n "$PANGOXFT_CFLAGS"; then
32281 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32282 else
32283 if test -n "$PKG_CONFIG" && \
32284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32285 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; then
32289 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32290 else
32291 pkg_failed=yes
32292 fi
32293 fi
32294 else
32295 pkg_failed=untried
32296 fi
32297 if test -n "$PKG_CONFIG"; then
32298 if test -n "$PANGOXFT_LIBS"; then
32299 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32300 else
32301 if test -n "$PKG_CONFIG" && \
32302 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32303 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; then
32307 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32308 else
32309 pkg_failed=yes
32310 fi
32311 fi
32312 else
32313 pkg_failed=untried
32314 fi
32315
32316
32317
32318 if test $pkg_failed = yes; then
32319
32320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32321 _pkg_short_errors_supported=yes
32322 else
32323 _pkg_short_errors_supported=no
32324 fi
32325 if test $_pkg_short_errors_supported = yes; then
32326 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32327 else
32328 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32329 fi
32330 # Put the nasty error message in config.log where it belongs
32331 echo "$PANGOXFT_PKG_ERRORS" >&5
32332
32333
32334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32336
32337
32338 elif test $pkg_failed = untried; then
32339
32340 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32341 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32342
32343
32344 else
32345 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32346 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32347 echo "$as_me:$LINENO: result: yes" >&5
32348 echo "${ECHO_T}yes" >&6
32349
32350 cat >>confdefs.h <<\_ACEOF
32351 #define HAVE_PANGO_XFT 1
32352 _ACEOF
32353
32354 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32356
32357 fi
32358 save_CXXFLAGS="$CXXFLAGS"
32359 save_LIBS="$LIBS"
32360 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32361 LIBS="$LIBS $PANGOX_LIBS"
32362
32363 for ac_func in pango_font_family_is_monospace
32364 do
32365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32366 echo "$as_me:$LINENO: checking for $ac_func" >&5
32367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32368 if eval "test \"\${$as_ac_var+set}\" = set"; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 else
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32379 #define $ac_func innocuous_$ac_func
32380
32381 /* System header to define __stub macros and hopefully few prototypes,
32382 which can conflict with char $ac_func (); below.
32383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32384 <limits.h> exists even on freestanding compilers. */
32385
32386 #ifdef __STDC__
32387 # include <limits.h>
32388 #else
32389 # include <assert.h>
32390 #endif
32391
32392 #undef $ac_func
32393
32394 /* Override any gcc2 internal prototype to avoid an error. */
32395 #ifdef __cplusplus
32396 extern "C"
32397 {
32398 #endif
32399 /* We use char because int might match the return type of a gcc2
32400 builtin and then its argument prototype would still apply. */
32401 char $ac_func ();
32402 /* The GNU C library defines this for functions which it implements
32403 to always fail with ENOSYS. Some functions are actually named
32404 something starting with __ and the normal name is an alias. */
32405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32406 choke me
32407 #else
32408 char (*f) () = $ac_func;
32409 #endif
32410 #ifdef __cplusplus
32411 }
32412 #endif
32413
32414 int
32415 main ()
32416 {
32417 return f != $ac_func;
32418 ;
32419 return 0;
32420 }
32421 _ACEOF
32422 rm -f conftest.$ac_objext conftest$ac_exeext
32423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32424 (eval $ac_link) 2>conftest.er1
32425 ac_status=$?
32426 grep -v '^ *+' conftest.er1 >conftest.err
32427 rm -f conftest.er1
32428 cat conftest.err >&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } &&
32431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32434 ac_status=$?
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; } &&
32437 { ac_try='test -s conftest$ac_exeext'
32438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 (eval $ac_try) 2>&5
32440 ac_status=$?
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); }; }; then
32443 eval "$as_ac_var=yes"
32444 else
32445 echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.$ac_ext >&5
32447
32448 eval "$as_ac_var=no"
32449 fi
32450 rm -f conftest.err conftest.$ac_objext \
32451 conftest$ac_exeext conftest.$ac_ext
32452 fi
32453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32455 if test `eval echo '${'$as_ac_var'}'` = yes; then
32456 cat >>confdefs.h <<_ACEOF
32457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32458 _ACEOF
32459
32460 fi
32461 done
32462
32463 CXXFLAGS="$save_CXXFLAGS"
32464 LIBS="$save_LIBS"
32465 fi
32466
32467 wxUSE_UNIVERSAL="yes"
32468
32469 if test "$wxUSE_NANOX" = "yes"; then
32470 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32471 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"
32472 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32473 else
32474 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32475 fi
32476
32477 TOOLKIT=X11
32478 GUIDIST=X11_DIST
32479 fi
32480
32481 if test "$wxUSE_MOTIF" = 1; then
32482 if test "$wxUSE_UNICODE" = "yes"; then
32483 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32484 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32485 { (exit 1); exit 1; }; }
32486 fi
32487
32488 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32489 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
32490
32491 ac_find_includes=
32492 for ac_dir in $SEARCH_INCLUDE /usr/include;
32493 do
32494 if test -f "$ac_dir/Xm/Xm.h"; then
32495 ac_find_includes=$ac_dir
32496 break
32497 fi
32498 done
32499
32500 if test "$ac_find_includes" != "" ; then
32501 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32502 echo "${ECHO_T}found in $ac_find_includes" >&6
32503
32504 if test "x$ac_find_includes" = "x/usr/include"; then
32505 ac_path_to_include=""
32506 else
32507 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32508 result=$?
32509 if test $result = 0; then
32510 ac_path_to_include=""
32511 else
32512 ac_path_to_include=" -I$ac_find_includes"
32513 fi
32514 fi
32515
32516 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32517 else
32518 save_CXXFLAGS=$CXXFLAGS
32519 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32520
32521 cat >conftest.$ac_ext <<_ACEOF
32522 /* confdefs.h. */
32523 _ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32527
32528 #include <Xm/Xm.h>
32529
32530 int
32531 main ()
32532 {
32533
32534 int version;
32535 version = xmUseVersion;
32536
32537 ;
32538 return 0;
32539 }
32540 _ACEOF
32541 rm -f conftest.$ac_objext
32542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32543 (eval $ac_compile) 2>conftest.er1
32544 ac_status=$?
32545 grep -v '^ *+' conftest.er1 >conftest.err
32546 rm -f conftest.er1
32547 cat conftest.err >&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); } &&
32550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32553 ac_status=$?
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; } &&
32556 { ac_try='test -s conftest.$ac_objext'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32559 ac_status=$?
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; }; then
32562
32563 echo "$as_me:$LINENO: result: found in default search path" >&5
32564 echo "${ECHO_T}found in default search path" >&6
32565 COMPILED_X_PROGRAM=1
32566
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571
32572 echo "$as_me:$LINENO: result: no" >&5
32573 echo "${ECHO_T}no" >&6
32574 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32575 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32576 { (exit 1); exit 1; }; }
32577
32578
32579 fi
32580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32581
32582 CXXFLAGS=$save_CXXFLAGS
32583 fi
32584
32585
32586 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32587 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
32588
32589 ac_find_libraries=
32590 for ac_dir in $SEARCH_LIB;
32591 do
32592 for ac_extension in a so sl dylib dll.a; do
32593 if test -f "$ac_dir/libXm.$ac_extension"; then
32594 ac_find_libraries=$ac_dir
32595 break 2
32596 fi
32597 done
32598 done
32599
32600
32601 if test "x$ac_find_libraries" != "x" ; then
32602 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32603 echo "${ECHO_T}found in $ac_find_libraries" >&6
32604
32605
32606 if test "$ac_find_libraries" = "default location"; then
32607 ac_path_to_link=""
32608 else
32609 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32610 result=$?
32611 if test $result = 0; then
32612 ac_path_to_link=""
32613 else
32614 ac_path_to_link=" -L$ac_find_libraries"
32615 fi
32616 fi
32617
32618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32619 else
32620 save_CXXFLAGS=$CXXFLAGS
32621 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32622 save_LIBS="$LIBS"
32623 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32624
32625 cat >conftest.$ac_ext <<_ACEOF
32626 /* confdefs.h. */
32627 _ACEOF
32628 cat confdefs.h >>conftest.$ac_ext
32629 cat >>conftest.$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631
32632 #include <Xm/Xm.h>
32633
32634 int
32635 main ()
32636 {
32637
32638 int version;
32639 version = xmUseVersion;
32640
32641 ;
32642 return 0;
32643 }
32644 _ACEOF
32645 rm -f conftest.$ac_objext conftest$ac_exeext
32646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32647 (eval $ac_link) 2>conftest.er1
32648 ac_status=$?
32649 grep -v '^ *+' conftest.er1 >conftest.err
32650 rm -f conftest.er1
32651 cat conftest.err >&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); } &&
32654 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32657 ac_status=$?
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; } &&
32660 { ac_try='test -s conftest$ac_exeext'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32663 ac_status=$?
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; }; then
32666
32667 echo "$as_me:$LINENO: result: found in default search path" >&5
32668 echo "${ECHO_T}found in default search path" >&6
32669 COMPILED_X_PROGRAM=1
32670
32671 else
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.$ac_ext >&5
32674
32675
32676 echo "$as_me:$LINENO: result: no" >&5
32677 echo "${ECHO_T}no" >&6
32678 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32679 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32680 { (exit 1); exit 1; }; }
32681
32682
32683 fi
32684 rm -f conftest.err conftest.$ac_objext \
32685 conftest$ac_exeext conftest.$ac_ext
32686
32687 CXXFLAGS=$save_CXXFLAGS
32688 LIBS="$save_LIBS"
32689 fi
32690
32691 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32692 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
32693 libp_link=""
32694 libsm_ice_link=""
32695 libs_found=0
32696 for libp in "" " -lXp"; do
32697 if test "$libs_found" = "0"; then
32698 for libsm_ice in "" " -lSM -lICE"; do
32699 if test "$libs_found" = "0"; then
32700 save_LIBS="$LIBS"
32701 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32702 save_CXXFLAGS=$CXXFLAGS
32703 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32704
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711
32712 #include <Xm/Xm.h>
32713 #include <Xm/List.h>
32714
32715 int
32716 main ()
32717 {
32718
32719 XmString string = NULL;
32720 Widget w = NULL;
32721 int position = 0;
32722 XmListAddItem(w, string, position);
32723
32724 ;
32725 return 0;
32726 }
32727 _ACEOF
32728 rm -f conftest.$ac_objext conftest$ac_exeext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 (eval $ac_link) 2>conftest.er1
32731 ac_status=$?
32732 grep -v '^ *+' conftest.er1 >conftest.err
32733 rm -f conftest.er1
32734 cat conftest.err >&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749
32750 libp_link="$libp"
32751 libsm_ice_link="$libsm_ice"
32752 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32753 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32754 libs_found=1
32755
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760
32761
32762 fi
32763 rm -f conftest.err conftest.$ac_objext \
32764 conftest$ac_exeext conftest.$ac_ext
32765
32766 LIBS="$save_LIBS"
32767 CXXFLAGS=$save_CXXFLAGS
32768 fi
32769 done
32770 fi
32771 done
32772
32773 if test "$libs_found" = "0"; then
32774 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32775 echo "${ECHO_T}can't find the right libraries" >&6
32776 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32777 echo "$as_me: error: can't link a simple motif program" >&2;}
32778 { (exit 1); exit 1; }; }
32779 fi
32780
32781 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32782 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32783 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32784 echo $ECHO_N "(cached) $ECHO_C" >&6
32785 else
32786 ac_check_lib_save_LIBS=$LIBS
32787 LIBS="-lSgm $LIBS"
32788 cat >conftest.$ac_ext <<_ACEOF
32789 /* confdefs.h. */
32790 _ACEOF
32791 cat confdefs.h >>conftest.$ac_ext
32792 cat >>conftest.$ac_ext <<_ACEOF
32793 /* end confdefs.h. */
32794
32795 /* Override any gcc2 internal prototype to avoid an error. */
32796 #ifdef __cplusplus
32797 extern "C"
32798 #endif
32799 /* We use char because int might match the return type of a gcc2
32800 builtin and then its argument prototype would still apply. */
32801 char SgCreateList ();
32802 int
32803 main ()
32804 {
32805 SgCreateList ();
32806 ;
32807 return 0;
32808 }
32809 _ACEOF
32810 rm -f conftest.$ac_objext conftest$ac_exeext
32811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32812 (eval $ac_link) 2>conftest.er1
32813 ac_status=$?
32814 grep -v '^ *+' conftest.er1 >conftest.err
32815 rm -f conftest.er1
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } &&
32819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32821 (eval $ac_try) 2>&5
32822 ac_status=$?
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; } &&
32825 { ac_try='test -s conftest$ac_exeext'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32828 ac_status=$?
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; }; then
32831 ac_cv_lib_Sgm_SgCreateList=yes
32832 else
32833 echo "$as_me: failed program was:" >&5
32834 sed 's/^/| /' conftest.$ac_ext >&5
32835
32836 ac_cv_lib_Sgm_SgCreateList=no
32837 fi
32838 rm -f conftest.err conftest.$ac_objext \
32839 conftest$ac_exeext conftest.$ac_ext
32840 LIBS=$ac_check_lib_save_LIBS
32841 fi
32842 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32843 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32844 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32845 libsgm_link=" -lSgm"
32846 fi
32847
32848
32849 save_CXXFLAGS=$CXXFLAGS
32850 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32851
32852 echo "$as_me:$LINENO: checking for Motif 2" >&5
32853 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32854 if test "${wx_cv_lib_motif2+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 else
32857 cat >conftest.$ac_ext <<_ACEOF
32858 /* confdefs.h. */
32859 _ACEOF
32860 cat confdefs.h >>conftest.$ac_ext
32861 cat >>conftest.$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863
32864 #include <Xm/Xm.h>
32865
32866 int
32867 main ()
32868 {
32869
32870 #if XmVersion < 2000
32871 Not Motif 2
32872 #endif
32873
32874 ;
32875 return 0;
32876 }
32877 _ACEOF
32878 rm -f conftest.$ac_objext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32880 (eval $ac_compile) 2>conftest.er1
32881 ac_status=$?
32882 grep -v '^ *+' conftest.er1 >conftest.err
32883 rm -f conftest.er1
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32890 ac_status=$?
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; } &&
32893 { ac_try='test -s conftest.$ac_objext'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32896 ac_status=$?
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; }; then
32899 wx_cv_lib_motif2="yes"
32900 else
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.$ac_ext >&5
32903
32904 wx_cv_lib_motif2="no"
32905 fi
32906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32907 fi
32908 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32909 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32910 if test "$wx_cv_lib_motif2" = "yes"; then
32911 cat >>confdefs.h <<\_ACEOF
32912 #define __WXMOTIF20__ 1
32913 _ACEOF
32914
32915 else
32916 cat >>confdefs.h <<\_ACEOF
32917 #define __WXMOTIF20__ 0
32918 _ACEOF
32919
32920 fi
32921
32922 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32923 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32924 if test "${wx_cv_lib_lesstif+set}" = set; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32926 else
32927 cat >conftest.$ac_ext <<_ACEOF
32928 /* confdefs.h. */
32929 _ACEOF
32930 cat confdefs.h >>conftest.$ac_ext
32931 cat >>conftest.$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933
32934 #include <Xm/Xm.h>
32935
32936 int
32937 main ()
32938 {
32939
32940 #if !defined(LesstifVersion) || LesstifVersion <= 0
32941 Not Lesstif
32942 #endif
32943
32944 ;
32945 return 0;
32946 }
32947 _ACEOF
32948 rm -f conftest.$ac_objext
32949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32950 (eval $ac_compile) 2>conftest.er1
32951 ac_status=$?
32952 grep -v '^ *+' conftest.er1 >conftest.err
32953 rm -f conftest.er1
32954 cat conftest.err >&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); } &&
32957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32960 ac_status=$?
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32963 { ac_try='test -s conftest.$ac_objext'
32964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32965 (eval $ac_try) 2>&5
32966 ac_status=$?
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); }; }; then
32969 wx_cv_lib_lesstif="yes"
32970 else
32971 echo "$as_me: failed program was:" >&5
32972 sed 's/^/| /' conftest.$ac_ext >&5
32973
32974 wx_cv_lib_lesstif="no"
32975 fi
32976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32977
32978 fi
32979 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32980 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32981 if test "$wx_cv_lib_lesstif" = "yes"; then
32982 cat >>confdefs.h <<\_ACEOF
32983 #define __WXLESSTIF__ 1
32984 _ACEOF
32985
32986 else
32987 cat >>confdefs.h <<\_ACEOF
32988 #define __WXLESSTIF__ 0
32989 _ACEOF
32990
32991 fi
32992
32993 CXXFLAGS=$save_CXXFLAGS
32994
32995 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32996 TOOLKIT=MOTIF
32997 GUIDIST=MOTIF_DIST
32998 fi
32999
33000 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33001 if test "$wxUSE_LIBXPM" = "sys"; then
33002 echo "$as_me:$LINENO: checking for Xpm library" >&5
33003 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
33004
33005 ac_find_libraries=
33006 for ac_dir in $SEARCH_LIB;
33007 do
33008 for ac_extension in a so sl dylib dll.a; do
33009 if test -f "$ac_dir/libXpm.$ac_extension"; then
33010 ac_find_libraries=$ac_dir
33011 break 2
33012 fi
33013 done
33014 done
33015
33016 if test "$ac_find_libraries" != "" ; then
33017
33018 if test "$ac_find_libraries" = "default location"; then
33019 ac_path_to_link=""
33020 else
33021 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33022 result=$?
33023 if test $result = 0; then
33024 ac_path_to_link=""
33025 else
33026 ac_path_to_link=" -L$ac_find_libraries"
33027 fi
33028 fi
33029
33030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33031 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33032 echo "${ECHO_T}found in $ac_find_libraries" >&6
33033
33034 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33035 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
33036 if test "${wx_cv_x11_xpm_h+set}" = set; then
33037 echo $ECHO_N "(cached) $ECHO_C" >&6
33038 else
33039
33040 save_CXXFLAGS=$CXXFLAGS
33041 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
33042
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 #include <X11/xpm.h>
33051
33052 int
33053 main ()
33054 {
33055
33056 int version;
33057 version = XpmLibraryVersion();
33058
33059 ;
33060 return 0;
33061 }
33062 _ACEOF
33063 rm -f conftest.$ac_objext
33064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33065 (eval $ac_compile) 2>conftest.er1
33066 ac_status=$?
33067 grep -v '^ *+' conftest.er1 >conftest.err
33068 rm -f conftest.er1
33069 cat conftest.err >&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } &&
33072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33074 (eval $ac_try) 2>&5
33075 ac_status=$?
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); }; } &&
33078 { ac_try='test -s conftest.$ac_objext'
33079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33080 (eval $ac_try) 2>&5
33081 ac_status=$?
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); }; }; then
33084 wx_cv_x11_xpm_h=yes
33085 else
33086 echo "$as_me: failed program was:" >&5
33087 sed 's/^/| /' conftest.$ac_ext >&5
33088
33089 wx_cv_x11_xpm_h=no
33090
33091 fi
33092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33093
33094 CXXFLAGS=$save_CXXFLAGS
33095
33096
33097 fi
33098 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33099 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
33100
33101 if test $wx_cv_x11_xpm_h = "yes"; then
33102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33103 cat >>confdefs.h <<\_ACEOF
33104 #define wxHAVE_LIB_XPM 1
33105 _ACEOF
33106
33107 else
33108 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33109 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33110 fi
33111 fi
33112
33113 fi
33114
33115 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33116 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
33117 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33120 ac_check_lib_save_LIBS=$LIBS
33121 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33122 cat >conftest.$ac_ext <<_ACEOF
33123 /* confdefs.h. */
33124 _ACEOF
33125 cat confdefs.h >>conftest.$ac_ext
33126 cat >>conftest.$ac_ext <<_ACEOF
33127 /* end confdefs.h. */
33128
33129 /* Override any gcc2 internal prototype to avoid an error. */
33130 #ifdef __cplusplus
33131 extern "C"
33132 #endif
33133 /* We use char because int might match the return type of a gcc2
33134 builtin and then its argument prototype would still apply. */
33135 char XShapeQueryExtension ();
33136 int
33137 main ()
33138 {
33139 XShapeQueryExtension ();
33140 ;
33141 return 0;
33142 }
33143 _ACEOF
33144 rm -f conftest.$ac_objext conftest$ac_exeext
33145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33146 (eval $ac_link) 2>conftest.er1
33147 ac_status=$?
33148 grep -v '^ *+' conftest.er1 >conftest.err
33149 rm -f conftest.er1
33150 cat conftest.err >&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); } &&
33153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33155 (eval $ac_try) 2>&5
33156 ac_status=$?
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); }; } &&
33159 { ac_try='test -s conftest$ac_exeext'
33160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33161 (eval $ac_try) 2>&5
33162 ac_status=$?
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); }; }; then
33165 ac_cv_lib_Xext_XShapeQueryExtension=yes
33166 else
33167 echo "$as_me: failed program was:" >&5
33168 sed 's/^/| /' conftest.$ac_ext >&5
33169
33170 ac_cv_lib_Xext_XShapeQueryExtension=no
33171 fi
33172 rm -f conftest.err conftest.$ac_objext \
33173 conftest$ac_exeext conftest.$ac_ext
33174 LIBS=$ac_check_lib_save_LIBS
33175 fi
33176 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33177 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
33178 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33179
33180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33181 wxHAVE_XEXT_LIB=1
33182
33183 fi
33184
33185
33186 if test "$wxHAVE_XEXT_LIB" = 1; then
33187 save_CXXFLAGS="$CXXFLAGS"
33188 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
33189
33190 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33191 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
33192 cat >conftest.$ac_ext <<_ACEOF
33193 /* confdefs.h. */
33194 _ACEOF
33195 cat confdefs.h >>conftest.$ac_ext
33196 cat >>conftest.$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198
33199 #include <X11/Xlib.h>
33200 #include <X11/extensions/shape.h>
33201
33202 int
33203 main ()
33204 {
33205
33206 int dummy1, dummy2;
33207 XShapeQueryExtension((Display*)NULL,
33208 (int*)NULL, (int*)NULL);
33209
33210 ;
33211 return 0;
33212 }
33213 _ACEOF
33214 rm -f conftest.$ac_objext
33215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33216 (eval $ac_compile) 2>conftest.er1
33217 ac_status=$?
33218 grep -v '^ *+' conftest.er1 >conftest.err
33219 rm -f conftest.er1
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; } &&
33229 { ac_try='test -s conftest.$ac_objext'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33232 ac_status=$?
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; }; then
33235
33236 cat >>confdefs.h <<\_ACEOF
33237 #define HAVE_XSHAPE 1
33238 _ACEOF
33239
33240 echo "$as_me:$LINENO: result: found" >&5
33241 echo "${ECHO_T}found" >&6
33242
33243 else
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.$ac_ext >&5
33246
33247
33248 echo "$as_me:$LINENO: result: not found" >&5
33249 echo "${ECHO_T}not found" >&6
33250
33251 fi
33252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33253 CXXFLAGS="$save_CXXFLAGS"
33254
33255 fi
33256 fi
33257
33258 if test "$wxUSE_MAC" = 1; then
33259 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33260 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
33261 if test "$GCC" = yes; then
33262 echo "$as_me:$LINENO: result: gcc" >&5
33263 echo "${ECHO_T}gcc" >&6
33264 CPPFLAGS_PASCAL="-fpascal-strings"
33265 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33266 echo "$as_me:$LINENO: result: xlc" >&5
33267 echo "${ECHO_T}xlc" >&6
33268 CPPFLAGS_PASCAL="-qmacpstr"
33269 else
33270 echo "$as_me:$LINENO: result: none" >&5
33271 echo "${ECHO_T}none" >&6
33272 fi
33273
33274 if test "x$wxUSE_UNIX" = "xyes"; then
33275 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33276 else
33277 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33278 fi
33279
33280 TOOLKIT=MAC
33281 GUIDIST=MACX_DIST
33282 WXBASEPORT="_carbon"
33283 fi
33284
33285 if test "$wxUSE_COCOA" = 1; then
33286 TOOLKIT=COCOA
33287 GUIDIST=COCOA_DIST
33288 fi
33289
33290 if test "$wxUSE_PM" = 1; then
33291 TOOLKIT=PM
33292 GUIDIST=PM_DIST
33293 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33294 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
33295 if test "${wx_cv_spbcdata+set}" = set; then
33296 echo $ECHO_N "(cached) $ECHO_C" >&6
33297 else
33298
33299 cat >conftest.$ac_ext <<_ACEOF
33300 /* confdefs.h. */
33301 _ACEOF
33302 cat confdefs.h >>conftest.$ac_ext
33303 cat >>conftest.$ac_ext <<_ACEOF
33304 /* end confdefs.h. */
33305
33306 #define INCL_PM
33307 #include <os2.h>
33308
33309 int
33310 main ()
33311 {
33312
33313 SPBCDATA test;
33314
33315 ;
33316 return 0;
33317 }
33318 _ACEOF
33319 rm -f conftest.$ac_objext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33321 (eval $ac_compile) 2>conftest.er1
33322 ac_status=$?
33323 grep -v '^ *+' conftest.er1 >conftest.err
33324 rm -f conftest.er1
33325 cat conftest.err >&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } &&
33328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33330 (eval $ac_try) 2>&5
33331 ac_status=$?
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); }; } &&
33334 { ac_try='test -s conftest.$ac_objext'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33337 ac_status=$?
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; }; then
33340 wx_cv_spbcdata=yes
33341 else
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.$ac_ext >&5
33344
33345 wx_cv_spbcdata=no
33346
33347 fi
33348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33349
33350
33351 fi
33352 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33353 echo "${ECHO_T}$wx_cv_spbcdata" >&6
33354
33355 if test $wx_cv_spbcdata = "yes"; then
33356 cat >>confdefs.h <<\_ACEOF
33357 #define HAVE_SPBCDATA 1
33358 _ACEOF
33359
33360 fi
33361 fi
33362
33363 if test "$TOOLKIT" = "PM" ; then
33364 TOOLKIT_DIR="os2"
33365 else
33366 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33367 fi
33368
33369 if test "$wxUSE_UNIVERSAL" = "yes"; then
33370 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33371 WIDGET_SET=univ
33372 fi
33373
33374 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33375 DISTDIR="wx\$(TOOLKIT)"
33376 else
33377 USE_GUI=0
33378
33379 TOOLKIT_DIR="base"
33380
33381 if test "$USE_WIN32" = 1 ; then
33382 TOOLKIT="MSW"
33383 fi
33384
33385 GUIDIST="BASE_DIST"
33386 DISTDIR="wxBase"
33387 fi
33388
33389
33390 if test "$wxUSE_GUI" = "yes"; then
33391 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33392
33393 for ac_header in X11/Xlib.h
33394 do
33395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33397 echo "$as_me:$LINENO: checking for $ac_header" >&5
33398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33401 fi
33402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33404 else
33405 # Is the header compilable?
33406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33408 cat >conftest.$ac_ext <<_ACEOF
33409 /* confdefs.h. */
33410 _ACEOF
33411 cat confdefs.h >>conftest.$ac_ext
33412 cat >>conftest.$ac_ext <<_ACEOF
33413 /* end confdefs.h. */
33414 $ac_includes_default
33415 #include <$ac_header>
33416 _ACEOF
33417 rm -f conftest.$ac_objext
33418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33419 (eval $ac_compile) 2>conftest.er1
33420 ac_status=$?
33421 grep -v '^ *+' conftest.er1 >conftest.err
33422 rm -f conftest.er1
33423 cat conftest.err >&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); } &&
33426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33428 (eval $ac_try) 2>&5
33429 ac_status=$?
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); }; } &&
33432 { ac_try='test -s conftest.$ac_objext'
33433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33435 ac_status=$?
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; }; then
33438 ac_header_compiler=yes
33439 else
33440 echo "$as_me: failed program was:" >&5
33441 sed 's/^/| /' conftest.$ac_ext >&5
33442
33443 ac_header_compiler=no
33444 fi
33445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33447 echo "${ECHO_T}$ac_header_compiler" >&6
33448
33449 # Is the header present?
33450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33452 cat >conftest.$ac_ext <<_ACEOF
33453 /* confdefs.h. */
33454 _ACEOF
33455 cat confdefs.h >>conftest.$ac_ext
33456 cat >>conftest.$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 #include <$ac_header>
33459 _ACEOF
33460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33462 ac_status=$?
33463 grep -v '^ *+' conftest.er1 >conftest.err
33464 rm -f conftest.er1
33465 cat conftest.err >&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } >/dev/null; then
33468 if test -s conftest.err; then
33469 ac_cpp_err=$ac_cxx_preproc_warn_flag
33470 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33471 else
33472 ac_cpp_err=
33473 fi
33474 else
33475 ac_cpp_err=yes
33476 fi
33477 if test -z "$ac_cpp_err"; then
33478 ac_header_preproc=yes
33479 else
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.$ac_ext >&5
33482
33483 ac_header_preproc=no
33484 fi
33485 rm -f conftest.err conftest.$ac_ext
33486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33487 echo "${ECHO_T}$ac_header_preproc" >&6
33488
33489 # So? What about this header?
33490 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33491 yes:no: )
33492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33496 ac_header_preproc=yes
33497 ;;
33498 no:yes:* )
33499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33511 (
33512 cat <<\_ASBOX
33513 ## ----------------------------------------- ##
33514 ## Report this to wx-dev@lists.wxwidgets.org ##
33515 ## ----------------------------------------- ##
33516 _ASBOX
33517 ) |
33518 sed "s/^/$as_me: WARNING: /" >&2
33519 ;;
33520 esac
33521 echo "$as_me:$LINENO: checking for $ac_header" >&5
33522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33525 else
33526 eval "$as_ac_Header=\$ac_header_preproc"
33527 fi
33528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33530
33531 fi
33532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33533 cat >>confdefs.h <<_ACEOF
33534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33535 _ACEOF
33536
33537 fi
33538
33539 done
33540
33541
33542 for ac_header in X11/XKBlib.h
33543 do
33544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33545 echo "$as_me:$LINENO: checking for $ac_header" >&5
33546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33548 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 else
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
33557 #if HAVE_X11_XLIB_H
33558 #include <X11/Xlib.h>
33559 #endif
33560
33561
33562 #include <$ac_header>
33563 _ACEOF
33564 rm -f conftest.$ac_objext
33565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33566 (eval $ac_compile) 2>conftest.er1
33567 ac_status=$?
33568 grep -v '^ *+' conftest.er1 >conftest.err
33569 rm -f conftest.er1
33570 cat conftest.err >&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); } &&
33573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33576 ac_status=$?
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; } &&
33579 { ac_try='test -s conftest.$ac_objext'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33582 ac_status=$?
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; }; then
33585 eval "$as_ac_Header=yes"
33586 else
33587 echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.$ac_ext >&5
33589
33590 eval "$as_ac_Header=no"
33591 fi
33592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33593 fi
33594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33597 cat >>confdefs.h <<_ACEOF
33598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33599 _ACEOF
33600
33601 fi
33602
33603 done
33604
33605 fi
33606 fi
33607
33608
33609
33610 IODBC_C_SRC=""
33611
33612
33613 if test "$TOOLKIT" != "MSW" ; then
33614
33615 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33616
33617 if test "${ac_cv_header_sql_h+set}" = set; then
33618 echo "$as_me:$LINENO: checking for sql.h" >&5
33619 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33620 if test "${ac_cv_header_sql_h+set}" = set; then
33621 echo $ECHO_N "(cached) $ECHO_C" >&6
33622 fi
33623 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33624 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33625 else
33626 # Is the header compilable?
33627 echo "$as_me:$LINENO: checking sql.h usability" >&5
33628 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
33629 cat >conftest.$ac_ext <<_ACEOF
33630 /* confdefs.h. */
33631 _ACEOF
33632 cat confdefs.h >>conftest.$ac_ext
33633 cat >>conftest.$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635 $ac_includes_default
33636 #include <sql.h>
33637 _ACEOF
33638 rm -f conftest.$ac_objext
33639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33640 (eval $ac_compile) 2>conftest.er1
33641 ac_status=$?
33642 grep -v '^ *+' conftest.er1 >conftest.err
33643 rm -f conftest.er1
33644 cat conftest.err >&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } &&
33647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33649 (eval $ac_try) 2>&5
33650 ac_status=$?
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); }; } &&
33653 { ac_try='test -s conftest.$ac_objext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33656 ac_status=$?
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 ac_header_compiler=yes
33660 else
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.$ac_ext >&5
33663
33664 ac_header_compiler=no
33665 fi
33666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33668 echo "${ECHO_T}$ac_header_compiler" >&6
33669
33670 # Is the header present?
33671 echo "$as_me:$LINENO: checking sql.h presence" >&5
33672 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
33673 cat >conftest.$ac_ext <<_ACEOF
33674 /* confdefs.h. */
33675 _ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33679 #include <sql.h>
33680 _ACEOF
33681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33683 ac_status=$?
33684 grep -v '^ *+' conftest.er1 >conftest.err
33685 rm -f conftest.er1
33686 cat conftest.err >&5
33687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33688 (exit $ac_status); } >/dev/null; then
33689 if test -s conftest.err; then
33690 ac_cpp_err=$ac_cxx_preproc_warn_flag
33691 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33692 else
33693 ac_cpp_err=
33694 fi
33695 else
33696 ac_cpp_err=yes
33697 fi
33698 if test -z "$ac_cpp_err"; then
33699 ac_header_preproc=yes
33700 else
33701 echo "$as_me: failed program was:" >&5
33702 sed 's/^/| /' conftest.$ac_ext >&5
33703
33704 ac_header_preproc=no
33705 fi
33706 rm -f conftest.err conftest.$ac_ext
33707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33708 echo "${ECHO_T}$ac_header_preproc" >&6
33709
33710 # So? What about this header?
33711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33712 yes:no: )
33713 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
33714 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33715 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
33716 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
33717 ac_header_preproc=yes
33718 ;;
33719 no:yes:* )
33720 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33721 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33722 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33723 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33724 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33725 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33726 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33727 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33728 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33729 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33730 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33731 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33732 (
33733 cat <<\_ASBOX
33734 ## ----------------------------------------- ##
33735 ## Report this to wx-dev@lists.wxwidgets.org ##
33736 ## ----------------------------------------- ##
33737 _ASBOX
33738 ) |
33739 sed "s/^/$as_me: WARNING: /" >&2
33740 ;;
33741 esac
33742 echo "$as_me:$LINENO: checking for sql.h" >&5
33743 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33744 if test "${ac_cv_header_sql_h+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33746 else
33747 ac_cv_header_sql_h=$ac_header_preproc
33748 fi
33749 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33750 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33751
33752 fi
33753 if test $ac_cv_header_sql_h = yes; then
33754 found_sql_h=1
33755 fi
33756
33757
33758 if test "x$found_sql_h" = "x1" ; then
33759 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33760 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33761 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33763 else
33764 ac_check_lib_save_LIBS=$LIBS
33765 LIBS="-liodbc $LIBS"
33766 cat >conftest.$ac_ext <<_ACEOF
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772
33773 /* Override any gcc2 internal prototype to avoid an error. */
33774 #ifdef __cplusplus
33775 extern "C"
33776 #endif
33777 /* We use char because int might match the return type of a gcc2
33778 builtin and then its argument prototype would still apply. */
33779 char SQLAllocEnv ();
33780 int
33781 main ()
33782 {
33783 SQLAllocEnv ();
33784 ;
33785 return 0;
33786 }
33787 _ACEOF
33788 rm -f conftest.$ac_objext conftest$ac_exeext
33789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33790 (eval $ac_link) 2>conftest.er1
33791 ac_status=$?
33792 grep -v '^ *+' conftest.er1 >conftest.err
33793 rm -f conftest.er1
33794 cat conftest.err >&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } &&
33797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; } &&
33803 { ac_try='test -s conftest$ac_exeext'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33806 ac_status=$?
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; }; then
33809 ac_cv_lib_iodbc_SQLAllocEnv=yes
33810 else
33811 echo "$as_me: failed program was:" >&5
33812 sed 's/^/| /' conftest.$ac_ext >&5
33813
33814 ac_cv_lib_iodbc_SQLAllocEnv=no
33815 fi
33816 rm -f conftest.err conftest.$ac_objext \
33817 conftest$ac_exeext conftest.$ac_ext
33818 LIBS=$ac_check_lib_save_LIBS
33819 fi
33820 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33821 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33822 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33823 ODBC_LINK=" -liodbc"
33824 else
33825
33826 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33827 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33828 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 else
33831 ac_check_lib_save_LIBS=$LIBS
33832 LIBS="-lunixodbc $LIBS"
33833 cat >conftest.$ac_ext <<_ACEOF
33834 /* confdefs.h. */
33835 _ACEOF
33836 cat confdefs.h >>conftest.$ac_ext
33837 cat >>conftest.$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839
33840 /* Override any gcc2 internal prototype to avoid an error. */
33841 #ifdef __cplusplus
33842 extern "C"
33843 #endif
33844 /* We use char because int might match the return type of a gcc2
33845 builtin and then its argument prototype would still apply. */
33846 char SQLAllocEnv ();
33847 int
33848 main ()
33849 {
33850 SQLAllocEnv ();
33851 ;
33852 return 0;
33853 }
33854 _ACEOF
33855 rm -f conftest.$ac_objext conftest$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857 (eval $ac_link) 2>conftest.er1
33858 ac_status=$?
33859 grep -v '^ *+' conftest.er1 >conftest.err
33860 rm -f conftest.er1
33861 cat conftest.err >&5
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); } &&
33864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; } &&
33870 { ac_try='test -s conftest$ac_exeext'
33871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33872 (eval $ac_try) 2>&5
33873 ac_status=$?
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); }; }; then
33876 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33877 else
33878 echo "$as_me: failed program was:" >&5
33879 sed 's/^/| /' conftest.$ac_ext >&5
33880
33881 ac_cv_lib_unixodbc_SQLAllocEnv=no
33882 fi
33883 rm -f conftest.err conftest.$ac_objext \
33884 conftest$ac_exeext conftest.$ac_ext
33885 LIBS=$ac_check_lib_save_LIBS
33886 fi
33887 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33888 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33889 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33890 ODBC_LINK=" -lunixodbc"
33891 else
33892
33893 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33894 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33895 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33897 else
33898 ac_check_lib_save_LIBS=$LIBS
33899 LIBS="-lodbc $LIBS"
33900 cat >conftest.$ac_ext <<_ACEOF
33901 /* confdefs.h. */
33902 _ACEOF
33903 cat confdefs.h >>conftest.$ac_ext
33904 cat >>conftest.$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33906
33907 /* Override any gcc2 internal prototype to avoid an error. */
33908 #ifdef __cplusplus
33909 extern "C"
33910 #endif
33911 /* We use char because int might match the return type of a gcc2
33912 builtin and then its argument prototype would still apply. */
33913 char SQLAllocEnv ();
33914 int
33915 main ()
33916 {
33917 SQLAllocEnv ();
33918 ;
33919 return 0;
33920 }
33921 _ACEOF
33922 rm -f conftest.$ac_objext conftest$ac_exeext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33924 (eval $ac_link) 2>conftest.er1
33925 ac_status=$?
33926 grep -v '^ *+' conftest.er1 >conftest.err
33927 rm -f conftest.er1
33928 cat conftest.err >&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33933 (eval $ac_try) 2>&5
33934 ac_status=$?
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); }; } &&
33937 { ac_try='test -s conftest$ac_exeext'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; }; then
33943 ac_cv_lib_odbc_SQLAllocEnv=yes
33944 else
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.$ac_ext >&5
33947
33948 ac_cv_lib_odbc_SQLAllocEnv=no
33949 fi
33950 rm -f conftest.err conftest.$ac_objext \
33951 conftest$ac_exeext conftest.$ac_ext
33952 LIBS=$ac_check_lib_save_LIBS
33953 fi
33954 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33955 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33956 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33957 ODBC_LINK=" -lodbc"
33958 fi
33959
33960
33961 fi
33962
33963
33964 fi
33965
33966 fi
33967 if test "x$ODBC_LINK" = "x" ; then
33968 if test "$wxUSE_ODBC" = "sys" ; then
33969 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33970 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33971 { (exit 1); exit 1; }; }
33972 else
33973 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33974 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33975 wxUSE_ODBC=builtin
33976 fi
33977 else
33978 wxUSE_ODBC=sys
33979 fi
33980 fi
33981
33982 if test "$wxUSE_ODBC" = "builtin" ; then
33983 cat >>confdefs.h <<\_ACEOF
33984 #define wxUSE_BUILTIN_IODBC 1
33985 _ACEOF
33986
33987 fi
33988 fi
33989
33990 if test "$wxUSE_ODBC" != "no" ; then
33991 cat >>confdefs.h <<\_ACEOF
33992 #define wxUSE_ODBC 1
33993 _ACEOF
33994
33995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33996
33997 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33998 fi
33999
34000
34001 if test "$wxUSE_DISPLAY" = "yes"; then
34002 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34003 echo "$as_me:$LINENO: checking for Xinerama" >&5
34004 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34005
34006 ac_find_libraries=
34007 for ac_dir in $SEARCH_LIB;
34008 do
34009 for ac_extension in a so sl dylib dll.a; do
34010 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34011 ac_find_libraries=$ac_dir
34012 break 2
34013 fi
34014 done
34015 done
34016
34017 if test "$ac_find_libraries" != "" ; then
34018
34019 if test "$ac_find_libraries" = "default location"; then
34020 ac_path_to_link=""
34021 else
34022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34023 result=$?
34024 if test $result = 0; then
34025 ac_path_to_link=""
34026 else
34027 ac_path_to_link=" -L$ac_find_libraries"
34028 fi
34029 fi
34030
34031 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34032 LDFLAGS="$LDFLAGS $ac_path_to_link"
34033 fi
34034 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34035 echo "$as_me:$LINENO: result: yes" >&5
34036 echo "${ECHO_T}yes" >&6
34037
34038 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34039 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
34040
34041 ac_find_libraries=
34042 for ac_dir in $SEARCH_LIB;
34043 do
34044 for ac_extension in a so sl dylib dll.a; do
34045 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34046 ac_find_libraries=$ac_dir
34047 break 2
34048 fi
34049 done
34050 done
34051
34052 if test "$ac_find_libraries" != "" ; then
34053 echo "$as_me:$LINENO: result: yes" >&5
34054 echo "${ECHO_T}yes" >&6
34055
34056 for ac_header in X11/extensions/xf86vmode.h
34057 do
34058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34059 echo "$as_me:$LINENO: checking for $ac_header" >&5
34060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070
34071 #if HAVE_X11_XLIB_H
34072 #include <X11/Xlib.h>
34073 #endif
34074
34075
34076 #include <$ac_header>
34077 _ACEOF
34078 rm -f conftest.$ac_objext
34079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34080 (eval $ac_compile) 2>conftest.er1
34081 ac_status=$?
34082 grep -v '^ *+' conftest.er1 >conftest.err
34083 rm -f conftest.er1
34084 cat conftest.err >&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } &&
34087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34089 (eval $ac_try) 2>&5
34090 ac_status=$?
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); }; } &&
34093 { ac_try='test -s conftest.$ac_objext'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34096 ac_status=$?
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; }; then
34099 eval "$as_ac_Header=yes"
34100 else
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.$ac_ext >&5
34103
34104 eval "$as_ac_Header=no"
34105 fi
34106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34107 fi
34108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34111 cat >>confdefs.h <<_ACEOF
34112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34113 _ACEOF
34114
34115 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34116
34117 fi
34118
34119 done
34120
34121 else
34122 echo "$as_me:$LINENO: result: no" >&5
34123 echo "${ECHO_T}no" >&6
34124 fi
34125
34126 else
34127 echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6
34129 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34130 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34131 wxUSE_DISPLAY="no"
34132 fi
34133 elif test "$wxUSE_MSW" = 1; then
34134
34135 for ac_header in ddraw.h
34136 do
34137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34138 echo "$as_me:$LINENO: checking for $ac_header" >&5
34139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 else
34143 cat >conftest.$ac_ext <<_ACEOF
34144 /* confdefs.h. */
34145 _ACEOF
34146 cat confdefs.h >>conftest.$ac_ext
34147 cat >>conftest.$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149 #include <windows.h>
34150
34151 #include <$ac_header>
34152 _ACEOF
34153 rm -f conftest.$ac_objext
34154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34155 (eval $ac_compile) 2>conftest.er1
34156 ac_status=$?
34157 grep -v '^ *+' conftest.er1 >conftest.err
34158 rm -f conftest.er1
34159 cat conftest.err >&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); } &&
34162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34165 ac_status=$?
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; } &&
34168 { ac_try='test -s conftest.$ac_objext'
34169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34170 (eval $ac_try) 2>&5
34171 ac_status=$?
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); }; }; then
34174 eval "$as_ac_Header=yes"
34175 else
34176 echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.$ac_ext >&5
34178
34179 eval "$as_ac_Header=no"
34180 fi
34181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34182 fi
34183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34186 cat >>confdefs.h <<_ACEOF
34187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34188 _ACEOF
34189
34190 fi
34191
34192 done
34193
34194 fi
34195 fi
34196
34197 if test "$wxUSE_DETECT_SM" = "yes"; then
34198 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34199 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34200 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
34201
34202 ac_find_libraries=
34203 for ac_dir in $SEARCH_LIB;
34204 do
34205 for ac_extension in a so sl dylib dll.a; do
34206 if test -f "$ac_dir/libSM.$ac_extension"; then
34207 ac_find_libraries=$ac_dir
34208 break 2
34209 fi
34210 done
34211 done
34212
34213 if test "$ac_find_libraries" != "" ; then
34214
34215 if test "$ac_find_libraries" = "default location"; then
34216 ac_path_to_link=""
34217 else
34218 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34219 result=$?
34220 if test $result = 0; then
34221 ac_path_to_link=""
34222 else
34223 ac_path_to_link=" -L$ac_find_libraries"
34224 fi
34225 fi
34226
34227 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34228 LDFLAGS="$LDFLAGS $ac_path_to_link"
34229 fi
34230 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34231 echo "$as_me:$LINENO: result: yes" >&5
34232 echo "${ECHO_T}yes" >&6
34233 else
34234 echo "$as_me:$LINENO: result: no" >&5
34235 echo "${ECHO_T}no" >&6
34236 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34237 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34238 wxUSE_DETECT_SM="no"
34239 fi
34240 else
34241 wxUSE_DETECT_SM="no"
34242 fi
34243 fi
34244
34245
34246
34247 USE_OPENGL=0
34248 if test "$wxUSE_OPENGL" = "yes"; then
34249 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34250 OPENGL_LIBS="-framework OpenGL -framework AGL"
34251 elif test "$wxUSE_MSW" = 1; then
34252 OPENGL_LIBS="-lopengl32 -lglu32"
34253 else
34254
34255
34256 ac_find_includes=
34257 for ac_dir in $SEARCH_INCLUDE /usr/include;
34258 do
34259 if test -f "$ac_dir/GL/gl.h"; then
34260 ac_find_includes=$ac_dir
34261 break
34262 fi
34263 done
34264
34265 if test "$ac_find_includes" != "" ; then
34266 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34267 echo "${ECHO_T}found in $ac_find_includes" >&6
34268
34269 if test "x$ac_find_includes" = "x/usr/include"; then
34270 ac_path_to_include=""
34271 else
34272 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34273 result=$?
34274 if test $result = 0; then
34275 ac_path_to_include=""
34276 else
34277 ac_path_to_include=" -I$ac_find_includes"
34278 fi
34279 fi
34280
34281 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34282 fi
34283
34284 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34285 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34286 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34287 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34288 echo $ECHO_N "(cached) $ECHO_C" >&6
34289 fi
34290 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34291 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34292 else
34293 # Is the header compilable?
34294 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
34295 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
34296 cat >conftest.$ac_ext <<_ACEOF
34297 /* confdefs.h. */
34298 _ACEOF
34299 cat confdefs.h >>conftest.$ac_ext
34300 cat >>conftest.$ac_ext <<_ACEOF
34301 /* end confdefs.h. */
34302 $ac_includes_default
34303 #include <GL/gl.h>
34304 _ACEOF
34305 rm -f conftest.$ac_objext
34306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34307 (eval $ac_compile) 2>conftest.er1
34308 ac_status=$?
34309 grep -v '^ *+' conftest.er1 >conftest.err
34310 rm -f conftest.er1
34311 cat conftest.err >&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } &&
34314 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34316 (eval $ac_try) 2>&5
34317 ac_status=$?
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); }; } &&
34320 { ac_try='test -s conftest.$ac_objext'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34323 ac_status=$?
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; }; then
34326 ac_header_compiler=yes
34327 else
34328 echo "$as_me: failed program was:" >&5
34329 sed 's/^/| /' conftest.$ac_ext >&5
34330
34331 ac_header_compiler=no
34332 fi
34333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34335 echo "${ECHO_T}$ac_header_compiler" >&6
34336
34337 # Is the header present?
34338 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
34339 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h. */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346 #include <GL/gl.h>
34347 _ACEOF
34348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34350 ac_status=$?
34351 grep -v '^ *+' conftest.er1 >conftest.err
34352 rm -f conftest.er1
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } >/dev/null; then
34356 if test -s conftest.err; then
34357 ac_cpp_err=$ac_cxx_preproc_warn_flag
34358 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
34359 else
34360 ac_cpp_err=
34361 fi
34362 else
34363 ac_cpp_err=yes
34364 fi
34365 if test -z "$ac_cpp_err"; then
34366 ac_header_preproc=yes
34367 else
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.$ac_ext >&5
34370
34371 ac_header_preproc=no
34372 fi
34373 rm -f conftest.err conftest.$ac_ext
34374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34375 echo "${ECHO_T}$ac_header_preproc" >&6
34376
34377 # So? What about this header?
34378 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
34379 yes:no: )
34380 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34381 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
34383 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
34384 ac_header_preproc=yes
34385 ;;
34386 no:yes:* )
34387 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
34388 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
34389 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
34390 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
34391 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
34392 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
34393 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
34394 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34395 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
34396 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
34397 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
34398 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
34399 (
34400 cat <<\_ASBOX
34401 ## ----------------------------------------- ##
34402 ## Report this to wx-dev@lists.wxwidgets.org ##
34403 ## ----------------------------------------- ##
34404 _ASBOX
34405 ) |
34406 sed "s/^/$as_me: WARNING: /" >&2
34407 ;;
34408 esac
34409 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34410 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34411 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34412 echo $ECHO_N "(cached) $ECHO_C" >&6
34413 else
34414 ac_cv_header_GL_gl_h=$ac_header_preproc
34415 fi
34416 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34417 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34418
34419 fi
34420 if test $ac_cv_header_GL_gl_h = yes; then
34421
34422 found_gl=0
34423
34424 echo "$as_me:$LINENO: checking for -lGL" >&5
34425 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
34426
34427 ac_find_libraries=
34428 for ac_dir in $SEARCH_LIB;
34429 do
34430 for ac_extension in a so sl dylib dll.a; do
34431 if test -f "$ac_dir/libGL.$ac_extension"; then
34432 ac_find_libraries=$ac_dir
34433 break 2
34434 fi
34435 done
34436 done
34437
34438 if test "$ac_find_libraries" != "" ; then
34439 echo "$as_me:$LINENO: result: yes" >&5
34440 echo "${ECHO_T}yes" >&6
34441
34442
34443 if test "$ac_find_libraries" = "default location"; then
34444 ac_path_to_link=""
34445 else
34446 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34447 result=$?
34448 if test $result = 0; then
34449 ac_path_to_link=""
34450 else
34451 ac_path_to_link=" -L$ac_find_libraries"
34452 fi
34453 fi
34454
34455 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34456 LDFLAGS_GL="$ac_path_to_link"
34457 fi
34458
34459 echo "$as_me:$LINENO: checking for -lGLU" >&5
34460 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
34461
34462 ac_find_libraries=
34463 for ac_dir in $SEARCH_LIB;
34464 do
34465 for ac_extension in a so sl dylib dll.a; do
34466 if test -f "$ac_dir/libGLU.$ac_extension"; then
34467 ac_find_libraries=$ac_dir
34468 break 2
34469 fi
34470 done
34471 done
34472
34473 if test "$ac_find_libraries" != "" ; then
34474
34475 if test "$ac_find_libraries" = "default location"; then
34476 ac_path_to_link=""
34477 else
34478 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34479 result=$?
34480 if test $result = 0; then
34481 ac_path_to_link=""
34482 else
34483 ac_path_to_link=" -L$ac_find_libraries"
34484 fi
34485 fi
34486
34487 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34488 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34489 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34490 fi
34491
34492 found_gl=1
34493 OPENGL_LIBS="-lGL -lGLU"
34494 echo "$as_me:$LINENO: result: yes" >&5
34495 echo "${ECHO_T}yes" >&6
34496 else
34497 echo "$as_me:$LINENO: result: no" >&5
34498 echo "${ECHO_T}no" >&6
34499 fi
34500 else
34501 echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6
34503 fi
34504
34505 if test "$found_gl" != 1; then
34506 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34507 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
34508
34509 ac_find_libraries=
34510 for ac_dir in $SEARCH_LIB;
34511 do
34512 for ac_extension in a so sl dylib dll.a; do
34513 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34514 ac_find_libraries=$ac_dir
34515 break 2
34516 fi
34517 done
34518 done
34519
34520 if test "$ac_find_libraries" != "" ; then
34521
34522 if test "$ac_find_libraries" = "default location"; then
34523 ac_path_to_link=""
34524 else
34525 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34526 result=$?
34527 if test $result = 0; then
34528 ac_path_to_link=""
34529 else
34530 ac_path_to_link=" -L$ac_find_libraries"
34531 fi
34532 fi
34533
34534 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34535 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34536 echo "$as_me:$LINENO: result: yes" >&5
34537 echo "${ECHO_T}yes" >&6
34538 else
34539 echo "$as_me:$LINENO: result: no" >&5
34540 echo "${ECHO_T}no" >&6
34541 fi
34542 fi
34543
34544 fi
34545
34546
34547
34548 if test "x$OPENGL_LIBS" = "x"; then
34549 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34550 echo "$as_me: error: OpenGL libraries not available" >&2;}
34551 { (exit 1); exit 1; }; }
34552 fi
34553 fi
34554
34555 if test "$wxUSE_OPENGL" = "yes"; then
34556 USE_OPENGL=1
34557 cat >>confdefs.h <<\_ACEOF
34558 #define wxUSE_OPENGL 1
34559 _ACEOF
34560
34561 cat >>confdefs.h <<\_ACEOF
34562 #define wxUSE_GLCANVAS 1
34563 _ACEOF
34564
34565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34566 fi
34567 fi
34568
34569
34570 if test -n "$TOOLKIT" ; then
34571 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34572 fi
34573
34574
34575
34576 if test "$wxUSE_SHARED" = "yes"; then
34577 case "${host}" in
34578 *-pc-msdosdjgpp )
34579 wxUSE_SHARED=no
34580 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34581 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34582 ;;
34583 esac
34584 fi
34585
34586 if test "$wxUSE_SHARED" = "yes"; then
34587
34588
34589 found_versioning=no
34590
34591
34592 if test $found_versioning = no ; then
34593 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34594 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34595 if test "${wx_cv_version_script+set}" = set; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34597 else
34598
34599 echo "VER_1 { *; };" >conftest.sym
34600 echo "int main() { return 0; }" >conftest.cpp
34601
34602 if { ac_try='
34603 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34604 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34607 ac_status=$?
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; } ; then
34610 if test -s conftest.stderr ; then
34611 wx_cv_version_script=no
34612 else
34613 wx_cv_version_script=yes
34614 fi
34615 else
34616 wx_cv_version_script=no
34617 fi
34618
34619 if test $wx_cv_version_script = yes
34620 then
34621 echo "struct B { virtual ~B() { } }; \
34622 struct D : public B { }; \
34623 void F() { D d; }" > conftest.cpp
34624
34625 if { ac_try='
34626 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34627 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34630 ac_status=$?
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; } &&
34633 { ac_try='
34634 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34635 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34638 ac_status=$?
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; }
34641 then
34642 if { ac_try='
34643 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34644 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34647 ac_status=$?
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; }
34650 then
34651 wx_cv_version_script=yes
34652 else
34653 wx_cv_version_script=no
34654 fi
34655 fi
34656 fi
34657
34658 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34659 rm -f conftest1.output conftest2.output conftest3.output
34660
34661 fi
34662 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34663 echo "${ECHO_T}$wx_cv_version_script" >&6
34664 if test $wx_cv_version_script = yes ; then
34665 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
34666 fi
34667 fi
34668
34669
34670 case "${host}" in
34671 *-*-linux* | *-*-gnu* )
34672 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
34673 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34674 ;;
34675
34676 *-*-solaris2* )
34677 if test "$GCC" = yes ; then
34678 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34679
34680 saveLdflags="$LDFLAGS"
34681 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34682 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34683 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34684 cat >conftest.$ac_ext <<_ACEOF
34685 /* confdefs.h. */
34686 _ACEOF
34687 cat confdefs.h >>conftest.$ac_ext
34688 cat >>conftest.$ac_ext <<_ACEOF
34689 /* end confdefs.h. */
34690
34691 int
34692 main ()
34693 {
34694
34695 ;
34696 return 0;
34697 }
34698 _ACEOF
34699 rm -f conftest.$ac_objext conftest$ac_exeext
34700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34701 (eval $ac_link) 2>conftest.er1
34702 ac_status=$?
34703 grep -v '^ *+' conftest.er1 >conftest.err
34704 rm -f conftest.er1
34705 cat conftest.err >&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } &&
34708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34711 ac_status=$?
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34717 ac_status=$?
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720
34721 echo "$as_me:$LINENO: result: yes" >&5
34722 echo "${ECHO_T}yes" >&6
34723 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
34724 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34725
34726 else
34727 echo "$as_me: failed program was:" >&5
34728 sed 's/^/| /' conftest.$ac_ext >&5
34729
34730
34731 echo "$as_me:$LINENO: result: no" >&5
34732 echo "${ECHO_T}no" >&6
34733 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34734 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34735 LDFLAGS="$saveLdflags -Wl,-R,/"
34736 cat >conftest.$ac_ext <<_ACEOF
34737 /* confdefs.h. */
34738 _ACEOF
34739 cat confdefs.h >>conftest.$ac_ext
34740 cat >>conftest.$ac_ext <<_ACEOF
34741 /* end confdefs.h. */
34742
34743 int
34744 main ()
34745 {
34746
34747 ;
34748 return 0;
34749 }
34750 _ACEOF
34751 rm -f conftest.$ac_objext conftest$ac_exeext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34753 (eval $ac_link) 2>conftest.er1
34754 ac_status=$?
34755 grep -v '^ *+' conftest.er1 >conftest.err
34756 rm -f conftest.er1
34757 cat conftest.err >&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } &&
34760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34763 ac_status=$?
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; } &&
34766 { ac_try='test -s conftest$ac_exeext'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34769 ac_status=$?
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34772
34773 echo "$as_me:$LINENO: result: yes" >&5
34774 echo "${ECHO_T}yes" >&6
34775 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
34776 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34777
34778 else
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.$ac_ext >&5
34781
34782
34783 echo "$as_me:$LINENO: result: no" >&5
34784 echo "${ECHO_T}no" >&6
34785
34786 fi
34787 rm -f conftest.err conftest.$ac_objext \
34788 conftest$ac_exeext conftest.$ac_ext
34789
34790 fi
34791 rm -f conftest.err conftest.$ac_objext \
34792 conftest$ac_exeext conftest.$ac_ext
34793 LDFLAGS="$saveLdflags"
34794 else
34795 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
34796 WXCONFIG_RPATH="-R\$libdir"
34797 fi
34798 ;;
34799
34800 *-*-darwin* )
34801 install_name_tool=`which install_name_tool`
34802 if test "$install_name_tool" -a -x "$install_name_tool"; then
34803 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34804 cat <<EOF >change-install-names
34805 #!/bin/sh
34806 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34807 inst_cmd="install_name_tool "
34808 for i in \${libnames} ; do
34809 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34810 done
34811 \${inst_cmd} \${3}
34812 EOF
34813 chmod +x change-install-names
34814 fi
34815 ;;
34816
34817 *-*-cygwin* | *-*-mingw32* )
34818 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34819 ;;
34820
34821 *-*-hpux* )
34822 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
34823 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34824 ;;
34825
34826 esac
34827
34828 if test $wxUSE_RPATH = "no"; then
34829 SAMPLES_RPATH_FLAG=''
34830 SAMPLES_RPATH_POSTLINK=''
34831 WXCONFIG_RPATH=''
34832 fi
34833
34834 SHARED=1
34835
34836 else
34837
34838 config_linkage_component="-static"
34839 SHARED=0
34840
34841 fi
34842
34843
34844 UNICODE=0
34845 lib_unicode_suffix=
34846 WX_CHARTYPE="ansi"
34847 if test "$wxUSE_UNICODE" = "yes"; then
34848 lib_unicode_suffix=u
34849 WX_CHARTYPE="unicode"
34850 UNICODE=1
34851 fi
34852
34853 lib_debug_suffix=
34854 WX_DEBUGTYPE="release"
34855 DEBUG_FLAG=0
34856 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34857 lib_debug_suffix=d
34858 WX_DEBUGTYPE="debug"
34859 DEBUG_FLAG=1
34860 fi
34861
34862 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34863 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34864
34865 DEBUG_INFO=0
34866 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34867 DEBUG_INFO=1
34868 fi
34869
34870 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34871
34872 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34873
34874 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34875
34876 if test "$cross_compiling" = "yes"; then
34877 HOST_SUFFIX="-$host_alias"
34878 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34879 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34880 fi
34881
34882 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34883 if test "${TOOLKIT_DIR}" = "os2"; then
34884 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34885 else
34886 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34887 fi
34888
34889
34890
34891 if test "$wxUSE_COCOA" = 1; then
34892
34893
34894 ac_ext=c
34895 ac_cpp='$CPP $CPPFLAGS'
34896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34899
34900 ac_ext=m
34901
34902 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34903 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34904 cat >conftest.$ac_ext <<_ACEOF
34905 /* confdefs.h. */
34906 _ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910 #include <AppKit/NSEvent.h>
34911 #include <CoreFoundation/CoreFoundation.h>
34912
34913 int
34914 main ()
34915 {
34916
34917 ;
34918 return 0;
34919 }
34920 _ACEOF
34921 rm -f conftest.$ac_objext
34922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34923 (eval $ac_compile) 2>conftest.er1
34924 ac_status=$?
34925 grep -v '^ *+' conftest.er1 >conftest.err
34926 rm -f conftest.er1
34927 cat conftest.err >&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932 (eval $ac_try) 2>&5
34933 ac_status=$?
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); }; } &&
34936 { ac_try='test -s conftest.$ac_objext'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34939 ac_status=$?
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; }; then
34942 echo "$as_me:$LINENO: result: no" >&5
34943 echo "${ECHO_T}no" >&6
34944 else
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.$ac_ext >&5
34947
34948 echo "$as_me:$LINENO: result: yes" >&5
34949 echo "${ECHO_T}yes" >&6
34950 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34951 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34952 cat >conftest.$ac_ext <<_ACEOF
34953 /* confdefs.h. */
34954 _ACEOF
34955 cat confdefs.h >>conftest.$ac_ext
34956 cat >>conftest.$ac_ext <<_ACEOF
34957 /* end confdefs.h. */
34958 #define __Point__ 1
34959 #include <AppKit/NSEvent.h>
34960 #include <CoreFoundation/CoreFoundation.h>
34961
34962 int
34963 main ()
34964 {
34965
34966 ;
34967 return 0;
34968 }
34969 _ACEOF
34970 rm -f conftest.$ac_objext
34971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34972 (eval $ac_compile) 2>conftest.er1
34973 ac_status=$?
34974 grep -v '^ *+' conftest.er1 >conftest.err
34975 rm -f conftest.er1
34976 cat conftest.err >&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } &&
34979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34982 ac_status=$?
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; } &&
34985 { ac_try='test -s conftest.$ac_objext'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34988 ac_status=$?
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; }; then
34991 echo "$as_me:$LINENO: result: yes" >&5
34992 echo "${ECHO_T}yes" >&6
34993 cat >>confdefs.h <<\_ACEOF
34994 #define __Point__ 1
34995 _ACEOF
34996
34997
34998 else
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.$ac_ext >&5
35001
35002 { { echo "$as_me:$LINENO: error: no
35003 See \`config.log' for more details." >&5
35004 echo "$as_me: error: no
35005 See \`config.log' for more details." >&2;}
35006 { (exit 1); exit 1; }; }
35007
35008 fi
35009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35010
35011 fi
35012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35013 ac_ext=cc
35014 ac_cpp='$CXXCPP $CPPFLAGS'
35015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35018
35019 fi
35020
35021 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35022 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35023 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35024
35025 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
35026
35027 # Extract the first word of "Rez", so it can be a program name with args.
35028 set dummy Rez; ac_word=$2
35029 echo "$as_me:$LINENO: checking for $ac_word" >&5
35030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35031 if test "${ac_cv_prog_REZ+set}" = set; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35033 else
35034 if test -n "$REZ"; then
35035 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35036 else
35037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35038 for as_dir in $PATH
35039 do
35040 IFS=$as_save_IFS
35041 test -z "$as_dir" && as_dir=.
35042 for ac_exec_ext in '' $ac_executable_extensions; do
35043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35044 ac_cv_prog_REZ="Rez"
35045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35046 break 2
35047 fi
35048 done
35049 done
35050
35051 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
35052 fi
35053 fi
35054 REZ=$ac_cv_prog_REZ
35055 if test -n "$REZ"; then
35056 echo "$as_me:$LINENO: result: $REZ" >&5
35057 echo "${ECHO_T}$REZ" >&6
35058 else
35059 echo "$as_me:$LINENO: result: no" >&5
35060 echo "${ECHO_T}no" >&6
35061 fi
35062
35063 # Extract the first word of "DeRez", so it can be a program name with args.
35064 set dummy DeRez; ac_word=$2
35065 echo "$as_me:$LINENO: checking for $ac_word" >&5
35066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35067 if test "${ac_cv_prog_DEREZ+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 else
35070 if test -n "$DEREZ"; then
35071 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35072 else
35073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35074 for as_dir in $PATH
35075 do
35076 IFS=$as_save_IFS
35077 test -z "$as_dir" && as_dir=.
35078 for ac_exec_ext in '' $ac_executable_extensions; do
35079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35080 ac_cv_prog_DEREZ="DeRez"
35081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35082 break 2
35083 fi
35084 done
35085 done
35086
35087 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
35088 fi
35089 fi
35090 DEREZ=$ac_cv_prog_DEREZ
35091 if test -n "$DEREZ"; then
35092 echo "$as_me:$LINENO: result: $DEREZ" >&5
35093 echo "${ECHO_T}$DEREZ" >&6
35094 else
35095 echo "$as_me:$LINENO: result: no" >&5
35096 echo "${ECHO_T}no" >&6
35097 fi
35098
35099 # Extract the first word of "SetFile", so it can be a program name with args.
35100 set dummy SetFile; ac_word=$2
35101 echo "$as_me:$LINENO: checking for $ac_word" >&5
35102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35103 if test "${ac_cv_prog_SETFILE+set}" = set; then
35104 echo $ECHO_N "(cached) $ECHO_C" >&6
35105 else
35106 if test -n "$SETFILE"; then
35107 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35108 else
35109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35110 for as_dir in $PATH
35111 do
35112 IFS=$as_save_IFS
35113 test -z "$as_dir" && as_dir=.
35114 for ac_exec_ext in '' $ac_executable_extensions; do
35115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35116 ac_cv_prog_SETFILE="SetFile"
35117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35118 break 2
35119 fi
35120 done
35121 done
35122
35123 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35124 fi
35125 fi
35126 SETFILE=$ac_cv_prog_SETFILE
35127 if test -n "$SETFILE"; then
35128 echo "$as_me:$LINENO: result: $SETFILE" >&5
35129 echo "${ECHO_T}$SETFILE" >&6
35130 else
35131 echo "$as_me:$LINENO: result: no" >&5
35132 echo "${ECHO_T}no" >&6
35133 fi
35134
35135
35136 MACSETFILE="\$(SETFILE)"
35137
35138 if test "$wxUSE_MAC" = 1; then
35139 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35140 RESCOMP="$REZ"
35141 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
35142 else
35143 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35144 RESCOMP="echo -n \| $REZ"
35145 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35146 fi
35147
35148 else
35149 MACSETFILE="@true"
35150
35151 if test "$wxUSE_PM" = 1; then
35152 RESCOMP="emxbind"
35153 WXCONFIG_RESFLAGS="-ep"
35154
35155 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35156 else
35157 POSTLINK_COMMAND="@true"
35158 fi
35159
35160 fi
35161
35162
35163
35164 echo "$as_me:$LINENO: checking for mode_t" >&5
35165 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
35166 if test "${ac_cv_type_mode_t+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 $ac_includes_default
35176 int
35177 main ()
35178 {
35179 if ((mode_t *) 0)
35180 return 0;
35181 if (sizeof (mode_t))
35182 return 0;
35183 ;
35184 return 0;
35185 }
35186 _ACEOF
35187 rm -f conftest.$ac_objext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35189 (eval $ac_compile) 2>conftest.er1
35190 ac_status=$?
35191 grep -v '^ *+' conftest.er1 >conftest.err
35192 rm -f conftest.er1
35193 cat conftest.err >&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35199 ac_status=$?
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35205 ac_status=$?
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 ac_cv_type_mode_t=yes
35209 else
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.$ac_ext >&5
35212
35213 ac_cv_type_mode_t=no
35214 fi
35215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35216 fi
35217 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35218 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
35219 if test $ac_cv_type_mode_t = yes; then
35220 :
35221 else
35222
35223 cat >>confdefs.h <<_ACEOF
35224 #define mode_t int
35225 _ACEOF
35226
35227 fi
35228
35229 echo "$as_me:$LINENO: checking for off_t" >&5
35230 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35231 if test "${ac_cv_type_off_t+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35233 else
35234 cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h. */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35240 $ac_includes_default
35241 int
35242 main ()
35243 {
35244 if ((off_t *) 0)
35245 return 0;
35246 if (sizeof (off_t))
35247 return 0;
35248 ;
35249 return 0;
35250 }
35251 _ACEOF
35252 rm -f conftest.$ac_objext
35253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35254 (eval $ac_compile) 2>conftest.er1
35255 ac_status=$?
35256 grep -v '^ *+' conftest.er1 >conftest.err
35257 rm -f conftest.er1
35258 cat conftest.err >&5
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); } &&
35261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263 (eval $ac_try) 2>&5
35264 ac_status=$?
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); }; } &&
35267 { ac_try='test -s conftest.$ac_objext'
35268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35269 (eval $ac_try) 2>&5
35270 ac_status=$?
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); }; }; then
35273 ac_cv_type_off_t=yes
35274 else
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35277
35278 ac_cv_type_off_t=no
35279 fi
35280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35281 fi
35282 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35283 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35284 if test $ac_cv_type_off_t = yes; then
35285 :
35286 else
35287
35288 cat >>confdefs.h <<_ACEOF
35289 #define off_t long
35290 _ACEOF
35291
35292 fi
35293
35294 echo "$as_me:$LINENO: checking for pid_t" >&5
35295 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
35296 if test "${ac_cv_type_pid_t+set}" = set; then
35297 echo $ECHO_N "(cached) $ECHO_C" >&6
35298 else
35299 cat >conftest.$ac_ext <<_ACEOF
35300 /* confdefs.h. */
35301 _ACEOF
35302 cat confdefs.h >>conftest.$ac_ext
35303 cat >>conftest.$ac_ext <<_ACEOF
35304 /* end confdefs.h. */
35305 $ac_includes_default
35306 int
35307 main ()
35308 {
35309 if ((pid_t *) 0)
35310 return 0;
35311 if (sizeof (pid_t))
35312 return 0;
35313 ;
35314 return 0;
35315 }
35316 _ACEOF
35317 rm -f conftest.$ac_objext
35318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35319 (eval $ac_compile) 2>conftest.er1
35320 ac_status=$?
35321 grep -v '^ *+' conftest.er1 >conftest.err
35322 rm -f conftest.er1
35323 cat conftest.err >&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); } &&
35326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; } &&
35332 { ac_try='test -s conftest.$ac_objext'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; }; then
35338 ac_cv_type_pid_t=yes
35339 else
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.$ac_ext >&5
35342
35343 ac_cv_type_pid_t=no
35344 fi
35345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35346 fi
35347 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35348 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
35349 if test $ac_cv_type_pid_t = yes; then
35350 :
35351 else
35352
35353 cat >>confdefs.h <<_ACEOF
35354 #define pid_t int
35355 _ACEOF
35356
35357 fi
35358
35359 echo "$as_me:$LINENO: checking for size_t" >&5
35360 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
35361 if test "${ac_cv_type_size_t+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35363 else
35364 cat >conftest.$ac_ext <<_ACEOF
35365 /* confdefs.h. */
35366 _ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35370 $ac_includes_default
35371 int
35372 main ()
35373 {
35374 if ((size_t *) 0)
35375 return 0;
35376 if (sizeof (size_t))
35377 return 0;
35378 ;
35379 return 0;
35380 }
35381 _ACEOF
35382 rm -f conftest.$ac_objext
35383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35384 (eval $ac_compile) 2>conftest.er1
35385 ac_status=$?
35386 grep -v '^ *+' conftest.er1 >conftest.err
35387 rm -f conftest.er1
35388 cat conftest.err >&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } &&
35391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35394 ac_status=$?
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; } &&
35397 { ac_try='test -s conftest.$ac_objext'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35400 ac_status=$?
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; }; then
35403 ac_cv_type_size_t=yes
35404 else
35405 echo "$as_me: failed program was:" >&5
35406 sed 's/^/| /' conftest.$ac_ext >&5
35407
35408 ac_cv_type_size_t=no
35409 fi
35410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35411 fi
35412 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35413 echo "${ECHO_T}$ac_cv_type_size_t" >&6
35414 if test $ac_cv_type_size_t = yes; then
35415 :
35416 else
35417
35418 cat >>confdefs.h <<_ACEOF
35419 #define size_t unsigned
35420 _ACEOF
35421
35422 fi
35423
35424 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35425 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
35426 if test "${ac_cv_type_uid_t+set}" = set; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 else
35429 cat >conftest.$ac_ext <<_ACEOF
35430 /* confdefs.h. */
35431 _ACEOF
35432 cat confdefs.h >>conftest.$ac_ext
35433 cat >>conftest.$ac_ext <<_ACEOF
35434 /* end confdefs.h. */
35435 #include <sys/types.h>
35436
35437 _ACEOF
35438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35439 $EGREP "uid_t" >/dev/null 2>&1; then
35440 ac_cv_type_uid_t=yes
35441 else
35442 ac_cv_type_uid_t=no
35443 fi
35444 rm -f conftest*
35445
35446 fi
35447 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35448 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
35449 if test $ac_cv_type_uid_t = no; then
35450
35451 cat >>confdefs.h <<\_ACEOF
35452 #define uid_t int
35453 _ACEOF
35454
35455
35456 cat >>confdefs.h <<\_ACEOF
35457 #define gid_t int
35458 _ACEOF
35459
35460 fi
35461
35462
35463 echo "$as_me:$LINENO: checking for ssize_t" >&5
35464 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
35465 if test "${ac_cv_type_ssize_t+set}" = set; then
35466 echo $ECHO_N "(cached) $ECHO_C" >&6
35467 else
35468 cat >conftest.$ac_ext <<_ACEOF
35469 /* confdefs.h. */
35470 _ACEOF
35471 cat confdefs.h >>conftest.$ac_ext
35472 cat >>conftest.$ac_ext <<_ACEOF
35473 /* end confdefs.h. */
35474 $ac_includes_default
35475 int
35476 main ()
35477 {
35478 if ((ssize_t *) 0)
35479 return 0;
35480 if (sizeof (ssize_t))
35481 return 0;
35482 ;
35483 return 0;
35484 }
35485 _ACEOF
35486 rm -f conftest.$ac_objext
35487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35488 (eval $ac_compile) 2>conftest.er1
35489 ac_status=$?
35490 grep -v '^ *+' conftest.er1 >conftest.err
35491 rm -f conftest.er1
35492 cat conftest.err >&5
35493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494 (exit $ac_status); } &&
35495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35497 (eval $ac_try) 2>&5
35498 ac_status=$?
35499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500 (exit $ac_status); }; } &&
35501 { ac_try='test -s conftest.$ac_objext'
35502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35503 (eval $ac_try) 2>&5
35504 ac_status=$?
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); }; }; then
35507 ac_cv_type_ssize_t=yes
35508 else
35509 echo "$as_me: failed program was:" >&5
35510 sed 's/^/| /' conftest.$ac_ext >&5
35511
35512 ac_cv_type_ssize_t=no
35513 fi
35514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35515 fi
35516 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
35518 if test $ac_cv_type_ssize_t = yes; then
35519
35520 cat >>confdefs.h <<_ACEOF
35521 #define HAVE_SSIZE_T 1
35522 _ACEOF
35523
35524
35525 fi
35526
35527
35528 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35529 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
35530 if test "${wx_cv_size_t_is_uint+set}" = set; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35532 else
35533
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 #include <stddef.h>
35541 int
35542 main ()
35543 {
35544
35545 return 0; }
35546
35547 struct Foo { void foo(size_t); void foo(unsigned int); };
35548
35549 int bar() {
35550
35551 ;
35552 return 0;
35553 }
35554 _ACEOF
35555 rm -f conftest.$ac_objext
35556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35557 (eval $ac_compile) 2>conftest.er1
35558 ac_status=$?
35559 grep -v '^ *+' conftest.er1 >conftest.err
35560 rm -f conftest.er1
35561 cat conftest.err >&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); } &&
35564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35567 ac_status=$?
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; } &&
35570 { ac_try='test -s conftest.$ac_objext'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35573 ac_status=$?
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; }; then
35576 wx_cv_size_t_is_uint=no
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35580
35581 wx_cv_size_t_is_uint=yes
35582
35583 fi
35584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35585
35586
35587 fi
35588 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35589 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35590
35591 if test "$wx_cv_size_t_is_uint" = "yes"; then
35592 cat >>confdefs.h <<\_ACEOF
35593 #define wxSIZE_T_IS_UINT 1
35594 _ACEOF
35595
35596 else
35597 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35598 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35599 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 else
35602 cat >conftest.$ac_ext <<_ACEOF
35603 /* confdefs.h. */
35604 _ACEOF
35605 cat confdefs.h >>conftest.$ac_ext
35606 cat >>conftest.$ac_ext <<_ACEOF
35607 /* end confdefs.h. */
35608 #include <stddef.h>
35609 int
35610 main ()
35611 {
35612
35613 return 0; }
35614
35615 struct Foo { void foo(size_t); void foo(unsigned long); };
35616
35617 int bar() {
35618
35619 ;
35620 return 0;
35621 }
35622 _ACEOF
35623 rm -f conftest.$ac_objext
35624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35625 (eval $ac_compile) 2>conftest.er1
35626 ac_status=$?
35627 grep -v '^ *+' conftest.er1 >conftest.err
35628 rm -f conftest.er1
35629 cat conftest.err >&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); } &&
35632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634 (eval $ac_try) 2>&5
35635 ac_status=$?
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); }; } &&
35638 { ac_try='test -s conftest.$ac_objext'
35639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640 (eval $ac_try) 2>&5
35641 ac_status=$?
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); }; }; then
35644 wx_cv_size_t_is_ulong=no
35645 else
35646 echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.$ac_ext >&5
35648
35649 wx_cv_size_t_is_ulong=yes
35650
35651 fi
35652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35653
35654 fi
35655 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35656 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35657
35658 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35659 cat >>confdefs.h <<\_ACEOF
35660 #define wxSIZE_T_IS_ULONG 1
35661 _ACEOF
35662
35663 fi
35664 fi
35665
35666
35667 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35668 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35669 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35670 echo $ECHO_N "(cached) $ECHO_C" >&6
35671 else
35672
35673 cat >conftest.$ac_ext <<_ACEOF
35674 /* confdefs.h. */
35675 _ACEOF
35676 cat confdefs.h >>conftest.$ac_ext
35677 cat >>conftest.$ac_ext <<_ACEOF
35678 /* end confdefs.h. */
35679 #include <pwd.h>
35680 int
35681 main ()
35682 {
35683
35684 char *p;
35685 struct passwd *pw;
35686 p = pw->pw_gecos;
35687
35688 ;
35689 return 0;
35690 }
35691 _ACEOF
35692 rm -f conftest.$ac_objext
35693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35694 (eval $ac_compile) 2>conftest.er1
35695 ac_status=$?
35696 grep -v '^ *+' conftest.er1 >conftest.err
35697 rm -f conftest.er1
35698 cat conftest.err >&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } &&
35701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35704 ac_status=$?
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; } &&
35707 { ac_try='test -s conftest.$ac_objext'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }; then
35713
35714 wx_cv_struct_pw_gecos=yes
35715
35716 else
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35719
35720
35721 wx_cv_struct_pw_gecos=no
35722
35723
35724 fi
35725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35726
35727
35728 fi
35729 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35730 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35731
35732 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35733 cat >>confdefs.h <<\_ACEOF
35734 #define HAVE_PW_GECOS 1
35735 _ACEOF
35736
35737 fi
35738
35739
35740 if test "$wxUSE_WCHAR_T" = "yes"; then
35741 cat >>confdefs.h <<\_ACEOF
35742 #define wxUSE_WCHAR_T 1
35743 _ACEOF
35744
35745
35746 WCSLEN_FOUND=0
35747 WCHAR_LINK=
35748
35749 for ac_func in wcslen
35750 do
35751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35752 echo "$as_me:$LINENO: checking for $ac_func" >&5
35753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35754 if eval "test \"\${$as_ac_var+set}\" = set"; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 else
35757 cat >conftest.$ac_ext <<_ACEOF
35758 /* confdefs.h. */
35759 _ACEOF
35760 cat confdefs.h >>conftest.$ac_ext
35761 cat >>conftest.$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35765 #define $ac_func innocuous_$ac_func
35766
35767 /* System header to define __stub macros and hopefully few prototypes,
35768 which can conflict with char $ac_func (); below.
35769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35770 <limits.h> exists even on freestanding compilers. */
35771
35772 #ifdef __STDC__
35773 # include <limits.h>
35774 #else
35775 # include <assert.h>
35776 #endif
35777
35778 #undef $ac_func
35779
35780 /* Override any gcc2 internal prototype to avoid an error. */
35781 #ifdef __cplusplus
35782 extern "C"
35783 {
35784 #endif
35785 /* We use char because int might match the return type of a gcc2
35786 builtin and then its argument prototype would still apply. */
35787 char $ac_func ();
35788 /* The GNU C library defines this for functions which it implements
35789 to always fail with ENOSYS. Some functions are actually named
35790 something starting with __ and the normal name is an alias. */
35791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35792 choke me
35793 #else
35794 char (*f) () = $ac_func;
35795 #endif
35796 #ifdef __cplusplus
35797 }
35798 #endif
35799
35800 int
35801 main ()
35802 {
35803 return f != $ac_func;
35804 ;
35805 return 0;
35806 }
35807 _ACEOF
35808 rm -f conftest.$ac_objext conftest$ac_exeext
35809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35810 (eval $ac_link) 2>conftest.er1
35811 ac_status=$?
35812 grep -v '^ *+' conftest.er1 >conftest.err
35813 rm -f conftest.er1
35814 cat conftest.err >&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); } &&
35817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35819 (eval $ac_try) 2>&5
35820 ac_status=$?
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); }; } &&
35823 { ac_try='test -s conftest$ac_exeext'
35824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825 (eval $ac_try) 2>&5
35826 ac_status=$?
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); }; }; then
35829 eval "$as_ac_var=yes"
35830 else
35831 echo "$as_me: failed program was:" >&5
35832 sed 's/^/| /' conftest.$ac_ext >&5
35833
35834 eval "$as_ac_var=no"
35835 fi
35836 rm -f conftest.err conftest.$ac_objext \
35837 conftest$ac_exeext conftest.$ac_ext
35838 fi
35839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35841 if test `eval echo '${'$as_ac_var'}'` = yes; then
35842 cat >>confdefs.h <<_ACEOF
35843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35844 _ACEOF
35845 WCSLEN_FOUND=1
35846 fi
35847 done
35848
35849
35850 if test "$WCSLEN_FOUND" = 0; then
35851 if test "$TOOLKIT" = "MSW"; then
35852 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35853 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35854 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35855 echo $ECHO_N "(cached) $ECHO_C" >&6
35856 else
35857 ac_check_lib_save_LIBS=$LIBS
35858 LIBS="-lmsvcrt $LIBS"
35859 cat >conftest.$ac_ext <<_ACEOF
35860 /* confdefs.h. */
35861 _ACEOF
35862 cat confdefs.h >>conftest.$ac_ext
35863 cat >>conftest.$ac_ext <<_ACEOF
35864 /* end confdefs.h. */
35865
35866 /* Override any gcc2 internal prototype to avoid an error. */
35867 #ifdef __cplusplus
35868 extern "C"
35869 #endif
35870 /* We use char because int might match the return type of a gcc2
35871 builtin and then its argument prototype would still apply. */
35872 char wcslen ();
35873 int
35874 main ()
35875 {
35876 wcslen ();
35877 ;
35878 return 0;
35879 }
35880 _ACEOF
35881 rm -f conftest.$ac_objext conftest$ac_exeext
35882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35883 (eval $ac_link) 2>conftest.er1
35884 ac_status=$?
35885 grep -v '^ *+' conftest.er1 >conftest.err
35886 rm -f conftest.er1
35887 cat conftest.err >&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } &&
35890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35893 ac_status=$?
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; } &&
35896 { ac_try='test -s conftest$ac_exeext'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35899 ac_status=$?
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; }; then
35902 ac_cv_lib_msvcrt_wcslen=yes
35903 else
35904 echo "$as_me: failed program was:" >&5
35905 sed 's/^/| /' conftest.$ac_ext >&5
35906
35907 ac_cv_lib_msvcrt_wcslen=no
35908 fi
35909 rm -f conftest.err conftest.$ac_objext \
35910 conftest$ac_exeext conftest.$ac_ext
35911 LIBS=$ac_check_lib_save_LIBS
35912 fi
35913 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35914 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35915 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35916 WCHAR_OK=1
35917 fi
35918
35919 else
35920 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35921 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35922 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35923 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 else
35925 ac_check_lib_save_LIBS=$LIBS
35926 LIBS="-lw $LIBS"
35927 cat >conftest.$ac_ext <<_ACEOF
35928 /* confdefs.h. */
35929 _ACEOF
35930 cat confdefs.h >>conftest.$ac_ext
35931 cat >>conftest.$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35933
35934 /* Override any gcc2 internal prototype to avoid an error. */
35935 #ifdef __cplusplus
35936 extern "C"
35937 #endif
35938 /* We use char because int might match the return type of a gcc2
35939 builtin and then its argument prototype would still apply. */
35940 char wcslen ();
35941 int
35942 main ()
35943 {
35944 wcslen ();
35945 ;
35946 return 0;
35947 }
35948 _ACEOF
35949 rm -f conftest.$ac_objext conftest$ac_exeext
35950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35951 (eval $ac_link) 2>conftest.er1
35952 ac_status=$?
35953 grep -v '^ *+' conftest.er1 >conftest.err
35954 rm -f conftest.er1
35955 cat conftest.err >&5
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); } &&
35958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35961 ac_status=$?
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; } &&
35964 { ac_try='test -s conftest$ac_exeext'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35967 ac_status=$?
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; }; then
35970 ac_cv_lib_w_wcslen=yes
35971 else
35972 echo "$as_me: failed program was:" >&5
35973 sed 's/^/| /' conftest.$ac_ext >&5
35974
35975 ac_cv_lib_w_wcslen=no
35976 fi
35977 rm -f conftest.err conftest.$ac_objext \
35978 conftest$ac_exeext conftest.$ac_ext
35979 LIBS=$ac_check_lib_save_LIBS
35980 fi
35981 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35982 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35983 if test $ac_cv_lib_w_wcslen = yes; then
35984
35985 WCHAR_LINK=" -lw"
35986 WCSLEN_FOUND=1
35987
35988 fi
35989
35990 fi
35991 fi
35992
35993 if test "$WCSLEN_FOUND" = 1; then
35994 cat >>confdefs.h <<\_ACEOF
35995 #define HAVE_WCSLEN 1
35996 _ACEOF
35997
35998 fi
35999
36000 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36001 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36002 fi
36003
36004 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36005 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36006 if test "${ac_cv_type_mbstate_t+set}" = set; then
36007 echo $ECHO_N "(cached) $ECHO_C" >&6
36008 else
36009 cat >conftest.$ac_ext <<_ACEOF
36010 /* confdefs.h. */
36011 _ACEOF
36012 cat confdefs.h >>conftest.$ac_ext
36013 cat >>conftest.$ac_ext <<_ACEOF
36014 /* end confdefs.h. */
36015 #include <wchar.h>
36016
36017 int
36018 main ()
36019 {
36020 if ((mbstate_t *) 0)
36021 return 0;
36022 if (sizeof (mbstate_t))
36023 return 0;
36024 ;
36025 return 0;
36026 }
36027 _ACEOF
36028 rm -f conftest.$ac_objext
36029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36030 (eval $ac_compile) 2>conftest.er1
36031 ac_status=$?
36032 grep -v '^ *+' conftest.er1 >conftest.err
36033 rm -f conftest.er1
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } &&
36037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36040 ac_status=$?
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; } &&
36043 { ac_try='test -s conftest.$ac_objext'
36044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36045 (eval $ac_try) 2>&5
36046 ac_status=$?
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); }; }; then
36049 ac_cv_type_mbstate_t=yes
36050 else
36051 echo "$as_me: failed program was:" >&5
36052 sed 's/^/| /' conftest.$ac_ext >&5
36053
36054 ac_cv_type_mbstate_t=no
36055 fi
36056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36057 fi
36058 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36059 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
36060 if test $ac_cv_type_mbstate_t = yes; then
36061
36062 cat >>confdefs.h <<_ACEOF
36063 #define HAVE_MBSTATE_T 1
36064 _ACEOF
36065
36066
36067 for ac_func in wcsrtombs
36068 do
36069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36070 echo "$as_me:$LINENO: checking for $ac_func" >&5
36071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36072 if eval "test \"\${$as_ac_var+set}\" = set"; then
36073 echo $ECHO_N "(cached) $ECHO_C" >&6
36074 else
36075 cat >conftest.$ac_ext <<_ACEOF
36076 /* confdefs.h. */
36077 _ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36083 #define $ac_func innocuous_$ac_func
36084
36085 /* System header to define __stub macros and hopefully few prototypes,
36086 which can conflict with char $ac_func (); below.
36087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36088 <limits.h> exists even on freestanding compilers. */
36089
36090 #ifdef __STDC__
36091 # include <limits.h>
36092 #else
36093 # include <assert.h>
36094 #endif
36095
36096 #undef $ac_func
36097
36098 /* Override any gcc2 internal prototype to avoid an error. */
36099 #ifdef __cplusplus
36100 extern "C"
36101 {
36102 #endif
36103 /* We use char because int might match the return type of a gcc2
36104 builtin and then its argument prototype would still apply. */
36105 char $ac_func ();
36106 /* The GNU C library defines this for functions which it implements
36107 to always fail with ENOSYS. Some functions are actually named
36108 something starting with __ and the normal name is an alias. */
36109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36110 choke me
36111 #else
36112 char (*f) () = $ac_func;
36113 #endif
36114 #ifdef __cplusplus
36115 }
36116 #endif
36117
36118 int
36119 main ()
36120 {
36121 return f != $ac_func;
36122 ;
36123 return 0;
36124 }
36125 _ACEOF
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36128 (eval $ac_link) 2>conftest.er1
36129 ac_status=$?
36130 grep -v '^ *+' conftest.er1 >conftest.err
36131 rm -f conftest.er1
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } &&
36135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36138 ac_status=$?
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; } &&
36141 { ac_try='test -s conftest$ac_exeext'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36144 ac_status=$?
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; }; then
36147 eval "$as_ac_var=yes"
36148 else
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36151
36152 eval "$as_ac_var=no"
36153 fi
36154 rm -f conftest.err conftest.$ac_objext \
36155 conftest$ac_exeext conftest.$ac_ext
36156 fi
36157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36159 if test `eval echo '${'$as_ac_var'}'` = yes; then
36160 cat >>confdefs.h <<_ACEOF
36161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36162 _ACEOF
36163
36164 fi
36165 done
36166
36167 fi
36168
36169 else
36170 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36171 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36172 fi
36173
36174
36175
36176 for ac_func in snprintf vsnprintf
36177 do
36178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36179 echo "$as_me:$LINENO: checking for $ac_func" >&5
36180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36181 if eval "test \"\${$as_ac_var+set}\" = set"; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36183 else
36184 cat >conftest.$ac_ext <<_ACEOF
36185 /* confdefs.h. */
36186 _ACEOF
36187 cat confdefs.h >>conftest.$ac_ext
36188 cat >>conftest.$ac_ext <<_ACEOF
36189 /* end confdefs.h. */
36190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36192 #define $ac_func innocuous_$ac_func
36193
36194 /* System header to define __stub macros and hopefully few prototypes,
36195 which can conflict with char $ac_func (); below.
36196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36197 <limits.h> exists even on freestanding compilers. */
36198
36199 #ifdef __STDC__
36200 # include <limits.h>
36201 #else
36202 # include <assert.h>
36203 #endif
36204
36205 #undef $ac_func
36206
36207 /* Override any gcc2 internal prototype to avoid an error. */
36208 #ifdef __cplusplus
36209 extern "C"
36210 {
36211 #endif
36212 /* We use char because int might match the return type of a gcc2
36213 builtin and then its argument prototype would still apply. */
36214 char $ac_func ();
36215 /* The GNU C library defines this for functions which it implements
36216 to always fail with ENOSYS. Some functions are actually named
36217 something starting with __ and the normal name is an alias. */
36218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36219 choke me
36220 #else
36221 char (*f) () = $ac_func;
36222 #endif
36223 #ifdef __cplusplus
36224 }
36225 #endif
36226
36227 int
36228 main ()
36229 {
36230 return f != $ac_func;
36231 ;
36232 return 0;
36233 }
36234 _ACEOF
36235 rm -f conftest.$ac_objext conftest$ac_exeext
36236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36237 (eval $ac_link) 2>conftest.er1
36238 ac_status=$?
36239 grep -v '^ *+' conftest.er1 >conftest.err
36240 rm -f conftest.er1
36241 cat conftest.err >&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); } &&
36244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } &&
36250 { ac_try='test -s conftest$ac_exeext'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36253 ac_status=$?
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; }; then
36256 eval "$as_ac_var=yes"
36257 else
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.$ac_ext >&5
36260
36261 eval "$as_ac_var=no"
36262 fi
36263 rm -f conftest.err conftest.$ac_objext \
36264 conftest$ac_exeext conftest.$ac_ext
36265 fi
36266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36268 if test `eval echo '${'$as_ac_var'}'` = yes; then
36269 cat >>confdefs.h <<_ACEOF
36270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36271 _ACEOF
36272
36273 fi
36274 done
36275
36276
36277 if test "$ac_cv_func_vsnprintf" = "yes"; then
36278 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36279 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
36280 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283
36284 cat >conftest.$ac_ext <<_ACEOF
36285 /* confdefs.h. */
36286 _ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36290
36291 #include <stdio.h>
36292 #include <stdarg.h>
36293 #ifdef __MSL__
36294 #if __MSL__ >= 0x6000
36295 namespace std {}
36296 using namespace std;
36297 #endif
36298 #endif
36299
36300 int
36301 main ()
36302 {
36303
36304 char *buf;
36305 va_list ap;
36306 vsnprintf(buf, 10u, "%s", ap);
36307
36308 ;
36309 return 0;
36310 }
36311 _ACEOF
36312 rm -f conftest.$ac_objext
36313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36314 (eval $ac_compile) 2>conftest.er1
36315 ac_status=$?
36316 grep -v '^ *+' conftest.er1 >conftest.err
36317 rm -f conftest.er1
36318 cat conftest.err >&5
36319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320 (exit $ac_status); } &&
36321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36324 ac_status=$?
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; } &&
36327 { ac_try='test -s conftest.$ac_objext'
36328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36329 (eval $ac_try) 2>&5
36330 ac_status=$?
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); }; }; then
36333 wx_cv_func_vsnprintf_decl=yes
36334 else
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.$ac_ext >&5
36337
36338 wx_cv_func_vsnprintf_decl=no
36339
36340 fi
36341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36342
36343
36344 fi
36345 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36346 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
36347
36348 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36349 cat >>confdefs.h <<\_ACEOF
36350 #define HAVE_VSNPRINTF_DECL 1
36351 _ACEOF
36352
36353
36354 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36355 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
36356 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36357 echo $ECHO_N "(cached) $ECHO_C" >&6
36358 else
36359
36360 cat >conftest.$ac_ext <<_ACEOF
36361 /* confdefs.h. */
36362 _ACEOF
36363 cat confdefs.h >>conftest.$ac_ext
36364 cat >>conftest.$ac_ext <<_ACEOF
36365 /* end confdefs.h. */
36366
36367 #include <stdio.h>
36368 #include <stdarg.h>
36369 #ifdef __MSL__
36370 #if __MSL__ >= 0x6000
36371 namespace std {}
36372 using namespace std;
36373 #endif
36374 #endif
36375
36376 int
36377 main ()
36378 {
36379
36380 char *buf;
36381 va_list ap;
36382 const char *fmt = "%s";
36383 vsnprintf(buf, 10u, fmt, ap);
36384
36385 ;
36386 return 0;
36387 }
36388 _ACEOF
36389 rm -f conftest.$ac_objext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36391 (eval $ac_compile) 2>conftest.er1
36392 ac_status=$?
36393 grep -v '^ *+' conftest.er1 >conftest.err
36394 rm -f conftest.er1
36395 cat conftest.err >&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400 (eval $ac_try) 2>&5
36401 ac_status=$?
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); }; } &&
36404 { ac_try='test -s conftest.$ac_objext'
36405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 (eval $ac_try) 2>&5
36407 ac_status=$?
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); }; }; then
36410 wx_cv_func_broken_vsnprintf_decl=no
36411 else
36412 echo "$as_me: failed program was:" >&5
36413 sed 's/^/| /' conftest.$ac_ext >&5
36414
36415 wx_cv_func_broken_vsnprintf_decl=yes
36416
36417 fi
36418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36419
36420
36421 fi
36422 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36423 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
36424
36425 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36426 cat >>confdefs.h <<\_ACEOF
36427 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36428 _ACEOF
36429
36430 fi
36431 fi
36432 fi
36433
36434 if test "$ac_cv_func_snprintf" = "yes"; then
36435 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36436 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
36437 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36438 echo $ECHO_N "(cached) $ECHO_C" >&6
36439 else
36440
36441 cat >conftest.$ac_ext <<_ACEOF
36442 /* confdefs.h. */
36443 _ACEOF
36444 cat confdefs.h >>conftest.$ac_ext
36445 cat >>conftest.$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36447
36448 #include <stdio.h>
36449 #include <stdarg.h>
36450 #ifdef __MSL__
36451 #if __MSL__ >= 0x6000
36452 namespace std {}
36453 using namespace std;
36454 #endif
36455 #endif
36456
36457 int
36458 main ()
36459 {
36460
36461 char *buf;
36462 snprintf(buf, 10u, "%s", "wx");
36463
36464 ;
36465 return 0;
36466 }
36467 _ACEOF
36468 rm -f conftest.$ac_objext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36470 (eval $ac_compile) 2>conftest.er1
36471 ac_status=$?
36472 grep -v '^ *+' conftest.er1 >conftest.err
36473 rm -f conftest.er1
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } &&
36477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36479 (eval $ac_try) 2>&5
36480 ac_status=$?
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); }; } &&
36483 { ac_try='test -s conftest.$ac_objext'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; }; then
36489 wx_cv_func_snprintf_decl=yes
36490 else
36491 echo "$as_me: failed program was:" >&5
36492 sed 's/^/| /' conftest.$ac_ext >&5
36493
36494 wx_cv_func_snprintf_decl=no
36495
36496 fi
36497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36498
36499
36500 fi
36501 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36502 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
36503
36504 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36505 cat >>confdefs.h <<\_ACEOF
36506 #define HAVE_SNPRINTF_DECL 1
36507 _ACEOF
36508
36509
36510 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36511 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
36512 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36513 echo $ECHO_N "(cached) $ECHO_C" >&6
36514 else
36515
36516 cat >conftest.$ac_ext <<_ACEOF
36517 /* confdefs.h. */
36518 _ACEOF
36519 cat confdefs.h >>conftest.$ac_ext
36520 cat >>conftest.$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36522
36523 #include <stdio.h>
36524 #include <stdarg.h>
36525 #ifdef __MSL__
36526 #if __MSL__ >= 0x6000
36527 namespace std {}
36528 using namespace std;
36529 #endif
36530 #endif
36531
36532 int
36533 main ()
36534 {
36535
36536 char *buf;
36537 const char *fmt = "%s";
36538 snprintf(buf, 10u, fmt, "wx");
36539
36540 ;
36541 return 0;
36542 }
36543 _ACEOF
36544 rm -f conftest.$ac_objext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36546 (eval $ac_compile) 2>conftest.er1
36547 ac_status=$?
36548 grep -v '^ *+' conftest.er1 >conftest.err
36549 rm -f conftest.er1
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } &&
36553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36555 (eval $ac_try) 2>&5
36556 ac_status=$?
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); }; } &&
36559 { ac_try='test -s conftest.$ac_objext'
36560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36561 (eval $ac_try) 2>&5
36562 ac_status=$?
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); }; }; then
36565 wx_cv_func_broken_snprintf_decl=no
36566 else
36567 echo "$as_me: failed program was:" >&5
36568 sed 's/^/| /' conftest.$ac_ext >&5
36569
36570 wx_cv_func_broken_snprintf_decl=yes
36571
36572 fi
36573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36574
36575
36576 fi
36577 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36578 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
36579
36580 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36581 cat >>confdefs.h <<\_ACEOF
36582 #define HAVE_BROKEN_SNPRINTF_DECL 1
36583 _ACEOF
36584
36585 fi
36586 fi
36587
36588 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36589
36590 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36591 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
36592 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36593 echo $ECHO_N "(cached) $ECHO_C" >&6
36594 else
36595
36596 if test "$cross_compiling" = yes; then
36597
36598 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36599 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36600 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36601 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36602 wx_cv_func_snprintf_pos_params=no
36603
36604
36605 else
36606 cat >conftest.$ac_ext <<_ACEOF
36607 /* confdefs.h. */
36608 _ACEOF
36609 cat confdefs.h >>conftest.$ac_ext
36610 cat >>conftest.$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36612
36613 #include <stdio.h>
36614
36615 int main (void)
36616 {
36617 char buffer[128];
36618 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
36619 if (strcmp ("2 3 1", buffer) == 0)
36620 exit (0);
36621 exit (1);
36622 }
36623
36624 _ACEOF
36625 rm -f conftest$ac_exeext
36626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36627 (eval $ac_link) 2>&5
36628 ac_status=$?
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 wx_cv_func_snprintf_pos_params=no
36637 else
36638 echo "$as_me: program exited with status $ac_status" >&5
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.$ac_ext >&5
36641
36642 ( exit $ac_status )
36643 wx_cv_func_snprintf_pos_params=yes
36644 fi
36645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36646 fi
36647
36648
36649 fi
36650 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36651 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36652
36653 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36654 cat >>confdefs.h <<\_ACEOF
36655 #define HAVE_UNIX98_PRINTF 1
36656 _ACEOF
36657
36658 fi
36659 fi
36660 fi
36661
36662 if test "$wxUSE_UNICODE" = yes; then
36663
36664
36665 for ac_func in swprintf
36666 do
36667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36668 echo "$as_me:$LINENO: checking for $ac_func" >&5
36669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36670 if eval "test \"\${$as_ac_var+set}\" = set"; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36672 else
36673 cat >conftest.$ac_ext <<_ACEOF
36674 /* confdefs.h. */
36675 _ACEOF
36676 cat confdefs.h >>conftest.$ac_ext
36677 cat >>conftest.$ac_ext <<_ACEOF
36678 /* end confdefs.h. */
36679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36681 #define $ac_func innocuous_$ac_func
36682
36683 /* System header to define __stub macros and hopefully few prototypes,
36684 which can conflict with char $ac_func (); below.
36685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36686 <limits.h> exists even on freestanding compilers. */
36687
36688 #ifdef __STDC__
36689 # include <limits.h>
36690 #else
36691 # include <assert.h>
36692 #endif
36693
36694 #undef $ac_func
36695
36696 /* Override any gcc2 internal prototype to avoid an error. */
36697 #ifdef __cplusplus
36698 extern "C"
36699 {
36700 #endif
36701 /* We use char because int might match the return type of a gcc2
36702 builtin and then its argument prototype would still apply. */
36703 char $ac_func ();
36704 /* The GNU C library defines this for functions which it implements
36705 to always fail with ENOSYS. Some functions are actually named
36706 something starting with __ and the normal name is an alias. */
36707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36708 choke me
36709 #else
36710 char (*f) () = $ac_func;
36711 #endif
36712 #ifdef __cplusplus
36713 }
36714 #endif
36715
36716 int
36717 main ()
36718 {
36719 return f != $ac_func;
36720 ;
36721 return 0;
36722 }
36723 _ACEOF
36724 rm -f conftest.$ac_objext conftest$ac_exeext
36725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36726 (eval $ac_link) 2>conftest.er1
36727 ac_status=$?
36728 grep -v '^ *+' conftest.er1 >conftest.err
36729 rm -f conftest.er1
36730 cat conftest.err >&5
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); } &&
36733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735 (eval $ac_try) 2>&5
36736 ac_status=$?
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); }; } &&
36739 { ac_try='test -s conftest$ac_exeext'
36740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36741 (eval $ac_try) 2>&5
36742 ac_status=$?
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); }; }; then
36745 eval "$as_ac_var=yes"
36746 else
36747 echo "$as_me: failed program was:" >&5
36748 sed 's/^/| /' conftest.$ac_ext >&5
36749
36750 eval "$as_ac_var=no"
36751 fi
36752 rm -f conftest.err conftest.$ac_objext \
36753 conftest$ac_exeext conftest.$ac_ext
36754 fi
36755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36757 if test `eval echo '${'$as_ac_var'}'` = yes; then
36758 cat >>confdefs.h <<_ACEOF
36759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36760 _ACEOF
36761
36762 fi
36763 done
36764
36765
36766 if test "$ac_cv_func_swprintf" = "yes"; then
36767 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36768 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36769 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36770 echo $ECHO_N "(cached) $ECHO_C" >&6
36771 else
36772
36773 cat >conftest.$ac_ext <<_ACEOF
36774 /* confdefs.h. */
36775 _ACEOF
36776 cat confdefs.h >>conftest.$ac_ext
36777 cat >>conftest.$ac_ext <<_ACEOF
36778 /* end confdefs.h. */
36779
36780 #include <stdio.h>
36781 #include <stdarg.h>
36782 #include <wchar.h>
36783
36784 int
36785 main ()
36786 {
36787
36788 wchar_t *buf;
36789 const wchar_t *fmt = L"test";
36790 swprintf(buf, 10u, fmt);
36791
36792 ;
36793 return 0;
36794 }
36795 _ACEOF
36796 rm -f conftest.$ac_objext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36798 (eval $ac_compile) 2>conftest.er1
36799 ac_status=$?
36800 grep -v '^ *+' conftest.er1 >conftest.err
36801 rm -f conftest.er1
36802 cat conftest.err >&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36808 ac_status=$?
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; } &&
36811 { ac_try='test -s conftest.$ac_objext'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36814 ac_status=$?
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; }; then
36817 wx_cv_func_broken_swprintf_decl=no
36818 else
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.$ac_ext >&5
36821
36822 wx_cv_func_broken_swprintf_decl=yes
36823
36824 fi
36825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36826
36827
36828 fi
36829 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36830 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36831
36832 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36833 cat >>confdefs.h <<\_ACEOF
36834 #define HAVE_BROKEN_SWPRINTF_DECL 1
36835 _ACEOF
36836
36837 fi
36838 fi
36839
36840
36841
36842
36843
36844
36845
36846 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36847 do
36848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36849 echo "$as_me:$LINENO: checking for $ac_func" >&5
36850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36851 if eval "test \"\${$as_ac_var+set}\" = set"; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36853 else
36854 cat >conftest.$ac_ext <<_ACEOF
36855 /* confdefs.h. */
36856 _ACEOF
36857 cat confdefs.h >>conftest.$ac_ext
36858 cat >>conftest.$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36862 #define $ac_func innocuous_$ac_func
36863
36864 /* System header to define __stub macros and hopefully few prototypes,
36865 which can conflict with char $ac_func (); below.
36866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36867 <limits.h> exists even on freestanding compilers. */
36868
36869 #ifdef __STDC__
36870 # include <limits.h>
36871 #else
36872 # include <assert.h>
36873 #endif
36874
36875 #undef $ac_func
36876
36877 /* Override any gcc2 internal prototype to avoid an error. */
36878 #ifdef __cplusplus
36879 extern "C"
36880 {
36881 #endif
36882 /* We use char because int might match the return type of a gcc2
36883 builtin and then its argument prototype would still apply. */
36884 char $ac_func ();
36885 /* The GNU C library defines this for functions which it implements
36886 to always fail with ENOSYS. Some functions are actually named
36887 something starting with __ and the normal name is an alias. */
36888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36889 choke me
36890 #else
36891 char (*f) () = $ac_func;
36892 #endif
36893 #ifdef __cplusplus
36894 }
36895 #endif
36896
36897 int
36898 main ()
36899 {
36900 return f != $ac_func;
36901 ;
36902 return 0;
36903 }
36904 _ACEOF
36905 rm -f conftest.$ac_objext conftest$ac_exeext
36906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36907 (eval $ac_link) 2>conftest.er1
36908 ac_status=$?
36909 grep -v '^ *+' conftest.er1 >conftest.err
36910 rm -f conftest.er1
36911 cat conftest.err >&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); } &&
36914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36917 ac_status=$?
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; } &&
36920 { ac_try='test -s conftest$ac_exeext'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36923 ac_status=$?
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; }; then
36926 eval "$as_ac_var=yes"
36927 else
36928 echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.$ac_ext >&5
36930
36931 eval "$as_ac_var=no"
36932 fi
36933 rm -f conftest.err conftest.$ac_objext \
36934 conftest$ac_exeext conftest.$ac_ext
36935 fi
36936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36938 if test `eval echo '${'$as_ac_var'}'` = yes; then
36939 cat >>confdefs.h <<_ACEOF
36940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36941 _ACEOF
36942
36943 fi
36944 done
36945
36946
36947 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36948 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36949 cat >conftest.$ac_ext <<_ACEOF
36950 /* confdefs.h. */
36951 _ACEOF
36952 cat confdefs.h >>conftest.$ac_ext
36953 cat >>conftest.$ac_ext <<_ACEOF
36954 /* end confdefs.h. */
36955 #include <wchar.h>
36956 int
36957 main ()
36958 {
36959 &_vsnwprintf;
36960 ;
36961 return 0;
36962 }
36963 _ACEOF
36964 rm -f conftest.$ac_objext
36965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36966 (eval $ac_compile) 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } &&
36973 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36975 (eval $ac_try) 2>&5
36976 ac_status=$?
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); }; } &&
36979 { ac_try='test -s conftest.$ac_objext'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36982 ac_status=$?
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; }; then
36985 echo "$as_me:$LINENO: result: yes" >&5
36986 echo "${ECHO_T}yes" >&6
36987 cat >>confdefs.h <<\_ACEOF
36988 #define HAVE__VSNWPRINTF 1
36989 _ACEOF
36990
36991 else
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36994
36995 echo "$as_me:$LINENO: result: no" >&5
36996 echo "${ECHO_T}no" >&6
36997 fi
36998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36999 fi
37000
37001 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37002
37003 for ac_func in fnmatch
37004 do
37005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37006 echo "$as_me:$LINENO: checking for $ac_func" >&5
37007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37008 if eval "test \"\${$as_ac_var+set}\" = set"; then
37009 echo $ECHO_N "(cached) $ECHO_C" >&6
37010 else
37011 cat >conftest.$ac_ext <<_ACEOF
37012 /* confdefs.h. */
37013 _ACEOF
37014 cat confdefs.h >>conftest.$ac_ext
37015 cat >>conftest.$ac_ext <<_ACEOF
37016 /* end confdefs.h. */
37017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37019 #define $ac_func innocuous_$ac_func
37020
37021 /* System header to define __stub macros and hopefully few prototypes,
37022 which can conflict with char $ac_func (); below.
37023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37024 <limits.h> exists even on freestanding compilers. */
37025
37026 #ifdef __STDC__
37027 # include <limits.h>
37028 #else
37029 # include <assert.h>
37030 #endif
37031
37032 #undef $ac_func
37033
37034 /* Override any gcc2 internal prototype to avoid an error. */
37035 #ifdef __cplusplus
37036 extern "C"
37037 {
37038 #endif
37039 /* We use char because int might match the return type of a gcc2
37040 builtin and then its argument prototype would still apply. */
37041 char $ac_func ();
37042 /* The GNU C library defines this for functions which it implements
37043 to always fail with ENOSYS. Some functions are actually named
37044 something starting with __ and the normal name is an alias. */
37045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37046 choke me
37047 #else
37048 char (*f) () = $ac_func;
37049 #endif
37050 #ifdef __cplusplus
37051 }
37052 #endif
37053
37054 int
37055 main ()
37056 {
37057 return f != $ac_func;
37058 ;
37059 return 0;
37060 }
37061 _ACEOF
37062 rm -f conftest.$ac_objext conftest$ac_exeext
37063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37064 (eval $ac_link) 2>conftest.er1
37065 ac_status=$?
37066 grep -v '^ *+' conftest.er1 >conftest.err
37067 rm -f conftest.er1
37068 cat conftest.err >&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } &&
37071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37073 (eval $ac_try) 2>&5
37074 ac_status=$?
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); }; } &&
37077 { ac_try='test -s conftest$ac_exeext'
37078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37079 (eval $ac_try) 2>&5
37080 ac_status=$?
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); }; }; then
37083 eval "$as_ac_var=yes"
37084 else
37085 echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.$ac_ext >&5
37087
37088 eval "$as_ac_var=no"
37089 fi
37090 rm -f conftest.err conftest.$ac_objext \
37091 conftest$ac_exeext conftest.$ac_ext
37092 fi
37093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37095 if test `eval echo '${'$as_ac_var'}'` = yes; then
37096 cat >>confdefs.h <<_ACEOF
37097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37098 _ACEOF
37099
37100 fi
37101 done
37102
37103 fi
37104
37105 if test "$wxUSE_FILE" = "yes"; then
37106
37107 for ac_func in fsync
37108 do
37109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 echo "$as_me:$LINENO: checking for $ac_func" >&5
37111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37112 if eval "test \"\${$as_ac_var+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 else
37115 cat >conftest.$ac_ext <<_ACEOF
37116 /* confdefs.h. */
37117 _ACEOF
37118 cat confdefs.h >>conftest.$ac_ext
37119 cat >>conftest.$ac_ext <<_ACEOF
37120 /* end confdefs.h. */
37121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37123 #define $ac_func innocuous_$ac_func
37124
37125 /* System header to define __stub macros and hopefully few prototypes,
37126 which can conflict with char $ac_func (); below.
37127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37128 <limits.h> exists even on freestanding compilers. */
37129
37130 #ifdef __STDC__
37131 # include <limits.h>
37132 #else
37133 # include <assert.h>
37134 #endif
37135
37136 #undef $ac_func
37137
37138 /* Override any gcc2 internal prototype to avoid an error. */
37139 #ifdef __cplusplus
37140 extern "C"
37141 {
37142 #endif
37143 /* We use char because int might match the return type of a gcc2
37144 builtin and then its argument prototype would still apply. */
37145 char $ac_func ();
37146 /* The GNU C library defines this for functions which it implements
37147 to always fail with ENOSYS. Some functions are actually named
37148 something starting with __ and the normal name is an alias. */
37149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37150 choke me
37151 #else
37152 char (*f) () = $ac_func;
37153 #endif
37154 #ifdef __cplusplus
37155 }
37156 #endif
37157
37158 int
37159 main ()
37160 {
37161 return f != $ac_func;
37162 ;
37163 return 0;
37164 }
37165 _ACEOF
37166 rm -f conftest.$ac_objext conftest$ac_exeext
37167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37168 (eval $ac_link) 2>conftest.er1
37169 ac_status=$?
37170 grep -v '^ *+' conftest.er1 >conftest.err
37171 rm -f conftest.er1
37172 cat conftest.err >&5
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); } &&
37175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37178 ac_status=$?
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; } &&
37181 { ac_try='test -s conftest$ac_exeext'
37182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183 (eval $ac_try) 2>&5
37184 ac_status=$?
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); }; }; then
37187 eval "$as_ac_var=yes"
37188 else
37189 echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.$ac_ext >&5
37191
37192 eval "$as_ac_var=no"
37193 fi
37194 rm -f conftest.err conftest.$ac_objext \
37195 conftest$ac_exeext conftest.$ac_ext
37196 fi
37197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37199 if test `eval echo '${'$as_ac_var'}'` = yes; then
37200 cat >>confdefs.h <<_ACEOF
37201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37202 _ACEOF
37203
37204 fi
37205 done
37206
37207 fi
37208
37209
37210 for ac_func in round
37211 do
37212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37213 echo "$as_me:$LINENO: checking for $ac_func" >&5
37214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37215 if eval "test \"\${$as_ac_var+set}\" = set"; then
37216 echo $ECHO_N "(cached) $ECHO_C" >&6
37217 else
37218 cat >conftest.$ac_ext <<_ACEOF
37219 /* confdefs.h. */
37220 _ACEOF
37221 cat confdefs.h >>conftest.$ac_ext
37222 cat >>conftest.$ac_ext <<_ACEOF
37223 /* end confdefs.h. */
37224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37226 #define $ac_func innocuous_$ac_func
37227
37228 /* System header to define __stub macros and hopefully few prototypes,
37229 which can conflict with char $ac_func (); below.
37230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37231 <limits.h> exists even on freestanding compilers. */
37232
37233 #ifdef __STDC__
37234 # include <limits.h>
37235 #else
37236 # include <assert.h>
37237 #endif
37238
37239 #undef $ac_func
37240
37241 /* Override any gcc2 internal prototype to avoid an error. */
37242 #ifdef __cplusplus
37243 extern "C"
37244 {
37245 #endif
37246 /* We use char because int might match the return type of a gcc2
37247 builtin and then its argument prototype would still apply. */
37248 char $ac_func ();
37249 /* The GNU C library defines this for functions which it implements
37250 to always fail with ENOSYS. Some functions are actually named
37251 something starting with __ and the normal name is an alias. */
37252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37253 choke me
37254 #else
37255 char (*f) () = $ac_func;
37256 #endif
37257 #ifdef __cplusplus
37258 }
37259 #endif
37260
37261 int
37262 main ()
37263 {
37264 return f != $ac_func;
37265 ;
37266 return 0;
37267 }
37268 _ACEOF
37269 rm -f conftest.$ac_objext conftest$ac_exeext
37270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37271 (eval $ac_link) 2>conftest.er1
37272 ac_status=$?
37273 grep -v '^ *+' conftest.er1 >conftest.err
37274 rm -f conftest.er1
37275 cat conftest.err >&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } &&
37278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280 (eval $ac_try) 2>&5
37281 ac_status=$?
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); }; } &&
37284 { ac_try='test -s conftest$ac_exeext'
37285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37286 (eval $ac_try) 2>&5
37287 ac_status=$?
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); }; }; then
37290 eval "$as_ac_var=yes"
37291 else
37292 echo "$as_me: failed program was:" >&5
37293 sed 's/^/| /' conftest.$ac_ext >&5
37294
37295 eval "$as_ac_var=no"
37296 fi
37297 rm -f conftest.err conftest.$ac_objext \
37298 conftest$ac_exeext conftest.$ac_ext
37299 fi
37300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37302 if test `eval echo '${'$as_ac_var'}'` = yes; then
37303 cat >>confdefs.h <<_ACEOF
37304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37305 _ACEOF
37306
37307 fi
37308 done
37309
37310 if test "$ac_cv_func_round" = yes; then
37311 echo "$as_me:$LINENO: checking whether round is declared" >&5
37312 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
37313 if test "${ac_cv_have_decl_round+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 cat >conftest.$ac_ext <<_ACEOF
37317 /* confdefs.h. */
37318 _ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37322 #include <math.h>
37323
37324 int
37325 main ()
37326 {
37327 #ifndef round
37328 char *p = (char *) round;
37329 #endif
37330
37331 ;
37332 return 0;
37333 }
37334 _ACEOF
37335 rm -f conftest.$ac_objext
37336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37337 (eval $ac_compile) 2>conftest.er1
37338 ac_status=$?
37339 grep -v '^ *+' conftest.er1 >conftest.err
37340 rm -f conftest.er1
37341 cat conftest.err >&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); } &&
37344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37346 (eval $ac_try) 2>&5
37347 ac_status=$?
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); }; } &&
37350 { ac_try='test -s conftest.$ac_objext'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37353 ac_status=$?
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; }; then
37356 ac_cv_have_decl_round=yes
37357 else
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.$ac_ext >&5
37360
37361 ac_cv_have_decl_round=no
37362 fi
37363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37364 fi
37365 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
37366 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
37367 if test $ac_cv_have_decl_round = yes; then
37368
37369 cat >>confdefs.h <<_ACEOF
37370 #define HAVE_DECL_ROUND 1
37371 _ACEOF
37372
37373
37374 else
37375 cat >>confdefs.h <<_ACEOF
37376 #define HAVE_DECL_ROUND 0
37377 _ACEOF
37378
37379
37380 fi
37381
37382
37383 fi
37384
37385
37386 if test "$TOOLKIT" != "MSW"; then
37387
37388
37389
37390
37391
37392 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
37393 if test "${with_libiconv_prefix+set}" = set; then
37394 withval="$with_libiconv_prefix"
37395
37396 for dir in `echo "$withval" | tr : ' '`; do
37397 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37398 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37399 done
37400
37401 fi;
37402
37403 echo "$as_me:$LINENO: checking for iconv" >&5
37404 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37405 if test "${am_cv_func_iconv+set}" = set; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37407 else
37408
37409 am_cv_func_iconv="no, consider installing GNU libiconv"
37410 am_cv_lib_iconv=no
37411 cat >conftest.$ac_ext <<_ACEOF
37412 /* confdefs.h. */
37413 _ACEOF
37414 cat confdefs.h >>conftest.$ac_ext
37415 cat >>conftest.$ac_ext <<_ACEOF
37416 /* end confdefs.h. */
37417 #include <stdlib.h>
37418 #include <iconv.h>
37419 int
37420 main ()
37421 {
37422 iconv_t cd = iconv_open("","");
37423 iconv(cd,NULL,NULL,NULL,NULL);
37424 iconv_close(cd);
37425 ;
37426 return 0;
37427 }
37428 _ACEOF
37429 rm -f conftest.$ac_objext conftest$ac_exeext
37430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37431 (eval $ac_link) 2>conftest.er1
37432 ac_status=$?
37433 grep -v '^ *+' conftest.er1 >conftest.err
37434 rm -f conftest.er1
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } &&
37438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37440 (eval $ac_try) 2>&5
37441 ac_status=$?
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); }; } &&
37444 { ac_try='test -s conftest$ac_exeext'
37445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37446 (eval $ac_try) 2>&5
37447 ac_status=$?
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); }; }; then
37450 am_cv_func_iconv=yes
37451 else
37452 echo "$as_me: failed program was:" >&5
37453 sed 's/^/| /' conftest.$ac_ext >&5
37454
37455 fi
37456 rm -f conftest.err conftest.$ac_objext \
37457 conftest$ac_exeext conftest.$ac_ext
37458 if test "$am_cv_func_iconv" != yes; then
37459 am_save_LIBS="$LIBS"
37460 LIBS="$LIBS -liconv"
37461 cat >conftest.$ac_ext <<_ACEOF
37462 /* confdefs.h. */
37463 _ACEOF
37464 cat confdefs.h >>conftest.$ac_ext
37465 cat >>conftest.$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37467 #include <stdlib.h>
37468 #include <iconv.h>
37469 int
37470 main ()
37471 {
37472 iconv_t cd = iconv_open("","");
37473 iconv(cd,NULL,NULL,NULL,NULL);
37474 iconv_close(cd);
37475 ;
37476 return 0;
37477 }
37478 _ACEOF
37479 rm -f conftest.$ac_objext conftest$ac_exeext
37480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37481 (eval $ac_link) 2>conftest.er1
37482 ac_status=$?
37483 grep -v '^ *+' conftest.er1 >conftest.err
37484 rm -f conftest.er1
37485 cat conftest.err >&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } &&
37488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37490 (eval $ac_try) 2>&5
37491 ac_status=$?
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); }; } &&
37494 { ac_try='test -s conftest$ac_exeext'
37495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37496 (eval $ac_try) 2>&5
37497 ac_status=$?
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); }; }; then
37500 am_cv_lib_iconv=yes
37501 am_cv_func_iconv=yes
37502 else
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.$ac_ext >&5
37505
37506 fi
37507 rm -f conftest.err conftest.$ac_objext \
37508 conftest$ac_exeext conftest.$ac_ext
37509 LIBS="$am_save_LIBS"
37510 fi
37511
37512 fi
37513 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37514 echo "${ECHO_T}$am_cv_func_iconv" >&6
37515 if test "$am_cv_func_iconv" = yes; then
37516
37517 cat >>confdefs.h <<\_ACEOF
37518 #define HAVE_ICONV 1
37519 _ACEOF
37520
37521 echo "$as_me:$LINENO: checking if iconv needs const" >&5
37522 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
37523 if test "${wx_cv_func_iconv_const+set}" = set; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 else
37526 cat >conftest.$ac_ext <<_ACEOF
37527 /* confdefs.h. */
37528 _ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532
37533 #include <stdlib.h>
37534 #include <iconv.h>
37535 extern
37536 #ifdef __cplusplus
37537 "C"
37538 #endif
37539 #if defined(__STDC__) || defined(__cplusplus)
37540 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37541 #else
37542 size_t iconv();
37543 #endif
37544
37545 int
37546 main ()
37547 {
37548
37549 ;
37550 return 0;
37551 }
37552 _ACEOF
37553 rm -f conftest.$ac_objext
37554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37555 (eval $ac_compile) 2>conftest.er1
37556 ac_status=$?
37557 grep -v '^ *+' conftest.er1 >conftest.err
37558 rm -f conftest.er1
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } &&
37562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37565 ac_status=$?
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try='test -s conftest.$ac_objext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37571 ac_status=$?
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 wx_cv_func_iconv_const="no"
37575 else
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37578
37579 wx_cv_func_iconv_const="yes"
37580
37581 fi
37582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37583
37584 fi
37585 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37586 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37587
37588 iconv_const=
37589 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37590 iconv_const="const"
37591 fi
37592
37593
37594 cat >>confdefs.h <<_ACEOF
37595 #define ICONV_CONST $iconv_const
37596 _ACEOF
37597
37598 fi
37599 LIBICONV=
37600 if test "$am_cv_lib_iconv" = yes; then
37601 LIBICONV="-liconv"
37602 fi
37603
37604
37605 LIBS="$LIBICONV $LIBS"
37606
37607 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37608
37609 for ac_func in sigaction
37610 do
37611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37612 echo "$as_me:$LINENO: checking for $ac_func" >&5
37613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37614 if eval "test \"\${$as_ac_var+set}\" = set"; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 else
37617 cat >conftest.$ac_ext <<_ACEOF
37618 /* confdefs.h. */
37619 _ACEOF
37620 cat confdefs.h >>conftest.$ac_ext
37621 cat >>conftest.$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37625 #define $ac_func innocuous_$ac_func
37626
37627 /* System header to define __stub macros and hopefully few prototypes,
37628 which can conflict with char $ac_func (); below.
37629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37630 <limits.h> exists even on freestanding compilers. */
37631
37632 #ifdef __STDC__
37633 # include <limits.h>
37634 #else
37635 # include <assert.h>
37636 #endif
37637
37638 #undef $ac_func
37639
37640 /* Override any gcc2 internal prototype to avoid an error. */
37641 #ifdef __cplusplus
37642 extern "C"
37643 {
37644 #endif
37645 /* We use char because int might match the return type of a gcc2
37646 builtin and then its argument prototype would still apply. */
37647 char $ac_func ();
37648 /* The GNU C library defines this for functions which it implements
37649 to always fail with ENOSYS. Some functions are actually named
37650 something starting with __ and the normal name is an alias. */
37651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37652 choke me
37653 #else
37654 char (*f) () = $ac_func;
37655 #endif
37656 #ifdef __cplusplus
37657 }
37658 #endif
37659
37660 int
37661 main ()
37662 {
37663 return f != $ac_func;
37664 ;
37665 return 0;
37666 }
37667 _ACEOF
37668 rm -f conftest.$ac_objext conftest$ac_exeext
37669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37670 (eval $ac_link) 2>conftest.er1
37671 ac_status=$?
37672 grep -v '^ *+' conftest.er1 >conftest.err
37673 rm -f conftest.er1
37674 cat conftest.err >&5
37675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37676 (exit $ac_status); } &&
37677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37679 (eval $ac_try) 2>&5
37680 ac_status=$?
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); }; } &&
37683 { ac_try='test -s conftest$ac_exeext'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37686 ac_status=$?
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; }; then
37689 eval "$as_ac_var=yes"
37690 else
37691 echo "$as_me: failed program was:" >&5
37692 sed 's/^/| /' conftest.$ac_ext >&5
37693
37694 eval "$as_ac_var=no"
37695 fi
37696 rm -f conftest.err conftest.$ac_objext \
37697 conftest$ac_exeext conftest.$ac_ext
37698 fi
37699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37701 if test `eval echo '${'$as_ac_var'}'` = yes; then
37702 cat >>confdefs.h <<_ACEOF
37703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37704 _ACEOF
37705
37706 fi
37707 done
37708
37709
37710 if test "$ac_cv_func_sigaction" = "no"; then
37711 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37712 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37713 wxUSE_ON_FATAL_EXCEPTION=no
37714 fi
37715
37716 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37717 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37718 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37719 if test "${wx_cv_type_sa_handler+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37721 else
37722
37723 cat >conftest.$ac_ext <<_ACEOF
37724 /* confdefs.h. */
37725 _ACEOF
37726 cat confdefs.h >>conftest.$ac_ext
37727 cat >>conftest.$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 #include <signal.h>
37730 int
37731 main ()
37732 {
37733
37734 extern void testSigHandler(int);
37735
37736 struct sigaction sa;
37737 sa.sa_handler = testSigHandler;
37738
37739 ;
37740 return 0;
37741 }
37742 _ACEOF
37743 rm -f conftest.$ac_objext
37744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37745 (eval $ac_compile) 2>conftest.er1
37746 ac_status=$?
37747 grep -v '^ *+' conftest.er1 >conftest.err
37748 rm -f conftest.er1
37749 cat conftest.err >&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); } &&
37752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; } &&
37758 { ac_try='test -s conftest.$ac_objext'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; }; then
37764
37765 wx_cv_type_sa_handler=int
37766
37767 else
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37770
37771
37772 wx_cv_type_sa_handler=void
37773
37774 fi
37775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37776
37777 fi
37778 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37779 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37780
37781 cat >>confdefs.h <<_ACEOF
37782 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37783 _ACEOF
37784
37785 fi
37786 fi
37787
37788 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37789 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37790 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37791 if test "${wx_cv_func_backtrace+set}" = set; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 else
37794
37795 cat >conftest.$ac_ext <<_ACEOF
37796 /* confdefs.h. */
37797 _ACEOF
37798 cat confdefs.h >>conftest.$ac_ext
37799 cat >>conftest.$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801 #include <execinfo.h>
37802 int
37803 main ()
37804 {
37805
37806 void *trace[1];
37807 char **messages;
37808
37809 backtrace(trace, 1);
37810 messages = backtrace_symbols(trace, 1);
37811
37812 ;
37813 return 0;
37814 }
37815 _ACEOF
37816 rm -f conftest.$ac_objext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37818 (eval $ac_compile) 2>conftest.er1
37819 ac_status=$?
37820 grep -v '^ *+' conftest.er1 >conftest.err
37821 rm -f conftest.er1
37822 cat conftest.err >&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } &&
37825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37828 ac_status=$?
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try='test -s conftest.$ac_objext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37834 ac_status=$?
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 wx_cv_func_backtrace=yes
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37841
37842 wx_cv_func_backtrace=no
37843
37844 fi
37845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37846
37847
37848 fi
37849 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37850 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37851
37852
37853 if test "$wx_cv_func_backtrace" = "no"; then
37854 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37855 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37856 wxUSE_STACKWALKER=no
37857 else
37858 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37859 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37860 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37861 echo $ECHO_N "(cached) $ECHO_C" >&6
37862 else
37863
37864 cat >conftest.$ac_ext <<_ACEOF
37865 /* confdefs.h. */
37866 _ACEOF
37867 cat confdefs.h >>conftest.$ac_ext
37868 cat >>conftest.$ac_ext <<_ACEOF
37869 /* end confdefs.h. */
37870 #include <cxxabi.h>
37871 int
37872 main ()
37873 {
37874
37875 int rc;
37876 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37877
37878 ;
37879 return 0;
37880 }
37881 _ACEOF
37882 rm -f conftest.$ac_objext conftest$ac_exeext
37883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37884 (eval $ac_link) 2>conftest.er1
37885 ac_status=$?
37886 grep -v '^ *+' conftest.er1 >conftest.err
37887 rm -f conftest.er1
37888 cat conftest.err >&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } &&
37891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37894 ac_status=$?
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; } &&
37897 { ac_try='test -s conftest$ac_exeext'
37898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37899 (eval $ac_try) 2>&5
37900 ac_status=$?
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); }; }; then
37903 wx_cv_func_cxa_demangle=yes
37904 else
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37907
37908 wx_cv_func_cxa_demangle=no
37909
37910 fi
37911 rm -f conftest.err conftest.$ac_objext \
37912 conftest$ac_exeext conftest.$ac_ext
37913
37914
37915 fi
37916 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37917 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37918
37919 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37920 cat >>confdefs.h <<\_ACEOF
37921 #define HAVE_CXA_DEMANGLE 1
37922 _ACEOF
37923
37924 fi
37925 fi
37926 fi
37927
37928 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37929 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37930 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37931 wxUSE_STACKWALKER=no
37932 fi
37933
37934
37935
37936
37937 for ac_func in mkstemp mktemp
37938 do
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37942 if eval "test \"\${$as_ac_var+set}\" = set"; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef $ac_func
37967
37968 /* Override any gcc2 internal prototype to avoid an error. */
37969 #ifdef __cplusplus
37970 extern "C"
37971 {
37972 #endif
37973 /* We use char because int might match the return type of a gcc2
37974 builtin and then its argument prototype would still apply. */
37975 char $ac_func ();
37976 /* The GNU C library defines this for functions which it implements
37977 to always fail with ENOSYS. Some functions are actually named
37978 something starting with __ and the normal name is an alias. */
37979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37980 choke me
37981 #else
37982 char (*f) () = $ac_func;
37983 #endif
37984 #ifdef __cplusplus
37985 }
37986 #endif
37987
37988 int
37989 main ()
37990 {
37991 return f != $ac_func;
37992 ;
37993 return 0;
37994 }
37995 _ACEOF
37996 rm -f conftest.$ac_objext conftest$ac_exeext
37997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37998 (eval $ac_link) 2>conftest.er1
37999 ac_status=$?
38000 grep -v '^ *+' conftest.er1 >conftest.err
38001 rm -f conftest.er1
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } &&
38005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38007 (eval $ac_try) 2>&5
38008 ac_status=$?
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); }; } &&
38011 { ac_try='test -s conftest$ac_exeext'
38012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38013 (eval $ac_try) 2>&5
38014 ac_status=$?
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); }; }; then
38017 eval "$as_ac_var=yes"
38018 else
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.$ac_ext >&5
38021
38022 eval "$as_ac_var=no"
38023 fi
38024 rm -f conftest.err conftest.$ac_objext \
38025 conftest$ac_exeext conftest.$ac_ext
38026 fi
38027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38029 if test `eval echo '${'$as_ac_var'}'` = yes; then
38030 cat >>confdefs.h <<_ACEOF
38031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38032 _ACEOF
38033 break
38034 fi
38035 done
38036
38037
38038 echo "$as_me:$LINENO: checking for statfs" >&5
38039 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
38040 if test "${wx_cv_func_statfs+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 else
38043 cat >conftest.$ac_ext <<_ACEOF
38044 /* confdefs.h. */
38045 _ACEOF
38046 cat confdefs.h >>conftest.$ac_ext
38047 cat >>conftest.$ac_ext <<_ACEOF
38048 /* end confdefs.h. */
38049
38050 #if defined(__BSD__)
38051 #include <sys/param.h>
38052 #include <sys/mount.h>
38053 #else
38054 #include <sys/vfs.h>
38055 #endif
38056
38057 int
38058 main ()
38059 {
38060
38061 long l;
38062 struct statfs fs;
38063 statfs("/", &fs);
38064 l = fs.f_bsize;
38065 l += fs.f_blocks;
38066 l += fs.f_bavail;
38067
38068 ;
38069 return 0;
38070 }
38071 _ACEOF
38072 rm -f conftest.$ac_objext
38073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38074 (eval $ac_compile) 2>conftest.er1
38075 ac_status=$?
38076 grep -v '^ *+' conftest.er1 >conftest.err
38077 rm -f conftest.er1
38078 cat conftest.err >&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); } &&
38081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38083 (eval $ac_try) 2>&5
38084 ac_status=$?
38085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38086 (exit $ac_status); }; } &&
38087 { ac_try='test -s conftest.$ac_objext'
38088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38089 (eval $ac_try) 2>&5
38090 ac_status=$?
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); }; }; then
38093 wx_cv_func_statfs=yes
38094 else
38095 echo "$as_me: failed program was:" >&5
38096 sed 's/^/| /' conftest.$ac_ext >&5
38097
38098 wx_cv_func_statfs=no
38099
38100 fi
38101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38102
38103 fi
38104 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38105 echo "${ECHO_T}$wx_cv_func_statfs" >&6
38106
38107 if test "$wx_cv_func_statfs" = "yes"; then
38108 echo "$as_me:$LINENO: checking for statfs declaration" >&5
38109 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
38110 if test "${wx_cv_func_statfs_decl+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 else
38113 cat >conftest.$ac_ext <<_ACEOF
38114 /* confdefs.h. */
38115 _ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119
38120 #if defined(__BSD__)
38121 #include <sys/param.h>
38122 #include <sys/mount.h>
38123 #else
38124 #include <sys/vfs.h>
38125 #endif
38126
38127 int
38128 main ()
38129 {
38130
38131 struct statfs fs;
38132 statfs("", &fs);
38133
38134 ;
38135 return 0;
38136 }
38137 _ACEOF
38138 rm -f conftest.$ac_objext
38139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38140 (eval $ac_compile) 2>conftest.er1
38141 ac_status=$?
38142 grep -v '^ *+' conftest.er1 >conftest.err
38143 rm -f conftest.er1
38144 cat conftest.err >&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); } &&
38147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149 (eval $ac_try) 2>&5
38150 ac_status=$?
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); }; } &&
38153 { ac_try='test -s conftest.$ac_objext'
38154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38155 (eval $ac_try) 2>&5
38156 ac_status=$?
38157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158 (exit $ac_status); }; }; then
38159 wx_cv_func_statfs_decl=yes
38160 else
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38163
38164 wx_cv_func_statfs_decl=no
38165
38166 fi
38167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38168
38169 fi
38170 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38171 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
38172
38173 if test "$wx_cv_func_statfs_decl" = "yes"; then
38174 cat >>confdefs.h <<\_ACEOF
38175 #define HAVE_STATFS_DECL 1
38176 _ACEOF
38177
38178 fi
38179
38180 wx_cv_type_statvfs_t="struct statfs"
38181 cat >>confdefs.h <<\_ACEOF
38182 #define HAVE_STATFS 1
38183 _ACEOF
38184
38185 else
38186 echo "$as_me:$LINENO: checking for statvfs" >&5
38187 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
38188 if test "${wx_cv_func_statvfs+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191 cat >conftest.$ac_ext <<_ACEOF
38192 /* confdefs.h. */
38193 _ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197
38198 #include <stddef.h>
38199 #include <sys/statvfs.h>
38200
38201 int
38202 main ()
38203 {
38204
38205 statvfs("/", NULL);
38206
38207 ;
38208 return 0;
38209 }
38210 _ACEOF
38211 rm -f conftest.$ac_objext
38212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38213 (eval $ac_compile) 2>conftest.er1
38214 ac_status=$?
38215 grep -v '^ *+' conftest.er1 >conftest.err
38216 rm -f conftest.er1
38217 cat conftest.err >&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } &&
38220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38223 ac_status=$?
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try='test -s conftest.$ac_objext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38229 ac_status=$?
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 wx_cv_func_statvfs=yes
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 wx_cv_func_statvfs=no
38238
38239 fi
38240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38241
38242 fi
38243 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38244 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
38245
38246 if test "$wx_cv_func_statvfs" = "yes"; then
38247 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38248 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
38249 if test "${wx_cv_type_statvfs_t+set}" = set; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38251 else
38252 cat >conftest.$ac_ext <<_ACEOF
38253 /* confdefs.h. */
38254 _ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38258
38259 #include <sys/statvfs.h>
38260
38261 int
38262 main ()
38263 {
38264
38265 long l;
38266 statvfs_t fs;
38267 statvfs("/", &fs);
38268 l = fs.f_bsize;
38269 l += fs.f_blocks;
38270 l += fs.f_bavail;
38271
38272 ;
38273 return 0;
38274 }
38275 _ACEOF
38276 rm -f conftest.$ac_objext
38277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38278 (eval $ac_compile) 2>conftest.er1
38279 ac_status=$?
38280 grep -v '^ *+' conftest.er1 >conftest.err
38281 rm -f conftest.er1
38282 cat conftest.err >&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } &&
38285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38287 (eval $ac_try) 2>&5
38288 ac_status=$?
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); }; } &&
38291 { ac_try='test -s conftest.$ac_objext'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38294 ac_status=$?
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; }; then
38297 wx_cv_type_statvfs_t=statvfs_t
38298 else
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38301
38302
38303 cat >conftest.$ac_ext <<_ACEOF
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309
38310 #include <sys/statvfs.h>
38311
38312 int
38313 main ()
38314 {
38315
38316 long l;
38317 struct statvfs fs;
38318 statvfs("/", &fs);
38319 l = fs.f_bsize;
38320 l += fs.f_blocks;
38321 l += fs.f_bavail;
38322
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38329 (eval $ac_compile) 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38338 (eval $ac_try) 2>&5
38339 ac_status=$?
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); }; } &&
38342 { ac_try='test -s conftest.$ac_objext'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38345 ac_status=$?
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; }; then
38348 wx_cv_type_statvfs_t="struct statvfs"
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 wx_cv_type_statvfs_t="unknown"
38354
38355 fi
38356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38357
38358
38359 fi
38360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38361
38362 fi
38363 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38364 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
38365
38366 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38367 cat >>confdefs.h <<\_ACEOF
38368 #define HAVE_STATVFS 1
38369 _ACEOF
38370
38371 fi
38372 else
38373 wx_cv_type_statvfs_t="unknown"
38374 fi
38375 fi
38376
38377 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38378 cat >>confdefs.h <<_ACEOF
38379 #define WX_STATFS_T $wx_cv_type_statvfs_t
38380 _ACEOF
38381
38382 else
38383 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38384 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38385 fi
38386
38387 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38388
38389
38390 for ac_func in fcntl flock
38391 do
38392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38393 echo "$as_me:$LINENO: checking for $ac_func" >&5
38394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38395 if eval "test \"\${$as_ac_var+set}\" = set"; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38397 else
38398 cat >conftest.$ac_ext <<_ACEOF
38399 /* confdefs.h. */
38400 _ACEOF
38401 cat confdefs.h >>conftest.$ac_ext
38402 cat >>conftest.$ac_ext <<_ACEOF
38403 /* end confdefs.h. */
38404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38406 #define $ac_func innocuous_$ac_func
38407
38408 /* System header to define __stub macros and hopefully few prototypes,
38409 which can conflict with char $ac_func (); below.
38410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38411 <limits.h> exists even on freestanding compilers. */
38412
38413 #ifdef __STDC__
38414 # include <limits.h>
38415 #else
38416 # include <assert.h>
38417 #endif
38418
38419 #undef $ac_func
38420
38421 /* Override any gcc2 internal prototype to avoid an error. */
38422 #ifdef __cplusplus
38423 extern "C"
38424 {
38425 #endif
38426 /* We use char because int might match the return type of a gcc2
38427 builtin and then its argument prototype would still apply. */
38428 char $ac_func ();
38429 /* The GNU C library defines this for functions which it implements
38430 to always fail with ENOSYS. Some functions are actually named
38431 something starting with __ and the normal name is an alias. */
38432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38433 choke me
38434 #else
38435 char (*f) () = $ac_func;
38436 #endif
38437 #ifdef __cplusplus
38438 }
38439 #endif
38440
38441 int
38442 main ()
38443 {
38444 return f != $ac_func;
38445 ;
38446 return 0;
38447 }
38448 _ACEOF
38449 rm -f conftest.$ac_objext conftest$ac_exeext
38450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38451 (eval $ac_link) 2>conftest.er1
38452 ac_status=$?
38453 grep -v '^ *+' conftest.er1 >conftest.err
38454 rm -f conftest.er1
38455 cat conftest.err >&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); } &&
38458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38460 (eval $ac_try) 2>&5
38461 ac_status=$?
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); }; } &&
38464 { ac_try='test -s conftest$ac_exeext'
38465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38466 (eval $ac_try) 2>&5
38467 ac_status=$?
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); }; }; then
38470 eval "$as_ac_var=yes"
38471 else
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.$ac_ext >&5
38474
38475 eval "$as_ac_var=no"
38476 fi
38477 rm -f conftest.err conftest.$ac_objext \
38478 conftest$ac_exeext conftest.$ac_ext
38479 fi
38480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38482 if test `eval echo '${'$as_ac_var'}'` = yes; then
38483 cat >>confdefs.h <<_ACEOF
38484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38485 _ACEOF
38486 break
38487 fi
38488 done
38489
38490
38491 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38492 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38493 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38494 wxUSE_SNGLINST_CHECKER=no
38495 fi
38496 fi
38497
38498
38499 for ac_func in timegm
38500 do
38501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38502 echo "$as_me:$LINENO: checking for $ac_func" >&5
38503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38504 if eval "test \"\${$as_ac_var+set}\" = set"; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38506 else
38507 cat >conftest.$ac_ext <<_ACEOF
38508 /* confdefs.h. */
38509 _ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38515 #define $ac_func innocuous_$ac_func
38516
38517 /* System header to define __stub macros and hopefully few prototypes,
38518 which can conflict with char $ac_func (); below.
38519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38520 <limits.h> exists even on freestanding compilers. */
38521
38522 #ifdef __STDC__
38523 # include <limits.h>
38524 #else
38525 # include <assert.h>
38526 #endif
38527
38528 #undef $ac_func
38529
38530 /* Override any gcc2 internal prototype to avoid an error. */
38531 #ifdef __cplusplus
38532 extern "C"
38533 {
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 $ac_func ();
38538 /* The GNU C library defines this for functions which it implements
38539 to always fail with ENOSYS. Some functions are actually named
38540 something starting with __ and the normal name is an alias. */
38541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38542 choke me
38543 #else
38544 char (*f) () = $ac_func;
38545 #endif
38546 #ifdef __cplusplus
38547 }
38548 #endif
38549
38550 int
38551 main ()
38552 {
38553 return f != $ac_func;
38554 ;
38555 return 0;
38556 }
38557 _ACEOF
38558 rm -f conftest.$ac_objext conftest$ac_exeext
38559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38560 (eval $ac_link) 2>conftest.er1
38561 ac_status=$?
38562 grep -v '^ *+' conftest.er1 >conftest.err
38563 rm -f conftest.er1
38564 cat conftest.err >&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); } &&
38567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38570 ac_status=$?
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; } &&
38573 { ac_try='test -s conftest$ac_exeext'
38574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38575 (eval $ac_try) 2>&5
38576 ac_status=$?
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); }; }; then
38579 eval "$as_ac_var=yes"
38580 else
38581 echo "$as_me: failed program was:" >&5
38582 sed 's/^/| /' conftest.$ac_ext >&5
38583
38584 eval "$as_ac_var=no"
38585 fi
38586 rm -f conftest.err conftest.$ac_objext \
38587 conftest$ac_exeext conftest.$ac_ext
38588 fi
38589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38591 if test `eval echo '${'$as_ac_var'}'` = yes; then
38592 cat >>confdefs.h <<_ACEOF
38593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38594 _ACEOF
38595
38596 fi
38597 done
38598
38599
38600
38601
38602 for ac_func in putenv setenv
38603 do
38604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38605 echo "$as_me:$LINENO: checking for $ac_func" >&5
38606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38607 if eval "test \"\${$as_ac_var+set}\" = set"; then
38608 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 else
38610 cat >conftest.$ac_ext <<_ACEOF
38611 /* confdefs.h. */
38612 _ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38618 #define $ac_func innocuous_$ac_func
38619
38620 /* System header to define __stub macros and hopefully few prototypes,
38621 which can conflict with char $ac_func (); below.
38622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38623 <limits.h> exists even on freestanding compilers. */
38624
38625 #ifdef __STDC__
38626 # include <limits.h>
38627 #else
38628 # include <assert.h>
38629 #endif
38630
38631 #undef $ac_func
38632
38633 /* Override any gcc2 internal prototype to avoid an error. */
38634 #ifdef __cplusplus
38635 extern "C"
38636 {
38637 #endif
38638 /* We use char because int might match the return type of a gcc2
38639 builtin and then its argument prototype would still apply. */
38640 char $ac_func ();
38641 /* The GNU C library defines this for functions which it implements
38642 to always fail with ENOSYS. Some functions are actually named
38643 something starting with __ and the normal name is an alias. */
38644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38645 choke me
38646 #else
38647 char (*f) () = $ac_func;
38648 #endif
38649 #ifdef __cplusplus
38650 }
38651 #endif
38652
38653 int
38654 main ()
38655 {
38656 return f != $ac_func;
38657 ;
38658 return 0;
38659 }
38660 _ACEOF
38661 rm -f conftest.$ac_objext conftest$ac_exeext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38663 (eval $ac_link) 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } &&
38670 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38673 ac_status=$?
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; } &&
38676 { ac_try='test -s conftest$ac_exeext'
38677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38678 (eval $ac_try) 2>&5
38679 ac_status=$?
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; }; then
38682 eval "$as_ac_var=yes"
38683 else
38684 echo "$as_me: failed program was:" >&5
38685 sed 's/^/| /' conftest.$ac_ext >&5
38686
38687 eval "$as_ac_var=no"
38688 fi
38689 rm -f conftest.err conftest.$ac_objext \
38690 conftest$ac_exeext conftest.$ac_ext
38691 fi
38692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38694 if test `eval echo '${'$as_ac_var'}'` = yes; then
38695 cat >>confdefs.h <<_ACEOF
38696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38697 _ACEOF
38698 break
38699 fi
38700 done
38701
38702
38703 HAVE_SOME_SLEEP_FUNC=0
38704 if test "$USE_BEOS" = 1; then
38705 cat >>confdefs.h <<\_ACEOF
38706 #define HAVE_SLEEP 1
38707 _ACEOF
38708
38709 HAVE_SOME_SLEEP_FUNC=1
38710 fi
38711
38712 if test "$USE_DARWIN" = 1; then
38713 cat >>confdefs.h <<\_ACEOF
38714 #define HAVE_USLEEP 1
38715 _ACEOF
38716
38717 HAVE_SOME_SLEEP_FUNC=1
38718 fi
38719
38720 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38721 POSIX4_LINK=
38722
38723 for ac_func in nanosleep
38724 do
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38728 if eval "test \"\${$as_ac_var+set}\" = set"; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 else
38731 cat >conftest.$ac_ext <<_ACEOF
38732 /* confdefs.h. */
38733 _ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38740
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38745
38746 #ifdef __STDC__
38747 # include <limits.h>
38748 #else
38749 # include <assert.h>
38750 #endif
38751
38752 #undef $ac_func
38753
38754 /* Override any gcc2 internal prototype to avoid an error. */
38755 #ifdef __cplusplus
38756 extern "C"
38757 {
38758 #endif
38759 /* We use char because int might match the return type of a gcc2
38760 builtin and then its argument prototype would still apply. */
38761 char $ac_func ();
38762 /* The GNU C library defines this for functions which it implements
38763 to always fail with ENOSYS. Some functions are actually named
38764 something starting with __ and the normal name is an alias. */
38765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38766 choke me
38767 #else
38768 char (*f) () = $ac_func;
38769 #endif
38770 #ifdef __cplusplus
38771 }
38772 #endif
38773
38774 int
38775 main ()
38776 {
38777 return f != $ac_func;
38778 ;
38779 return 0;
38780 }
38781 _ACEOF
38782 rm -f conftest.$ac_objext conftest$ac_exeext
38783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38784 (eval $ac_link) 2>conftest.er1
38785 ac_status=$?
38786 grep -v '^ *+' conftest.er1 >conftest.err
38787 rm -f conftest.er1
38788 cat conftest.err >&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); } &&
38791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38793 (eval $ac_try) 2>&5
38794 ac_status=$?
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); }; } &&
38797 { ac_try='test -s conftest$ac_exeext'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38800 ac_status=$?
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; }; then
38803 eval "$as_ac_var=yes"
38804 else
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.$ac_ext >&5
38807
38808 eval "$as_ac_var=no"
38809 fi
38810 rm -f conftest.err conftest.$ac_objext \
38811 conftest$ac_exeext conftest.$ac_ext
38812 fi
38813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38815 if test `eval echo '${'$as_ac_var'}'` = yes; then
38816 cat >>confdefs.h <<_ACEOF
38817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38818 _ACEOF
38819 cat >>confdefs.h <<\_ACEOF
38820 #define HAVE_NANOSLEEP 1
38821 _ACEOF
38822
38823 else
38824
38825 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38826 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38827 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38828 echo $ECHO_N "(cached) $ECHO_C" >&6
38829 else
38830 ac_check_lib_save_LIBS=$LIBS
38831 LIBS="-lposix4 $LIBS"
38832 cat >conftest.$ac_ext <<_ACEOF
38833 /* confdefs.h. */
38834 _ACEOF
38835 cat confdefs.h >>conftest.$ac_ext
38836 cat >>conftest.$ac_ext <<_ACEOF
38837 /* end confdefs.h. */
38838
38839 /* Override any gcc2 internal prototype to avoid an error. */
38840 #ifdef __cplusplus
38841 extern "C"
38842 #endif
38843 /* We use char because int might match the return type of a gcc2
38844 builtin and then its argument prototype would still apply. */
38845 char nanosleep ();
38846 int
38847 main ()
38848 {
38849 nanosleep ();
38850 ;
38851 return 0;
38852 }
38853 _ACEOF
38854 rm -f conftest.$ac_objext conftest$ac_exeext
38855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38856 (eval $ac_link) 2>conftest.er1
38857 ac_status=$?
38858 grep -v '^ *+' conftest.er1 >conftest.err
38859 rm -f conftest.er1
38860 cat conftest.err >&5
38861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38862 (exit $ac_status); } &&
38863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38865 (eval $ac_try) 2>&5
38866 ac_status=$?
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); }; } &&
38869 { ac_try='test -s conftest$ac_exeext'
38870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38871 (eval $ac_try) 2>&5
38872 ac_status=$?
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); }; }; then
38875 ac_cv_lib_posix4_nanosleep=yes
38876 else
38877 echo "$as_me: failed program was:" >&5
38878 sed 's/^/| /' conftest.$ac_ext >&5
38879
38880 ac_cv_lib_posix4_nanosleep=no
38881 fi
38882 rm -f conftest.err conftest.$ac_objext \
38883 conftest$ac_exeext conftest.$ac_ext
38884 LIBS=$ac_check_lib_save_LIBS
38885 fi
38886 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38887 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38888 if test $ac_cv_lib_posix4_nanosleep = yes; then
38889
38890 cat >>confdefs.h <<\_ACEOF
38891 #define HAVE_NANOSLEEP 1
38892 _ACEOF
38893
38894 POSIX4_LINK=" -lposix4"
38895
38896 else
38897
38898
38899 for ac_func in usleep
38900 do
38901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38902 echo "$as_me:$LINENO: checking for $ac_func" >&5
38903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38904 if eval "test \"\${$as_ac_var+set}\" = set"; then
38905 echo $ECHO_N "(cached) $ECHO_C" >&6
38906 else
38907 cat >conftest.$ac_ext <<_ACEOF
38908 /* confdefs.h. */
38909 _ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38915 #define $ac_func innocuous_$ac_func
38916
38917 /* System header to define __stub macros and hopefully few prototypes,
38918 which can conflict with char $ac_func (); below.
38919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38920 <limits.h> exists even on freestanding compilers. */
38921
38922 #ifdef __STDC__
38923 # include <limits.h>
38924 #else
38925 # include <assert.h>
38926 #endif
38927
38928 #undef $ac_func
38929
38930 /* Override any gcc2 internal prototype to avoid an error. */
38931 #ifdef __cplusplus
38932 extern "C"
38933 {
38934 #endif
38935 /* We use char because int might match the return type of a gcc2
38936 builtin and then its argument prototype would still apply. */
38937 char $ac_func ();
38938 /* The GNU C library defines this for functions which it implements
38939 to always fail with ENOSYS. Some functions are actually named
38940 something starting with __ and the normal name is an alias. */
38941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38942 choke me
38943 #else
38944 char (*f) () = $ac_func;
38945 #endif
38946 #ifdef __cplusplus
38947 }
38948 #endif
38949
38950 int
38951 main ()
38952 {
38953 return f != $ac_func;
38954 ;
38955 return 0;
38956 }
38957 _ACEOF
38958 rm -f conftest.$ac_objext conftest$ac_exeext
38959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38960 (eval $ac_link) 2>conftest.er1
38961 ac_status=$?
38962 grep -v '^ *+' conftest.er1 >conftest.err
38963 rm -f conftest.er1
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } &&
38967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969 (eval $ac_try) 2>&5
38970 ac_status=$?
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); }; } &&
38973 { ac_try='test -s conftest$ac_exeext'
38974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38975 (eval $ac_try) 2>&5
38976 ac_status=$?
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); }; }; then
38979 eval "$as_ac_var=yes"
38980 else
38981 echo "$as_me: failed program was:" >&5
38982 sed 's/^/| /' conftest.$ac_ext >&5
38983
38984 eval "$as_ac_var=no"
38985 fi
38986 rm -f conftest.err conftest.$ac_objext \
38987 conftest$ac_exeext conftest.$ac_ext
38988 fi
38989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38991 if test `eval echo '${'$as_ac_var'}'` = yes; then
38992 cat >>confdefs.h <<_ACEOF
38993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38994 _ACEOF
38995 cat >>confdefs.h <<\_ACEOF
38996 #define HAVE_USLEEP 1
38997 _ACEOF
38998
38999 else
39000 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39001 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39002
39003 fi
39004 done
39005
39006
39007
39008 fi
39009
39010
39011
39012 fi
39013 done
39014
39015 fi
39016
39017
39018
39019 for ac_func in uname gethostname
39020 do
39021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39022 echo "$as_me:$LINENO: checking for $ac_func" >&5
39023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39024 if eval "test \"\${$as_ac_var+set}\" = set"; then
39025 echo $ECHO_N "(cached) $ECHO_C" >&6
39026 else
39027 cat >conftest.$ac_ext <<_ACEOF
39028 /* confdefs.h. */
39029 _ACEOF
39030 cat confdefs.h >>conftest.$ac_ext
39031 cat >>conftest.$ac_ext <<_ACEOF
39032 /* end confdefs.h. */
39033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39035 #define $ac_func innocuous_$ac_func
39036
39037 /* System header to define __stub macros and hopefully few prototypes,
39038 which can conflict with char $ac_func (); below.
39039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39040 <limits.h> exists even on freestanding compilers. */
39041
39042 #ifdef __STDC__
39043 # include <limits.h>
39044 #else
39045 # include <assert.h>
39046 #endif
39047
39048 #undef $ac_func
39049
39050 /* Override any gcc2 internal prototype to avoid an error. */
39051 #ifdef __cplusplus
39052 extern "C"
39053 {
39054 #endif
39055 /* We use char because int might match the return type of a gcc2
39056 builtin and then its argument prototype would still apply. */
39057 char $ac_func ();
39058 /* The GNU C library defines this for functions which it implements
39059 to always fail with ENOSYS. Some functions are actually named
39060 something starting with __ and the normal name is an alias. */
39061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39062 choke me
39063 #else
39064 char (*f) () = $ac_func;
39065 #endif
39066 #ifdef __cplusplus
39067 }
39068 #endif
39069
39070 int
39071 main ()
39072 {
39073 return f != $ac_func;
39074 ;
39075 return 0;
39076 }
39077 _ACEOF
39078 rm -f conftest.$ac_objext conftest$ac_exeext
39079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39080 (eval $ac_link) 2>conftest.er1
39081 ac_status=$?
39082 grep -v '^ *+' conftest.er1 >conftest.err
39083 rm -f conftest.er1
39084 cat conftest.err >&5
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); } &&
39087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39089 (eval $ac_try) 2>&5
39090 ac_status=$?
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); }; } &&
39093 { ac_try='test -s conftest$ac_exeext'
39094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39095 (eval $ac_try) 2>&5
39096 ac_status=$?
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); }; }; then
39099 eval "$as_ac_var=yes"
39100 else
39101 echo "$as_me: failed program was:" >&5
39102 sed 's/^/| /' conftest.$ac_ext >&5
39103
39104 eval "$as_ac_var=no"
39105 fi
39106 rm -f conftest.err conftest.$ac_objext \
39107 conftest$ac_exeext conftest.$ac_ext
39108 fi
39109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39111 if test `eval echo '${'$as_ac_var'}'` = yes; then
39112 cat >>confdefs.h <<_ACEOF
39113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39114 _ACEOF
39115 break
39116 fi
39117 done
39118
39119
39120
39121 for wx_func in strtok_r
39122 do
39123 echo "$as_me:$LINENO: checking for $wx_func" >&5
39124 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39125 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 else
39128
39129 cat >conftest.$ac_ext <<_ACEOF
39130
39131 /* confdefs.h. */
39132 _ACEOF
39133 cat confdefs.h >>conftest.$ac_ext
39134 cat >>conftest.$ac_ext <<_ACEOF
39135 /* end confdefs.h. */
39136
39137 #define _REENTRANT
39138 $ac_includes_default
39139
39140 int
39141 main ()
39142 {
39143
39144 #ifndef $wx_func
39145 &$wx_func;
39146 #endif
39147
39148
39149 ;
39150 return 0;
39151 }
39152
39153 _ACEOF
39154 rm -f conftest.$ac_objext conftest$ac_exeext
39155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39156 (eval $ac_link) 2>conftest.er1
39157 ac_status=$?
39158 grep -v '^ *+' conftest.er1 >conftest.err
39159 rm -f conftest.er1
39160 cat conftest.err >&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); } &&
39163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39166 ac_status=$?
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; } &&
39169 { ac_try='test -s conftest$ac_exeext'
39170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171 (eval $ac_try) 2>&5
39172 ac_status=$?
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); }; }; then
39175 eval wx_cv_func_$wx_func=yes
39176 else
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39179
39180 eval wx_cv_func_$wx_func=no
39181 fi
39182 rm -f conftest.err conftest.$ac_objext \
39183 conftest$ac_exeext conftest.$ac_ext
39184
39185 fi
39186 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39187 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39188
39189 if eval test \$wx_cv_func_$wx_func = yes
39190 then
39191 cat >>confdefs.h <<_ACEOF
39192 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39193 _ACEOF
39194
39195
39196 else
39197 :
39198
39199 fi
39200 done
39201
39202
39203 INET_LINK=
39204
39205 for ac_func in inet_addr
39206 do
39207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39208 echo "$as_me:$LINENO: checking for $ac_func" >&5
39209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39210 if eval "test \"\${$as_ac_var+set}\" = set"; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 else
39213 cat >conftest.$ac_ext <<_ACEOF
39214 /* confdefs.h. */
39215 _ACEOF
39216 cat confdefs.h >>conftest.$ac_ext
39217 cat >>conftest.$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39221 #define $ac_func innocuous_$ac_func
39222
39223 /* System header to define __stub macros and hopefully few prototypes,
39224 which can conflict with char $ac_func (); below.
39225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39226 <limits.h> exists even on freestanding compilers. */
39227
39228 #ifdef __STDC__
39229 # include <limits.h>
39230 #else
39231 # include <assert.h>
39232 #endif
39233
39234 #undef $ac_func
39235
39236 /* Override any gcc2 internal prototype to avoid an error. */
39237 #ifdef __cplusplus
39238 extern "C"
39239 {
39240 #endif
39241 /* We use char because int might match the return type of a gcc2
39242 builtin and then its argument prototype would still apply. */
39243 char $ac_func ();
39244 /* The GNU C library defines this for functions which it implements
39245 to always fail with ENOSYS. Some functions are actually named
39246 something starting with __ and the normal name is an alias. */
39247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39248 choke me
39249 #else
39250 char (*f) () = $ac_func;
39251 #endif
39252 #ifdef __cplusplus
39253 }
39254 #endif
39255
39256 int
39257 main ()
39258 {
39259 return f != $ac_func;
39260 ;
39261 return 0;
39262 }
39263 _ACEOF
39264 rm -f conftest.$ac_objext conftest$ac_exeext
39265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39266 (eval $ac_link) 2>conftest.er1
39267 ac_status=$?
39268 grep -v '^ *+' conftest.er1 >conftest.err
39269 rm -f conftest.er1
39270 cat conftest.err >&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); } &&
39273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39276 ac_status=$?
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; } &&
39279 { ac_try='test -s conftest$ac_exeext'
39280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39281 (eval $ac_try) 2>&5
39282 ac_status=$?
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); }; }; then
39285 eval "$as_ac_var=yes"
39286 else
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.$ac_ext >&5
39289
39290 eval "$as_ac_var=no"
39291 fi
39292 rm -f conftest.err conftest.$ac_objext \
39293 conftest$ac_exeext conftest.$ac_ext
39294 fi
39295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39297 if test `eval echo '${'$as_ac_var'}'` = yes; then
39298 cat >>confdefs.h <<_ACEOF
39299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39300 _ACEOF
39301 cat >>confdefs.h <<\_ACEOF
39302 #define HAVE_INET_ADDR 1
39303 _ACEOF
39304
39305 else
39306
39307 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39308 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
39309 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39310 echo $ECHO_N "(cached) $ECHO_C" >&6
39311 else
39312 ac_check_lib_save_LIBS=$LIBS
39313 LIBS="-lnsl $LIBS"
39314 cat >conftest.$ac_ext <<_ACEOF
39315 /* confdefs.h. */
39316 _ACEOF
39317 cat confdefs.h >>conftest.$ac_ext
39318 cat >>conftest.$ac_ext <<_ACEOF
39319 /* end confdefs.h. */
39320
39321 /* Override any gcc2 internal prototype to avoid an error. */
39322 #ifdef __cplusplus
39323 extern "C"
39324 #endif
39325 /* We use char because int might match the return type of a gcc2
39326 builtin and then its argument prototype would still apply. */
39327 char inet_addr ();
39328 int
39329 main ()
39330 {
39331 inet_addr ();
39332 ;
39333 return 0;
39334 }
39335 _ACEOF
39336 rm -f conftest.$ac_objext conftest$ac_exeext
39337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39338 (eval $ac_link) 2>conftest.er1
39339 ac_status=$?
39340 grep -v '^ *+' conftest.er1 >conftest.err
39341 rm -f conftest.er1
39342 cat conftest.err >&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } &&
39345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39347 (eval $ac_try) 2>&5
39348 ac_status=$?
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); }; } &&
39351 { ac_try='test -s conftest$ac_exeext'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39354 ac_status=$?
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; }; then
39357 ac_cv_lib_nsl_inet_addr=yes
39358 else
39359 echo "$as_me: failed program was:" >&5
39360 sed 's/^/| /' conftest.$ac_ext >&5
39361
39362 ac_cv_lib_nsl_inet_addr=no
39363 fi
39364 rm -f conftest.err conftest.$ac_objext \
39365 conftest$ac_exeext conftest.$ac_ext
39366 LIBS=$ac_check_lib_save_LIBS
39367 fi
39368 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39369 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
39370 if test $ac_cv_lib_nsl_inet_addr = yes; then
39371 INET_LINK="nsl"
39372 else
39373
39374 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39375 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
39376 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39378 else
39379 ac_check_lib_save_LIBS=$LIBS
39380 LIBS="-lresolv $LIBS"
39381 cat >conftest.$ac_ext <<_ACEOF
39382 /* confdefs.h. */
39383 _ACEOF
39384 cat confdefs.h >>conftest.$ac_ext
39385 cat >>conftest.$ac_ext <<_ACEOF
39386 /* end confdefs.h. */
39387
39388 /* Override any gcc2 internal prototype to avoid an error. */
39389 #ifdef __cplusplus
39390 extern "C"
39391 #endif
39392 /* We use char because int might match the return type of a gcc2
39393 builtin and then its argument prototype would still apply. */
39394 char inet_addr ();
39395 int
39396 main ()
39397 {
39398 inet_addr ();
39399 ;
39400 return 0;
39401 }
39402 _ACEOF
39403 rm -f conftest.$ac_objext conftest$ac_exeext
39404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39405 (eval $ac_link) 2>conftest.er1
39406 ac_status=$?
39407 grep -v '^ *+' conftest.er1 >conftest.err
39408 rm -f conftest.er1
39409 cat conftest.err >&5
39410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39411 (exit $ac_status); } &&
39412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39414 (eval $ac_try) 2>&5
39415 ac_status=$?
39416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39417 (exit $ac_status); }; } &&
39418 { ac_try='test -s conftest$ac_exeext'
39419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39420 (eval $ac_try) 2>&5
39421 ac_status=$?
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); }; }; then
39424 ac_cv_lib_resolv_inet_addr=yes
39425 else
39426 echo "$as_me: failed program was:" >&5
39427 sed 's/^/| /' conftest.$ac_ext >&5
39428
39429 ac_cv_lib_resolv_inet_addr=no
39430 fi
39431 rm -f conftest.err conftest.$ac_objext \
39432 conftest$ac_exeext conftest.$ac_ext
39433 LIBS=$ac_check_lib_save_LIBS
39434 fi
39435 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39436 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
39437 if test $ac_cv_lib_resolv_inet_addr = yes; then
39438 INET_LINK="resolv"
39439 else
39440
39441 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39442 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
39443 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 else
39446 ac_check_lib_save_LIBS=$LIBS
39447 LIBS="-lsocket $LIBS"
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h. */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39454
39455 /* Override any gcc2 internal prototype to avoid an error. */
39456 #ifdef __cplusplus
39457 extern "C"
39458 #endif
39459 /* We use char because int might match the return type of a gcc2
39460 builtin and then its argument prototype would still apply. */
39461 char inet_addr ();
39462 int
39463 main ()
39464 {
39465 inet_addr ();
39466 ;
39467 return 0;
39468 }
39469 _ACEOF
39470 rm -f conftest.$ac_objext conftest$ac_exeext
39471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39472 (eval $ac_link) 2>conftest.er1
39473 ac_status=$?
39474 grep -v '^ *+' conftest.er1 >conftest.err
39475 rm -f conftest.er1
39476 cat conftest.err >&5
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); } &&
39479 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39481 (eval $ac_try) 2>&5
39482 ac_status=$?
39483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484 (exit $ac_status); }; } &&
39485 { ac_try='test -s conftest$ac_exeext'
39486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39487 (eval $ac_try) 2>&5
39488 ac_status=$?
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); }; }; then
39491 ac_cv_lib_socket_inet_addr=yes
39492 else
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39495
39496 ac_cv_lib_socket_inet_addr=no
39497 fi
39498 rm -f conftest.err conftest.$ac_objext \
39499 conftest$ac_exeext conftest.$ac_ext
39500 LIBS=$ac_check_lib_save_LIBS
39501 fi
39502 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39503 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
39504 if test $ac_cv_lib_socket_inet_addr = yes; then
39505 INET_LINK="socket"
39506
39507 fi
39508
39509
39510
39511 fi
39512
39513
39514
39515 fi
39516
39517
39518
39519 fi
39520 done
39521
39522
39523
39524 for ac_func in inet_aton
39525 do
39526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39527 echo "$as_me:$LINENO: checking for $ac_func" >&5
39528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39529 if eval "test \"\${$as_ac_var+set}\" = set"; then
39530 echo $ECHO_N "(cached) $ECHO_C" >&6
39531 else
39532 cat >conftest.$ac_ext <<_ACEOF
39533 /* confdefs.h. */
39534 _ACEOF
39535 cat confdefs.h >>conftest.$ac_ext
39536 cat >>conftest.$ac_ext <<_ACEOF
39537 /* end confdefs.h. */
39538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39540 #define $ac_func innocuous_$ac_func
39541
39542 /* System header to define __stub macros and hopefully few prototypes,
39543 which can conflict with char $ac_func (); below.
39544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39545 <limits.h> exists even on freestanding compilers. */
39546
39547 #ifdef __STDC__
39548 # include <limits.h>
39549 #else
39550 # include <assert.h>
39551 #endif
39552
39553 #undef $ac_func
39554
39555 /* Override any gcc2 internal prototype to avoid an error. */
39556 #ifdef __cplusplus
39557 extern "C"
39558 {
39559 #endif
39560 /* We use char because int might match the return type of a gcc2
39561 builtin and then its argument prototype would still apply. */
39562 char $ac_func ();
39563 /* The GNU C library defines this for functions which it implements
39564 to always fail with ENOSYS. Some functions are actually named
39565 something starting with __ and the normal name is an alias. */
39566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39567 choke me
39568 #else
39569 char (*f) () = $ac_func;
39570 #endif
39571 #ifdef __cplusplus
39572 }
39573 #endif
39574
39575 int
39576 main ()
39577 {
39578 return f != $ac_func;
39579 ;
39580 return 0;
39581 }
39582 _ACEOF
39583 rm -f conftest.$ac_objext conftest$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39586 ac_status=$?
39587 grep -v '^ *+' conftest.er1 >conftest.err
39588 rm -f conftest.er1
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594 (eval $ac_try) 2>&5
39595 ac_status=$?
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); }; } &&
39598 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39604 eval "$as_ac_var=yes"
39605 else
39606 echo "$as_me: failed program was:" >&5
39607 sed 's/^/| /' conftest.$ac_ext >&5
39608
39609 eval "$as_ac_var=no"
39610 fi
39611 rm -f conftest.err conftest.$ac_objext \
39612 conftest$ac_exeext conftest.$ac_ext
39613 fi
39614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39616 if test `eval echo '${'$as_ac_var'}'` = yes; then
39617 cat >>confdefs.h <<_ACEOF
39618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39619 _ACEOF
39620 cat >>confdefs.h <<\_ACEOF
39621 #define HAVE_INET_ATON 1
39622 _ACEOF
39623
39624 else
39625
39626 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39627 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39628 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39629 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39631 else
39632 ac_check_lib_save_LIBS=$LIBS
39633 LIBS="-l$INET_LINK $LIBS"
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640
39641 /* Override any gcc2 internal prototype to avoid an error. */
39642 #ifdef __cplusplus
39643 extern "C"
39644 #endif
39645 /* We use char because int might match the return type of a gcc2
39646 builtin and then its argument prototype would still apply. */
39647 char inet_aton ();
39648 int
39649 main ()
39650 {
39651 inet_aton ();
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 rm -f conftest.$ac_objext conftest$ac_exeext
39657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39658 (eval $ac_link) 2>conftest.er1
39659 ac_status=$?
39660 grep -v '^ *+' conftest.er1 >conftest.err
39661 rm -f conftest.er1
39662 cat conftest.err >&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } &&
39665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39667 (eval $ac_try) 2>&5
39668 ac_status=$?
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); }; } &&
39671 { ac_try='test -s conftest$ac_exeext'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39674 ac_status=$?
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; }; then
39677 eval "$as_ac_Lib=yes"
39678 else
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.$ac_ext >&5
39681
39682 eval "$as_ac_Lib=no"
39683 fi
39684 rm -f conftest.err conftest.$ac_objext \
39685 conftest$ac_exeext conftest.$ac_ext
39686 LIBS=$ac_check_lib_save_LIBS
39687 fi
39688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39689 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39690 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39691 cat >>confdefs.h <<\_ACEOF
39692 #define HAVE_INET_ATON 1
39693 _ACEOF
39694
39695 fi
39696
39697
39698 fi
39699 done
39700
39701
39702 if test "x$INET_LINK" != "x"; then
39703 cat >>confdefs.h <<\_ACEOF
39704 #define HAVE_INET_ADDR 1
39705 _ACEOF
39706
39707 INET_LINK=" -l$INET_LINK"
39708 fi
39709
39710
39711 for wx_func in fdopen
39712 do
39713 echo "$as_me:$LINENO: checking for $wx_func" >&5
39714 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39715 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39716 echo $ECHO_N "(cached) $ECHO_C" >&6
39717 else
39718
39719 cat >conftest.$ac_ext <<_ACEOF
39720
39721 /* confdefs.h. */
39722 _ACEOF
39723 cat confdefs.h >>conftest.$ac_ext
39724 cat >>conftest.$ac_ext <<_ACEOF
39725 /* end confdefs.h. */
39726
39727
39728 $ac_includes_default
39729
39730 int
39731 main ()
39732 {
39733
39734 #ifndef $wx_func
39735 &$wx_func;
39736 #endif
39737
39738
39739 ;
39740 return 0;
39741 }
39742
39743 _ACEOF
39744 rm -f conftest.$ac_objext conftest$ac_exeext
39745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39746 (eval $ac_link) 2>conftest.er1
39747 ac_status=$?
39748 grep -v '^ *+' conftest.er1 >conftest.err
39749 rm -f conftest.er1
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } &&
39753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39755 (eval $ac_try) 2>&5
39756 ac_status=$?
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); }; } &&
39759 { ac_try='test -s conftest$ac_exeext'
39760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39761 (eval $ac_try) 2>&5
39762 ac_status=$?
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); }; }; then
39765 eval wx_cv_func_$wx_func=yes
39766 else
39767 echo "$as_me: failed program was:" >&5
39768 sed 's/^/| /' conftest.$ac_ext >&5
39769
39770 eval wx_cv_func_$wx_func=no
39771 fi
39772 rm -f conftest.err conftest.$ac_objext \
39773 conftest$ac_exeext conftest.$ac_ext
39774
39775 fi
39776 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39777 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39778
39779 if eval test \$wx_cv_func_$wx_func = yes
39780 then
39781 cat >>confdefs.h <<_ACEOF
39782 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39783 _ACEOF
39784
39785
39786 else
39787 :
39788
39789 fi
39790 done
39791
39792
39793 fi
39794
39795
39796
39797
39798 EXTRALIBS_ESD=
39799 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39800 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39801 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39802 echo $ECHO_N "(cached) $ECHO_C" >&6
39803 else
39804 ac_check_lib_save_LIBS=$LIBS
39805 LIBS="-lesd $LIBS"
39806 cat >conftest.$ac_ext <<_ACEOF
39807 /* confdefs.h. */
39808 _ACEOF
39809 cat confdefs.h >>conftest.$ac_ext
39810 cat >>conftest.$ac_ext <<_ACEOF
39811 /* end confdefs.h. */
39812
39813 /* Override any gcc2 internal prototype to avoid an error. */
39814 #ifdef __cplusplus
39815 extern "C"
39816 #endif
39817 /* We use char because int might match the return type of a gcc2
39818 builtin and then its argument prototype would still apply. */
39819 char esd_close ();
39820 int
39821 main ()
39822 {
39823 esd_close ();
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext conftest$ac_exeext
39829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39830 (eval $ac_link) 2>conftest.er1
39831 ac_status=$?
39832 grep -v '^ *+' conftest.er1 >conftest.err
39833 rm -f conftest.er1
39834 cat conftest.err >&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39839 (eval $ac_try) 2>&5
39840 ac_status=$?
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); }; } &&
39843 { ac_try='test -s conftest$ac_exeext'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; }; then
39849 ac_cv_lib_esd_esd_close=yes
39850 else
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.$ac_ext >&5
39853
39854 ac_cv_lib_esd_esd_close=no
39855 fi
39856 rm -f conftest.err conftest.$ac_objext \
39857 conftest$ac_exeext conftest.$ac_ext
39858 LIBS=$ac_check_lib_save_LIBS
39859 fi
39860 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39861 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39862 if test $ac_cv_lib_esd_esd_close = yes; then
39863
39864
39865 for ac_header in esd.h
39866 do
39867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39869 echo "$as_me:$LINENO: checking for $ac_header" >&5
39870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39872 echo $ECHO_N "(cached) $ECHO_C" >&6
39873 fi
39874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39876 else
39877 # Is the header compilable?
39878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39880 cat >conftest.$ac_ext <<_ACEOF
39881 /* confdefs.h. */
39882 _ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 $ac_includes_default
39887 #include <$ac_header>
39888 _ACEOF
39889 rm -f conftest.$ac_objext
39890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39891 (eval $ac_compile) 2>conftest.er1
39892 ac_status=$?
39893 grep -v '^ *+' conftest.er1 >conftest.err
39894 rm -f conftest.er1
39895 cat conftest.err >&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } &&
39898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39901 ac_status=$?
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; } &&
39904 { ac_try='test -s conftest.$ac_objext'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39907 ac_status=$?
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; }; then
39910 ac_header_compiler=yes
39911 else
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.$ac_ext >&5
39914
39915 ac_header_compiler=no
39916 fi
39917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39919 echo "${ECHO_T}$ac_header_compiler" >&6
39920
39921 # Is the header present?
39922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39924 cat >conftest.$ac_ext <<_ACEOF
39925 /* confdefs.h. */
39926 _ACEOF
39927 cat confdefs.h >>conftest.$ac_ext
39928 cat >>conftest.$ac_ext <<_ACEOF
39929 /* end confdefs.h. */
39930 #include <$ac_header>
39931 _ACEOF
39932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39934 ac_status=$?
39935 grep -v '^ *+' conftest.er1 >conftest.err
39936 rm -f conftest.er1
39937 cat conftest.err >&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } >/dev/null; then
39940 if test -s conftest.err; then
39941 ac_cpp_err=$ac_cxx_preproc_warn_flag
39942 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39943 else
39944 ac_cpp_err=
39945 fi
39946 else
39947 ac_cpp_err=yes
39948 fi
39949 if test -z "$ac_cpp_err"; then
39950 ac_header_preproc=yes
39951 else
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39954
39955 ac_header_preproc=no
39956 fi
39957 rm -f conftest.err conftest.$ac_ext
39958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39959 echo "${ECHO_T}$ac_header_preproc" >&6
39960
39961 # So? What about this header?
39962 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39963 yes:no: )
39964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39968 ac_header_preproc=yes
39969 ;;
39970 no:yes:* )
39971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39983 (
39984 cat <<\_ASBOX
39985 ## ----------------------------------------- ##
39986 ## Report this to wx-dev@lists.wxwidgets.org ##
39987 ## ----------------------------------------- ##
39988 _ASBOX
39989 ) |
39990 sed "s/^/$as_me: WARNING: /" >&2
39991 ;;
39992 esac
39993 echo "$as_me:$LINENO: checking for $ac_header" >&5
39994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39996 echo $ECHO_N "(cached) $ECHO_C" >&6
39997 else
39998 eval "$as_ac_Header=\$ac_header_preproc"
39999 fi
40000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40002
40003 fi
40004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40005 cat >>confdefs.h <<_ACEOF
40006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40007 _ACEOF
40008
40009 EXTRALIBS_ESD="-lesd"
40010
40011 fi
40012
40013 done
40014
40015
40016 fi
40017
40018
40019
40020 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
40021 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
40022 cat >conftest.$ac_ext <<_ACEOF
40023 /* confdefs.h. */
40024 _ACEOF
40025 cat confdefs.h >>conftest.$ac_ext
40026 cat >>conftest.$ac_ext <<_ACEOF
40027 /* end confdefs.h. */
40028 #ifdef __linux__
40029 #include <linux/cdrom.h>
40030 #else
40031 /* For Solaris */
40032 #include <sys/cdio.h>
40033 #endif
40034
40035 int
40036 main ()
40037 {
40038 struct cdrom_tocentry entry, old_entry;
40039 ;
40040 return 0;
40041 }
40042 _ACEOF
40043 rm -f conftest.$ac_objext
40044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40045 (eval $ac_compile) 2>conftest.er1
40046 ac_status=$?
40047 grep -v '^ *+' conftest.er1 >conftest.err
40048 rm -f conftest.er1
40049 cat conftest.err >&5
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); } &&
40052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40055 ac_status=$?
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; } &&
40058 { ac_try='test -s conftest.$ac_objext'
40059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40060 (eval $ac_try) 2>&5
40061 ac_status=$?
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); }; }; then
40064 echo "$as_me:$LINENO: result: yes" >&5
40065 echo "${ECHO_T}yes" >&6
40066 cat >>confdefs.h <<\_ACEOF
40067 #define HAVE_KNOWN_CDROM_INTERFACE 1
40068 _ACEOF
40069
40070 else
40071 echo "$as_me: failed program was:" >&5
40072 sed 's/^/| /' conftest.$ac_ext >&5
40073
40074 echo "$as_me:$LINENO: result: no" >&5
40075 echo "${ECHO_T}no" >&6
40076 fi
40077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40078
40079
40080 cat >confcache <<\_ACEOF
40081 # This file is a shell script that caches the results of configure
40082 # tests run on this system so they can be shared between configure
40083 # scripts and configure runs, see configure's option --config-cache.
40084 # It is not useful on other systems. If it contains results you don't
40085 # want to keep, you may remove or edit it.
40086 #
40087 # config.status only pays attention to the cache file if you give it
40088 # the --recheck option to rerun configure.
40089 #
40090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40092 # following values.
40093
40094 _ACEOF
40095
40096 # The following way of writing the cache mishandles newlines in values,
40097 # but we know of no workaround that is simple, portable, and efficient.
40098 # So, don't put newlines in cache variables' values.
40099 # Ultrix sh set writes to stderr and can't be redirected directly,
40100 # and sets the high bit in the cache file unless we assign to the vars.
40101 {
40102 (set) 2>&1 |
40103 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40104 *ac_space=\ *)
40105 # `set' does not quote correctly, so add quotes (double-quote
40106 # substitution turns \\\\ into \\, and sed turns \\ into \).
40107 sed -n \
40108 "s/'/'\\\\''/g;
40109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40110 ;;
40111 *)
40112 # `set' quotes correctly as required by POSIX, so do not add quotes.
40113 sed -n \
40114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40115 ;;
40116 esac;
40117 } |
40118 sed '
40119 t clear
40120 : clear
40121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40122 t end
40123 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40124 : end' >>confcache
40125 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40126 if test -w $cache_file; then
40127 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40128 cat confcache >$cache_file
40129 else
40130 echo "not updating unwritable cache $cache_file"
40131 fi
40132 fi
40133 rm -f confcache
40134
40135
40136 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40137
40138
40139 THREADS_LINK=
40140 THREADS_CXXFLAGS=
40141
40142 if test "$wxUSE_THREADS" = "yes" ; then
40143 if test "$USE_BEOS" = 1; then
40144 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40145 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40146 wxUSE_THREADS="no"
40147 fi
40148 fi
40149
40150 if test "$wxUSE_THREADS" = "yes" ; then
40151
40152
40153 THREAD_OPTS="-pthread"
40154 case "${host}" in
40155 *-*-solaris2* | *-*-sunos4* )
40156 if test "x$GCC" = "xyes"; then
40157 THREAD_OPTS="-pthreads $THREAD_OPTS"
40158 else
40159 THREAD_OPTS="-mt $THREAD_OPTS"
40160 fi
40161 ;;
40162 *-*-freebsd*)
40163 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40164 ;;
40165 *-*-darwin* | *-*-cygwin* )
40166 THREAD_OPTS=""
40167 ;;
40168 *-*-aix*)
40169 THREAD_OPTS="pthreads"
40170 ;;
40171 *-hp-hpux* )
40172 if test "x$GCC" = "xyes"; then
40173 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40174 THREAD_OPTS=""
40175 else
40176 THREAD_OPTS="-mt"
40177 fi
40178 ;;
40179
40180 *-*-irix* )
40181 if test "x$GCC" = "xyes"; then
40182 THREAD_OPTS=""
40183 fi
40184 ;;
40185
40186 *-*-*UnixWare*)
40187 if test "x$GCC" != "xyes"; then
40188 THREAD_OPTS="-Ethread"
40189 fi
40190 ;;
40191 esac
40192
40193 THREAD_OPTS="$THREAD_OPTS pthread none"
40194
40195 THREADS_OK=no
40196 for flag in $THREAD_OPTS; do
40197 case $flag in
40198 none)
40199 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40200 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
40201 ;;
40202
40203 -*)
40204 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40205 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
40206 THREADS_CXXFLAGS="$flag"
40207 ;;
40208
40209 *)
40210 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40211 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
40212 THREADS_LINK="-l$flag"
40213 ;;
40214 esac
40215
40216 save_LIBS="$LIBS"
40217 save_CXXFLAGS="$CXXFLAGS"
40218 LIBS="$THREADS_LINK $LIBS"
40219 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
40220
40221 cat >conftest.$ac_ext <<_ACEOF
40222 /* confdefs.h. */
40223 _ACEOF
40224 cat confdefs.h >>conftest.$ac_ext
40225 cat >>conftest.$ac_ext <<_ACEOF
40226 /* end confdefs.h. */
40227 #include <pthread.h>
40228 int
40229 main ()
40230 {
40231 pthread_create(0,0,0,0);
40232 ;
40233 return 0;
40234 }
40235 _ACEOF
40236 rm -f conftest.$ac_objext conftest$ac_exeext
40237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40238 (eval $ac_link) 2>conftest.er1
40239 ac_status=$?
40240 grep -v '^ *+' conftest.er1 >conftest.err
40241 rm -f conftest.er1
40242 cat conftest.err >&5
40243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40244 (exit $ac_status); } &&
40245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40247 (eval $ac_try) 2>&5
40248 ac_status=$?
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); }; } &&
40251 { ac_try='test -s conftest$ac_exeext'
40252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40253 (eval $ac_try) 2>&5
40254 ac_status=$?
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); }; }; then
40257 THREADS_OK=yes
40258 else
40259 echo "$as_me: failed program was:" >&5
40260 sed 's/^/| /' conftest.$ac_ext >&5
40261
40262 fi
40263 rm -f conftest.err conftest.$ac_objext \
40264 conftest$ac_exeext conftest.$ac_ext
40265
40266 LIBS="$save_LIBS"
40267 CXXFLAGS="$save_CXXFLAGS"
40268
40269 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40270 echo "${ECHO_T}$THREADS_OK" >&6
40271 if test "x$THREADS_OK" = "xyes"; then
40272 break;
40273 fi
40274
40275 THREADS_LINK=""
40276 THREADS_CXXFLAGS=""
40277 done
40278
40279 if test "x$THREADS_OK" != "xyes"; then
40280 wxUSE_THREADS=no
40281 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40282 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40283 else
40284 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
40285 LIBS="$THREADS_LINK $LIBS"
40286
40287 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40288 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
40289 flag=no
40290 case "${host}" in
40291 *-aix*)
40292 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40293 flag="-D_THREAD_SAFE"
40294 ;;
40295 *-freebsd*)
40296 flag="-D_THREAD_SAFE"
40297 ;;
40298 *-hp-hpux* )
40299 flag="-D_REENTRANT"
40300 if test "x$GCC" != "xyes"; then
40301 flag="$flag -D_RWSTD_MULTI_THREAD"
40302 fi
40303 ;;
40304 *solaris* | alpha*-osf*)
40305 flag="-D_REENTRANT"
40306 ;;
40307 esac
40308 echo "$as_me:$LINENO: result: ${flag}" >&5
40309 echo "${ECHO_T}${flag}" >&6
40310 if test "x$flag" != xno; then
40311 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
40312 fi
40313
40314 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
40315 fi
40316 fi
40317
40318 if test "$wxUSE_THREADS" = "yes" ; then
40319
40320 for ac_func in thr_setconcurrency
40321 do
40322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40323 echo "$as_me:$LINENO: checking for $ac_func" >&5
40324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40325 if eval "test \"\${$as_ac_var+set}\" = set"; then
40326 echo $ECHO_N "(cached) $ECHO_C" >&6
40327 else
40328 cat >conftest.$ac_ext <<_ACEOF
40329 /* confdefs.h. */
40330 _ACEOF
40331 cat confdefs.h >>conftest.$ac_ext
40332 cat >>conftest.$ac_ext <<_ACEOF
40333 /* end confdefs.h. */
40334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40336 #define $ac_func innocuous_$ac_func
40337
40338 /* System header to define __stub macros and hopefully few prototypes,
40339 which can conflict with char $ac_func (); below.
40340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40341 <limits.h> exists even on freestanding compilers. */
40342
40343 #ifdef __STDC__
40344 # include <limits.h>
40345 #else
40346 # include <assert.h>
40347 #endif
40348
40349 #undef $ac_func
40350
40351 /* Override any gcc2 internal prototype to avoid an error. */
40352 #ifdef __cplusplus
40353 extern "C"
40354 {
40355 #endif
40356 /* We use char because int might match the return type of a gcc2
40357 builtin and then its argument prototype would still apply. */
40358 char $ac_func ();
40359 /* The GNU C library defines this for functions which it implements
40360 to always fail with ENOSYS. Some functions are actually named
40361 something starting with __ and the normal name is an alias. */
40362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40363 choke me
40364 #else
40365 char (*f) () = $ac_func;
40366 #endif
40367 #ifdef __cplusplus
40368 }
40369 #endif
40370
40371 int
40372 main ()
40373 {
40374 return f != $ac_func;
40375 ;
40376 return 0;
40377 }
40378 _ACEOF
40379 rm -f conftest.$ac_objext conftest$ac_exeext
40380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40381 (eval $ac_link) 2>conftest.er1
40382 ac_status=$?
40383 grep -v '^ *+' conftest.er1 >conftest.err
40384 rm -f conftest.er1
40385 cat conftest.err >&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); } &&
40388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40391 ac_status=$?
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; } &&
40394 { ac_try='test -s conftest$ac_exeext'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40397 ac_status=$?
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; }; then
40400 eval "$as_ac_var=yes"
40401 else
40402 echo "$as_me: failed program was:" >&5
40403 sed 's/^/| /' conftest.$ac_ext >&5
40404
40405 eval "$as_ac_var=no"
40406 fi
40407 rm -f conftest.err conftest.$ac_objext \
40408 conftest$ac_exeext conftest.$ac_ext
40409 fi
40410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40412 if test `eval echo '${'$as_ac_var'}'` = yes; then
40413 cat >>confdefs.h <<_ACEOF
40414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40415 _ACEOF
40416
40417 fi
40418 done
40419
40420
40421 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40422 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
40423 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 else
40426
40427 cat >conftest.$ac_ext <<_ACEOF
40428 /* confdefs.h. */
40429 _ACEOF
40430 cat confdefs.h >>conftest.$ac_ext
40431 cat >>conftest.$ac_ext <<_ACEOF
40432 /* end confdefs.h. */
40433 #include <pthread.h>
40434 void ThreadCleanupFunc(void *p);
40435
40436 int
40437 main ()
40438 {
40439
40440 void *p;
40441 pthread_cleanup_push(ThreadCleanupFunc, p);
40442 pthread_cleanup_pop(0);
40443
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450 (eval $ac_compile) 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_objext'
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
40470 wx_cv_func_pthread_cleanup=yes
40471
40472 else
40473 echo "$as_me: failed program was:" >&5
40474 sed 's/^/| /' conftest.$ac_ext >&5
40475
40476
40477 wx_cv_func_pthread_cleanup=no
40478
40479
40480 fi
40481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40482
40483 fi
40484 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40485 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
40486 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40487 cat >>confdefs.h <<\_ACEOF
40488 #define wxHAVE_PTHREAD_CLEANUP 1
40489 _ACEOF
40490
40491 fi
40492
40493
40494 for ac_header in sched.h
40495 do
40496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40498 echo "$as_me:$LINENO: checking for $ac_header" >&5
40499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40502 fi
40503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40505 else
40506 # Is the header compilable?
40507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40509 cat >conftest.$ac_ext <<_ACEOF
40510 /* confdefs.h. */
40511 _ACEOF
40512 cat confdefs.h >>conftest.$ac_ext
40513 cat >>conftest.$ac_ext <<_ACEOF
40514 /* end confdefs.h. */
40515 $ac_includes_default
40516 #include <$ac_header>
40517 _ACEOF
40518 rm -f conftest.$ac_objext
40519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40520 (eval $ac_compile) 2>conftest.er1
40521 ac_status=$?
40522 grep -v '^ *+' conftest.er1 >conftest.err
40523 rm -f conftest.er1
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } &&
40527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 (eval $ac_try) 2>&5
40530 ac_status=$?
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); }; } &&
40533 { ac_try='test -s conftest.$ac_objext'
40534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40535 (eval $ac_try) 2>&5
40536 ac_status=$?
40537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40538 (exit $ac_status); }; }; then
40539 ac_header_compiler=yes
40540 else
40541 echo "$as_me: failed program was:" >&5
40542 sed 's/^/| /' conftest.$ac_ext >&5
40543
40544 ac_header_compiler=no
40545 fi
40546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40548 echo "${ECHO_T}$ac_header_compiler" >&6
40549
40550 # Is the header present?
40551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40553 cat >conftest.$ac_ext <<_ACEOF
40554 /* confdefs.h. */
40555 _ACEOF
40556 cat confdefs.h >>conftest.$ac_ext
40557 cat >>conftest.$ac_ext <<_ACEOF
40558 /* end confdefs.h. */
40559 #include <$ac_header>
40560 _ACEOF
40561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40563 ac_status=$?
40564 grep -v '^ *+' conftest.er1 >conftest.err
40565 rm -f conftest.er1
40566 cat conftest.err >&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } >/dev/null; then
40569 if test -s conftest.err; then
40570 ac_cpp_err=$ac_cxx_preproc_warn_flag
40571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40572 else
40573 ac_cpp_err=
40574 fi
40575 else
40576 ac_cpp_err=yes
40577 fi
40578 if test -z "$ac_cpp_err"; then
40579 ac_header_preproc=yes
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584 ac_header_preproc=no
40585 fi
40586 rm -f conftest.err conftest.$ac_ext
40587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40588 echo "${ECHO_T}$ac_header_preproc" >&6
40589
40590 # So? What about this header?
40591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40592 yes:no: )
40593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40597 ac_header_preproc=yes
40598 ;;
40599 no:yes:* )
40600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40612 (
40613 cat <<\_ASBOX
40614 ## ----------------------------------------- ##
40615 ## Report this to wx-dev@lists.wxwidgets.org ##
40616 ## ----------------------------------------- ##
40617 _ASBOX
40618 ) |
40619 sed "s/^/$as_me: WARNING: /" >&2
40620 ;;
40621 esac
40622 echo "$as_me:$LINENO: checking for $ac_header" >&5
40623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40625 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 else
40627 eval "$as_ac_Header=\$ac_header_preproc"
40628 fi
40629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40631
40632 fi
40633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40634 cat >>confdefs.h <<_ACEOF
40635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40636 _ACEOF
40637
40638 fi
40639
40640 done
40641
40642 if test "$ac_cv_header_sched_h" = "yes"; then
40643 echo "$as_me:$LINENO: checking for sched_yield" >&5
40644 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40645 if test "${ac_cv_func_sched_yield+set}" = set; then
40646 echo $ECHO_N "(cached) $ECHO_C" >&6
40647 else
40648 cat >conftest.$ac_ext <<_ACEOF
40649 /* confdefs.h. */
40650 _ACEOF
40651 cat confdefs.h >>conftest.$ac_ext
40652 cat >>conftest.$ac_ext <<_ACEOF
40653 /* end confdefs.h. */
40654 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40656 #define sched_yield innocuous_sched_yield
40657
40658 /* System header to define __stub macros and hopefully few prototypes,
40659 which can conflict with char sched_yield (); below.
40660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40661 <limits.h> exists even on freestanding compilers. */
40662
40663 #ifdef __STDC__
40664 # include <limits.h>
40665 #else
40666 # include <assert.h>
40667 #endif
40668
40669 #undef sched_yield
40670
40671 /* Override any gcc2 internal prototype to avoid an error. */
40672 #ifdef __cplusplus
40673 extern "C"
40674 {
40675 #endif
40676 /* We use char because int might match the return type of a gcc2
40677 builtin and then its argument prototype would still apply. */
40678 char sched_yield ();
40679 /* The GNU C library defines this for functions which it implements
40680 to always fail with ENOSYS. Some functions are actually named
40681 something starting with __ and the normal name is an alias. */
40682 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40683 choke me
40684 #else
40685 char (*f) () = sched_yield;
40686 #endif
40687 #ifdef __cplusplus
40688 }
40689 #endif
40690
40691 int
40692 main ()
40693 {
40694 return f != sched_yield;
40695 ;
40696 return 0;
40697 }
40698 _ACEOF
40699 rm -f conftest.$ac_objext conftest$ac_exeext
40700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40701 (eval $ac_link) 2>conftest.er1
40702 ac_status=$?
40703 grep -v '^ *+' conftest.er1 >conftest.err
40704 rm -f conftest.er1
40705 cat conftest.err >&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); } &&
40708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40711 ac_status=$?
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; } &&
40714 { ac_try='test -s conftest$ac_exeext'
40715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40716 (eval $ac_try) 2>&5
40717 ac_status=$?
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); }; }; then
40720 ac_cv_func_sched_yield=yes
40721 else
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.$ac_ext >&5
40724
40725 ac_cv_func_sched_yield=no
40726 fi
40727 rm -f conftest.err conftest.$ac_objext \
40728 conftest$ac_exeext conftest.$ac_ext
40729 fi
40730 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40731 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40732 if test $ac_cv_func_sched_yield = yes; then
40733 cat >>confdefs.h <<\_ACEOF
40734 #define HAVE_SCHED_YIELD 1
40735 _ACEOF
40736
40737 else
40738
40739 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40740 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40741 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 else
40744 ac_check_lib_save_LIBS=$LIBS
40745 LIBS="-lposix4 $LIBS"
40746 cat >conftest.$ac_ext <<_ACEOF
40747 /* confdefs.h. */
40748 _ACEOF
40749 cat confdefs.h >>conftest.$ac_ext
40750 cat >>conftest.$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40752
40753 /* Override any gcc2 internal prototype to avoid an error. */
40754 #ifdef __cplusplus
40755 extern "C"
40756 #endif
40757 /* We use char because int might match the return type of a gcc2
40758 builtin and then its argument prototype would still apply. */
40759 char sched_yield ();
40760 int
40761 main ()
40762 {
40763 sched_yield ();
40764 ;
40765 return 0;
40766 }
40767 _ACEOF
40768 rm -f conftest.$ac_objext conftest$ac_exeext
40769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40770 (eval $ac_link) 2>conftest.er1
40771 ac_status=$?
40772 grep -v '^ *+' conftest.er1 >conftest.err
40773 rm -f conftest.er1
40774 cat conftest.err >&5
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); } &&
40777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40779 (eval $ac_try) 2>&5
40780 ac_status=$?
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); }; } &&
40783 { ac_try='test -s conftest$ac_exeext'
40784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785 (eval $ac_try) 2>&5
40786 ac_status=$?
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); }; }; then
40789 ac_cv_lib_posix4_sched_yield=yes
40790 else
40791 echo "$as_me: failed program was:" >&5
40792 sed 's/^/| /' conftest.$ac_ext >&5
40793
40794 ac_cv_lib_posix4_sched_yield=no
40795 fi
40796 rm -f conftest.err conftest.$ac_objext \
40797 conftest$ac_exeext conftest.$ac_ext
40798 LIBS=$ac_check_lib_save_LIBS
40799 fi
40800 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40801 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40802 if test $ac_cv_lib_posix4_sched_yield = yes; then
40803 cat >>confdefs.h <<\_ACEOF
40804 #define HAVE_SCHED_YIELD 1
40805 _ACEOF
40806 POSIX4_LINK=" -lposix4"
40807 else
40808 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40809 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40810
40811 fi
40812
40813
40814
40815 fi
40816
40817 fi
40818
40819 HAVE_PRIOR_FUNCS=0
40820 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40821 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40822 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40823 echo $ECHO_N "(cached) $ECHO_C" >&6
40824 else
40825 cat >conftest.$ac_ext <<_ACEOF
40826 /* confdefs.h. */
40827 _ACEOF
40828 cat confdefs.h >>conftest.$ac_ext
40829 cat >>conftest.$ac_ext <<_ACEOF
40830 /* end confdefs.h. */
40831 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40833 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40834
40835 /* System header to define __stub macros and hopefully few prototypes,
40836 which can conflict with char pthread_attr_getschedpolicy (); below.
40837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40838 <limits.h> exists even on freestanding compilers. */
40839
40840 #ifdef __STDC__
40841 # include <limits.h>
40842 #else
40843 # include <assert.h>
40844 #endif
40845
40846 #undef pthread_attr_getschedpolicy
40847
40848 /* Override any gcc2 internal prototype to avoid an error. */
40849 #ifdef __cplusplus
40850 extern "C"
40851 {
40852 #endif
40853 /* We use char because int might match the return type of a gcc2
40854 builtin and then its argument prototype would still apply. */
40855 char pthread_attr_getschedpolicy ();
40856 /* The GNU C library defines this for functions which it implements
40857 to always fail with ENOSYS. Some functions are actually named
40858 something starting with __ and the normal name is an alias. */
40859 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40860 choke me
40861 #else
40862 char (*f) () = pthread_attr_getschedpolicy;
40863 #endif
40864 #ifdef __cplusplus
40865 }
40866 #endif
40867
40868 int
40869 main ()
40870 {
40871 return f != pthread_attr_getschedpolicy;
40872 ;
40873 return 0;
40874 }
40875 _ACEOF
40876 rm -f conftest.$ac_objext conftest$ac_exeext
40877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40878 (eval $ac_link) 2>conftest.er1
40879 ac_status=$?
40880 grep -v '^ *+' conftest.er1 >conftest.err
40881 rm -f conftest.er1
40882 cat conftest.err >&5
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); } &&
40885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887 (eval $ac_try) 2>&5
40888 ac_status=$?
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); }; } &&
40891 { ac_try='test -s conftest$ac_exeext'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; }; then
40897 ac_cv_func_pthread_attr_getschedpolicy=yes
40898 else
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.$ac_ext >&5
40901
40902 ac_cv_func_pthread_attr_getschedpolicy=no
40903 fi
40904 rm -f conftest.err conftest.$ac_objext \
40905 conftest$ac_exeext conftest.$ac_ext
40906 fi
40907 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40908 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40909 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40910 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40911 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40912 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40913 echo $ECHO_N "(cached) $ECHO_C" >&6
40914 else
40915 cat >conftest.$ac_ext <<_ACEOF
40916 /* confdefs.h. */
40917 _ACEOF
40918 cat confdefs.h >>conftest.$ac_ext
40919 cat >>conftest.$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40921 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40923 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40924
40925 /* System header to define __stub macros and hopefully few prototypes,
40926 which can conflict with char pthread_attr_setschedparam (); below.
40927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40928 <limits.h> exists even on freestanding compilers. */
40929
40930 #ifdef __STDC__
40931 # include <limits.h>
40932 #else
40933 # include <assert.h>
40934 #endif
40935
40936 #undef pthread_attr_setschedparam
40937
40938 /* Override any gcc2 internal prototype to avoid an error. */
40939 #ifdef __cplusplus
40940 extern "C"
40941 {
40942 #endif
40943 /* We use char because int might match the return type of a gcc2
40944 builtin and then its argument prototype would still apply. */
40945 char pthread_attr_setschedparam ();
40946 /* The GNU C library defines this for functions which it implements
40947 to always fail with ENOSYS. Some functions are actually named
40948 something starting with __ and the normal name is an alias. */
40949 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40950 choke me
40951 #else
40952 char (*f) () = pthread_attr_setschedparam;
40953 #endif
40954 #ifdef __cplusplus
40955 }
40956 #endif
40957
40958 int
40959 main ()
40960 {
40961 return f != pthread_attr_setschedparam;
40962 ;
40963 return 0;
40964 }
40965 _ACEOF
40966 rm -f conftest.$ac_objext conftest$ac_exeext
40967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40968 (eval $ac_link) 2>conftest.er1
40969 ac_status=$?
40970 grep -v '^ *+' conftest.er1 >conftest.err
40971 rm -f conftest.er1
40972 cat conftest.err >&5
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } &&
40975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40977 (eval $ac_try) 2>&5
40978 ac_status=$?
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); }; } &&
40981 { ac_try='test -s conftest$ac_exeext'
40982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40983 (eval $ac_try) 2>&5
40984 ac_status=$?
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); }; }; then
40987 ac_cv_func_pthread_attr_setschedparam=yes
40988 else
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40991
40992 ac_cv_func_pthread_attr_setschedparam=no
40993 fi
40994 rm -f conftest.err conftest.$ac_objext \
40995 conftest$ac_exeext conftest.$ac_ext
40996 fi
40997 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40998 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40999 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41000 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41001 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
41002 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41003 echo $ECHO_N "(cached) $ECHO_C" >&6
41004 else
41005 cat >conftest.$ac_ext <<_ACEOF
41006 /* confdefs.h. */
41007 _ACEOF
41008 cat confdefs.h >>conftest.$ac_ext
41009 cat >>conftest.$ac_ext <<_ACEOF
41010 /* end confdefs.h. */
41011 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41013 #define sched_get_priority_max innocuous_sched_get_priority_max
41014
41015 /* System header to define __stub macros and hopefully few prototypes,
41016 which can conflict with char sched_get_priority_max (); below.
41017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41018 <limits.h> exists even on freestanding compilers. */
41019
41020 #ifdef __STDC__
41021 # include <limits.h>
41022 #else
41023 # include <assert.h>
41024 #endif
41025
41026 #undef sched_get_priority_max
41027
41028 /* Override any gcc2 internal prototype to avoid an error. */
41029 #ifdef __cplusplus
41030 extern "C"
41031 {
41032 #endif
41033 /* We use char because int might match the return type of a gcc2
41034 builtin and then its argument prototype would still apply. */
41035 char sched_get_priority_max ();
41036 /* The GNU C library defines this for functions which it implements
41037 to always fail with ENOSYS. Some functions are actually named
41038 something starting with __ and the normal name is an alias. */
41039 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
41040 choke me
41041 #else
41042 char (*f) () = sched_get_priority_max;
41043 #endif
41044 #ifdef __cplusplus
41045 }
41046 #endif
41047
41048 int
41049 main ()
41050 {
41051 return f != sched_get_priority_max;
41052 ;
41053 return 0;
41054 }
41055 _ACEOF
41056 rm -f conftest.$ac_objext conftest$ac_exeext
41057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41058 (eval $ac_link) 2>conftest.er1
41059 ac_status=$?
41060 grep -v '^ *+' conftest.er1 >conftest.err
41061 rm -f conftest.er1
41062 cat conftest.err >&5
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); } &&
41065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41067 (eval $ac_try) 2>&5
41068 ac_status=$?
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); }; } &&
41071 { ac_try='test -s conftest$ac_exeext'
41072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41073 (eval $ac_try) 2>&5
41074 ac_status=$?
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); }; }; then
41077 ac_cv_func_sched_get_priority_max=yes
41078 else
41079 echo "$as_me: failed program was:" >&5
41080 sed 's/^/| /' conftest.$ac_ext >&5
41081
41082 ac_cv_func_sched_get_priority_max=no
41083 fi
41084 rm -f conftest.err conftest.$ac_objext \
41085 conftest$ac_exeext conftest.$ac_ext
41086 fi
41087 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41088 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
41089 if test $ac_cv_func_sched_get_priority_max = yes; then
41090 HAVE_PRIOR_FUNCS=1
41091 else
41092 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41093 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
41094 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41095 echo $ECHO_N "(cached) $ECHO_C" >&6
41096 else
41097 ac_check_lib_save_LIBS=$LIBS
41098 LIBS="-lposix4 $LIBS"
41099 cat >conftest.$ac_ext <<_ACEOF
41100 /* confdefs.h. */
41101 _ACEOF
41102 cat confdefs.h >>conftest.$ac_ext
41103 cat >>conftest.$ac_ext <<_ACEOF
41104 /* end confdefs.h. */
41105
41106 /* Override any gcc2 internal prototype to avoid an error. */
41107 #ifdef __cplusplus
41108 extern "C"
41109 #endif
41110 /* We use char because int might match the return type of a gcc2
41111 builtin and then its argument prototype would still apply. */
41112 char sched_get_priority_max ();
41113 int
41114 main ()
41115 {
41116 sched_get_priority_max ();
41117 ;
41118 return 0;
41119 }
41120 _ACEOF
41121 rm -f conftest.$ac_objext conftest$ac_exeext
41122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41123 (eval $ac_link) 2>conftest.er1
41124 ac_status=$?
41125 grep -v '^ *+' conftest.er1 >conftest.err
41126 rm -f conftest.er1
41127 cat conftest.err >&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); } &&
41130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41132 (eval $ac_try) 2>&5
41133 ac_status=$?
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); }; } &&
41136 { ac_try='test -s conftest$ac_exeext'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41139 ac_status=$?
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; }; then
41142 ac_cv_lib_posix4_sched_get_priority_max=yes
41143 else
41144 echo "$as_me: failed program was:" >&5
41145 sed 's/^/| /' conftest.$ac_ext >&5
41146
41147 ac_cv_lib_posix4_sched_get_priority_max=no
41148 fi
41149 rm -f conftest.err conftest.$ac_objext \
41150 conftest$ac_exeext conftest.$ac_ext
41151 LIBS=$ac_check_lib_save_LIBS
41152 fi
41153 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41154 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
41155 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41156
41157 HAVE_PRIOR_FUNCS=1
41158 POSIX4_LINK=" -lposix4"
41159
41160 fi
41161
41162
41163 fi
41164
41165
41166 fi
41167
41168
41169 fi
41170
41171
41172 if test "$HAVE_PRIOR_FUNCS" = 1; then
41173 cat >>confdefs.h <<\_ACEOF
41174 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41175 _ACEOF
41176
41177 else
41178 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41179 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41180 fi
41181
41182 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41183 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
41184 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41185 echo $ECHO_N "(cached) $ECHO_C" >&6
41186 else
41187 cat >conftest.$ac_ext <<_ACEOF
41188 /* confdefs.h. */
41189 _ACEOF
41190 cat confdefs.h >>conftest.$ac_ext
41191 cat >>conftest.$ac_ext <<_ACEOF
41192 /* end confdefs.h. */
41193 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41195 #define pthread_cancel innocuous_pthread_cancel
41196
41197 /* System header to define __stub macros and hopefully few prototypes,
41198 which can conflict with char pthread_cancel (); below.
41199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41200 <limits.h> exists even on freestanding compilers. */
41201
41202 #ifdef __STDC__
41203 # include <limits.h>
41204 #else
41205 # include <assert.h>
41206 #endif
41207
41208 #undef pthread_cancel
41209
41210 /* Override any gcc2 internal prototype to avoid an error. */
41211 #ifdef __cplusplus
41212 extern "C"
41213 {
41214 #endif
41215 /* We use char because int might match the return type of a gcc2
41216 builtin and then its argument prototype would still apply. */
41217 char pthread_cancel ();
41218 /* The GNU C library defines this for functions which it implements
41219 to always fail with ENOSYS. Some functions are actually named
41220 something starting with __ and the normal name is an alias. */
41221 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
41222 choke me
41223 #else
41224 char (*f) () = pthread_cancel;
41225 #endif
41226 #ifdef __cplusplus
41227 }
41228 #endif
41229
41230 int
41231 main ()
41232 {
41233 return f != pthread_cancel;
41234 ;
41235 return 0;
41236 }
41237 _ACEOF
41238 rm -f conftest.$ac_objext conftest$ac_exeext
41239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41240 (eval $ac_link) 2>conftest.er1
41241 ac_status=$?
41242 grep -v '^ *+' conftest.er1 >conftest.err
41243 rm -f conftest.er1
41244 cat conftest.err >&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); } &&
41247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41249 (eval $ac_try) 2>&5
41250 ac_status=$?
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); }; } &&
41253 { ac_try='test -s conftest$ac_exeext'
41254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41255 (eval $ac_try) 2>&5
41256 ac_status=$?
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; }; then
41259 ac_cv_func_pthread_cancel=yes
41260 else
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.$ac_ext >&5
41263
41264 ac_cv_func_pthread_cancel=no
41265 fi
41266 rm -f conftest.err conftest.$ac_objext \
41267 conftest$ac_exeext conftest.$ac_ext
41268 fi
41269 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41270 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
41271 if test $ac_cv_func_pthread_cancel = yes; then
41272 cat >>confdefs.h <<\_ACEOF
41273 #define HAVE_PTHREAD_CANCEL 1
41274 _ACEOF
41275
41276 else
41277 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41278 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41279 fi
41280
41281
41282 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41283 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
41284 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41285 echo $ECHO_N "(cached) $ECHO_C" >&6
41286 else
41287 cat >conftest.$ac_ext <<_ACEOF
41288 /* confdefs.h. */
41289 _ACEOF
41290 cat confdefs.h >>conftest.$ac_ext
41291 cat >>conftest.$ac_ext <<_ACEOF
41292 /* end confdefs.h. */
41293 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41295 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41296
41297 /* System header to define __stub macros and hopefully few prototypes,
41298 which can conflict with char pthread_attr_setstacksize (); below.
41299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41300 <limits.h> exists even on freestanding compilers. */
41301
41302 #ifdef __STDC__
41303 # include <limits.h>
41304 #else
41305 # include <assert.h>
41306 #endif
41307
41308 #undef pthread_attr_setstacksize
41309
41310 /* Override any gcc2 internal prototype to avoid an error. */
41311 #ifdef __cplusplus
41312 extern "C"
41313 {
41314 #endif
41315 /* We use char because int might match the return type of a gcc2
41316 builtin and then its argument prototype would still apply. */
41317 char pthread_attr_setstacksize ();
41318 /* The GNU C library defines this for functions which it implements
41319 to always fail with ENOSYS. Some functions are actually named
41320 something starting with __ and the normal name is an alias. */
41321 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
41322 choke me
41323 #else
41324 char (*f) () = pthread_attr_setstacksize;
41325 #endif
41326 #ifdef __cplusplus
41327 }
41328 #endif
41329
41330 int
41331 main ()
41332 {
41333 return f != pthread_attr_setstacksize;
41334 ;
41335 return 0;
41336 }
41337 _ACEOF
41338 rm -f conftest.$ac_objext conftest$ac_exeext
41339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41340 (eval $ac_link) 2>conftest.er1
41341 ac_status=$?
41342 grep -v '^ *+' conftest.er1 >conftest.err
41343 rm -f conftest.er1
41344 cat conftest.err >&5
41345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41346 (exit $ac_status); } &&
41347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41349 (eval $ac_try) 2>&5
41350 ac_status=$?
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); }; } &&
41353 { ac_try='test -s conftest$ac_exeext'
41354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355 (eval $ac_try) 2>&5
41356 ac_status=$?
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); }; }; then
41359 ac_cv_func_pthread_attr_setstacksize=yes
41360 else
41361 echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41363
41364 ac_cv_func_pthread_attr_setstacksize=no
41365 fi
41366 rm -f conftest.err conftest.$ac_objext \
41367 conftest$ac_exeext conftest.$ac_ext
41368 fi
41369 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41370 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
41371 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41372 cat >>confdefs.h <<\_ACEOF
41373 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41374 _ACEOF
41375
41376 fi
41377
41378
41379
41380 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41381 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
41382 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41383 echo $ECHO_N "(cached) $ECHO_C" >&6
41384 else
41385
41386 cat >conftest.$ac_ext <<_ACEOF
41387 /* confdefs.h. */
41388 _ACEOF
41389 cat confdefs.h >>conftest.$ac_ext
41390 cat >>conftest.$ac_ext <<_ACEOF
41391 /* end confdefs.h. */
41392 #include <pthread.h>
41393 int
41394 main ()
41395 {
41396
41397 pthread_mutexattr_t attr;
41398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41399
41400 ;
41401 return 0;
41402 }
41403 _ACEOF
41404 rm -f conftest.$ac_objext
41405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41406 (eval $ac_compile) 2>conftest.er1
41407 ac_status=$?
41408 grep -v '^ *+' conftest.er1 >conftest.err
41409 rm -f conftest.er1
41410 cat conftest.err >&5
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); } &&
41413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415 (eval $ac_try) 2>&5
41416 ac_status=$?
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); }; } &&
41419 { ac_try='test -s conftest.$ac_objext'
41420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421 (eval $ac_try) 2>&5
41422 ac_status=$?
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); }; }; then
41425 wx_cv_type_pthread_mutexattr_t=yes
41426 else
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41429
41430 wx_cv_type_pthread_mutexattr_t=no
41431
41432 fi
41433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41434
41435 fi
41436 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41437 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
41438
41439 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41440 cat >>confdefs.h <<\_ACEOF
41441 #define HAVE_PTHREAD_MUTEXATTR_T 1
41442 _ACEOF
41443
41444
41445 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41446 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
41447 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41449 else
41450
41451 cat >conftest.$ac_ext <<_ACEOF
41452 /* confdefs.h. */
41453 _ACEOF
41454 cat confdefs.h >>conftest.$ac_ext
41455 cat >>conftest.$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457 #include <pthread.h>
41458 int
41459 main ()
41460 {
41461
41462 pthread_mutexattr_t attr;
41463 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41464
41465 ;
41466 return 0;
41467 }
41468 _ACEOF
41469 rm -f conftest.$ac_objext
41470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41471 (eval $ac_compile) 2>conftest.er1
41472 ac_status=$?
41473 grep -v '^ *+' conftest.er1 >conftest.err
41474 rm -f conftest.er1
41475 cat conftest.err >&5
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); } &&
41478 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41480 (eval $ac_try) 2>&5
41481 ac_status=$?
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); }; } &&
41484 { ac_try='test -s conftest.$ac_objext'
41485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41486 (eval $ac_try) 2>&5
41487 ac_status=$?
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); }; }; then
41490 wx_cv_func_pthread_mutexattr_settype_decl=yes
41491 else
41492 echo "$as_me: failed program was:" >&5
41493 sed 's/^/| /' conftest.$ac_ext >&5
41494
41495 wx_cv_func_pthread_mutexattr_settype_decl=no
41496
41497 fi
41498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41499
41500 fi
41501 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41502 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
41503 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41504 cat >>confdefs.h <<\_ACEOF
41505 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41506 _ACEOF
41507
41508 fi
41509 else
41510 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41511 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
41512 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41513 echo $ECHO_N "(cached) $ECHO_C" >&6
41514 else
41515
41516 cat >conftest.$ac_ext <<_ACEOF
41517 /* confdefs.h. */
41518 _ACEOF
41519 cat confdefs.h >>conftest.$ac_ext
41520 cat >>conftest.$ac_ext <<_ACEOF
41521 /* end confdefs.h. */
41522 #include <pthread.h>
41523 int
41524 main ()
41525 {
41526
41527 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41528
41529 ;
41530 return 0;
41531 }
41532 _ACEOF
41533 rm -f conftest.$ac_objext
41534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41535 (eval $ac_compile) 2>conftest.er1
41536 ac_status=$?
41537 grep -v '^ *+' conftest.er1 >conftest.err
41538 rm -f conftest.er1
41539 cat conftest.err >&5
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); } &&
41542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41544 (eval $ac_try) 2>&5
41545 ac_status=$?
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; } &&
41548 { ac_try='test -s conftest.$ac_objext'
41549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41550 (eval $ac_try) 2>&5
41551 ac_status=$?
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); }; }; then
41554
41555 wx_cv_type_pthread_rec_mutex_init=yes
41556
41557 else
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.$ac_ext >&5
41560
41561
41562 wx_cv_type_pthread_rec_mutex_init=no
41563
41564
41565 fi
41566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41567
41568 fi
41569 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41570 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41571 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41572 cat >>confdefs.h <<\_ACEOF
41573 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41574 _ACEOF
41575
41576 else
41577 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41578 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41579 fi
41580 fi
41581 fi
41582
41583 else
41584 if test "$wxUSE_THREADS" = "yes" ; then
41585 case "${host}" in
41586 *-*-mingw32* )
41587 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41588 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41589 if test "${wx_cv_cflags_mthread+set}" = set; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41591 else
41592
41593 CXXFLAGS_OLD="$CXXFLAGS"
41594 CXXFLAGS="-mthreads $CXXFLAGS"
41595 cat >conftest.$ac_ext <<_ACEOF
41596 /* confdefs.h. */
41597 _ACEOF
41598 cat confdefs.h >>conftest.$ac_ext
41599 cat >>conftest.$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601
41602 int
41603 main ()
41604 {
41605
41606 ;
41607 return 0;
41608 }
41609 _ACEOF
41610 rm -f conftest.$ac_objext
41611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41612 (eval $ac_compile) 2>conftest.er1
41613 ac_status=$?
41614 grep -v '^ *+' conftest.er1 >conftest.err
41615 rm -f conftest.er1
41616 cat conftest.err >&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } &&
41619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41621 (eval $ac_try) 2>&5
41622 ac_status=$?
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); }; } &&
41625 { ac_try='test -s conftest.$ac_objext'
41626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41627 (eval $ac_try) 2>&5
41628 ac_status=$?
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); }; }; then
41631 wx_cv_cflags_mthread=yes
41632 else
41633 echo "$as_me: failed program was:" >&5
41634 sed 's/^/| /' conftest.$ac_ext >&5
41635
41636 wx_cv_cflags_mthread=no
41637
41638 fi
41639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41640
41641
41642 fi
41643 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41644 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41645
41646 if test "$wx_cv_cflags_mthread" = "yes"; then
41647 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
41648 LDFLAGS="$LDFLAGS -mthreads"
41649 else
41650 CXXFLAGS="$CXXFLAGS_OLD"
41651 fi
41652 ;;
41653 *-pc-os2*emx )
41654 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41655 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
41656 LDFLAGS="$LDFLAGS -Zmt"
41657 ;;
41658 esac
41659 fi
41660 fi
41661
41662 echo "$as_me:$LINENO: checking for localtime_r" >&5
41663 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41664 if test "${ac_cv_func_localtime_r+set}" = set; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41666 else
41667 cat >conftest.$ac_ext <<_ACEOF
41668 /* confdefs.h. */
41669 _ACEOF
41670 cat confdefs.h >>conftest.$ac_ext
41671 cat >>conftest.$ac_ext <<_ACEOF
41672 /* end confdefs.h. */
41673 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41675 #define localtime_r innocuous_localtime_r
41676
41677 /* System header to define __stub macros and hopefully few prototypes,
41678 which can conflict with char localtime_r (); below.
41679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41680 <limits.h> exists even on freestanding compilers. */
41681
41682 #ifdef __STDC__
41683 # include <limits.h>
41684 #else
41685 # include <assert.h>
41686 #endif
41687
41688 #undef localtime_r
41689
41690 /* Override any gcc2 internal prototype to avoid an error. */
41691 #ifdef __cplusplus
41692 extern "C"
41693 {
41694 #endif
41695 /* We use char because int might match the return type of a gcc2
41696 builtin and then its argument prototype would still apply. */
41697 char localtime_r ();
41698 /* The GNU C library defines this for functions which it implements
41699 to always fail with ENOSYS. Some functions are actually named
41700 something starting with __ and the normal name is an alias. */
41701 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41702 choke me
41703 #else
41704 char (*f) () = localtime_r;
41705 #endif
41706 #ifdef __cplusplus
41707 }
41708 #endif
41709
41710 int
41711 main ()
41712 {
41713 return f != localtime_r;
41714 ;
41715 return 0;
41716 }
41717 _ACEOF
41718 rm -f conftest.$ac_objext conftest$ac_exeext
41719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41720 (eval $ac_link) 2>conftest.er1
41721 ac_status=$?
41722 grep -v '^ *+' conftest.er1 >conftest.err
41723 rm -f conftest.er1
41724 cat conftest.err >&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } &&
41727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41729 (eval $ac_try) 2>&5
41730 ac_status=$?
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); }; } &&
41733 { ac_try='test -s conftest$ac_exeext'
41734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41735 (eval $ac_try) 2>&5
41736 ac_status=$?
41737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738 (exit $ac_status); }; }; then
41739 ac_cv_func_localtime_r=yes
41740 else
41741 echo "$as_me: failed program was:" >&5
41742 sed 's/^/| /' conftest.$ac_ext >&5
41743
41744 ac_cv_func_localtime_r=no
41745 fi
41746 rm -f conftest.err conftest.$ac_objext \
41747 conftest$ac_exeext conftest.$ac_ext
41748 fi
41749 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41750 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41751 if test $ac_cv_func_localtime_r = yes; then
41752 cat >>confdefs.h <<\_ACEOF
41753 #define HAVE_LOCALTIME_R 1
41754 _ACEOF
41755
41756 fi
41757
41758 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41759 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41760 if test "${ac_cv_func_gmtime_r+set}" = set; then
41761 echo $ECHO_N "(cached) $ECHO_C" >&6
41762 else
41763 cat >conftest.$ac_ext <<_ACEOF
41764 /* confdefs.h. */
41765 _ACEOF
41766 cat confdefs.h >>conftest.$ac_ext
41767 cat >>conftest.$ac_ext <<_ACEOF
41768 /* end confdefs.h. */
41769 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41771 #define gmtime_r innocuous_gmtime_r
41772
41773 /* System header to define __stub macros and hopefully few prototypes,
41774 which can conflict with char gmtime_r (); below.
41775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41776 <limits.h> exists even on freestanding compilers. */
41777
41778 #ifdef __STDC__
41779 # include <limits.h>
41780 #else
41781 # include <assert.h>
41782 #endif
41783
41784 #undef gmtime_r
41785
41786 /* Override any gcc2 internal prototype to avoid an error. */
41787 #ifdef __cplusplus
41788 extern "C"
41789 {
41790 #endif
41791 /* We use char because int might match the return type of a gcc2
41792 builtin and then its argument prototype would still apply. */
41793 char gmtime_r ();
41794 /* The GNU C library defines this for functions which it implements
41795 to always fail with ENOSYS. Some functions are actually named
41796 something starting with __ and the normal name is an alias. */
41797 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41798 choke me
41799 #else
41800 char (*f) () = gmtime_r;
41801 #endif
41802 #ifdef __cplusplus
41803 }
41804 #endif
41805
41806 int
41807 main ()
41808 {
41809 return f != gmtime_r;
41810 ;
41811 return 0;
41812 }
41813 _ACEOF
41814 rm -f conftest.$ac_objext conftest$ac_exeext
41815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41816 (eval $ac_link) 2>conftest.er1
41817 ac_status=$?
41818 grep -v '^ *+' conftest.er1 >conftest.err
41819 rm -f conftest.er1
41820 cat conftest.err >&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } &&
41823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41825 (eval $ac_try) 2>&5
41826 ac_status=$?
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); }; } &&
41829 { ac_try='test -s conftest$ac_exeext'
41830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41831 (eval $ac_try) 2>&5
41832 ac_status=$?
41833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41834 (exit $ac_status); }; }; then
41835 ac_cv_func_gmtime_r=yes
41836 else
41837 echo "$as_me: failed program was:" >&5
41838 sed 's/^/| /' conftest.$ac_ext >&5
41839
41840 ac_cv_func_gmtime_r=no
41841 fi
41842 rm -f conftest.err conftest.$ac_objext \
41843 conftest$ac_exeext conftest.$ac_ext
41844 fi
41845 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41846 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41847 if test $ac_cv_func_gmtime_r = yes; then
41848 cat >>confdefs.h <<\_ACEOF
41849 #define HAVE_GMTIME_R 1
41850 _ACEOF
41851
41852 fi
41853
41854 echo "$as_me:$LINENO: checking for readdir_r" >&5
41855 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41856 if test "${ac_cv_func_readdir_r+set}" = set; then
41857 echo $ECHO_N "(cached) $ECHO_C" >&6
41858 else
41859 cat >conftest.$ac_ext <<_ACEOF
41860 /* confdefs.h. */
41861 _ACEOF
41862 cat confdefs.h >>conftest.$ac_ext
41863 cat >>conftest.$ac_ext <<_ACEOF
41864 /* end confdefs.h. */
41865 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41867 #define readdir_r innocuous_readdir_r
41868
41869 /* System header to define __stub macros and hopefully few prototypes,
41870 which can conflict with char readdir_r (); below.
41871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41872 <limits.h> exists even on freestanding compilers. */
41873
41874 #ifdef __STDC__
41875 # include <limits.h>
41876 #else
41877 # include <assert.h>
41878 #endif
41879
41880 #undef readdir_r
41881
41882 /* Override any gcc2 internal prototype to avoid an error. */
41883 #ifdef __cplusplus
41884 extern "C"
41885 {
41886 #endif
41887 /* We use char because int might match the return type of a gcc2
41888 builtin and then its argument prototype would still apply. */
41889 char readdir_r ();
41890 /* The GNU C library defines this for functions which it implements
41891 to always fail with ENOSYS. Some functions are actually named
41892 something starting with __ and the normal name is an alias. */
41893 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41894 choke me
41895 #else
41896 char (*f) () = readdir_r;
41897 #endif
41898 #ifdef __cplusplus
41899 }
41900 #endif
41901
41902 int
41903 main ()
41904 {
41905 return f != readdir_r;
41906 ;
41907 return 0;
41908 }
41909 _ACEOF
41910 rm -f conftest.$ac_objext conftest$ac_exeext
41911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41912 (eval $ac_link) 2>conftest.er1
41913 ac_status=$?
41914 grep -v '^ *+' conftest.er1 >conftest.err
41915 rm -f conftest.er1
41916 cat conftest.err >&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); } &&
41919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41921 (eval $ac_try) 2>&5
41922 ac_status=$?
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); }; } &&
41925 { ac_try='test -s conftest$ac_exeext'
41926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41927 (eval $ac_try) 2>&5
41928 ac_status=$?
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); }; }; then
41931 ac_cv_func_readdir_r=yes
41932 else
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.$ac_ext >&5
41935
41936 ac_cv_func_readdir_r=no
41937 fi
41938 rm -f conftest.err conftest.$ac_objext \
41939 conftest$ac_exeext conftest.$ac_ext
41940 fi
41941 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41942 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41943 if test $ac_cv_func_readdir_r = yes; then
41944 cat >>confdefs.h <<\_ACEOF
41945 #define HAVE_READDIR_R 1
41946 _ACEOF
41947
41948 fi
41949
41950
41951
41952
41953 ac_ext=c
41954 ac_cpp='$CPP $CPPFLAGS'
41955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41958
41959 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41960 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41961
41962 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41963 echo $ECHO_N "(cached) $ECHO_C" >&6
41964 else
41965
41966
41967 ################################################################
41968
41969 ac_cv_func_which_gethostbyname_r=unknown
41970
41971 #
41972 # ONE ARGUMENT (sanity check)
41973 #
41974
41975 # This should fail, as there is no variant of gethostbyname_r() that takes
41976 # a single argument. If it actually compiles, then we can assume that
41977 # netdb.h is not declaring the function, and the compiler is thereby
41978 # assuming an implicit prototype. In which case, we're out of luck.
41979 #
41980 cat >conftest.$ac_ext <<_ACEOF
41981 /* confdefs.h. */
41982 _ACEOF
41983 cat confdefs.h >>conftest.$ac_ext
41984 cat >>conftest.$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41986 #include <netdb.h>
41987 int
41988 main ()
41989 {
41990
41991 char *name = "www.gnu.org";
41992 (void)gethostbyname_r(name) /* ; */
41993
41994 ;
41995 return 0;
41996 }
41997 _ACEOF
41998 rm -f conftest.$ac_objext
41999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42000 (eval $ac_compile) 2>conftest.er1
42001 ac_status=$?
42002 grep -v '^ *+' conftest.er1 >conftest.err
42003 rm -f conftest.er1
42004 cat conftest.err >&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } &&
42007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42009 (eval $ac_try) 2>&5
42010 ac_status=$?
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); }; } &&
42013 { ac_try='test -s conftest.$ac_objext'
42014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42015 (eval $ac_try) 2>&5
42016 ac_status=$?
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); }; }; then
42019 ac_cv_func_which_gethostbyname_r=no
42020 else
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.$ac_ext >&5
42023
42024 fi
42025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42026
42027 #
42028 # SIX ARGUMENTS
42029 # (e.g. Linux)
42030 #
42031
42032 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42033
42034 cat >conftest.$ac_ext <<_ACEOF
42035 /* confdefs.h. */
42036 _ACEOF
42037 cat confdefs.h >>conftest.$ac_ext
42038 cat >>conftest.$ac_ext <<_ACEOF
42039 /* end confdefs.h. */
42040 #include <netdb.h>
42041 int
42042 main ()
42043 {
42044
42045 char *name = "www.gnu.org";
42046 struct hostent ret, *retp;
42047 char buf[1024];
42048 int buflen = 1024;
42049 int my_h_errno;
42050 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42051
42052 ;
42053 return 0;
42054 }
42055 _ACEOF
42056 rm -f conftest.$ac_objext
42057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42058 (eval $ac_compile) 2>conftest.er1
42059 ac_status=$?
42060 grep -v '^ *+' conftest.er1 >conftest.err
42061 rm -f conftest.er1
42062 cat conftest.err >&5
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); } &&
42065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42068 ac_status=$?
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; } &&
42071 { ac_try='test -s conftest.$ac_objext'
42072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42073 (eval $ac_try) 2>&5
42074 ac_status=$?
42075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42076 (exit $ac_status); }; }; then
42077 ac_cv_func_which_gethostbyname_r=six
42078 else
42079 echo "$as_me: failed program was:" >&5
42080 sed 's/^/| /' conftest.$ac_ext >&5
42081
42082 fi
42083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42084
42085 fi
42086
42087 #
42088 # FIVE ARGUMENTS
42089 # (e.g. Solaris)
42090 #
42091
42092 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42093
42094 cat >conftest.$ac_ext <<_ACEOF
42095 /* confdefs.h. */
42096 _ACEOF
42097 cat confdefs.h >>conftest.$ac_ext
42098 cat >>conftest.$ac_ext <<_ACEOF
42099 /* end confdefs.h. */
42100 #include <netdb.h>
42101 int
42102 main ()
42103 {
42104
42105 char *name = "www.gnu.org";
42106 struct hostent ret;
42107 char buf[1024];
42108 int buflen = 1024;
42109 int my_h_errno;
42110 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42111
42112 ;
42113 return 0;
42114 }
42115 _ACEOF
42116 rm -f conftest.$ac_objext
42117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42118 (eval $ac_compile) 2>conftest.er1
42119 ac_status=$?
42120 grep -v '^ *+' conftest.er1 >conftest.err
42121 rm -f conftest.er1
42122 cat conftest.err >&5
42123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42124 (exit $ac_status); } &&
42125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42127 (eval $ac_try) 2>&5
42128 ac_status=$?
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); }; } &&
42131 { ac_try='test -s conftest.$ac_objext'
42132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42133 (eval $ac_try) 2>&5
42134 ac_status=$?
42135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42136 (exit $ac_status); }; }; then
42137 ac_cv_func_which_gethostbyname_r=five
42138 else
42139 echo "$as_me: failed program was:" >&5
42140 sed 's/^/| /' conftest.$ac_ext >&5
42141
42142 fi
42143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42144
42145 fi
42146
42147 #
42148 # THREE ARGUMENTS
42149 # (e.g. AIX, HP-UX, Tru64)
42150 #
42151
42152 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42153
42154 cat >conftest.$ac_ext <<_ACEOF
42155 /* confdefs.h. */
42156 _ACEOF
42157 cat confdefs.h >>conftest.$ac_ext
42158 cat >>conftest.$ac_ext <<_ACEOF
42159 /* end confdefs.h. */
42160 #include <netdb.h>
42161 int
42162 main ()
42163 {
42164
42165 char *name = "www.gnu.org";
42166 struct hostent ret;
42167 struct hostent_data data;
42168 (void)gethostbyname_r(name, &ret, &data) /* ; */
42169
42170 ;
42171 return 0;
42172 }
42173 _ACEOF
42174 rm -f conftest.$ac_objext
42175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42176 (eval $ac_compile) 2>conftest.er1
42177 ac_status=$?
42178 grep -v '^ *+' conftest.er1 >conftest.err
42179 rm -f conftest.er1
42180 cat conftest.err >&5
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); } &&
42183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42185 (eval $ac_try) 2>&5
42186 ac_status=$?
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; } &&
42189 { ac_try='test -s conftest.$ac_objext'
42190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42191 (eval $ac_try) 2>&5
42192 ac_status=$?
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); }; }; then
42195 ac_cv_func_which_gethostbyname_r=three
42196 else
42197 echo "$as_me: failed program was:" >&5
42198 sed 's/^/| /' conftest.$ac_ext >&5
42199
42200 fi
42201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42202
42203 fi
42204
42205 ################################################################
42206
42207
42208 fi
42209
42210 case "$ac_cv_func_which_gethostbyname_r" in
42211 three)
42212 echo "$as_me:$LINENO: result: three" >&5
42213 echo "${ECHO_T}three" >&6
42214 cat >>confdefs.h <<\_ACEOF
42215 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42216 _ACEOF
42217
42218 ;;
42219
42220 five)
42221 echo "$as_me:$LINENO: result: five" >&5
42222 echo "${ECHO_T}five" >&6
42223 cat >>confdefs.h <<\_ACEOF
42224 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42225 _ACEOF
42226
42227 ;;
42228
42229 six)
42230 echo "$as_me:$LINENO: result: six" >&5
42231 echo "${ECHO_T}six" >&6
42232 cat >>confdefs.h <<\_ACEOF
42233 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42234 _ACEOF
42235
42236 ;;
42237
42238 no)
42239 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42240 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
42241 ;;
42242
42243 unknown)
42244 echo "$as_me:$LINENO: result: can't tell" >&5
42245 echo "${ECHO_T}can't tell" >&6
42246 ;;
42247
42248 *)
42249 { { echo "$as_me:$LINENO: error: internal error" >&5
42250 echo "$as_me: error: internal error" >&2;}
42251 { (exit 1); exit 1; }; }
42252 ;;
42253 esac
42254
42255 ac_ext=cc
42256 ac_cpp='$CXXCPP $CPPFLAGS'
42257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42260
42261
42262
42263 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42264 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42265 echo "$as_me:$LINENO: checking for gethostbyname" >&5
42266 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
42267 if test "${ac_cv_func_gethostbyname+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 else
42270 cat >conftest.$ac_ext <<_ACEOF
42271 /* confdefs.h. */
42272 _ACEOF
42273 cat confdefs.h >>conftest.$ac_ext
42274 cat >>conftest.$ac_ext <<_ACEOF
42275 /* end confdefs.h. */
42276 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42278 #define gethostbyname innocuous_gethostbyname
42279
42280 /* System header to define __stub macros and hopefully few prototypes,
42281 which can conflict with char gethostbyname (); below.
42282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42283 <limits.h> exists even on freestanding compilers. */
42284
42285 #ifdef __STDC__
42286 # include <limits.h>
42287 #else
42288 # include <assert.h>
42289 #endif
42290
42291 #undef gethostbyname
42292
42293 /* Override any gcc2 internal prototype to avoid an error. */
42294 #ifdef __cplusplus
42295 extern "C"
42296 {
42297 #endif
42298 /* We use char because int might match the return type of a gcc2
42299 builtin and then its argument prototype would still apply. */
42300 char gethostbyname ();
42301 /* The GNU C library defines this for functions which it implements
42302 to always fail with ENOSYS. Some functions are actually named
42303 something starting with __ and the normal name is an alias. */
42304 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
42305 choke me
42306 #else
42307 char (*f) () = gethostbyname;
42308 #endif
42309 #ifdef __cplusplus
42310 }
42311 #endif
42312
42313 int
42314 main ()
42315 {
42316 return f != gethostbyname;
42317 ;
42318 return 0;
42319 }
42320 _ACEOF
42321 rm -f conftest.$ac_objext conftest$ac_exeext
42322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42323 (eval $ac_link) 2>conftest.er1
42324 ac_status=$?
42325 grep -v '^ *+' conftest.er1 >conftest.err
42326 rm -f conftest.er1
42327 cat conftest.err >&5
42328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42329 (exit $ac_status); } &&
42330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42332 (eval $ac_try) 2>&5
42333 ac_status=$?
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); }; } &&
42336 { ac_try='test -s conftest$ac_exeext'
42337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42338 (eval $ac_try) 2>&5
42339 ac_status=$?
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); }; }; then
42342 ac_cv_func_gethostbyname=yes
42343 else
42344 echo "$as_me: failed program was:" >&5
42345 sed 's/^/| /' conftest.$ac_ext >&5
42346
42347 ac_cv_func_gethostbyname=no
42348 fi
42349 rm -f conftest.err conftest.$ac_objext \
42350 conftest$ac_exeext conftest.$ac_ext
42351 fi
42352 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42353 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
42354 if test $ac_cv_func_gethostbyname = yes; then
42355 cat >>confdefs.h <<\_ACEOF
42356 #define HAVE_GETHOSTBYNAME 1
42357 _ACEOF
42358
42359 fi
42360
42361 fi
42362
42363 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42364 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
42365 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42366 echo $ECHO_N "(cached) $ECHO_C" >&6
42367 else
42368
42369 cat >conftest.$ac_ext <<_ACEOF
42370 /* confdefs.h. */
42371 _ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375 #include <netdb.h>
42376 int
42377 main ()
42378 {
42379
42380 char *name;
42381 char *proto;
42382 struct servent *se, *res;
42383 char buffer[2048];
42384 int buflen = 2048;
42385 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42386
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 rm -f conftest.$ac_objext
42392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42393 (eval $ac_compile) 2>conftest.er1
42394 ac_status=$?
42395 grep -v '^ *+' conftest.er1 >conftest.err
42396 rm -f conftest.er1
42397 cat conftest.err >&5
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); } &&
42400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42402 (eval $ac_try) 2>&5
42403 ac_status=$?
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); }; } &&
42406 { ac_try='test -s conftest.$ac_objext'
42407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42408 (eval $ac_try) 2>&5
42409 ac_status=$?
42410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411 (exit $ac_status); }; }; then
42412 ac_cv_func_which_getservbyname_r=six
42413 else
42414 echo "$as_me: failed program was:" >&5
42415 sed 's/^/| /' conftest.$ac_ext >&5
42416
42417
42418 cat >conftest.$ac_ext <<_ACEOF
42419 /* confdefs.h. */
42420 _ACEOF
42421 cat confdefs.h >>conftest.$ac_ext
42422 cat >>conftest.$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42424 #include <netdb.h>
42425 int
42426 main ()
42427 {
42428
42429 char *name;
42430 char *proto;
42431 struct servent *se;
42432 char buffer[2048];
42433 int buflen = 2048;
42434 (void) getservbyname_r(name, proto, se, buffer, buflen)
42435
42436 ;
42437 return 0;
42438 }
42439 _ACEOF
42440 rm -f conftest.$ac_objext
42441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42442 (eval $ac_compile) 2>conftest.er1
42443 ac_status=$?
42444 grep -v '^ *+' conftest.er1 >conftest.err
42445 rm -f conftest.er1
42446 cat conftest.err >&5
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); } &&
42449 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42451 (eval $ac_try) 2>&5
42452 ac_status=$?
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; } &&
42455 { ac_try='test -s conftest.$ac_objext'
42456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42457 (eval $ac_try) 2>&5
42458 ac_status=$?
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); }; }; then
42461 ac_cv_func_which_getservbyname_r=five
42462 else
42463 echo "$as_me: failed program was:" >&5
42464 sed 's/^/| /' conftest.$ac_ext >&5
42465
42466
42467 cat >conftest.$ac_ext <<_ACEOF
42468 /* confdefs.h. */
42469 _ACEOF
42470 cat confdefs.h >>conftest.$ac_ext
42471 cat >>conftest.$ac_ext <<_ACEOF
42472 /* end confdefs.h. */
42473 #include <netdb.h>
42474 int
42475 main ()
42476 {
42477
42478 char *name;
42479 char *proto;
42480 struct servent *se;
42481 struct servent_data data;
42482 (void) getservbyname_r(name, proto, se, &data);
42483
42484 ;
42485 return 0;
42486 }
42487 _ACEOF
42488 rm -f conftest.$ac_objext
42489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42490 (eval $ac_compile) 2>conftest.er1
42491 ac_status=$?
42492 grep -v '^ *+' conftest.er1 >conftest.err
42493 rm -f conftest.er1
42494 cat conftest.err >&5
42495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42496 (exit $ac_status); } &&
42497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42499 (eval $ac_try) 2>&5
42500 ac_status=$?
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); }; } &&
42503 { ac_try='test -s conftest.$ac_objext'
42504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42505 (eval $ac_try) 2>&5
42506 ac_status=$?
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); }; }; then
42509 ac_cv_func_which_getservbyname_r=four
42510 else
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.$ac_ext >&5
42513
42514 ac_cv_func_which_getservbyname_r=no
42515
42516 fi
42517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42518
42519
42520 fi
42521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42522
42523
42524 fi
42525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42526
42527
42528 fi
42529 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42530 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
42531
42532 if test $ac_cv_func_which_getservbyname_r = six; then
42533 cat >>confdefs.h <<\_ACEOF
42534 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42535 _ACEOF
42536
42537 elif test $ac_cv_func_which_getservbyname_r = five; then
42538 cat >>confdefs.h <<\_ACEOF
42539 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42540 _ACEOF
42541
42542 elif test $ac_cv_func_which_getservbyname_r = four; then
42543 cat >>confdefs.h <<\_ACEOF
42544 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42545 _ACEOF
42546
42547 fi
42548
42549
42550 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42551 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42552
42553 for ac_func in getservbyname
42554 do
42555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42556 echo "$as_me:$LINENO: checking for $ac_func" >&5
42557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42558 if eval "test \"\${$as_ac_var+set}\" = set"; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42560 else
42561 cat >conftest.$ac_ext <<_ACEOF
42562 /* confdefs.h. */
42563 _ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42569 #define $ac_func innocuous_$ac_func
42570
42571 /* System header to define __stub macros and hopefully few prototypes,
42572 which can conflict with char $ac_func (); below.
42573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42574 <limits.h> exists even on freestanding compilers. */
42575
42576 #ifdef __STDC__
42577 # include <limits.h>
42578 #else
42579 # include <assert.h>
42580 #endif
42581
42582 #undef $ac_func
42583
42584 /* Override any gcc2 internal prototype to avoid an error. */
42585 #ifdef __cplusplus
42586 extern "C"
42587 {
42588 #endif
42589 /* We use char because int might match the return type of a gcc2
42590 builtin and then its argument prototype would still apply. */
42591 char $ac_func ();
42592 /* The GNU C library defines this for functions which it implements
42593 to always fail with ENOSYS. Some functions are actually named
42594 something starting with __ and the normal name is an alias. */
42595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42596 choke me
42597 #else
42598 char (*f) () = $ac_func;
42599 #endif
42600 #ifdef __cplusplus
42601 }
42602 #endif
42603
42604 int
42605 main ()
42606 {
42607 return f != $ac_func;
42608 ;
42609 return 0;
42610 }
42611 _ACEOF
42612 rm -f conftest.$ac_objext conftest$ac_exeext
42613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42614 (eval $ac_link) 2>conftest.er1
42615 ac_status=$?
42616 grep -v '^ *+' conftest.er1 >conftest.err
42617 rm -f conftest.er1
42618 cat conftest.err >&5
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); } &&
42621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42623 (eval $ac_try) 2>&5
42624 ac_status=$?
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); }; } &&
42627 { ac_try='test -s conftest$ac_exeext'
42628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42629 (eval $ac_try) 2>&5
42630 ac_status=$?
42631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42632 (exit $ac_status); }; }; then
42633 eval "$as_ac_var=yes"
42634 else
42635 echo "$as_me: failed program was:" >&5
42636 sed 's/^/| /' conftest.$ac_ext >&5
42637
42638 eval "$as_ac_var=no"
42639 fi
42640 rm -f conftest.err conftest.$ac_objext \
42641 conftest$ac_exeext conftest.$ac_ext
42642 fi
42643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42645 if test `eval echo '${'$as_ac_var'}'` = yes; then
42646 cat >>confdefs.h <<_ACEOF
42647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42648 _ACEOF
42649 cat >>confdefs.h <<\_ACEOF
42650 #define HAVE_GETSERVBYNAME 1
42651 _ACEOF
42652
42653 fi
42654 done
42655
42656 fi
42657
42658 if test "$wxUSE_THREADS" = "yes"; then
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_THREADS 1
42661 _ACEOF
42662
42663
42664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42665 else
42666 if test "$wx_cv_func_strtok_r" = "yes"; then
42667 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42668 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42669 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42671 echo "$as_me:$LINENO: result: yes" >&5
42672 echo "${ECHO_T}yes" >&6
42673 else
42674 echo "$as_me:$LINENO: result: no" >&5
42675 echo "${ECHO_T}no" >&6
42676 fi
42677 fi
42678 fi
42679
42680 if test "$WXGTK20" = 1 ; then
42681 cat >>confdefs.h <<_ACEOF
42682 #define __WXGTK20__ $WXGTK20
42683 _ACEOF
42684
42685 WXGTK12=1
42686 fi
42687
42688 if test "$WXGTK12" = 1 ; then
42689 cat >>confdefs.h <<_ACEOF
42690 #define __WXGTK12__ $WXGTK12
42691 _ACEOF
42692
42693 fi
42694
42695 if test "$WXGTK127" = 1 ; then
42696 cat >>confdefs.h <<_ACEOF
42697 #define __WXGTK127__ $WXGTK127
42698 _ACEOF
42699
42700 fi
42701
42702 if test "$WXGPE" = 1 ; then
42703 cat >>confdefs.h <<_ACEOF
42704 #define __WXGPE__ $WXGPE
42705 _ACEOF
42706
42707 fi
42708
42709 DEBUG_CFLAGS=
42710 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42711 DEBUG_CFLAGS="-g"
42712 wxUSE_OPTIMISE=no
42713 fi
42714
42715 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42716 wxUSE_DEBUG_INFO=yes
42717 if test "$GCC" = yes; then
42718 DEBUG_CFLAGS="-ggdb"
42719 fi
42720 fi
42721
42722 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42723 cat >>confdefs.h <<\_ACEOF
42724 #define WXDEBUG 1
42725 _ACEOF
42726
42727 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42728 else
42729 if test "$wxUSE_GTK" = 1 ; then
42730 if test "x$wxGTK_VERSION" = "x1" ; then
42731 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42732 fi
42733 fi
42734 fi
42735
42736 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42737 cat >>confdefs.h <<\_ACEOF
42738 #define wxUSE_MEMORY_TRACING 1
42739 _ACEOF
42740
42741 cat >>confdefs.h <<\_ACEOF
42742 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42743 _ACEOF
42744
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_DEBUG_NEW_ALWAYS 1
42747 _ACEOF
42748
42749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42750 fi
42751
42752 if test "$wxUSE_DMALLOC" = "yes" ; then
42753 DMALLOC_LIBS="-ldmallocthcxx"
42754 fi
42755
42756 PROFILE_FLAGS=
42757 if test "$wxUSE_PROFILE" = "yes" ; then
42758 PROFILE_FLAGS=" -pg"
42759 fi
42760
42761 if test "$GCC" = "yes" ; then
42762 if test "$wxUSE_NO_RTTI" = "yes" ; then
42763 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42764 fi
42765 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42766 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42767 fi
42768 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42769 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42770 fi
42771
42772 case "${host}" in
42773 powerpc*-*-aix* )
42774 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42775 ;;
42776 *-hppa* )
42777 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42778 ;;
42779 esac
42780 fi
42781
42782 OPTIMISE_CFLAGS=
42783 if test "$wxUSE_OPTIMISE" = "no" ; then
42784 if test "$GCC" = yes ; then
42785 OPTIMISE_CFLAGS="-O0"
42786 fi
42787 else
42788 if test "$GCC" = yes ; then
42789 case "${host}" in
42790 *-pc-os2_emx | *-pc-os2-emx )
42791 OPTIMISE_CFLAGS="-O2"
42792 ;;
42793 *)
42794 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42795 ;;
42796 esac
42797 else
42798 OPTIMISE_CFLAGS="-O"
42799 fi
42800 fi
42801
42802
42803 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42804 cat >>confdefs.h <<\_ACEOF
42805 #define WXWIN_COMPATIBILITY_2_4 1
42806 _ACEOF
42807
42808
42809 WXWIN_COMPATIBILITY_2_6="yes"
42810 fi
42811
42812 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42813 cat >>confdefs.h <<\_ACEOF
42814 #define WXWIN_COMPATIBILITY_2_6 1
42815 _ACEOF
42816
42817 fi
42818
42819
42820 if test "$wxUSE_GUI" = "yes"; then
42821 cat >>confdefs.h <<\_ACEOF
42822 #define wxUSE_GUI 1
42823 _ACEOF
42824
42825
42826 fi
42827
42828
42829 if test "$wxUSE_UNIX" = "yes"; then
42830 cat >>confdefs.h <<\_ACEOF
42831 #define wxUSE_UNIX 1
42832 _ACEOF
42833
42834 fi
42835
42836
42837 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42838
42839 HAVE_DL_FUNCS=0
42840 HAVE_SHL_FUNCS=0
42841 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42842 if test "$USE_DARWIN" = 1; then
42843 HAVE_DL_FUNCS=1
42844 elif test "$USE_DOS" = 1; then
42845 HAVE_DL_FUNCS=0
42846 else
42847
42848 for ac_func in dlopen
42849 do
42850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42851 echo "$as_me:$LINENO: checking for $ac_func" >&5
42852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42853 if eval "test \"\${$as_ac_var+set}\" = set"; then
42854 echo $ECHO_N "(cached) $ECHO_C" >&6
42855 else
42856 cat >conftest.$ac_ext <<_ACEOF
42857 /* confdefs.h. */
42858 _ACEOF
42859 cat confdefs.h >>conftest.$ac_ext
42860 cat >>conftest.$ac_ext <<_ACEOF
42861 /* end confdefs.h. */
42862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42864 #define $ac_func innocuous_$ac_func
42865
42866 /* System header to define __stub macros and hopefully few prototypes,
42867 which can conflict with char $ac_func (); below.
42868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42869 <limits.h> exists even on freestanding compilers. */
42870
42871 #ifdef __STDC__
42872 # include <limits.h>
42873 #else
42874 # include <assert.h>
42875 #endif
42876
42877 #undef $ac_func
42878
42879 /* Override any gcc2 internal prototype to avoid an error. */
42880 #ifdef __cplusplus
42881 extern "C"
42882 {
42883 #endif
42884 /* We use char because int might match the return type of a gcc2
42885 builtin and then its argument prototype would still apply. */
42886 char $ac_func ();
42887 /* The GNU C library defines this for functions which it implements
42888 to always fail with ENOSYS. Some functions are actually named
42889 something starting with __ and the normal name is an alias. */
42890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42891 choke me
42892 #else
42893 char (*f) () = $ac_func;
42894 #endif
42895 #ifdef __cplusplus
42896 }
42897 #endif
42898
42899 int
42900 main ()
42901 {
42902 return f != $ac_func;
42903 ;
42904 return 0;
42905 }
42906 _ACEOF
42907 rm -f conftest.$ac_objext conftest$ac_exeext
42908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42909 (eval $ac_link) 2>conftest.er1
42910 ac_status=$?
42911 grep -v '^ *+' conftest.er1 >conftest.err
42912 rm -f conftest.er1
42913 cat conftest.err >&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } &&
42916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42919 ac_status=$?
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; } &&
42922 { ac_try='test -s conftest$ac_exeext'
42923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42924 (eval $ac_try) 2>&5
42925 ac_status=$?
42926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42927 (exit $ac_status); }; }; then
42928 eval "$as_ac_var=yes"
42929 else
42930 echo "$as_me: failed program was:" >&5
42931 sed 's/^/| /' conftest.$ac_ext >&5
42932
42933 eval "$as_ac_var=no"
42934 fi
42935 rm -f conftest.err conftest.$ac_objext \
42936 conftest$ac_exeext conftest.$ac_ext
42937 fi
42938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42940 if test `eval echo '${'$as_ac_var'}'` = yes; then
42941 cat >>confdefs.h <<_ACEOF
42942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42943 _ACEOF
42944
42945 cat >>confdefs.h <<\_ACEOF
42946 #define HAVE_DLOPEN 1
42947 _ACEOF
42948
42949 HAVE_DL_FUNCS=1
42950
42951 else
42952
42953 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42954 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42955 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42956 echo $ECHO_N "(cached) $ECHO_C" >&6
42957 else
42958 ac_check_lib_save_LIBS=$LIBS
42959 LIBS="-ldl $LIBS"
42960 cat >conftest.$ac_ext <<_ACEOF
42961 /* confdefs.h. */
42962 _ACEOF
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42966
42967 /* Override any gcc2 internal prototype to avoid an error. */
42968 #ifdef __cplusplus
42969 extern "C"
42970 #endif
42971 /* We use char because int might match the return type of a gcc2
42972 builtin and then its argument prototype would still apply. */
42973 char dlopen ();
42974 int
42975 main ()
42976 {
42977 dlopen ();
42978 ;
42979 return 0;
42980 }
42981 _ACEOF
42982 rm -f conftest.$ac_objext conftest$ac_exeext
42983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42984 (eval $ac_link) 2>conftest.er1
42985 ac_status=$?
42986 grep -v '^ *+' conftest.er1 >conftest.err
42987 rm -f conftest.er1
42988 cat conftest.err >&5
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); } &&
42991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993 (eval $ac_try) 2>&5
42994 ac_status=$?
42995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996 (exit $ac_status); }; } &&
42997 { ac_try='test -s conftest$ac_exeext'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43000 ac_status=$?
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; }; then
43003 ac_cv_lib_dl_dlopen=yes
43004 else
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43007
43008 ac_cv_lib_dl_dlopen=no
43009 fi
43010 rm -f conftest.err conftest.$ac_objext \
43011 conftest$ac_exeext conftest.$ac_ext
43012 LIBS=$ac_check_lib_save_LIBS
43013 fi
43014 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43015 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
43016 if test $ac_cv_lib_dl_dlopen = yes; then
43017
43018 cat >>confdefs.h <<\_ACEOF
43019 #define HAVE_DLOPEN 1
43020 _ACEOF
43021
43022 HAVE_DL_FUNCS=1
43023 DL_LINK=" -ldl$DL_LINK"
43024
43025 else
43026
43027
43028 for ac_func in shl_load
43029 do
43030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43031 echo "$as_me:$LINENO: checking for $ac_func" >&5
43032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43033 if eval "test \"\${$as_ac_var+set}\" = set"; then
43034 echo $ECHO_N "(cached) $ECHO_C" >&6
43035 else
43036 cat >conftest.$ac_ext <<_ACEOF
43037 /* confdefs.h. */
43038 _ACEOF
43039 cat confdefs.h >>conftest.$ac_ext
43040 cat >>conftest.$ac_ext <<_ACEOF
43041 /* end confdefs.h. */
43042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43044 #define $ac_func innocuous_$ac_func
43045
43046 /* System header to define __stub macros and hopefully few prototypes,
43047 which can conflict with char $ac_func (); below.
43048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43049 <limits.h> exists even on freestanding compilers. */
43050
43051 #ifdef __STDC__
43052 # include <limits.h>
43053 #else
43054 # include <assert.h>
43055 #endif
43056
43057 #undef $ac_func
43058
43059 /* Override any gcc2 internal prototype to avoid an error. */
43060 #ifdef __cplusplus
43061 extern "C"
43062 {
43063 #endif
43064 /* We use char because int might match the return type of a gcc2
43065 builtin and then its argument prototype would still apply. */
43066 char $ac_func ();
43067 /* The GNU C library defines this for functions which it implements
43068 to always fail with ENOSYS. Some functions are actually named
43069 something starting with __ and the normal name is an alias. */
43070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43071 choke me
43072 #else
43073 char (*f) () = $ac_func;
43074 #endif
43075 #ifdef __cplusplus
43076 }
43077 #endif
43078
43079 int
43080 main ()
43081 {
43082 return f != $ac_func;
43083 ;
43084 return 0;
43085 }
43086 _ACEOF
43087 rm -f conftest.$ac_objext conftest$ac_exeext
43088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43089 (eval $ac_link) 2>conftest.er1
43090 ac_status=$?
43091 grep -v '^ *+' conftest.er1 >conftest.err
43092 rm -f conftest.er1
43093 cat conftest.err >&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); } &&
43096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43098 (eval $ac_try) 2>&5
43099 ac_status=$?
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); }; } &&
43102 { ac_try='test -s conftest$ac_exeext'
43103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43104 (eval $ac_try) 2>&5
43105 ac_status=$?
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); }; }; then
43108 eval "$as_ac_var=yes"
43109 else
43110 echo "$as_me: failed program was:" >&5
43111 sed 's/^/| /' conftest.$ac_ext >&5
43112
43113 eval "$as_ac_var=no"
43114 fi
43115 rm -f conftest.err conftest.$ac_objext \
43116 conftest$ac_exeext conftest.$ac_ext
43117 fi
43118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43120 if test `eval echo '${'$as_ac_var'}'` = yes; then
43121 cat >>confdefs.h <<_ACEOF
43122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43123 _ACEOF
43124
43125 cat >>confdefs.h <<\_ACEOF
43126 #define HAVE_SHL_LOAD 1
43127 _ACEOF
43128
43129 HAVE_SHL_FUNCS=1
43130
43131 else
43132
43133 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43134 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
43135 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43137 else
43138 ac_check_lib_save_LIBS=$LIBS
43139 LIBS="-lshl_load $LIBS"
43140 cat >conftest.$ac_ext <<_ACEOF
43141 /* confdefs.h. */
43142 _ACEOF
43143 cat confdefs.h >>conftest.$ac_ext
43144 cat >>conftest.$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43146
43147 /* Override any gcc2 internal prototype to avoid an error. */
43148 #ifdef __cplusplus
43149 extern "C"
43150 #endif
43151 /* We use char because int might match the return type of a gcc2
43152 builtin and then its argument prototype would still apply. */
43153 char dld ();
43154 int
43155 main ()
43156 {
43157 dld ();
43158 ;
43159 return 0;
43160 }
43161 _ACEOF
43162 rm -f conftest.$ac_objext conftest$ac_exeext
43163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43164 (eval $ac_link) 2>conftest.er1
43165 ac_status=$?
43166 grep -v '^ *+' conftest.er1 >conftest.err
43167 rm -f conftest.er1
43168 cat conftest.err >&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); } &&
43171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43173 (eval $ac_try) 2>&5
43174 ac_status=$?
43175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176 (exit $ac_status); }; } &&
43177 { ac_try='test -s conftest$ac_exeext'
43178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43179 (eval $ac_try) 2>&5
43180 ac_status=$?
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); }; }; then
43183 ac_cv_lib_shl_load_dld=yes
43184 else
43185 echo "$as_me: failed program was:" >&5
43186 sed 's/^/| /' conftest.$ac_ext >&5
43187
43188 ac_cv_lib_shl_load_dld=no
43189 fi
43190 rm -f conftest.err conftest.$ac_objext \
43191 conftest$ac_exeext conftest.$ac_ext
43192 LIBS=$ac_check_lib_save_LIBS
43193 fi
43194 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43195 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
43196 if test $ac_cv_lib_shl_load_dld = yes; then
43197
43198 HAVE_SHL_FUNCS=1
43199 DL_LINK=" -ldld$DL_LINK"
43200
43201 fi
43202
43203
43204 fi
43205 done
43206
43207
43208 fi
43209
43210
43211 fi
43212 done
43213
43214
43215 if test "$HAVE_DL_FUNCS" = 1; then
43216
43217 for ac_func in dlerror
43218 do
43219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43220 echo "$as_me:$LINENO: checking for $ac_func" >&5
43221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43222 if eval "test \"\${$as_ac_var+set}\" = set"; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43224 else
43225 cat >conftest.$ac_ext <<_ACEOF
43226 /* confdefs.h. */
43227 _ACEOF
43228 cat confdefs.h >>conftest.$ac_ext
43229 cat >>conftest.$ac_ext <<_ACEOF
43230 /* end confdefs.h. */
43231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43233 #define $ac_func innocuous_$ac_func
43234
43235 /* System header to define __stub macros and hopefully few prototypes,
43236 which can conflict with char $ac_func (); below.
43237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43238 <limits.h> exists even on freestanding compilers. */
43239
43240 #ifdef __STDC__
43241 # include <limits.h>
43242 #else
43243 # include <assert.h>
43244 #endif
43245
43246 #undef $ac_func
43247
43248 /* Override any gcc2 internal prototype to avoid an error. */
43249 #ifdef __cplusplus
43250 extern "C"
43251 {
43252 #endif
43253 /* We use char because int might match the return type of a gcc2
43254 builtin and then its argument prototype would still apply. */
43255 char $ac_func ();
43256 /* The GNU C library defines this for functions which it implements
43257 to always fail with ENOSYS. Some functions are actually named
43258 something starting with __ and the normal name is an alias. */
43259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43260 choke me
43261 #else
43262 char (*f) () = $ac_func;
43263 #endif
43264 #ifdef __cplusplus
43265 }
43266 #endif
43267
43268 int
43269 main ()
43270 {
43271 return f != $ac_func;
43272 ;
43273 return 0;
43274 }
43275 _ACEOF
43276 rm -f conftest.$ac_objext conftest$ac_exeext
43277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43278 (eval $ac_link) 2>conftest.er1
43279 ac_status=$?
43280 grep -v '^ *+' conftest.er1 >conftest.err
43281 rm -f conftest.er1
43282 cat conftest.err >&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } &&
43285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43287 (eval $ac_try) 2>&5
43288 ac_status=$?
43289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43290 (exit $ac_status); }; } &&
43291 { ac_try='test -s conftest$ac_exeext'
43292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43293 (eval $ac_try) 2>&5
43294 ac_status=$?
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); }; }; then
43297 eval "$as_ac_var=yes"
43298 else
43299 echo "$as_me: failed program was:" >&5
43300 sed 's/^/| /' conftest.$ac_ext >&5
43301
43302 eval "$as_ac_var=no"
43303 fi
43304 rm -f conftest.err conftest.$ac_objext \
43305 conftest$ac_exeext conftest.$ac_ext
43306 fi
43307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43309 if test `eval echo '${'$as_ac_var'}'` = yes; then
43310 cat >>confdefs.h <<_ACEOF
43311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43312 _ACEOF
43313 cat >>confdefs.h <<\_ACEOF
43314 #define HAVE_DLERROR 1
43315 _ACEOF
43316
43317 else
43318
43319 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43320 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
43321 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43323 else
43324 ac_check_lib_save_LIBS=$LIBS
43325 LIBS="-ldl $LIBS"
43326 cat >conftest.$ac_ext <<_ACEOF
43327 /* confdefs.h. */
43328 _ACEOF
43329 cat confdefs.h >>conftest.$ac_ext
43330 cat >>conftest.$ac_ext <<_ACEOF
43331 /* end confdefs.h. */
43332
43333 /* Override any gcc2 internal prototype to avoid an error. */
43334 #ifdef __cplusplus
43335 extern "C"
43336 #endif
43337 /* We use char because int might match the return type of a gcc2
43338 builtin and then its argument prototype would still apply. */
43339 char dlerror ();
43340 int
43341 main ()
43342 {
43343 dlerror ();
43344 ;
43345 return 0;
43346 }
43347 _ACEOF
43348 rm -f conftest.$ac_objext conftest$ac_exeext
43349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43350 (eval $ac_link) 2>conftest.er1
43351 ac_status=$?
43352 grep -v '^ *+' conftest.er1 >conftest.err
43353 rm -f conftest.er1
43354 cat conftest.err >&5
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); } &&
43357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43359 (eval $ac_try) 2>&5
43360 ac_status=$?
43361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362 (exit $ac_status); }; } &&
43363 { ac_try='test -s conftest$ac_exeext'
43364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43365 (eval $ac_try) 2>&5
43366 ac_status=$?
43367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368 (exit $ac_status); }; }; then
43369 ac_cv_lib_dl_dlerror=yes
43370 else
43371 echo "$as_me: failed program was:" >&5
43372 sed 's/^/| /' conftest.$ac_ext >&5
43373
43374 ac_cv_lib_dl_dlerror=no
43375 fi
43376 rm -f conftest.err conftest.$ac_objext \
43377 conftest$ac_exeext conftest.$ac_ext
43378 LIBS=$ac_check_lib_save_LIBS
43379 fi
43380 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43381 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
43382 if test $ac_cv_lib_dl_dlerror = yes; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_DLERROR 1
43385 _ACEOF
43386
43387 fi
43388
43389
43390
43391 fi
43392 done
43393
43394 fi
43395 fi
43396
43397 if test "$HAVE_DL_FUNCS" = 0; then
43398 if test "$HAVE_SHL_FUNCS" = 0; then
43399 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43400 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43401 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43402 wxUSE_DYNAMIC_LOADER=no
43403 wxUSE_DYNLIB_CLASS=no
43404 else
43405 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43406 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43407 fi
43408 fi
43409 fi
43410 fi
43411 fi
43412
43413 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43414 cat >>confdefs.h <<\_ACEOF
43415 #define wxUSE_DYNAMIC_LOADER 1
43416 _ACEOF
43417
43418 fi
43419 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43420 cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_DYNLIB_CLASS 1
43422 _ACEOF
43423
43424 fi
43425
43426
43427
43428 if test "$wxUSE_PLUGINS" = "yes" ; then
43429 if test "$wxUSE_SHARED" = "no" ; then
43430 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43431 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43432 wxUSE_PLUGINS=no
43433 fi
43434 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43435 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43436 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43437 wxUSE_PLUGINS=no
43438 fi
43439 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43440 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43441 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43442 wxUSE_PLUGINS=no
43443 fi
43444 if test "$wxUSE_PLUGINS" = "yes" ; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_PLUGINS 1
43447 _ACEOF
43448
43449 fi
43450 fi
43451
43452
43453 if test "$wxUSE_STL" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxUSE_STL 1
43456 _ACEOF
43457
43458 fi
43459
43460 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43461 cat >>confdefs.h <<\_ACEOF
43462 #define wxUSE_APPLE_IEEE 1
43463 _ACEOF
43464
43465 fi
43466
43467 if test "$wxUSE_TIMER" = "yes"; then
43468 cat >>confdefs.h <<\_ACEOF
43469 #define wxUSE_TIMER 1
43470 _ACEOF
43471
43472 fi
43473
43474 if test "$USE_UNIX" = "1" ; then
43475 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43476 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
43477 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43478 echo $ECHO_N "(cached) $ECHO_C" >&6
43479 else
43480
43481 cat >conftest.$ac_ext <<_ACEOF
43482 /* confdefs.h. */
43483 _ACEOF
43484 cat confdefs.h >>conftest.$ac_ext
43485 cat >>conftest.$ac_ext <<_ACEOF
43486 /* end confdefs.h. */
43487
43488 #include <sys/ioctl.h>
43489 #include <sys/soundcard.h>
43490
43491 int
43492 main ()
43493 {
43494
43495 ioctl(0, SNDCTL_DSP_SPEED, 0);
43496
43497 ;
43498 return 0;
43499 }
43500 _ACEOF
43501 rm -f conftest.$ac_objext conftest$ac_exeext
43502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43503 (eval $ac_link) 2>conftest.er1
43504 ac_status=$?
43505 grep -v '^ *+' conftest.er1 >conftest.err
43506 rm -f conftest.er1
43507 cat conftest.err >&5
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); } &&
43510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43512 (eval $ac_try) 2>&5
43513 ac_status=$?
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); }; } &&
43516 { ac_try='test -s conftest$ac_exeext'
43517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43518 (eval $ac_try) 2>&5
43519 ac_status=$?
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; }; then
43522 ac_cv_header_sys_soundcard=yes
43523 else
43524 echo "$as_me: failed program was:" >&5
43525 sed 's/^/| /' conftest.$ac_ext >&5
43526
43527
43528 saveLibs="$LIBS"
43529 LIBS="$saveLibs -lossaudio"
43530 cat >conftest.$ac_ext <<_ACEOF
43531 /* confdefs.h. */
43532 _ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536
43537 #include <sys/ioctl.h>
43538 #include <sys/soundcard.h>
43539
43540 int
43541 main ()
43542 {
43543
43544 ioctl(0, SNDCTL_DSP_SPEED, 0);
43545
43546 ;
43547 return 0;
43548 }
43549 _ACEOF
43550 rm -f conftest.$ac_objext conftest$ac_exeext
43551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43552 (eval $ac_link) 2>conftest.er1
43553 ac_status=$?
43554 grep -v '^ *+' conftest.er1 >conftest.err
43555 rm -f conftest.er1
43556 cat conftest.err >&5
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); } &&
43559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43561 (eval $ac_try) 2>&5
43562 ac_status=$?
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; } &&
43565 { ac_try='test -s conftest$ac_exeext'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; }; then
43571 ac_cv_header_sys_soundcard=yes
43572 else
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.$ac_ext >&5
43575
43576
43577 LIBS="$saveLibs"
43578 ac_cv_header_sys_soundcard=no
43579
43580
43581 fi
43582 rm -f conftest.err conftest.$ac_objext \
43583 conftest$ac_exeext conftest.$ac_ext
43584
43585
43586 fi
43587 rm -f conftest.err conftest.$ac_objext \
43588 conftest$ac_exeext conftest.$ac_ext
43589
43590 fi
43591 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43592 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43593
43594 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43595 cat >>confdefs.h <<\_ACEOF
43596 #define HAVE_SYS_SOUNDCARD_H 1
43597 _ACEOF
43598
43599 else
43600 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43601 fi
43602 fi
43603 WITH_PLUGIN_SDL=0
43604 if test "$wxUSE_SOUND" = "yes"; then
43605 if test "$USE_UNIX" = "1" ; then
43606 if test "$wxUSE_LIBSDL" != "no"; then
43607
43608 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43609 if test "${with_sdl_prefix+set}" = set; then
43610 withval="$with_sdl_prefix"
43611 sdl_prefix="$withval"
43612 else
43613 sdl_prefix=""
43614 fi;
43615
43616 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43617 if test "${with_sdl_exec_prefix+set}" = set; then
43618 withval="$with_sdl_exec_prefix"
43619 sdl_exec_prefix="$withval"
43620 else
43621 sdl_exec_prefix=""
43622 fi;
43623 # Check whether --enable-sdltest or --disable-sdltest was given.
43624 if test "${enable_sdltest+set}" = set; then
43625 enableval="$enable_sdltest"
43626
43627 else
43628 enable_sdltest=yes
43629 fi;
43630
43631 if test x$sdl_exec_prefix != x ; then
43632 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43633 if test x${SDL_CONFIG+set} != xset ; then
43634 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43635 fi
43636 fi
43637 if test x$sdl_prefix != x ; then
43638 sdl_args="$sdl_args --prefix=$sdl_prefix"
43639 if test x${SDL_CONFIG+set} != xset ; then
43640 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43641 fi
43642 fi
43643
43644 if test "x$prefix" != xNONE; then
43645 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43646 fi
43647 # Extract the first word of "sdl-config", so it can be a program name with args.
43648 set dummy sdl-config; ac_word=$2
43649 echo "$as_me:$LINENO: checking for $ac_word" >&5
43650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43651 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43652 echo $ECHO_N "(cached) $ECHO_C" >&6
43653 else
43654 case $SDL_CONFIG in
43655 [\\/]* | ?:[\\/]*)
43656 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43657 ;;
43658 *)
43659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43660 for as_dir in $PATH
43661 do
43662 IFS=$as_save_IFS
43663 test -z "$as_dir" && as_dir=.
43664 for ac_exec_ext in '' $ac_executable_extensions; do
43665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43666 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43668 break 2
43669 fi
43670 done
43671 done
43672
43673 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43674 ;;
43675 esac
43676 fi
43677 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43678
43679 if test -n "$SDL_CONFIG"; then
43680 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43681 echo "${ECHO_T}$SDL_CONFIG" >&6
43682 else
43683 echo "$as_me:$LINENO: result: no" >&5
43684 echo "${ECHO_T}no" >&6
43685 fi
43686
43687 min_sdl_version=1.2.0
43688 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43689 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43690 no_sdl=""
43691 if test "$SDL_CONFIG" = "no" ; then
43692 no_sdl=yes
43693 else
43694 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43695 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43696
43697 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43699 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43701 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43703 if test "x$enable_sdltest" = "xyes" ; then
43704 ac_save_CFLAGS="$CFLAGS"
43705 ac_save_CXXFLAGS="$CXXFLAGS"
43706 ac_save_LIBS="$LIBS"
43707 CFLAGS="$CFLAGS $SDL_CFLAGS"
43708 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43709 LIBS="$LIBS $SDL_LIBS"
43710 rm -f conf.sdltest
43711 if test "$cross_compiling" = yes; then
43712 echo $ac_n "cross compiling; assumed OK... $ac_c"
43713 else
43714 cat >conftest.$ac_ext <<_ACEOF
43715 /* confdefs.h. */
43716 _ACEOF
43717 cat confdefs.h >>conftest.$ac_ext
43718 cat >>conftest.$ac_ext <<_ACEOF
43719 /* end confdefs.h. */
43720
43721 #include <stdio.h>
43722 #include <stdlib.h>
43723 #include <string.h>
43724 #include "SDL.h"
43725
43726 char*
43727 my_strdup (char *str)
43728 {
43729 char *new_str;
43730
43731 if (str)
43732 {
43733 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43734 strcpy (new_str, str);
43735 }
43736 else
43737 new_str = NULL;
43738
43739 return new_str;
43740 }
43741
43742 int main (int argc, char *argv[])
43743 {
43744 int major, minor, micro;
43745 char *tmp_version;
43746
43747 /* This hangs on some systems (?)
43748 system ("touch conf.sdltest");
43749 */
43750 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43751
43752 /* HP/UX 9 (%@#!) writes to sscanf strings */
43753 tmp_version = my_strdup("$min_sdl_version");
43754 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43755 printf("%s, bad version string\n", "$min_sdl_version");
43756 exit(1);
43757 }
43758
43759 if (($sdl_major_version > major) ||
43760 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43761 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43762 {
43763 return 0;
43764 }
43765 else
43766 {
43767 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43768 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43769 printf("*** best to upgrade to the required version.\n");
43770 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43771 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43772 printf("*** config.cache before re-running configure\n");
43773 return 1;
43774 }
43775 }
43776
43777
43778 _ACEOF
43779 rm -f conftest$ac_exeext
43780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43781 (eval $ac_link) 2>&5
43782 ac_status=$?
43783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43786 (eval $ac_try) 2>&5
43787 ac_status=$?
43788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43789 (exit $ac_status); }; }; then
43790 :
43791 else
43792 echo "$as_me: program exited with status $ac_status" >&5
43793 echo "$as_me: failed program was:" >&5
43794 sed 's/^/| /' conftest.$ac_ext >&5
43795
43796 ( exit $ac_status )
43797 no_sdl=yes
43798 fi
43799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43800 fi
43801 CFLAGS="$ac_save_CFLAGS"
43802 CXXFLAGS="$ac_save_CXXFLAGS"
43803 LIBS="$ac_save_LIBS"
43804 fi
43805 fi
43806 if test "x$no_sdl" = x ; then
43807 echo "$as_me:$LINENO: result: yes" >&5
43808 echo "${ECHO_T}yes" >&6
43809
43810 EXTRALIBS_SDL="$SDL_LIBS"
43811 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43812 cat >>confdefs.h <<\_ACEOF
43813 #define wxUSE_LIBSDL 1
43814 _ACEOF
43815
43816
43817 else
43818 echo "$as_me:$LINENO: result: no" >&5
43819 echo "${ECHO_T}no" >&6
43820 if test "$SDL_CONFIG" = "no" ; then
43821 echo "*** The sdl-config script installed by SDL could not be found"
43822 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43823 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43824 echo "*** full path to sdl-config."
43825 else
43826 if test -f conf.sdltest ; then
43827 :
43828 else
43829 echo "*** Could not run SDL test program, checking why..."
43830 CFLAGS="$CFLAGS $SDL_CFLAGS"
43831 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43832 LIBS="$LIBS $SDL_LIBS"
43833 cat >conftest.$ac_ext <<_ACEOF
43834 /* confdefs.h. */
43835 _ACEOF
43836 cat confdefs.h >>conftest.$ac_ext
43837 cat >>conftest.$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43839
43840 #include <stdio.h>
43841 #include "SDL.h"
43842
43843 int main(int argc, char *argv[])
43844 { return 0; }
43845 #undef main
43846 #define main K_and_R_C_main
43847
43848 int
43849 main ()
43850 {
43851 return 0;
43852 ;
43853 return 0;
43854 }
43855 _ACEOF
43856 rm -f conftest.$ac_objext conftest$ac_exeext
43857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43858 (eval $ac_link) 2>conftest.er1
43859 ac_status=$?
43860 grep -v '^ *+' conftest.er1 >conftest.err
43861 rm -f conftest.er1
43862 cat conftest.err >&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); } &&
43865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867 (eval $ac_try) 2>&5
43868 ac_status=$?
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; } &&
43871 { ac_try='test -s conftest$ac_exeext'
43872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43873 (eval $ac_try) 2>&5
43874 ac_status=$?
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); }; }; then
43877 echo "*** The test program compiled, but did not run. This usually means"
43878 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43879 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43880 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43881 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43882 echo "*** is required on your system"
43883 echo "***"
43884 echo "*** If you have an old version installed, it is best to remove it, although"
43885 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43886 else
43887 echo "$as_me: failed program was:" >&5
43888 sed 's/^/| /' conftest.$ac_ext >&5
43889
43890 echo "*** The test program failed to compile or link. See the file config.log for the"
43891 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43892 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43893 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43894 fi
43895 rm -f conftest.err conftest.$ac_objext \
43896 conftest$ac_exeext conftest.$ac_ext
43897 CFLAGS="$ac_save_CFLAGS"
43898 CXXFLAGS="$ac_save_CXXFLAGS"
43899 LIBS="$ac_save_LIBS"
43900 fi
43901 fi
43902 SDL_CFLAGS=""
43903 SDL_LIBS=""
43904 wxUSE_LIBSDL="no"
43905 fi
43906
43907
43908 rm -f conf.sdltest
43909
43910 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43911 WITH_PLUGIN_SDL=1
43912 fi
43913 fi
43914 fi
43915
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_SOUND 1
43918 _ACEOF
43919
43920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43921 fi
43922
43923 if test "$WXGTK20" = 1; then
43924
43925
43926 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43927 if test -n "$ac_tool_prefix"; then
43928 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43929 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43930 echo "$as_me:$LINENO: checking for $ac_word" >&5
43931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43933 echo $ECHO_N "(cached) $ECHO_C" >&6
43934 else
43935 case $PKG_CONFIG in
43936 [\\/]* | ?:[\\/]*)
43937 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43938 ;;
43939 *)
43940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43941 for as_dir in $PATH
43942 do
43943 IFS=$as_save_IFS
43944 test -z "$as_dir" && as_dir=.
43945 for ac_exec_ext in '' $ac_executable_extensions; do
43946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43947 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43949 break 2
43950 fi
43951 done
43952 done
43953
43954 ;;
43955 esac
43956 fi
43957 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43958
43959 if test -n "$PKG_CONFIG"; then
43960 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43961 echo "${ECHO_T}$PKG_CONFIG" >&6
43962 else
43963 echo "$as_me:$LINENO: result: no" >&5
43964 echo "${ECHO_T}no" >&6
43965 fi
43966
43967 fi
43968 if test -z "$ac_cv_path_PKG_CONFIG"; then
43969 ac_pt_PKG_CONFIG=$PKG_CONFIG
43970 # Extract the first word of "pkg-config", so it can be a program name with args.
43971 set dummy pkg-config; ac_word=$2
43972 echo "$as_me:$LINENO: checking for $ac_word" >&5
43973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43974 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43975 echo $ECHO_N "(cached) $ECHO_C" >&6
43976 else
43977 case $ac_pt_PKG_CONFIG in
43978 [\\/]* | ?:[\\/]*)
43979 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43980 ;;
43981 *)
43982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43983 for as_dir in $PATH
43984 do
43985 IFS=$as_save_IFS
43986 test -z "$as_dir" && as_dir=.
43987 for ac_exec_ext in '' $ac_executable_extensions; do
43988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43989 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43991 break 2
43992 fi
43993 done
43994 done
43995
43996 ;;
43997 esac
43998 fi
43999 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44000
44001 if test -n "$ac_pt_PKG_CONFIG"; then
44002 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44003 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
44004 else
44005 echo "$as_me:$LINENO: result: no" >&5
44006 echo "${ECHO_T}no" >&6
44007 fi
44008
44009 PKG_CONFIG=$ac_pt_PKG_CONFIG
44010 else
44011 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44012 fi
44013
44014 fi
44015 if test -n "$PKG_CONFIG"; then
44016 _pkg_min_version=0.9.0
44017 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44018 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
44019 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44020 echo "$as_me:$LINENO: result: yes" >&5
44021 echo "${ECHO_T}yes" >&6
44022 else
44023 echo "$as_me:$LINENO: result: no" >&5
44024 echo "${ECHO_T}no" >&6
44025 PKG_CONFIG=""
44026 fi
44027
44028 fi
44029
44030 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44031 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44032
44033
44034 pkg_failed=no
44035 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44036 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
44037
44038 if test -n "$PKG_CONFIG"; then
44039 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44040 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44041 else
44042 if test -n "$PKG_CONFIG" && \
44043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44044 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44045 ac_status=$?
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; then
44048 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44049 else
44050 pkg_failed=yes
44051 fi
44052 fi
44053 else
44054 pkg_failed=untried
44055 fi
44056 if test -n "$PKG_CONFIG"; then
44057 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44058 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44059 else
44060 if test -n "$PKG_CONFIG" && \
44061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44062 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44063 ac_status=$?
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; then
44066 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44067 else
44068 pkg_failed=yes
44069 fi
44070 fi
44071 else
44072 pkg_failed=untried
44073 fi
44074
44075
44076
44077 if test $pkg_failed = yes; then
44078
44079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44080 _pkg_short_errors_supported=yes
44081 else
44082 _pkg_short_errors_supported=no
44083 fi
44084 if test $_pkg_short_errors_supported = yes; then
44085 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44086 else
44087 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44088 fi
44089 # Put the nasty error message in config.log where it belongs
44090 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44091
44092
44093 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44094 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44095 wxUSE_LIBGNOMEPRINT="no"
44096
44097
44098 elif test $pkg_failed = untried; then
44099
44100 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44101 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44102 wxUSE_LIBGNOMEPRINT="no"
44103
44104
44105 else
44106 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44107 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44108 echo "$as_me:$LINENO: result: yes" >&5
44109 echo "${ECHO_T}yes" >&6
44110
44111 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44112 cat >>confdefs.h <<\_ACEOF
44113 #define wxUSE_LIBGNOMEPRINT 1
44114 _ACEOF
44115
44116
44117 fi
44118 fi
44119 fi
44120
44121 if test "$wxUSE_MIMETYPE" = "yes" ; then
44122 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44123
44124
44125 pkg_failed=no
44126 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44127 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
44128
44129 if test -n "$PKG_CONFIG"; then
44130 if test -n "$GNOMEVFS_CFLAGS"; then
44131 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44132 else
44133 if test -n "$PKG_CONFIG" && \
44134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44135 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44136 ac_status=$?
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); }; then
44139 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44140 else
44141 pkg_failed=yes
44142 fi
44143 fi
44144 else
44145 pkg_failed=untried
44146 fi
44147 if test -n "$PKG_CONFIG"; then
44148 if test -n "$GNOMEVFS_LIBS"; then
44149 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44150 else
44151 if test -n "$PKG_CONFIG" && \
44152 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44153 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44154 ac_status=$?
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); }; then
44157 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44158 else
44159 pkg_failed=yes
44160 fi
44161 fi
44162 else
44163 pkg_failed=untried
44164 fi
44165
44166
44167
44168 if test $pkg_failed = yes; then
44169
44170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44171 _pkg_short_errors_supported=yes
44172 else
44173 _pkg_short_errors_supported=no
44174 fi
44175 if test $_pkg_short_errors_supported = yes; then
44176 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44177 else
44178 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44179 fi
44180 # Put the nasty error message in config.log where it belongs
44181 echo "$GNOMEVFS_PKG_ERRORS" >&5
44182
44183
44184 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44185 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44186 wxUSE_LIBGNOMEVFS="no"
44187
44188
44189 elif test $pkg_failed = untried; then
44190
44191 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44192 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44193 wxUSE_LIBGNOMEVFS="no"
44194
44195
44196 else
44197 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44198 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44199 echo "$as_me:$LINENO: result: yes" >&5
44200 echo "${ECHO_T}yes" >&6
44201
44202 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_LIBGNOMEVFS 1
44205 _ACEOF
44206
44207
44208 fi
44209 fi
44210 fi
44211
44212 if test "$wxUSE_LIBHILDON" = "yes" ; then
44213
44214 pkg_failed=no
44215 echo "$as_me:$LINENO: checking for HILDON" >&5
44216 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
44217
44218 if test -n "$PKG_CONFIG"; then
44219 if test -n "$HILDON_CFLAGS"; then
44220 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44221 else
44222 if test -n "$PKG_CONFIG" && \
44223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44224 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44225 ac_status=$?
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; then
44228 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44229 else
44230 pkg_failed=yes
44231 fi
44232 fi
44233 else
44234 pkg_failed=untried
44235 fi
44236 if test -n "$PKG_CONFIG"; then
44237 if test -n "$HILDON_LIBS"; then
44238 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44239 else
44240 if test -n "$PKG_CONFIG" && \
44241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44242 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44243 ac_status=$?
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; then
44246 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44247 else
44248 pkg_failed=yes
44249 fi
44250 fi
44251 else
44252 pkg_failed=untried
44253 fi
44254
44255
44256
44257 if test $pkg_failed = yes; then
44258
44259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44260 _pkg_short_errors_supported=yes
44261 else
44262 _pkg_short_errors_supported=no
44263 fi
44264 if test $_pkg_short_errors_supported = yes; then
44265 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44266 else
44267 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44268 fi
44269 # Put the nasty error message in config.log where it belongs
44270 echo "$HILDON_PKG_ERRORS" >&5
44271
44272
44273 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44274 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44275 wxUSE_LIBHILDON="no"
44276
44277
44278 elif test $pkg_failed = untried; then
44279
44280 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44281 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44282 wxUSE_LIBHILDON="no"
44283
44284
44285 else
44286 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44287 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44288 echo "$as_me:$LINENO: result: yes" >&5
44289 echo "${ECHO_T}yes" >&6
44290
44291 EXTRALIBS_HILDON="$HILDON_LIBS"
44292 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_LIBHILDON 1
44295 _ACEOF
44296
44297
44298 fi
44299 fi
44300 fi
44301
44302 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44303 cat >>confdefs.h <<\_ACEOF
44304 #define wxUSE_CMDLINE_PARSER 1
44305 _ACEOF
44306
44307 fi
44308
44309 if test "$wxUSE_STOPWATCH" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_STOPWATCH 1
44312 _ACEOF
44313
44314 fi
44315
44316 if test "$wxUSE_DATETIME" = "yes"; then
44317 cat >>confdefs.h <<\_ACEOF
44318 #define wxUSE_DATETIME 1
44319 _ACEOF
44320
44321 fi
44322
44323 if test "$wxUSE_FILE" = "yes"; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_FILE 1
44326 _ACEOF
44327
44328 fi
44329
44330 if test "$wxUSE_FFILE" = "yes"; then
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_FFILE 1
44333 _ACEOF
44334
44335 fi
44336
44337 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44338 if test "$wxUSE_STREAMS" != yes; then
44339 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44340 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44341 wxUSE_ARCHIVE_STREAMS=no
44342 else
44343 cat >>confdefs.h <<\_ACEOF
44344 #define wxUSE_ARCHIVE_STREAMS 1
44345 _ACEOF
44346
44347 fi
44348 fi
44349
44350 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44351 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44352 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44353 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44354 elif test "$wxUSE_ZLIB" = "no"; then
44355 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44356 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44357 else
44358 cat >>confdefs.h <<\_ACEOF
44359 #define wxUSE_ZIPSTREAM 1
44360 _ACEOF
44361
44362 fi
44363 fi
44364
44365 if test "$wxUSE_TARSTREAM" = "yes"; then
44366 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44367 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44368 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44369 else
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_TARSTREAM 1
44372 _ACEOF
44373
44374 fi
44375 fi
44376
44377 if test "$wxUSE_FILESYSTEM" = "yes"; then
44378 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44379 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44380 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44381 wxUSE_FILESYSTEM=no
44382 else
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_FILESYSTEM 1
44385 _ACEOF
44386
44387 fi
44388 fi
44389
44390 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44391 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44392 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44393 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44394 else
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_FS_ARCHIVE 1
44397 _ACEOF
44398
44399 fi
44400 fi
44401
44402 if test "$wxUSE_FS_ZIP" = "yes"; then
44403 if test "$wxUSE_FS_ARCHIVE" != yes; then
44404 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44405 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44406 else
44407 cat >>confdefs.h <<\_ACEOF
44408 #define wxUSE_FS_ZIP 1
44409 _ACEOF
44410
44411 fi
44412 fi
44413
44414 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44415 if test "$USE_UNIX" != 1; then
44416 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44417 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44418 wxUSE_ON_FATAL_EXCEPTION=no
44419 else
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_ON_FATAL_EXCEPTION 1
44422 _ACEOF
44423
44424 fi
44425 fi
44426
44427 if test "$wxUSE_STACKWALKER" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_STACKWALKER 1
44430 _ACEOF
44431
44432 fi
44433
44434 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44435 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44436 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44437 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44438 wxUSE_DEBUGREPORT=no
44439 else
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_DEBUGREPORT 1
44442 _ACEOF
44443
44444 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44446 fi
44447 fi
44448 fi
44449
44450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44451 cat >>confdefs.h <<\_ACEOF
44452 #define wxUSE_SNGLINST_CHECKER 1
44453 _ACEOF
44454
44455 fi
44456
44457 if test "$wxUSE_BUSYINFO" = "yes"; then
44458 cat >>confdefs.h <<\_ACEOF
44459 #define wxUSE_BUSYINFO 1
44460 _ACEOF
44461
44462 fi
44463
44464 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_STD_IOSTREAM 1
44467 _ACEOF
44468
44469 fi
44470
44471 if test "$wxUSE_STD_STRING" = "yes"; then
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_STD_STRING 1
44474 _ACEOF
44475
44476 fi
44477
44478 if test "$wxUSE_STDPATHS" = "yes"; then
44479 cat >>confdefs.h <<\_ACEOF
44480 #define wxUSE_STDPATHS 1
44481 _ACEOF
44482
44483 fi
44484
44485 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44486 cat >>confdefs.h <<\_ACEOF
44487 #define wxUSE_TEXTBUFFER 1
44488 _ACEOF
44489
44490 fi
44491
44492 if test "$wxUSE_TEXTFILE" = "yes"; then
44493 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44494 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44495 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44496 else
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_TEXTFILE 1
44499 _ACEOF
44500
44501 fi
44502 fi
44503
44504 if test "$wxUSE_CONFIG" = "yes" ; then
44505 if test "$wxUSE_TEXTFILE" != "yes"; then
44506 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44507 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44508 else
44509 cat >>confdefs.h <<\_ACEOF
44510 #define wxUSE_CONFIG 1
44511 _ACEOF
44512
44513 cat >>confdefs.h <<\_ACEOF
44514 #define wxUSE_CONFIG_NATIVE 1
44515 _ACEOF
44516
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44518 fi
44519 fi
44520
44521 if test "$wxUSE_INTL" = "yes" ; then
44522 if test "$wxUSE_FILE" != "yes"; then
44523 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44524 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44525 else
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_INTL 1
44528 _ACEOF
44529
44530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44531 GUIDIST="$GUIDIST INTL_DIST"
44532 fi
44533 fi
44534
44535 if test "$wxUSE_LOG" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_LOG 1
44538 _ACEOF
44539
44540
44541 if test "$wxUSE_LOGGUI" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_LOGGUI 1
44544 _ACEOF
44545
44546 fi
44547
44548 if test "$wxUSE_LOGWINDOW" = "yes"; then
44549 cat >>confdefs.h <<\_ACEOF
44550 #define wxUSE_LOGWINDOW 1
44551 _ACEOF
44552
44553 fi
44554
44555 if test "$wxUSE_LOGDIALOG" = "yes"; then
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_LOG_DIALOG 1
44558 _ACEOF
44559
44560 fi
44561
44562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44563 fi
44564
44565 if test "$wxUSE_LONGLONG" = "yes"; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_LONGLONG 1
44568 _ACEOF
44569
44570 fi
44571
44572 if test "$wxUSE_GEOMETRY" = "yes"; then
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_GEOMETRY 1
44575 _ACEOF
44576
44577 fi
44578
44579 if test "$wxUSE_STREAMS" = "yes" ; then
44580 cat >>confdefs.h <<\_ACEOF
44581 #define wxUSE_STREAMS 1
44582 _ACEOF
44583
44584 fi
44585
44586 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_PRINTF_POS_PARAMS 1
44589 _ACEOF
44590
44591 fi
44592
44593
44594
44595 if test "$wxUSE_DATETIME" = "yes"; then
44596
44597 for ac_func in strptime
44598 do
44599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44600 echo "$as_me:$LINENO: checking for $ac_func" >&5
44601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44602 if eval "test \"\${$as_ac_var+set}\" = set"; then
44603 echo $ECHO_N "(cached) $ECHO_C" >&6
44604 else
44605 cat >conftest.$ac_ext <<_ACEOF
44606 /* confdefs.h. */
44607 _ACEOF
44608 cat confdefs.h >>conftest.$ac_ext
44609 cat >>conftest.$ac_ext <<_ACEOF
44610 /* end confdefs.h. */
44611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44613 #define $ac_func innocuous_$ac_func
44614
44615 /* System header to define __stub macros and hopefully few prototypes,
44616 which can conflict with char $ac_func (); below.
44617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44618 <limits.h> exists even on freestanding compilers. */
44619
44620 #ifdef __STDC__
44621 # include <limits.h>
44622 #else
44623 # include <assert.h>
44624 #endif
44625
44626 #undef $ac_func
44627
44628 /* Override any gcc2 internal prototype to avoid an error. */
44629 #ifdef __cplusplus
44630 extern "C"
44631 {
44632 #endif
44633 /* We use char because int might match the return type of a gcc2
44634 builtin and then its argument prototype would still apply. */
44635 char $ac_func ();
44636 /* The GNU C library defines this for functions which it implements
44637 to always fail with ENOSYS. Some functions are actually named
44638 something starting with __ and the normal name is an alias. */
44639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44640 choke me
44641 #else
44642 char (*f) () = $ac_func;
44643 #endif
44644 #ifdef __cplusplus
44645 }
44646 #endif
44647
44648 int
44649 main ()
44650 {
44651 return f != $ac_func;
44652 ;
44653 return 0;
44654 }
44655 _ACEOF
44656 rm -f conftest.$ac_objext conftest$ac_exeext
44657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44658 (eval $ac_link) 2>conftest.er1
44659 ac_status=$?
44660 grep -v '^ *+' conftest.er1 >conftest.err
44661 rm -f conftest.er1
44662 cat conftest.err >&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } &&
44665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44667 (eval $ac_try) 2>&5
44668 ac_status=$?
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; } &&
44671 { ac_try='test -s conftest$ac_exeext'
44672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44673 (eval $ac_try) 2>&5
44674 ac_status=$?
44675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44676 (exit $ac_status); }; }; then
44677 eval "$as_ac_var=yes"
44678 else
44679 echo "$as_me: failed program was:" >&5
44680 sed 's/^/| /' conftest.$ac_ext >&5
44681
44682 eval "$as_ac_var=no"
44683 fi
44684 rm -f conftest.err conftest.$ac_objext \
44685 conftest$ac_exeext conftest.$ac_ext
44686 fi
44687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44689 if test `eval echo '${'$as_ac_var'}'` = yes; then
44690 cat >>confdefs.h <<_ACEOF
44691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44692 _ACEOF
44693
44694 fi
44695 done
44696
44697 if test "$ac_cv_func_strptime" = "yes"; then
44698 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44699 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44700 if test "${wx_cv_func_strptime_decl+set}" = set; then
44701 echo $ECHO_N "(cached) $ECHO_C" >&6
44702 else
44703
44704 cat >conftest.$ac_ext <<_ACEOF
44705 /* confdefs.h. */
44706 _ACEOF
44707 cat confdefs.h >>conftest.$ac_ext
44708 cat >>conftest.$ac_ext <<_ACEOF
44709 /* end confdefs.h. */
44710
44711 #include <time.h>
44712
44713 int
44714 main ()
44715 {
44716
44717 struct tm t;
44718 strptime("foo", "bar", &t);
44719
44720 ;
44721 return 0;
44722 }
44723 _ACEOF
44724 rm -f conftest.$ac_objext
44725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44726 (eval $ac_compile) 2>conftest.er1
44727 ac_status=$?
44728 grep -v '^ *+' conftest.er1 >conftest.err
44729 rm -f conftest.er1
44730 cat conftest.err >&5
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); } &&
44733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44735 (eval $ac_try) 2>&5
44736 ac_status=$?
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); }; } &&
44739 { ac_try='test -s conftest.$ac_objext'
44740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44741 (eval $ac_try) 2>&5
44742 ac_status=$?
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); }; }; then
44745 wx_cv_func_strptime_decl=yes
44746 else
44747 echo "$as_me: failed program was:" >&5
44748 sed 's/^/| /' conftest.$ac_ext >&5
44749
44750 wx_cv_func_strptime_decl=no
44751
44752 fi
44753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44754
44755
44756 fi
44757 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44758 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44759 fi
44760 if test "$wx_cv_func_strptime_decl" = "yes"; then
44761 cat >>confdefs.h <<\_ACEOF
44762 #define HAVE_STRPTIME_DECL 1
44763 _ACEOF
44764
44765 fi
44766
44767 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44768 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44769 if test "${wx_cv_var_timezone+set}" = set; then
44770 echo $ECHO_N "(cached) $ECHO_C" >&6
44771 else
44772
44773 cat >conftest.$ac_ext <<_ACEOF
44774 /* confdefs.h. */
44775 _ACEOF
44776 cat confdefs.h >>conftest.$ac_ext
44777 cat >>conftest.$ac_ext <<_ACEOF
44778 /* end confdefs.h. */
44779
44780 #include <time.h>
44781
44782 int
44783 main ()
44784 {
44785
44786 int tz;
44787 tz = timezone;
44788
44789 ;
44790 return 0;
44791 }
44792 _ACEOF
44793 rm -f conftest.$ac_objext
44794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44795 (eval $ac_compile) 2>conftest.er1
44796 ac_status=$?
44797 grep -v '^ *+' conftest.er1 >conftest.err
44798 rm -f conftest.er1
44799 cat conftest.err >&5
44800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44801 (exit $ac_status); } &&
44802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44804 (eval $ac_try) 2>&5
44805 ac_status=$?
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); }; } &&
44808 { ac_try='test -s conftest.$ac_objext'
44809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44810 (eval $ac_try) 2>&5
44811 ac_status=$?
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); }; }; then
44814
44815 wx_cv_var_timezone=timezone
44816
44817 else
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.$ac_ext >&5
44820
44821
44822 cat >conftest.$ac_ext <<_ACEOF
44823 /* confdefs.h. */
44824 _ACEOF
44825 cat confdefs.h >>conftest.$ac_ext
44826 cat >>conftest.$ac_ext <<_ACEOF
44827 /* end confdefs.h. */
44828
44829 #include <time.h>
44830
44831 int
44832 main ()
44833 {
44834
44835 int tz;
44836 tz = _timezone;
44837
44838 ;
44839 return 0;
44840 }
44841 _ACEOF
44842 rm -f conftest.$ac_objext
44843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44844 (eval $ac_compile) 2>conftest.er1
44845 ac_status=$?
44846 grep -v '^ *+' conftest.er1 >conftest.err
44847 rm -f conftest.er1
44848 cat conftest.err >&5
44849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44850 (exit $ac_status); } &&
44851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44853 (eval $ac_try) 2>&5
44854 ac_status=$?
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); }; } &&
44857 { ac_try='test -s conftest.$ac_objext'
44858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44859 (eval $ac_try) 2>&5
44860 ac_status=$?
44861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44862 (exit $ac_status); }; }; then
44863
44864 wx_cv_var_timezone=_timezone
44865
44866 else
44867 echo "$as_me: failed program was:" >&5
44868 sed 's/^/| /' conftest.$ac_ext >&5
44869
44870
44871 cat >conftest.$ac_ext <<_ACEOF
44872 /* confdefs.h. */
44873 _ACEOF
44874 cat confdefs.h >>conftest.$ac_ext
44875 cat >>conftest.$ac_ext <<_ACEOF
44876 /* end confdefs.h. */
44877
44878 #include <time.h>
44879
44880 int
44881 main ()
44882 {
44883
44884 int tz;
44885 tz = __timezone;
44886
44887 ;
44888 return 0;
44889 }
44890 _ACEOF
44891 rm -f conftest.$ac_objext
44892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44893 (eval $ac_compile) 2>conftest.er1
44894 ac_status=$?
44895 grep -v '^ *+' conftest.er1 >conftest.err
44896 rm -f conftest.er1
44897 cat conftest.err >&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } &&
44900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44902 (eval $ac_try) 2>&5
44903 ac_status=$?
44904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44905 (exit $ac_status); }; } &&
44906 { ac_try='test -s conftest.$ac_objext'
44907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44908 (eval $ac_try) 2>&5
44909 ac_status=$?
44910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44911 (exit $ac_status); }; }; then
44912
44913 wx_cv_var_timezone=__timezone
44914
44915 else
44916 echo "$as_me: failed program was:" >&5
44917 sed 's/^/| /' conftest.$ac_ext >&5
44918
44919
44920 if test "$USE_DOS" = 0 ; then
44921 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44922 echo "$as_me: WARNING: no timezone variable" >&2;}
44923 fi
44924
44925
44926 fi
44927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44928
44929
44930 fi
44931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44932
44933
44934 fi
44935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44936
44937
44938 fi
44939 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44940 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44941
44942 if test "x$wx_cv_var_timezone" != x ; then
44943 cat >>confdefs.h <<_ACEOF
44944 #define WX_TIMEZONE $wx_cv_var_timezone
44945 _ACEOF
44946
44947 fi
44948
44949
44950 for ac_func in localtime
44951 do
44952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44953 echo "$as_me:$LINENO: checking for $ac_func" >&5
44954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44955 if eval "test \"\${$as_ac_var+set}\" = set"; then
44956 echo $ECHO_N "(cached) $ECHO_C" >&6
44957 else
44958 cat >conftest.$ac_ext <<_ACEOF
44959 /* confdefs.h. */
44960 _ACEOF
44961 cat confdefs.h >>conftest.$ac_ext
44962 cat >>conftest.$ac_ext <<_ACEOF
44963 /* end confdefs.h. */
44964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44966 #define $ac_func innocuous_$ac_func
44967
44968 /* System header to define __stub macros and hopefully few prototypes,
44969 which can conflict with char $ac_func (); below.
44970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44971 <limits.h> exists even on freestanding compilers. */
44972
44973 #ifdef __STDC__
44974 # include <limits.h>
44975 #else
44976 # include <assert.h>
44977 #endif
44978
44979 #undef $ac_func
44980
44981 /* Override any gcc2 internal prototype to avoid an error. */
44982 #ifdef __cplusplus
44983 extern "C"
44984 {
44985 #endif
44986 /* We use char because int might match the return type of a gcc2
44987 builtin and then its argument prototype would still apply. */
44988 char $ac_func ();
44989 /* The GNU C library defines this for functions which it implements
44990 to always fail with ENOSYS. Some functions are actually named
44991 something starting with __ and the normal name is an alias. */
44992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44993 choke me
44994 #else
44995 char (*f) () = $ac_func;
44996 #endif
44997 #ifdef __cplusplus
44998 }
44999 #endif
45000
45001 int
45002 main ()
45003 {
45004 return f != $ac_func;
45005 ;
45006 return 0;
45007 }
45008 _ACEOF
45009 rm -f conftest.$ac_objext conftest$ac_exeext
45010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45011 (eval $ac_link) 2>conftest.er1
45012 ac_status=$?
45013 grep -v '^ *+' conftest.er1 >conftest.err
45014 rm -f conftest.er1
45015 cat conftest.err >&5
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); } &&
45018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45020 (eval $ac_try) 2>&5
45021 ac_status=$?
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); }; } &&
45024 { ac_try='test -s conftest$ac_exeext'
45025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45026 (eval $ac_try) 2>&5
45027 ac_status=$?
45028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029 (exit $ac_status); }; }; then
45030 eval "$as_ac_var=yes"
45031 else
45032 echo "$as_me: failed program was:" >&5
45033 sed 's/^/| /' conftest.$ac_ext >&5
45034
45035 eval "$as_ac_var=no"
45036 fi
45037 rm -f conftest.err conftest.$ac_objext \
45038 conftest$ac_exeext conftest.$ac_ext
45039 fi
45040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45042 if test `eval echo '${'$as_ac_var'}'` = yes; then
45043 cat >>confdefs.h <<_ACEOF
45044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45045 _ACEOF
45046
45047 fi
45048 done
45049
45050
45051 if test "$ac_cv_func_localtime" = "yes"; then
45052 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45053 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
45054 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45055 echo $ECHO_N "(cached) $ECHO_C" >&6
45056 else
45057
45058 cat >conftest.$ac_ext <<_ACEOF
45059 /* confdefs.h. */
45060 _ACEOF
45061 cat confdefs.h >>conftest.$ac_ext
45062 cat >>conftest.$ac_ext <<_ACEOF
45063 /* end confdefs.h. */
45064
45065 #include <time.h>
45066
45067 int
45068 main ()
45069 {
45070
45071 struct tm tm;
45072 tm.tm_gmtoff++;
45073
45074 ;
45075 return 0;
45076 }
45077 _ACEOF
45078 rm -f conftest.$ac_objext
45079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45080 (eval $ac_compile) 2>conftest.er1
45081 ac_status=$?
45082 grep -v '^ *+' conftest.er1 >conftest.err
45083 rm -f conftest.er1
45084 cat conftest.err >&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } &&
45087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45089 (eval $ac_try) 2>&5
45090 ac_status=$?
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; } &&
45093 { ac_try='test -s conftest.$ac_objext'
45094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45095 (eval $ac_try) 2>&5
45096 ac_status=$?
45097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45098 (exit $ac_status); }; }; then
45099
45100 wx_cv_struct_tm_has_gmtoff=yes
45101
45102 else
45103 echo "$as_me: failed program was:" >&5
45104 sed 's/^/| /' conftest.$ac_ext >&5
45105
45106 wx_cv_struct_tm_has_gmtoff=no
45107
45108 fi
45109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45110
45111 fi
45112 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45113 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
45114 fi
45115
45116 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define WX_GMTOFF_IN_TM 1
45119 _ACEOF
45120
45121 fi
45122
45123
45124
45125 for ac_func in gettimeofday ftime
45126 do
45127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45128 echo "$as_me:$LINENO: checking for $ac_func" >&5
45129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45130 if eval "test \"\${$as_ac_var+set}\" = set"; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45132 else
45133 cat >conftest.$ac_ext <<_ACEOF
45134 /* confdefs.h. */
45135 _ACEOF
45136 cat confdefs.h >>conftest.$ac_ext
45137 cat >>conftest.$ac_ext <<_ACEOF
45138 /* end confdefs.h. */
45139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45141 #define $ac_func innocuous_$ac_func
45142
45143 /* System header to define __stub macros and hopefully few prototypes,
45144 which can conflict with char $ac_func (); below.
45145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45146 <limits.h> exists even on freestanding compilers. */
45147
45148 #ifdef __STDC__
45149 # include <limits.h>
45150 #else
45151 # include <assert.h>
45152 #endif
45153
45154 #undef $ac_func
45155
45156 /* Override any gcc2 internal prototype to avoid an error. */
45157 #ifdef __cplusplus
45158 extern "C"
45159 {
45160 #endif
45161 /* We use char because int might match the return type of a gcc2
45162 builtin and then its argument prototype would still apply. */
45163 char $ac_func ();
45164 /* The GNU C library defines this for functions which it implements
45165 to always fail with ENOSYS. Some functions are actually named
45166 something starting with __ and the normal name is an alias. */
45167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45168 choke me
45169 #else
45170 char (*f) () = $ac_func;
45171 #endif
45172 #ifdef __cplusplus
45173 }
45174 #endif
45175
45176 int
45177 main ()
45178 {
45179 return f != $ac_func;
45180 ;
45181 return 0;
45182 }
45183 _ACEOF
45184 rm -f conftest.$ac_objext conftest$ac_exeext
45185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45186 (eval $ac_link) 2>conftest.er1
45187 ac_status=$?
45188 grep -v '^ *+' conftest.er1 >conftest.err
45189 rm -f conftest.er1
45190 cat conftest.err >&5
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); } &&
45193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45195 (eval $ac_try) 2>&5
45196 ac_status=$?
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); }; } &&
45199 { ac_try='test -s conftest$ac_exeext'
45200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201 (eval $ac_try) 2>&5
45202 ac_status=$?
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; }; then
45205 eval "$as_ac_var=yes"
45206 else
45207 echo "$as_me: failed program was:" >&5
45208 sed 's/^/| /' conftest.$ac_ext >&5
45209
45210 eval "$as_ac_var=no"
45211 fi
45212 rm -f conftest.err conftest.$ac_objext \
45213 conftest$ac_exeext conftest.$ac_ext
45214 fi
45215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45217 if test `eval echo '${'$as_ac_var'}'` = yes; then
45218 cat >>confdefs.h <<_ACEOF
45219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45220 _ACEOF
45221 break
45222 fi
45223 done
45224
45225
45226 if test "$ac_cv_func_gettimeofday" = "yes"; then
45227 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45228 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
45229 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45230 echo $ECHO_N "(cached) $ECHO_C" >&6
45231 else
45232
45233 cat >conftest.$ac_ext <<_ACEOF
45234 /* confdefs.h. */
45235 _ACEOF
45236 cat confdefs.h >>conftest.$ac_ext
45237 cat >>conftest.$ac_ext <<_ACEOF
45238 /* end confdefs.h. */
45239
45240 #include <sys/time.h>
45241 #include <unistd.h>
45242
45243 int
45244 main ()
45245 {
45246
45247 struct timeval tv;
45248 gettimeofday(&tv, NULL);
45249
45250 ;
45251 return 0;
45252 }
45253 _ACEOF
45254 rm -f conftest.$ac_objext
45255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45256 (eval $ac_compile) 2>conftest.er1
45257 ac_status=$?
45258 grep -v '^ *+' conftest.er1 >conftest.err
45259 rm -f conftest.er1
45260 cat conftest.err >&5
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); } &&
45263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265 (eval $ac_try) 2>&5
45266 ac_status=$?
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; } &&
45269 { ac_try='test -s conftest.$ac_objext'
45270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45271 (eval $ac_try) 2>&5
45272 ac_status=$?
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); }; }; then
45275 wx_cv_func_gettimeofday_has_2_args=yes
45276 else
45277 echo "$as_me: failed program was:" >&5
45278 sed 's/^/| /' conftest.$ac_ext >&5
45279
45280 cat >conftest.$ac_ext <<_ACEOF
45281 /* confdefs.h. */
45282 _ACEOF
45283 cat confdefs.h >>conftest.$ac_ext
45284 cat >>conftest.$ac_ext <<_ACEOF
45285 /* end confdefs.h. */
45286
45287 #include <sys/time.h>
45288 #include <unistd.h>
45289
45290 int
45291 main ()
45292 {
45293
45294 struct timeval tv;
45295 gettimeofday(&tv);
45296
45297 ;
45298 return 0;
45299 }
45300 _ACEOF
45301 rm -f conftest.$ac_objext
45302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45303 (eval $ac_compile) 2>conftest.er1
45304 ac_status=$?
45305 grep -v '^ *+' conftest.er1 >conftest.err
45306 rm -f conftest.er1
45307 cat conftest.err >&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } &&
45310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45312 (eval $ac_try) 2>&5
45313 ac_status=$?
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; } &&
45316 { ac_try='test -s conftest.$ac_objext'
45317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318 (eval $ac_try) 2>&5
45319 ac_status=$?
45320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321 (exit $ac_status); }; }; then
45322 wx_cv_func_gettimeofday_has_2_args=no
45323 else
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.$ac_ext >&5
45326
45327
45328 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45329 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45330 wx_cv_func_gettimeofday_has_2_args=unknown
45331
45332
45333 fi
45334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45335
45336 fi
45337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45338
45339 fi
45340 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45341 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
45342
45343 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45344 cat >>confdefs.h <<\_ACEOF
45345 #define WX_GETTIMEOFDAY_NO_TZ 1
45346 _ACEOF
45347
45348 fi
45349 fi
45350
45351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45352 fi
45353
45354
45355 if test "$wxUSE_SOCKETS" = "yes"; then
45356 if test "$wxUSE_MGL" = "1"; then
45357 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45358 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45359 wxUSE_SOCKETS="no"
45360 fi
45361 fi
45362
45363 if test "$wxUSE_SOCKETS" = "yes"; then
45364 if test "$TOOLKIT" != "MSW"; then
45365 echo "$as_me:$LINENO: checking for socket" >&5
45366 echo $ECHO_N "checking for socket... $ECHO_C" >&6
45367 if test "${ac_cv_func_socket+set}" = set; then
45368 echo $ECHO_N "(cached) $ECHO_C" >&6
45369 else
45370 cat >conftest.$ac_ext <<_ACEOF
45371 /* confdefs.h. */
45372 _ACEOF
45373 cat confdefs.h >>conftest.$ac_ext
45374 cat >>conftest.$ac_ext <<_ACEOF
45375 /* end confdefs.h. */
45376 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45378 #define socket innocuous_socket
45379
45380 /* System header to define __stub macros and hopefully few prototypes,
45381 which can conflict with char socket (); below.
45382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45383 <limits.h> exists even on freestanding compilers. */
45384
45385 #ifdef __STDC__
45386 # include <limits.h>
45387 #else
45388 # include <assert.h>
45389 #endif
45390
45391 #undef socket
45392
45393 /* Override any gcc2 internal prototype to avoid an error. */
45394 #ifdef __cplusplus
45395 extern "C"
45396 {
45397 #endif
45398 /* We use char because int might match the return type of a gcc2
45399 builtin and then its argument prototype would still apply. */
45400 char socket ();
45401 /* The GNU C library defines this for functions which it implements
45402 to always fail with ENOSYS. Some functions are actually named
45403 something starting with __ and the normal name is an alias. */
45404 #if defined (__stub_socket) || defined (__stub___socket)
45405 choke me
45406 #else
45407 char (*f) () = socket;
45408 #endif
45409 #ifdef __cplusplus
45410 }
45411 #endif
45412
45413 int
45414 main ()
45415 {
45416 return f != socket;
45417 ;
45418 return 0;
45419 }
45420 _ACEOF
45421 rm -f conftest.$ac_objext conftest$ac_exeext
45422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45423 (eval $ac_link) 2>conftest.er1
45424 ac_status=$?
45425 grep -v '^ *+' conftest.er1 >conftest.err
45426 rm -f conftest.er1
45427 cat conftest.err >&5
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); } &&
45430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45432 (eval $ac_try) 2>&5
45433 ac_status=$?
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); }; } &&
45436 { ac_try='test -s conftest$ac_exeext'
45437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45438 (eval $ac_try) 2>&5
45439 ac_status=$?
45440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441 (exit $ac_status); }; }; then
45442 ac_cv_func_socket=yes
45443 else
45444 echo "$as_me: failed program was:" >&5
45445 sed 's/^/| /' conftest.$ac_ext >&5
45446
45447 ac_cv_func_socket=no
45448 fi
45449 rm -f conftest.err conftest.$ac_objext \
45450 conftest$ac_exeext conftest.$ac_ext
45451 fi
45452 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45453 echo "${ECHO_T}$ac_cv_func_socket" >&6
45454 if test $ac_cv_func_socket = yes; then
45455 :
45456 else
45457
45458 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45459 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
45460 if test "${ac_cv_lib_socket_socket+set}" = set; then
45461 echo $ECHO_N "(cached) $ECHO_C" >&6
45462 else
45463 ac_check_lib_save_LIBS=$LIBS
45464 LIBS="-lsocket $LIBS"
45465 cat >conftest.$ac_ext <<_ACEOF
45466 /* confdefs.h. */
45467 _ACEOF
45468 cat confdefs.h >>conftest.$ac_ext
45469 cat >>conftest.$ac_ext <<_ACEOF
45470 /* end confdefs.h. */
45471
45472 /* Override any gcc2 internal prototype to avoid an error. */
45473 #ifdef __cplusplus
45474 extern "C"
45475 #endif
45476 /* We use char because int might match the return type of a gcc2
45477 builtin and then its argument prototype would still apply. */
45478 char socket ();
45479 int
45480 main ()
45481 {
45482 socket ();
45483 ;
45484 return 0;
45485 }
45486 _ACEOF
45487 rm -f conftest.$ac_objext conftest$ac_exeext
45488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45489 (eval $ac_link) 2>conftest.er1
45490 ac_status=$?
45491 grep -v '^ *+' conftest.er1 >conftest.err
45492 rm -f conftest.er1
45493 cat conftest.err >&5
45494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45495 (exit $ac_status); } &&
45496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45498 (eval $ac_try) 2>&5
45499 ac_status=$?
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); }; } &&
45502 { ac_try='test -s conftest$ac_exeext'
45503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45504 (eval $ac_try) 2>&5
45505 ac_status=$?
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; }; then
45508 ac_cv_lib_socket_socket=yes
45509 else
45510 echo "$as_me: failed program was:" >&5
45511 sed 's/^/| /' conftest.$ac_ext >&5
45512
45513 ac_cv_lib_socket_socket=no
45514 fi
45515 rm -f conftest.err conftest.$ac_objext \
45516 conftest$ac_exeext conftest.$ac_ext
45517 LIBS=$ac_check_lib_save_LIBS
45518 fi
45519 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45520 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
45521 if test $ac_cv_lib_socket_socket = yes; then
45522 if test "$INET_LINK" != " -lsocket"; then
45523 INET_LINK="$INET_LINK -lsocket"
45524 fi
45525 else
45526
45527 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45528 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45529 wxUSE_SOCKETS=no
45530
45531
45532 fi
45533
45534
45535
45536 fi
45537
45538 fi
45539 fi
45540
45541 if test "$wxUSE_SOCKETS" = "yes" ; then
45542 if test "$TOOLKIT" != "MSW"; then
45543 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45544 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
45545 if test "${wx_cv_type_getsockname3+set}" = set; then
45546 echo $ECHO_N "(cached) $ECHO_C" >&6
45547 else
45548
45549 cat >conftest.$ac_ext <<_ACEOF
45550 /* confdefs.h. */
45551 _ACEOF
45552 cat confdefs.h >>conftest.$ac_ext
45553 cat >>conftest.$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45555
45556 #include <sys/types.h>
45557 #include <sys/socket.h>
45558
45559 int
45560 main ()
45561 {
45562
45563 socklen_t len;
45564 getsockname(0, 0, &len);
45565
45566 ;
45567 return 0;
45568 }
45569 _ACEOF
45570 rm -f conftest.$ac_objext
45571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45572 (eval $ac_compile) 2>conftest.er1
45573 ac_status=$?
45574 grep -v '^ *+' conftest.er1 >conftest.err
45575 rm -f conftest.er1
45576 cat conftest.err >&5
45577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45578 (exit $ac_status); } &&
45579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45581 (eval $ac_try) 2>&5
45582 ac_status=$?
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); }; } &&
45585 { ac_try='test -s conftest.$ac_objext'
45586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45587 (eval $ac_try) 2>&5
45588 ac_status=$?
45589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45590 (exit $ac_status); }; }; then
45591 wx_cv_type_getsockname3=socklen_t
45592 else
45593 echo "$as_me: failed program was:" >&5
45594 sed 's/^/| /' conftest.$ac_ext >&5
45595
45596
45597 CXXFLAGS_OLD="$CXXFLAGS"
45598 if test "$GCC" = yes ; then
45599 CXXFLAGS="-Werror $CXXFLAGS"
45600 fi
45601
45602 cat >conftest.$ac_ext <<_ACEOF
45603 /* confdefs.h. */
45604 _ACEOF
45605 cat confdefs.h >>conftest.$ac_ext
45606 cat >>conftest.$ac_ext <<_ACEOF
45607 /* end confdefs.h. */
45608
45609 #include <sys/types.h>
45610 #include <sys/socket.h>
45611
45612 int
45613 main ()
45614 {
45615
45616 size_t len;
45617 getsockname(0, 0, &len);
45618
45619 ;
45620 return 0;
45621 }
45622 _ACEOF
45623 rm -f conftest.$ac_objext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625 (eval $ac_compile) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest.$ac_objext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 wx_cv_type_getsockname3=size_t
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45648
45649 cat >conftest.$ac_ext <<_ACEOF
45650 /* confdefs.h. */
45651 _ACEOF
45652 cat confdefs.h >>conftest.$ac_ext
45653 cat >>conftest.$ac_ext <<_ACEOF
45654 /* end confdefs.h. */
45655
45656 #include <sys/types.h>
45657 #include <sys/socket.h>
45658
45659 int
45660 main ()
45661 {
45662
45663 int len;
45664 getsockname(0, 0, &len);
45665
45666 ;
45667 return 0;
45668 }
45669 _ACEOF
45670 rm -f conftest.$ac_objext
45671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45672 (eval $ac_compile) 2>conftest.er1
45673 ac_status=$?
45674 grep -v '^ *+' conftest.er1 >conftest.err
45675 rm -f conftest.er1
45676 cat conftest.err >&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); } &&
45679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
45685 { ac_try='test -s conftest.$ac_objext'
45686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45687 (eval $ac_try) 2>&5
45688 ac_status=$?
45689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45690 (exit $ac_status); }; }; then
45691 wx_cv_type_getsockname3=int
45692 else
45693 echo "$as_me: failed program was:" >&5
45694 sed 's/^/| /' conftest.$ac_ext >&5
45695
45696 wx_cv_type_getsockname3=unknown
45697
45698 fi
45699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45700
45701 fi
45702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45703
45704 CXXFLAGS="$CXXFLAGS_OLD"
45705
45706
45707 fi
45708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45709
45710 fi
45711 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45712 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45713
45714 if test "$wx_cv_type_getsockname3" = "unknown"; then
45715 wxUSE_SOCKETS=no
45716 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45717 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45718 else
45719 cat >>confdefs.h <<_ACEOF
45720 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45721 _ACEOF
45722
45723 fi
45724 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45725 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45726 if test "${wx_cv_type_getsockopt5+set}" = set; then
45727 echo $ECHO_N "(cached) $ECHO_C" >&6
45728 else
45729
45730 cat >conftest.$ac_ext <<_ACEOF
45731 /* confdefs.h. */
45732 _ACEOF
45733 cat confdefs.h >>conftest.$ac_ext
45734 cat >>conftest.$ac_ext <<_ACEOF
45735 /* end confdefs.h. */
45736
45737 #include <sys/types.h>
45738 #include <sys/socket.h>
45739
45740 int
45741 main ()
45742 {
45743
45744 socklen_t len;
45745 getsockopt(0, 0, 0, 0, &len);
45746
45747 ;
45748 return 0;
45749 }
45750 _ACEOF
45751 rm -f conftest.$ac_objext
45752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45753 (eval $ac_compile) 2>conftest.er1
45754 ac_status=$?
45755 grep -v '^ *+' conftest.er1 >conftest.err
45756 rm -f conftest.er1
45757 cat conftest.err >&5
45758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45759 (exit $ac_status); } &&
45760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45762 (eval $ac_try) 2>&5
45763 ac_status=$?
45764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765 (exit $ac_status); }; } &&
45766 { ac_try='test -s conftest.$ac_objext'
45767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45768 (eval $ac_try) 2>&5
45769 ac_status=$?
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); }; }; then
45772 wx_cv_type_getsockopt5=socklen_t
45773 else
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.$ac_ext >&5
45776
45777
45778 CXXFLAGS_OLD="$CXXFLAGS"
45779 if test "$GCC" = yes ; then
45780 CXXFLAGS="-Werror $CXXFLAGS"
45781 fi
45782
45783 cat >conftest.$ac_ext <<_ACEOF
45784 /* confdefs.h. */
45785 _ACEOF
45786 cat confdefs.h >>conftest.$ac_ext
45787 cat >>conftest.$ac_ext <<_ACEOF
45788 /* end confdefs.h. */
45789
45790 #include <sys/types.h>
45791 #include <sys/socket.h>
45792
45793 int
45794 main ()
45795 {
45796
45797 size_t len;
45798 getsockopt(0, 0, 0, 0, &len);
45799
45800 ;
45801 return 0;
45802 }
45803 _ACEOF
45804 rm -f conftest.$ac_objext
45805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45806 (eval $ac_compile) 2>conftest.er1
45807 ac_status=$?
45808 grep -v '^ *+' conftest.er1 >conftest.err
45809 rm -f conftest.er1
45810 cat conftest.err >&5
45811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812 (exit $ac_status); } &&
45813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45816 ac_status=$?
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; } &&
45819 { ac_try='test -s conftest.$ac_objext'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45822 ac_status=$?
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; }; then
45825 wx_cv_type_getsockopt5=size_t
45826 else
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45829
45830 cat >conftest.$ac_ext <<_ACEOF
45831 /* confdefs.h. */
45832 _ACEOF
45833 cat confdefs.h >>conftest.$ac_ext
45834 cat >>conftest.$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45836
45837 #include <sys/types.h>
45838 #include <sys/socket.h>
45839
45840 int
45841 main ()
45842 {
45843
45844 int len;
45845 getsockopt(0, 0, 0, 0, &len);
45846
45847 ;
45848 return 0;
45849 }
45850 _ACEOF
45851 rm -f conftest.$ac_objext
45852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45853 (eval $ac_compile) 2>conftest.er1
45854 ac_status=$?
45855 grep -v '^ *+' conftest.er1 >conftest.err
45856 rm -f conftest.er1
45857 cat conftest.err >&5
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); } &&
45860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45862 (eval $ac_try) 2>&5
45863 ac_status=$?
45864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45865 (exit $ac_status); }; } &&
45866 { ac_try='test -s conftest.$ac_objext'
45867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45868 (eval $ac_try) 2>&5
45869 ac_status=$?
45870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45871 (exit $ac_status); }; }; then
45872 wx_cv_type_getsockopt5=int
45873 else
45874 echo "$as_me: failed program was:" >&5
45875 sed 's/^/| /' conftest.$ac_ext >&5
45876
45877 wx_cv_type_getsockopt5=unknown
45878
45879 fi
45880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45881
45882 fi
45883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45884
45885 CXXFLAGS="$CXXFLAGS_OLD"
45886
45887
45888 fi
45889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45890
45891 fi
45892 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45893 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45894
45895 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45896 wxUSE_SOCKETS=no
45897 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45898 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45899 else
45900 cat >>confdefs.h <<_ACEOF
45901 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45902 _ACEOF
45903
45904 fi
45905 fi
45906 fi
45907
45908 if test "$wxUSE_SOCKETS" = "yes" ; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_SOCKETS 1
45911 _ACEOF
45912
45913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45914 fi
45915
45916 if test "$wxUSE_PROTOCOL" = "yes"; then
45917 if test "$wxUSE_SOCKETS" != "yes"; then
45918 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45919 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45920 wxUSE_PROTOCOL=no
45921 fi
45922 fi
45923
45924 if test "$wxUSE_PROTOCOL" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_PROTOCOL 1
45927 _ACEOF
45928
45929
45930 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_PROTOCOL_HTTP 1
45933 _ACEOF
45934
45935 fi
45936 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_PROTOCOL_FTP 1
45939 _ACEOF
45940
45941 fi
45942 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_PROTOCOL_FILE 1
45945 _ACEOF
45946
45947 fi
45948 else
45949 if test "$wxUSE_FS_INET" = "yes"; then
45950 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45951 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45952 wxUSE_FS_INET="no"
45953 fi
45954 fi
45955
45956 if test "$wxUSE_URL" = "yes"; then
45957 if test "$wxUSE_PROTOCOL" != "yes"; then
45958 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45959 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45960 wxUSE_URL=no
45961 fi
45962 if test "$wxUSE_URL" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_URL 1
45965 _ACEOF
45966
45967 fi
45968 fi
45969
45970 if test "$wxUSE_VARIANT" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_VARIANT 1
45973 _ACEOF
45974
45975 fi
45976
45977 if test "$wxUSE_FS_INET" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_FS_INET 1
45980 _ACEOF
45981
45982 fi
45983
45984
45985 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45986 wxUSE_JOYSTICK=no
45987
45988 if test "$TOOLKIT" = "MSW"; then
45989 wxUSE_JOYSTICK=yes
45990
45991 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45992 if test "$USE_DARWIN" = 1; then
45993 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45994 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45995 cat >conftest.$ac_ext <<_ACEOF
45996 /* confdefs.h. */
45997 _ACEOF
45998 cat confdefs.h >>conftest.$ac_ext
45999 cat >>conftest.$ac_ext <<_ACEOF
46000 /* end confdefs.h. */
46001 #include <IOKit/hid/IOHIDLib.h>
46002 int
46003 main ()
46004 {
46005 IOHIDQueueInterface *qi = NULL;
46006 IOHIDCallbackFunction cb = NULL;
46007 qi->setEventCallout(NULL, cb, NULL, NULL);
46008 ;
46009 return 0;
46010 }
46011 _ACEOF
46012 rm -f conftest.$ac_objext
46013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46014 (eval $ac_compile) 2>conftest.er1
46015 ac_status=$?
46016 grep -v '^ *+' conftest.er1 >conftest.err
46017 rm -f conftest.er1
46018 cat conftest.err >&5
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); } &&
46021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46023 (eval $ac_try) 2>&5
46024 ac_status=$?
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); }; } &&
46027 { ac_try='test -s conftest.$ac_objext'
46028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46029 (eval $ac_try) 2>&5
46030 ac_status=$?
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); }; }; then
46033 wxUSE_JOYSTICK=yes
46034
46035 else
46036 echo "$as_me: failed program was:" >&5
46037 sed 's/^/| /' conftest.$ac_ext >&5
46038
46039 fi
46040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46041 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46042 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
46043 fi
46044
46045 else
46046
46047 for ac_header in linux/joystick.h
46048 do
46049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46051 echo "$as_me:$LINENO: checking for $ac_header" >&5
46052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46054 echo $ECHO_N "(cached) $ECHO_C" >&6
46055 fi
46056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46058 else
46059 # Is the header compilable?
46060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46062 cat >conftest.$ac_ext <<_ACEOF
46063 /* confdefs.h. */
46064 _ACEOF
46065 cat confdefs.h >>conftest.$ac_ext
46066 cat >>conftest.$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46068 $ac_includes_default
46069 #include <$ac_header>
46070 _ACEOF
46071 rm -f conftest.$ac_objext
46072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46073 (eval $ac_compile) 2>conftest.er1
46074 ac_status=$?
46075 grep -v '^ *+' conftest.er1 >conftest.err
46076 rm -f conftest.er1
46077 cat conftest.err >&5
46078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46079 (exit $ac_status); } &&
46080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46082 (eval $ac_try) 2>&5
46083 ac_status=$?
46084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46085 (exit $ac_status); }; } &&
46086 { ac_try='test -s conftest.$ac_objext'
46087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46088 (eval $ac_try) 2>&5
46089 ac_status=$?
46090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46091 (exit $ac_status); }; }; then
46092 ac_header_compiler=yes
46093 else
46094 echo "$as_me: failed program was:" >&5
46095 sed 's/^/| /' conftest.$ac_ext >&5
46096
46097 ac_header_compiler=no
46098 fi
46099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46101 echo "${ECHO_T}$ac_header_compiler" >&6
46102
46103 # Is the header present?
46104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46106 cat >conftest.$ac_ext <<_ACEOF
46107 /* confdefs.h. */
46108 _ACEOF
46109 cat confdefs.h >>conftest.$ac_ext
46110 cat >>conftest.$ac_ext <<_ACEOF
46111 /* end confdefs.h. */
46112 #include <$ac_header>
46113 _ACEOF
46114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46116 ac_status=$?
46117 grep -v '^ *+' conftest.er1 >conftest.err
46118 rm -f conftest.er1
46119 cat conftest.err >&5
46120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46121 (exit $ac_status); } >/dev/null; then
46122 if test -s conftest.err; then
46123 ac_cpp_err=$ac_cxx_preproc_warn_flag
46124 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
46125 else
46126 ac_cpp_err=
46127 fi
46128 else
46129 ac_cpp_err=yes
46130 fi
46131 if test -z "$ac_cpp_err"; then
46132 ac_header_preproc=yes
46133 else
46134 echo "$as_me: failed program was:" >&5
46135 sed 's/^/| /' conftest.$ac_ext >&5
46136
46137 ac_header_preproc=no
46138 fi
46139 rm -f conftest.err conftest.$ac_ext
46140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46141 echo "${ECHO_T}$ac_header_preproc" >&6
46142
46143 # So? What about this header?
46144 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
46145 yes:no: )
46146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46150 ac_header_preproc=yes
46151 ;;
46152 no:yes:* )
46153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46165 (
46166 cat <<\_ASBOX
46167 ## ----------------------------------------- ##
46168 ## Report this to wx-dev@lists.wxwidgets.org ##
46169 ## ----------------------------------------- ##
46170 _ASBOX
46171 ) |
46172 sed "s/^/$as_me: WARNING: /" >&2
46173 ;;
46174 esac
46175 echo "$as_me:$LINENO: checking for $ac_header" >&5
46176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46179 else
46180 eval "$as_ac_Header=\$ac_header_preproc"
46181 fi
46182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46184
46185 fi
46186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46187 cat >>confdefs.h <<_ACEOF
46188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46189 _ACEOF
46190 wxUSE_JOYSTICK=yes
46191 fi
46192
46193 done
46194
46195 fi
46196
46197 if test "$wxUSE_JOYSTICK" = "yes"; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_JOYSTICK 1
46200 _ACEOF
46201
46202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46203 else
46204 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46205 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46206 fi
46207 fi
46208
46209
46210
46211 if test "$wxUSE_FONTMAP" = "yes" ; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_FONTMAP 1
46214 _ACEOF
46215
46216 fi
46217
46218 if test "$wxUSE_UNICODE" = "yes" ; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_UNICODE 1
46221 _ACEOF
46222
46223
46224 if test "$USE_WIN32" != 1; then
46225 wxUSE_UNICODE_MSLU=no
46226 fi
46227
46228 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46229 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46230 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
46231 if test "${ac_cv_lib_unicows_main+set}" = set; then
46232 echo $ECHO_N "(cached) $ECHO_C" >&6
46233 else
46234 ac_check_lib_save_LIBS=$LIBS
46235 LIBS="-lunicows $LIBS"
46236 cat >conftest.$ac_ext <<_ACEOF
46237 /* confdefs.h. */
46238 _ACEOF
46239 cat confdefs.h >>conftest.$ac_ext
46240 cat >>conftest.$ac_ext <<_ACEOF
46241 /* end confdefs.h. */
46242
46243
46244 int
46245 main ()
46246 {
46247 main ();
46248 ;
46249 return 0;
46250 }
46251 _ACEOF
46252 rm -f conftest.$ac_objext conftest$ac_exeext
46253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46254 (eval $ac_link) 2>conftest.er1
46255 ac_status=$?
46256 grep -v '^ *+' conftest.er1 >conftest.err
46257 rm -f conftest.er1
46258 cat conftest.err >&5
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); } &&
46261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46263 (eval $ac_try) 2>&5
46264 ac_status=$?
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); }; } &&
46267 { ac_try='test -s conftest$ac_exeext'
46268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46269 (eval $ac_try) 2>&5
46270 ac_status=$?
46271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46272 (exit $ac_status); }; }; then
46273 ac_cv_lib_unicows_main=yes
46274 else
46275 echo "$as_me: failed program was:" >&5
46276 sed 's/^/| /' conftest.$ac_ext >&5
46277
46278 ac_cv_lib_unicows_main=no
46279 fi
46280 rm -f conftest.err conftest.$ac_objext \
46281 conftest$ac_exeext conftest.$ac_ext
46282 LIBS=$ac_check_lib_save_LIBS
46283 fi
46284 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46285 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
46286 if test $ac_cv_lib_unicows_main = yes; then
46287
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_UNICODE_MSLU 1
46290 _ACEOF
46291
46292
46293 else
46294
46295 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46296 Applications will only run on Windows NT/2000/XP!" >&5
46297 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46298 Applications will only run on Windows NT/2000/XP!" >&2;}
46299 wxUSE_UNICODE_MSLU=no
46300
46301 fi
46302
46303 fi
46304 fi
46305
46306 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_EXPERIMENTAL_PRINTF 1
46309 _ACEOF
46310
46311 fi
46312
46313
46314 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_POSTSCRIPT 1
46317 _ACEOF
46318
46319 fi
46320
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46323 _ACEOF
46324
46325
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_NORMALIZED_PS_FONTS 1
46328 _ACEOF
46329
46330
46331
46332 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_CONSTRAINTS 1
46335 _ACEOF
46336
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46338 fi
46339
46340 if test "$wxUSE_MDI" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_MDI 1
46343 _ACEOF
46344
46345
46346 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_MDI_ARCHITECTURE 1
46349 _ACEOF
46350
46351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46352 fi
46353 fi
46354
46355 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46356 cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46358 _ACEOF
46359
46360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46361 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46363 fi
46364 fi
46365
46366 if test "$wxUSE_HELP" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_HELP 1
46369 _ACEOF
46370
46371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46372
46373 if test "$wxUSE_MSW" = 1; then
46374 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_MS_HTML_HELP 1
46377 _ACEOF
46378
46379 fi
46380 fi
46381
46382 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46383 if test "$wxUSE_HTML" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_WXHTML_HELP 1
46386 _ACEOF
46387
46388 else
46389 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46390 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46391 wxUSE_WXHTML_HELP=no
46392 fi
46393 fi
46394 fi
46395
46396 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46397 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46398 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46399 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46400 else
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_PRINTING_ARCHITECTURE 1
46403 _ACEOF
46404
46405 fi
46406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46407 fi
46408
46409 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
46410 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
46411 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
46412 { (exit 1); exit 1; }; }
46413 fi
46414
46415
46416 if test "$wxUSE_METAFILE" = "yes"; then
46417 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46418 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46419 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46420 wxUSE_METAFILE=no
46421 fi
46422 fi
46423
46424
46425 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46426 -o "$wxUSE_CLIPBOARD" = "yes" \
46427 -o "$wxUSE_OLE" = "yes" \
46428 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46429
46430 for ac_header in ole2.h
46431 do
46432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46434 echo "$as_me:$LINENO: checking for $ac_header" >&5
46435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46437 echo $ECHO_N "(cached) $ECHO_C" >&6
46438 fi
46439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46441 else
46442 # Is the header compilable?
46443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46445 cat >conftest.$ac_ext <<_ACEOF
46446 /* confdefs.h. */
46447 _ACEOF
46448 cat confdefs.h >>conftest.$ac_ext
46449 cat >>conftest.$ac_ext <<_ACEOF
46450 /* end confdefs.h. */
46451 $ac_includes_default
46452 #include <$ac_header>
46453 _ACEOF
46454 rm -f conftest.$ac_objext
46455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46456 (eval $ac_compile) 2>conftest.er1
46457 ac_status=$?
46458 grep -v '^ *+' conftest.er1 >conftest.err
46459 rm -f conftest.er1
46460 cat conftest.err >&5
46461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46462 (exit $ac_status); } &&
46463 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46465 (eval $ac_try) 2>&5
46466 ac_status=$?
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); }; } &&
46469 { ac_try='test -s conftest.$ac_objext'
46470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46471 (eval $ac_try) 2>&5
46472 ac_status=$?
46473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46474 (exit $ac_status); }; }; then
46475 ac_header_compiler=yes
46476 else
46477 echo "$as_me: failed program was:" >&5
46478 sed 's/^/| /' conftest.$ac_ext >&5
46479
46480 ac_header_compiler=no
46481 fi
46482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46484 echo "${ECHO_T}$ac_header_compiler" >&6
46485
46486 # Is the header present?
46487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46489 cat >conftest.$ac_ext <<_ACEOF
46490 /* confdefs.h. */
46491 _ACEOF
46492 cat confdefs.h >>conftest.$ac_ext
46493 cat >>conftest.$ac_ext <<_ACEOF
46494 /* end confdefs.h. */
46495 #include <$ac_header>
46496 _ACEOF
46497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46499 ac_status=$?
46500 grep -v '^ *+' conftest.er1 >conftest.err
46501 rm -f conftest.er1
46502 cat conftest.err >&5
46503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46504 (exit $ac_status); } >/dev/null; then
46505 if test -s conftest.err; then
46506 ac_cpp_err=$ac_cxx_preproc_warn_flag
46507 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
46508 else
46509 ac_cpp_err=
46510 fi
46511 else
46512 ac_cpp_err=yes
46513 fi
46514 if test -z "$ac_cpp_err"; then
46515 ac_header_preproc=yes
46516 else
46517 echo "$as_me: failed program was:" >&5
46518 sed 's/^/| /' conftest.$ac_ext >&5
46519
46520 ac_header_preproc=no
46521 fi
46522 rm -f conftest.err conftest.$ac_ext
46523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46524 echo "${ECHO_T}$ac_header_preproc" >&6
46525
46526 # So? What about this header?
46527 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
46528 yes:no: )
46529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46533 ac_header_preproc=yes
46534 ;;
46535 no:yes:* )
46536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46548 (
46549 cat <<\_ASBOX
46550 ## ----------------------------------------- ##
46551 ## Report this to wx-dev@lists.wxwidgets.org ##
46552 ## ----------------------------------------- ##
46553 _ASBOX
46554 ) |
46555 sed "s/^/$as_me: WARNING: /" >&2
46556 ;;
46557 esac
46558 echo "$as_me:$LINENO: checking for $ac_header" >&5
46559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46561 echo $ECHO_N "(cached) $ECHO_C" >&6
46562 else
46563 eval "$as_ac_Header=\$ac_header_preproc"
46564 fi
46565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46567
46568 fi
46569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46570 cat >>confdefs.h <<_ACEOF
46571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46572 _ACEOF
46573
46574 fi
46575
46576 done
46577
46578
46579 if test "$ac_cv_header_ole2_h" = "yes" ; then
46580 if test "$GCC" = yes ; then
46581 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46582 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46583 cat >conftest.$ac_ext <<_ACEOF
46584 /* confdefs.h. */
46585 _ACEOF
46586 cat confdefs.h >>conftest.$ac_ext
46587 cat >>conftest.$ac_ext <<_ACEOF
46588 /* end confdefs.h. */
46589 #include <windows.h>
46590 #include <ole2.h>
46591 int
46592 main ()
46593 {
46594
46595 ;
46596 return 0;
46597 }
46598 _ACEOF
46599 rm -f conftest.$ac_objext
46600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46601 (eval $ac_compile) 2>conftest.er1
46602 ac_status=$?
46603 grep -v '^ *+' conftest.er1 >conftest.err
46604 rm -f conftest.er1
46605 cat conftest.err >&5
46606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46607 (exit $ac_status); } &&
46608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46610 (eval $ac_try) 2>&5
46611 ac_status=$?
46612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46613 (exit $ac_status); }; } &&
46614 { ac_try='test -s conftest.$ac_objext'
46615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46616 (eval $ac_try) 2>&5
46617 ac_status=$?
46618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619 (exit $ac_status); }; }; then
46620 echo "$as_me:$LINENO: result: no" >&5
46621 echo "${ECHO_T}no" >&6
46622 else
46623 echo "$as_me: failed program was:" >&5
46624 sed 's/^/| /' conftest.$ac_ext >&5
46625
46626 echo "$as_me:$LINENO: result: yes" >&5
46627 echo "${ECHO_T}yes" >&6
46628 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46629 fi
46630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46631 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46632 if test "$wxUSE_OLE" = "yes" ; then
46633 cat >>confdefs.h <<\_ACEOF
46634 #define wxUSE_OLE 1
46635 _ACEOF
46636
46637 cat >>confdefs.h <<\_ACEOF
46638 #define wxUSE_OLE_AUTOMATION 1
46639 _ACEOF
46640
46641 cat >>confdefs.h <<\_ACEOF
46642 #define wxUSE_OLE_ACTIVEX 1
46643 _ACEOF
46644
46645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46646 fi
46647 fi
46648
46649 if test "$wxUSE_DATAOBJ" = "yes" ; then
46650 cat >>confdefs.h <<\_ACEOF
46651 #define wxUSE_DATAOBJ 1
46652 _ACEOF
46653
46654 fi
46655 else
46656 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46657 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46658
46659 wxUSE_CLIPBOARD=no
46660 wxUSE_DRAG_AND_DROP=no
46661 wxUSE_DATAOBJ=no
46662 wxUSE_OLE=no
46663 fi
46664
46665 if test "$wxUSE_METAFILE" = "yes"; then
46666 cat >>confdefs.h <<\_ACEOF
46667 #define wxUSE_METAFILE 1
46668 _ACEOF
46669
46670
46671 cat >>confdefs.h <<\_ACEOF
46672 #define wxUSE_ENH_METAFILE 1
46673 _ACEOF
46674
46675 fi
46676 fi
46677
46678 if test "$wxUSE_IPC" = "yes"; then
46679 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46680 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46681 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46682 wxUSE_IPC=no
46683 fi
46684
46685 if test "$wxUSE_IPC" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_IPC 1
46688 _ACEOF
46689
46690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46691 fi
46692 fi
46693
46694 if test "$wxUSE_DATAOBJ" = "yes"; then
46695 if test "$wxUSE_MGL" = 1; then
46696 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46697 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46698 wxUSE_DATAOBJ=no
46699 else
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_DATAOBJ 1
46702 _ACEOF
46703
46704 fi
46705 else
46706 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46707 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46708 wxUSE_CLIPBOARD=no
46709 wxUSE_DRAG_AND_DROP=no
46710 fi
46711
46712 if test "$wxUSE_CLIPBOARD" = "yes"; then
46713 if test "$wxUSE_MGL" = 1; then
46714 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46715 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46716 wxUSE_CLIPBOARD=no
46717 fi
46718
46719 if test "$wxUSE_CLIPBOARD" = "yes"; then
46720 cat >>confdefs.h <<\_ACEOF
46721 #define wxUSE_CLIPBOARD 1
46722 _ACEOF
46723
46724 fi
46725 fi
46726
46727 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46728 if test "$wxUSE_GTK" = 1; then
46729 if test "$WXGTK12" != 1; then
46730 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46731 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46732 wxUSE_DRAG_AND_DROP=no
46733 fi
46734 fi
46735
46736 if test "$wxUSE_MOTIF" = 1; then
46737 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46738 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46739 wxUSE_DRAG_AND_DROP=no
46740 fi
46741
46742 if test "$wxUSE_X11" = 1; then
46743 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46744 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46745 wxUSE_DRAG_AND_DROP=no
46746 fi
46747
46748 if test "$wxUSE_MGL" = 1; then
46749 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46750 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46751 wxUSE_DRAG_AND_DROP=no
46752 fi
46753
46754 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_DRAG_AND_DROP 1
46757 _ACEOF
46758
46759 fi
46760
46761 fi
46762
46763 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46765 fi
46766
46767 if test "$wxUSE_SPLINES" = "yes" ; then
46768 cat >>confdefs.h <<\_ACEOF
46769 #define wxUSE_SPLINES 1
46770 _ACEOF
46771
46772 fi
46773
46774 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46775 cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_MOUSEWHEEL 1
46777 _ACEOF
46778
46779 fi
46780
46781
46782 USES_CONTROLS=0
46783 if test "$wxUSE_CONTROLS" = "yes"; then
46784 USES_CONTROLS=1
46785 fi
46786
46787 if test "$wxUSE_ACCEL" = "yes"; then
46788 cat >>confdefs.h <<\_ACEOF
46789 #define wxUSE_ACCEL 1
46790 _ACEOF
46791
46792 USES_CONTROLS=1
46793 fi
46794
46795 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_ANIMATIONCTRL 1
46798 _ACEOF
46799
46800 USES_CONTROLS=1
46801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46802 fi
46803
46804 if test "$wxUSE_BUTTON" = "yes"; then
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_BUTTON 1
46807 _ACEOF
46808
46809 USES_CONTROLS=1
46810 fi
46811
46812 if test "$wxUSE_BMPBUTTON" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_BMPBUTTON 1
46815 _ACEOF
46816
46817 USES_CONTROLS=1
46818 fi
46819
46820 if test "$wxUSE_CALCTRL" = "yes"; then
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_CALENDARCTRL 1
46823 _ACEOF
46824
46825 USES_CONTROLS=1
46826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46827 fi
46828
46829 if test "$wxUSE_CARET" = "yes"; then
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_CARET 1
46832 _ACEOF
46833
46834 USES_CONTROLS=1
46835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46836 fi
46837
46838 if test "$wxUSE_COLLPANE" = "yes"; then
46839 cat >>confdefs.h <<\_ACEOF
46840 #define wxUSE_COLLPANE 1
46841 _ACEOF
46842
46843 USES_CONTROLS=1
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46845 fi
46846
46847 if test "$wxUSE_COMBOBOX" = "yes"; then
46848 cat >>confdefs.h <<\_ACEOF
46849 #define wxUSE_COMBOBOX 1
46850 _ACEOF
46851
46852 USES_CONTROLS=1
46853 fi
46854
46855 if test "$wxUSE_COMBOCTRL" = "yes"; then
46856 cat >>confdefs.h <<\_ACEOF
46857 #define wxUSE_COMBOCTRL 1
46858 _ACEOF
46859
46860 USES_CONTROLS=1
46861 fi
46862
46863 if test "$wxUSE_CHOICE" = "yes"; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_CHOICE 1
46866 _ACEOF
46867
46868 USES_CONTROLS=1
46869 fi
46870
46871 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46872 cat >>confdefs.h <<\_ACEOF
46873 #define wxUSE_CHOICEBOOK 1
46874 _ACEOF
46875
46876 USES_CONTROLS=1
46877 fi
46878
46879 if test "$wxUSE_CHECKBOX" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_CHECKBOX 1
46882 _ACEOF
46883
46884 USES_CONTROLS=1
46885 fi
46886
46887 if test "$wxUSE_CHECKLST" = "yes"; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_CHECKLISTBOX 1
46890 _ACEOF
46891
46892 USES_CONTROLS=1
46893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46894 fi
46895
46896 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46897 cat >>confdefs.h <<\_ACEOF
46898 #define wxUSE_COLOURPICKERCTRL 1
46899 _ACEOF
46900
46901 USES_CONTROLS=1
46902 fi
46903
46904 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46905 cat >>confdefs.h <<\_ACEOF
46906 #define wxUSE_DATEPICKCTRL 1
46907 _ACEOF
46908
46909 USES_CONTROLS=1
46910 fi
46911
46912 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46913 cat >>confdefs.h <<\_ACEOF
46914 #define wxUSE_DIRPICKERCTRL 1
46915 _ACEOF
46916
46917 USES_CONTROLS=1
46918 fi
46919
46920 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46921 cat >>confdefs.h <<\_ACEOF
46922 #define wxUSE_FILEPICKERCTRL 1
46923 _ACEOF
46924
46925 USES_CONTROLS=1
46926 fi
46927
46928 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46929 cat >>confdefs.h <<\_ACEOF
46930 #define wxUSE_FONTPICKERCTRL 1
46931 _ACEOF
46932
46933 USES_CONTROLS=1
46934 fi
46935
46936 if test "$wxUSE_DISPLAY" = "yes"; then
46937 cat >>confdefs.h <<\_ACEOF
46938 #define wxUSE_DISPLAY 1
46939 _ACEOF
46940
46941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46942 fi
46943
46944 if test "$wxUSE_DETECT_SM" = "yes"; then
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_DETECT_SM 1
46947 _ACEOF
46948
46949 fi
46950
46951 if test "$wxUSE_GAUGE" = "yes"; then
46952 cat >>confdefs.h <<\_ACEOF
46953 #define wxUSE_GAUGE 1
46954 _ACEOF
46955
46956 USES_CONTROLS=1
46957 fi
46958
46959 if test "$wxUSE_GRID" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_GRID 1
46962 _ACEOF
46963
46964 USES_CONTROLS=1
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46966 fi
46967
46968 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_HYPERLINKCTRL 1
46971 _ACEOF
46972
46973 USES_CONTROLS=1
46974 fi
46975
46976 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_BITMAPCOMBOBOX 1
46979 _ACEOF
46980
46981 USES_CONTROLS=1
46982 fi
46983
46984 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_DATAVIEWCTRL 1
46987 _ACEOF
46988
46989 USES_CONTROLS=1
46990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46991 fi
46992
46993 if test "$wxUSE_IMAGLIST" = "yes"; then
46994 cat >>confdefs.h <<\_ACEOF
46995 #define wxUSE_IMAGLIST 1
46996 _ACEOF
46997
46998 fi
46999
47000 if test "$wxUSE_LISTBOOK" = "yes"; then
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_LISTBOOK 1
47003 _ACEOF
47004
47005 USES_CONTROLS=1
47006 fi
47007
47008 if test "$wxUSE_LISTBOX" = "yes"; then
47009 cat >>confdefs.h <<\_ACEOF
47010 #define wxUSE_LISTBOX 1
47011 _ACEOF
47012
47013 USES_CONTROLS=1
47014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47015 fi
47016
47017 if test "$wxUSE_LISTCTRL" = "yes"; then
47018 if test "$wxUSE_IMAGLIST" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_LISTCTRL 1
47021 _ACEOF
47022
47023 USES_CONTROLS=1
47024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47025 else
47026 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47027 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47028 fi
47029 fi
47030
47031 if test "$wxUSE_NOTEBOOK" = "yes"; then
47032 cat >>confdefs.h <<\_ACEOF
47033 #define wxUSE_NOTEBOOK 1
47034 _ACEOF
47035
47036 USES_CONTROLS=1
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47038 fi
47039
47040 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_ODCOMBOBOX 1
47043 _ACEOF
47044
47045 USES_CONTROLS=1
47046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47047 fi
47048
47049
47050 if test "$wxUSE_RADIOBOX" = "yes"; then
47051 cat >>confdefs.h <<\_ACEOF
47052 #define wxUSE_RADIOBOX 1
47053 _ACEOF
47054
47055 USES_CONTROLS=1
47056 fi
47057
47058 if test "$wxUSE_RADIOBTN" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_RADIOBTN 1
47061 _ACEOF
47062
47063 USES_CONTROLS=1
47064 fi
47065
47066 if test "$wxUSE_SASH" = "yes"; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_SASH 1
47069 _ACEOF
47070
47071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47072 fi
47073
47074 if test "$wxUSE_SCROLLBAR" = "yes"; then
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_SCROLLBAR 1
47077 _ACEOF
47078
47079 USES_CONTROLS=1
47080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47081 fi
47082
47083 if test "$wxUSE_SLIDER" = "yes"; then
47084 cat >>confdefs.h <<\_ACEOF
47085 #define wxUSE_SLIDER 1
47086 _ACEOF
47087
47088 USES_CONTROLS=1
47089 fi
47090
47091 if test "$wxUSE_SPINBTN" = "yes"; then
47092 cat >>confdefs.h <<\_ACEOF
47093 #define wxUSE_SPINBTN 1
47094 _ACEOF
47095
47096 USES_CONTROLS=1
47097 fi
47098
47099 if test "$wxUSE_SPINCTRL" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_SPINCTRL 1
47102 _ACEOF
47103
47104 USES_CONTROLS=1
47105 fi
47106
47107 if test "$wxUSE_SPLITTER" = "yes"; then
47108 cat >>confdefs.h <<\_ACEOF
47109 #define wxUSE_SPLITTER 1
47110 _ACEOF
47111
47112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47113 fi
47114
47115 if test "$wxUSE_STATBMP" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_STATBMP 1
47118 _ACEOF
47119
47120 USES_CONTROLS=1
47121 fi
47122
47123 if test "$wxUSE_STATBOX" = "yes"; then
47124 cat >>confdefs.h <<\_ACEOF
47125 #define wxUSE_STATBOX 1
47126 _ACEOF
47127
47128 USES_CONTROLS=1
47129 fi
47130
47131 if test "$wxUSE_STATTEXT" = "yes"; then
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_STATTEXT 1
47134 _ACEOF
47135
47136 USES_CONTROLS=1
47137 fi
47138
47139 if test "$wxUSE_STATLINE" = "yes"; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_STATLINE 1
47142 _ACEOF
47143
47144 USES_CONTROLS=1
47145 fi
47146
47147 if test "$wxUSE_STATUSBAR" = "yes"; then
47148 cat >>confdefs.h <<\_ACEOF
47149 #define wxUSE_NATIVE_STATUSBAR 1
47150 _ACEOF
47151
47152 cat >>confdefs.h <<\_ACEOF
47153 #define wxUSE_STATUSBAR 1
47154 _ACEOF
47155
47156 USES_CONTROLS=1
47157
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47159 fi
47160
47161 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47162 cat >>confdefs.h <<\_ACEOF
47163 #define wxUSE_TAB_DIALOG 1
47164 _ACEOF
47165
47166 fi
47167
47168 if test "$wxUSE_TEXTCTRL" = "yes"; then
47169 cat >>confdefs.h <<\_ACEOF
47170 #define wxUSE_TEXTCTRL 1
47171 _ACEOF
47172
47173 USES_CONTROLS=1
47174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47175 fi
47176
47177 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47178 if test "$wxUSE_COCOA" = 1 ; then
47179 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47180 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47181 wxUSE_TOGGLEBTN=no
47182 fi
47183
47184 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_TOGGLEBTN 1
47187 _ACEOF
47188
47189 USES_CONTROLS=1
47190 fi
47191 fi
47192
47193 if test "$wxUSE_TOOLBAR" = "yes"; then
47194 cat >>confdefs.h <<\_ACEOF
47195 #define wxUSE_TOOLBAR 1
47196 _ACEOF
47197
47198 USES_CONTROLS=1
47199
47200 if test "$wxUSE_UNIVERSAL" = "yes"; then
47201 wxUSE_TOOLBAR_NATIVE="no"
47202 else
47203 wxUSE_TOOLBAR_NATIVE="yes"
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_TOOLBAR_NATIVE 1
47206 _ACEOF
47207
47208 fi
47209
47210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47211 fi
47212
47213 if test "$wxUSE_TOOLTIPS" = "yes"; then
47214 if test "$wxUSE_MOTIF" = 1; then
47215 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47216 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47217 else
47218 if test "$wxUSE_UNIVERSAL" = "yes"; then
47219 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47220 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47221 else
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_TOOLTIPS 1
47224 _ACEOF
47225
47226 fi
47227 fi
47228 fi
47229
47230 if test "$wxUSE_TREEBOOK" = "yes"; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_TREEBOOK 1
47233 _ACEOF
47234
47235 USES_CONTROLS=1
47236 fi
47237
47238 if test "$wxUSE_TOOLBOOK" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_TOOLBOOK 1
47241 _ACEOF
47242
47243 USES_CONTROLS=1
47244 fi
47245
47246 if test "$wxUSE_TREECTRL" = "yes"; then
47247 if test "$wxUSE_IMAGLIST" = "yes"; then
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_TREECTRL 1
47250 _ACEOF
47251
47252 USES_CONTROLS=1
47253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47254 else
47255 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47256 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47257 fi
47258 fi
47259
47260 if test "$wxUSE_POPUPWIN" = "yes"; then
47261 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47262 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47263 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47264 else
47265 if test "$wxUSE_PM" = 1; then
47266 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47267 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47268 else
47269 cat >>confdefs.h <<\_ACEOF
47270 #define wxUSE_POPUPWIN 1
47271 _ACEOF
47272
47273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47274
47275 USES_CONTROLS=1
47276 fi
47277 fi
47278 fi
47279
47280 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47281 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47282 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
47283 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
47284 else
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_DIALUP_MANAGER 1
47287 _ACEOF
47288
47289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47290 fi
47291 fi
47292
47293 if test "$wxUSE_TIPWINDOW" = "yes"; then
47294 if test "$wxUSE_PM" = 1; then
47295 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47296 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47297 else
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_TIPWINDOW 1
47300 _ACEOF
47301
47302 fi
47303 fi
47304
47305 if test "$USES_CONTROLS" = 1; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_CONTROLS 1
47308 _ACEOF
47309
47310 fi
47311
47312
47313 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_ACCESSIBILITY 1
47316 _ACEOF
47317
47318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47319 fi
47320
47321 if test "$wxUSE_DC_CACHEING" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_DC_CACHEING 1
47324 _ACEOF
47325
47326 fi
47327
47328 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_DRAGIMAGE 1
47331 _ACEOF
47332
47333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47334 fi
47335
47336 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47337 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47338 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47339 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47340 else
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_EXCEPTIONS 1
47343 _ACEOF
47344
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47346 fi
47347 fi
47348
47349 USE_HTML=0
47350 if test "$wxUSE_HTML" = "yes"; then
47351 cat >>confdefs.h <<\_ACEOF
47352 #define wxUSE_HTML 1
47353 _ACEOF
47354
47355 USE_HTML=1
47356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47357 if test "$wxUSE_MAC" = 1; then
47358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47359 fi
47360 fi
47361 if test "$wxUSE_WEBKIT" = "yes"; then
47362 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47363 old_CPPFLAGS="$CPPFLAGS"
47364 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47365 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47366 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
47367 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47368 echo $ECHO_N "(cached) $ECHO_C" >&6
47369 else
47370 cat >conftest.$ac_ext <<_ACEOF
47371 /* confdefs.h. */
47372 _ACEOF
47373 cat confdefs.h >>conftest.$ac_ext
47374 cat >>conftest.$ac_ext <<_ACEOF
47375 /* end confdefs.h. */
47376 #include <Carbon/Carbon.h>
47377
47378 #include <WebKit/HIWebView.h>
47379 _ACEOF
47380 rm -f conftest.$ac_objext
47381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47382 (eval $ac_compile) 2>conftest.er1
47383 ac_status=$?
47384 grep -v '^ *+' conftest.er1 >conftest.err
47385 rm -f conftest.er1
47386 cat conftest.err >&5
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); } &&
47389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47391 (eval $ac_try) 2>&5
47392 ac_status=$?
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); }; } &&
47395 { ac_try='test -s conftest.$ac_objext'
47396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47397 (eval $ac_try) 2>&5
47398 ac_status=$?
47399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47400 (exit $ac_status); }; }; then
47401 ac_cv_header_WebKit_HIWebView_h=yes
47402 else
47403 echo "$as_me: failed program was:" >&5
47404 sed 's/^/| /' conftest.$ac_ext >&5
47405
47406 ac_cv_header_WebKit_HIWebView_h=no
47407 fi
47408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47409 fi
47410 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47411 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
47412 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47413
47414 cat >>confdefs.h <<\_ACEOF
47415 #define wxUSE_WEBKIT 1
47416 _ACEOF
47417
47418 WEBKIT_LINK="-framework WebKit"
47419
47420 else
47421
47422 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47423 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47424 wxUSE_WEBKIT=no
47425
47426 fi
47427
47428
47429 CPPFLAGS="$old_CPPFLAGS"
47430 elif test "$wxUSE_COCOA" = 1; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_WEBKIT 1
47433 _ACEOF
47434
47435 else
47436 wxUSE_WEBKIT=no
47437 fi
47438 fi
47439
47440 USE_XRC=0
47441 if test "$wxUSE_XRC" = "yes"; then
47442 if test "$wxUSE_XML" != "yes"; then
47443 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47444 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47445 wxUSE_XRC=no
47446 else
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_XRC 1
47449 _ACEOF
47450
47451 USE_XRC=1
47452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47453 fi
47454 fi
47455
47456 USE_AUI=0
47457 if test "$wxUSE_AUI" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_AUI 1
47460 _ACEOF
47461
47462 USE_AUI=1
47463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47464 fi
47465
47466 if test "$wxUSE_MENUS" = "yes"; then
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_MENUS 1
47469 _ACEOF
47470
47471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47472 fi
47473
47474 if test "$wxUSE_METAFILE" = "yes"; then
47475 cat >>confdefs.h <<\_ACEOF
47476 #define wxUSE_METAFILE 1
47477 _ACEOF
47478
47479 fi
47480
47481 if test "$wxUSE_MIMETYPE" = "yes"; then
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_MIMETYPE 1
47484 _ACEOF
47485
47486 fi
47487
47488 if test "$wxUSE_MINIFRAME" = "yes"; then
47489 cat >>confdefs.h <<\_ACEOF
47490 #define wxUSE_MINIFRAME 1
47491 _ACEOF
47492
47493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47494 fi
47495
47496 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_SYSTEM_OPTIONS 1
47499 _ACEOF
47500
47501 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47502 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47504 fi
47505 fi
47506
47507
47508 if test "$wxUSE_VALIDATORS" = "yes"; then
47509 cat >>confdefs.h <<\_ACEOF
47510 #define wxUSE_VALIDATORS 1
47511 _ACEOF
47512
47513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47514 fi
47515
47516 if test "$wxUSE_PALETTE" = "yes" ; then
47517 cat >>confdefs.h <<\_ACEOF
47518 #define wxUSE_PALETTE 1
47519 _ACEOF
47520
47521 fi
47522
47523 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47524 LIBS=" -lunicows $LIBS"
47525 fi
47526
47527 USE_RICHTEXT=0
47528 if test "$wxUSE_RICHTEXT" = "yes"; then
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_RICHTEXT 1
47531 _ACEOF
47532
47533 USE_RICHTEXT=1
47534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47535 fi
47536
47537
47538 if test "$wxUSE_IMAGE" = "yes" ; then
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_IMAGE 1
47541 _ACEOF
47542
47543
47544 if test "$wxUSE_GIF" = "yes" ; then
47545 cat >>confdefs.h <<\_ACEOF
47546 #define wxUSE_GIF 1
47547 _ACEOF
47548
47549 fi
47550
47551 if test "$wxUSE_PCX" = "yes" ; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_PCX 1
47554 _ACEOF
47555
47556 fi
47557
47558 if test "$wxUSE_TGA" = "yes" ; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_TGA 1
47561 _ACEOF
47562
47563 fi
47564
47565 if test "$wxUSE_IFF" = "yes" ; then
47566 cat >>confdefs.h <<\_ACEOF
47567 #define wxUSE_IFF 1
47568 _ACEOF
47569
47570 fi
47571
47572 if test "$wxUSE_PNM" = "yes" ; then
47573 cat >>confdefs.h <<\_ACEOF
47574 #define wxUSE_PNM 1
47575 _ACEOF
47576
47577 fi
47578
47579 if test "$wxUSE_XPM" = "yes" ; then
47580 cat >>confdefs.h <<\_ACEOF
47581 #define wxUSE_XPM 1
47582 _ACEOF
47583
47584 fi
47585
47586 if test "$wxUSE_ICO_CUR" = "yes" ; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_ICO_CUR 1
47589 _ACEOF
47590
47591 fi
47592 fi
47593
47594
47595 if test "$wxUSE_ABOUTDLG" = "yes"; then
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_ABOUTDLG 1
47598 _ACEOF
47599
47600 fi
47601
47602 if test "$wxUSE_CHOICEDLG" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_CHOICEDLG 1
47605 _ACEOF
47606
47607 fi
47608
47609 if test "$wxUSE_COLOURDLG" = "yes"; then
47610 cat >>confdefs.h <<\_ACEOF
47611 #define wxUSE_COLOURDLG 1
47612 _ACEOF
47613
47614 fi
47615
47616 if test "$wxUSE_FILEDLG" = "yes"; then
47617 cat >>confdefs.h <<\_ACEOF
47618 #define wxUSE_FILEDLG 1
47619 _ACEOF
47620
47621 fi
47622
47623 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47624 cat >>confdefs.h <<\_ACEOF
47625 #define wxUSE_FINDREPLDLG 1
47626 _ACEOF
47627
47628 fi
47629
47630 if test "$wxUSE_FONTDLG" = "yes"; then
47631 cat >>confdefs.h <<\_ACEOF
47632 #define wxUSE_FONTDLG 1
47633 _ACEOF
47634
47635 fi
47636
47637 if test "$wxUSE_DIRDLG" = "yes"; then
47638 if test "$wxUSE_TREECTRL" != "yes"; then
47639 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47640 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47641 else
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_DIRDLG 1
47644 _ACEOF
47645
47646 fi
47647 fi
47648
47649 if test "$wxUSE_MSGDLG" = "yes"; then
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_MSGDLG 1
47652 _ACEOF
47653
47654 fi
47655
47656 if test "$wxUSE_NUMBERDLG" = "yes"; then
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_NUMBERDLG 1
47659 _ACEOF
47660
47661 fi
47662
47663 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47664 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47665 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47666 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47667 else
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_PROGRESSDLG 1
47670 _ACEOF
47671
47672 fi
47673 fi
47674
47675 if test "$wxUSE_SPLASH" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_SPLASH 1
47678 _ACEOF
47679
47680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47681 fi
47682
47683 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47684 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47685 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47686 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47687 else
47688 cat >>confdefs.h <<\_ACEOF
47689 #define wxUSE_STARTUP_TIPS 1
47690 _ACEOF
47691
47692 fi
47693 fi
47694
47695 if test "$wxUSE_TEXTDLG" = "yes"; then
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_TEXTDLG 1
47698 _ACEOF
47699
47700 fi
47701
47702 if test "$wxUSE_WIZARDDLG" = "yes"; then
47703 cat >>confdefs.h <<\_ACEOF
47704 #define wxUSE_WIZARDDLG 1
47705 _ACEOF
47706
47707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47708 fi
47709
47710
47711 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47712 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47713 cat >>confdefs.h <<\_ACEOF
47714 #define wxUSE_GRAPHICS_CONTEXT 1
47715 _ACEOF
47716
47717 elif test "$wxUSE_GTK" != 1; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_GRAPHICS_CONTEXT 1
47720 _ACEOF
47721
47722 else
47723
47724 pkg_failed=no
47725 echo "$as_me:$LINENO: checking for CAIRO" >&5
47726 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47727
47728 if test -n "$PKG_CONFIG"; then
47729 if test -n "$CAIRO_CFLAGS"; then
47730 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47731 else
47732 if test -n "$PKG_CONFIG" && \
47733 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47734 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47735 ac_status=$?
47736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47737 (exit $ac_status); }; then
47738 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47739 else
47740 pkg_failed=yes
47741 fi
47742 fi
47743 else
47744 pkg_failed=untried
47745 fi
47746 if test -n "$PKG_CONFIG"; then
47747 if test -n "$CAIRO_LIBS"; then
47748 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47749 else
47750 if test -n "$PKG_CONFIG" && \
47751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47752 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47753 ac_status=$?
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); }; then
47756 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47757 else
47758 pkg_failed=yes
47759 fi
47760 fi
47761 else
47762 pkg_failed=untried
47763 fi
47764
47765
47766
47767 if test $pkg_failed = yes; then
47768
47769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47770 _pkg_short_errors_supported=yes
47771 else
47772 _pkg_short_errors_supported=no
47773 fi
47774 if test $_pkg_short_errors_supported = yes; then
47775 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47776 else
47777 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47778 fi
47779 # Put the nasty error message in config.log where it belongs
47780 echo "$CAIRO_PKG_ERRORS" >&5
47781
47782 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47783 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47784
47785 elif test $pkg_failed = untried; then
47786 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47787 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47788
47789 else
47790 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47791 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47792 echo "$as_me:$LINENO: result: yes" >&5
47793 echo "${ECHO_T}yes" >&6
47794 cat >>confdefs.h <<\_ACEOF
47795 #define wxUSE_GRAPHICS_CONTEXT 1
47796 _ACEOF
47797
47798 fi
47799 fi
47800 fi
47801
47802
47803 USE_MEDIA=0
47804
47805 if test "$wxUSE_MEDIACTRL" = "yes"; then
47806 USE_MEDIA=1
47807
47808 if test "$wxUSE_GTK" = 1; then
47809 wxUSE_GSTREAMER="no"
47810
47811 GST_VERSION_MAJOR=0
47812 GST_VERSION_MINOR=10
47813 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47814
47815 if test "$wxUSE_GSTREAMER8" = "no"; then
47816
47817 pkg_failed=no
47818 echo "$as_me:$LINENO: checking for GST" >&5
47819 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47820
47821 if test -n "$PKG_CONFIG"; then
47822 if test -n "$GST_CFLAGS"; then
47823 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47824 else
47825 if test -n "$PKG_CONFIG" && \
47826 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47827 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47828 ac_status=$?
47829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47830 (exit $ac_status); }; then
47831 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47832 else
47833 pkg_failed=yes
47834 fi
47835 fi
47836 else
47837 pkg_failed=untried
47838 fi
47839 if test -n "$PKG_CONFIG"; then
47840 if test -n "$GST_LIBS"; then
47841 pkg_cv_GST_LIBS="$GST_LIBS"
47842 else
47843 if test -n "$PKG_CONFIG" && \
47844 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47845 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47846 ac_status=$?
47847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47848 (exit $ac_status); }; then
47849 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47850 else
47851 pkg_failed=yes
47852 fi
47853 fi
47854 else
47855 pkg_failed=untried
47856 fi
47857
47858
47859
47860 if test $pkg_failed = yes; then
47861
47862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47863 _pkg_short_errors_supported=yes
47864 else
47865 _pkg_short_errors_supported=no
47866 fi
47867 if test $_pkg_short_errors_supported = yes; then
47868 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47869 else
47870 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47871 fi
47872 # Put the nasty error message in config.log where it belongs
47873 echo "$GST_PKG_ERRORS" >&5
47874
47875
47876 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47877 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47878 GST_VERSION_MINOR=8
47879
47880
47881 elif test $pkg_failed = untried; then
47882
47883 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47884 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47885 GST_VERSION_MINOR=8
47886
47887
47888 else
47889 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47890 GST_LIBS=$pkg_cv_GST_LIBS
47891 echo "$as_me:$LINENO: result: yes" >&5
47892 echo "${ECHO_T}yes" >&6
47893
47894 wxUSE_GSTREAMER="yes"
47895 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47896
47897 fi
47898 else
47899 GST_VERSION_MINOR=8
47900 fi
47901
47902 if test $GST_VERSION_MINOR = "8"; then
47903 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47904
47905 pkg_failed=no
47906 echo "$as_me:$LINENO: checking for GST" >&5
47907 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47908
47909 if test -n "$PKG_CONFIG"; then
47910 if test -n "$GST_CFLAGS"; then
47911 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47912 else
47913 if test -n "$PKG_CONFIG" && \
47914 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47915 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47916 ac_status=$?
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); }; then
47919 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47920 else
47921 pkg_failed=yes
47922 fi
47923 fi
47924 else
47925 pkg_failed=untried
47926 fi
47927 if test -n "$PKG_CONFIG"; then
47928 if test -n "$GST_LIBS"; then
47929 pkg_cv_GST_LIBS="$GST_LIBS"
47930 else
47931 if test -n "$PKG_CONFIG" && \
47932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47933 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47934 ac_status=$?
47935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47936 (exit $ac_status); }; then
47937 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47938 else
47939 pkg_failed=yes
47940 fi
47941 fi
47942 else
47943 pkg_failed=untried
47944 fi
47945
47946
47947
47948 if test $pkg_failed = yes; then
47949
47950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47951 _pkg_short_errors_supported=yes
47952 else
47953 _pkg_short_errors_supported=no
47954 fi
47955 if test $_pkg_short_errors_supported = yes; then
47956 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47957 else
47958 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47959 fi
47960 # Put the nasty error message in config.log where it belongs
47961 echo "$GST_PKG_ERRORS" >&5
47962
47963
47964 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47965 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47966
47967 elif test $pkg_failed = untried; then
47968
47969 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47970 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47971
47972 else
47973 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47974 GST_LIBS=$pkg_cv_GST_LIBS
47975 echo "$as_me:$LINENO: result: yes" >&5
47976 echo "${ECHO_T}yes" >&6
47977 wxUSE_GSTREAMER="yes"
47978 fi
47979 fi
47980
47981
47982 if test "$wxUSE_GSTREAMER" = "yes"; then
47983 case "${host}" in
47984 *-*-solaris2* )
47985 if "$GCC" = yes; then
47986 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47987 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47988 fi
47989 esac
47990
47991 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47992 LIBS="$GST_LIBS $LIBS"
47993
47994 cat >>confdefs.h <<\_ACEOF
47995 #define wxUSE_GSTREAMER 1
47996 _ACEOF
47997
47998 else
47999 USE_MEDIA=0
48000 fi
48001 fi
48002
48003 if test $USE_MEDIA = 1; then
48004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_MEDIACTRL 1
48007 _ACEOF
48008
48009 fi
48010 fi
48011
48012
48013 if test "$cross_compiling" = "yes"; then
48014 OSINFO="\"$host\""
48015 else
48016 OSINFO=`uname -s -r -m`
48017 OSINFO="\"$OSINFO\""
48018 fi
48019
48020 cat >>confdefs.h <<_ACEOF
48021 #define WXWIN_OS_DESCRIPTION $OSINFO
48022 _ACEOF
48023
48024
48025
48026 if test "x$prefix" != "xNONE"; then
48027 wxPREFIX=$prefix
48028 else
48029 wxPREFIX=$ac_default_prefix
48030 fi
48031
48032 cat >>confdefs.h <<_ACEOF
48033 #define wxINSTALL_PREFIX "$wxPREFIX"
48034 _ACEOF
48035
48036
48037
48038
48039 CORE_BASE_LIBS="net base"
48040 CORE_GUI_LIBS="adv core"
48041
48042 if test "$wxUSE_XML" = "yes" ; then
48043 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
48044 fi
48045 if test "$wxUSE_ODBC" != "no" ; then
48046 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
48047 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
48048 fi
48049 if test "$wxUSE_HTML" = "yes" ; then
48050 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
48051 fi
48052 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48053 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
48054 fi
48055 if test "$wxUSE_XRC" = "yes" ; then
48056 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
48057 fi
48058 if test "$wxUSE_AUI" = "yes" ; then
48059 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
48060 fi
48061
48062 if test "$wxUSE_GUI" != "yes"; then
48063 CORE_GUI_LIBS=""
48064 fi
48065
48066
48067
48068
48069
48070 ac_ext=c
48071 ac_cpp='$CPP $CPPFLAGS'
48072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075
48076
48077
48078 if test "$wxUSE_MAC" = 1 ; then
48079 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48080 if test "$USE_DARWIN" = 1; then
48081 LDFLAGS="$LDFLAGS -framework QuickTime"
48082 else
48083 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48084 fi
48085 fi
48086 if test "$USE_DARWIN" = 1; then
48087 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48088 else
48089 LDFLAGS="$LDFLAGS -lCarbonLib"
48090 fi
48091 fi
48092 if test "$wxUSE_COCOA" = 1 ; then
48093 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48094 if test "$wxUSE_MEDIACTRL" = "yes"; then
48095 LDFLAGS="$LDFLAGS -framework QuickTime"
48096 fi
48097 fi
48098 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48099 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48100 fi
48101
48102 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48103
48104 if test "$wxUSE_GUI" = "yes"; then
48105
48106
48107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48108 dynamic erase event exec font image minimal mobile \
48109 mobile/wxedit mobile/styles propsize render \
48110 rotate shaped vscroll widgets"
48111
48112 if test "$wxUSE_MONOLITHIC" != "yes"; then
48113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48114 fi
48115 if test "$TOOLKIT" = "MSW"; then
48116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48117 if test "$wxUSE_UNIVERSAL" != "yes"; then
48118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48119 fi
48120 fi
48121 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48123 fi
48124 else
48125 SAMPLES_SUBDIRS="console"
48126 fi
48127
48128
48129 if test "x$INTELCC" = "xyes" ; then
48130 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48131 elif test "$GCC" = yes ; then
48132 CWARNINGS="-Wall -Wundef"
48133 fi
48134
48135 if test "x$INTELCXX" = "xyes" ; then
48136 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48137 elif test "$GXX" = yes ; then
48138 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48139 fi
48140
48141
48142 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48143 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48144
48145
48146 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48147 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
48148 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48149 $CPPFLAGS `
48150
48151 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48152 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48153 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
48154
48155 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48156
48157
48158 if test "x$MWCC" = "xyes"; then
48159
48160 CC="$CC -cwd source -I-"
48161 CXX="$CXX -cwd source -I-"
48162 fi
48163
48164
48165 LIBS=`echo $LIBS`
48166 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48167 EXTRALIBS_XML="$EXPAT_LINK"
48168 EXTRALIBS_HTML="$MSPACK_LINK"
48169 EXTRALIBS_ODBC="$ODBC_LINK"
48170 if test "$wxUSE_GUI" = "yes"; then
48171 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48172 fi
48173 if test "$wxUSE_OPENGL" = "yes"; then
48174 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48175 fi
48176
48177 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48178
48179 WXCONFIG_LIBS="$LIBS"
48180
48181 if test "$wxUSE_REGEX" = "builtin" ; then
48182 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48183 fi
48184 if test "$wxUSE_EXPAT" = "builtin" ; then
48185 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48186 fi
48187 if test "$wxUSE_ODBC" = "builtin" ; then
48188 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48189 fi
48190 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48191 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48192 fi
48193 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48194 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48195 fi
48196 if test "$wxUSE_LIBPNG" = "builtin" ; then
48197 wxconfig_3rdparty="png $wxconfig_3rdparty"
48198 fi
48199 if test "$wxUSE_ZLIB" = "builtin" ; then
48200 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48201 fi
48202
48203 for i in $wxconfig_3rdparty ; do
48204 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48205 done
48206
48207
48208 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48209 WXUNIV=1
48210
48211 case "$wxUNIV_THEMES" in
48212 ''|all)
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_ALL_THEMES 1
48215 _ACEOF
48216
48217 ;;
48218
48219 *)
48220 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48221 cat >>confdefs.h <<_ACEOF
48222 #define wxUSE_THEME_$t 1
48223 _ACEOF
48224
48225 done
48226 esac
48227 else
48228 WXUNIV=0
48229 fi
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239 if test $wxUSE_MONOLITHIC = "yes" ; then
48240 MONOLITHIC=1
48241 else
48242 MONOLITHIC=0
48243 fi
48244
48245 if test $wxUSE_PLUGINS = "yes" ; then
48246 USE_PLUGINS=1
48247 else
48248 USE_PLUGINS=0
48249 fi
48250
48251 if test $wxUSE_ODBC != "no" ; then
48252 USE_ODBC=1
48253 else
48254 USE_ODBC=0
48255 fi
48256
48257 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48258 USE_QA=1
48259 else
48260 USE_QA=0
48261 fi
48262
48263 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48264 OFFICIAL_BUILD=1
48265 else
48266 OFFICIAL_BUILD=0
48267 fi
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48294
48295
48296
48297
48298
48299
48300
48301
48302 case "$TOOLKIT" in
48303 GTK)
48304 TOOLKIT_DESC="GTK+"
48305 if test "$WXGTK20" = 1; then
48306 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48307 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48308 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48309 fi
48310 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48311 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48312 fi
48313 if test "$wxUSE_LIBHILDON" = "yes"; then
48314 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48315 fi
48316
48317 if test "$TOOLKIT_EXTRA" != ""; then
48318 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48319 fi
48320 fi
48321 ;;
48322
48323 ?*)
48324 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48325 ;;
48326
48327 *)
48328 TOOLKIT_DESC="base only"
48329 ;;
48330 esac
48331
48332 if test "$wxUSE_WINE" = "yes"; then
48333 BAKEFILE_FORCE_PLATFORM=win32
48334 fi
48335
48336 if test "$wxUSE_MAC" = 1 ; then
48337 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48338 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48339 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48340 else
48341 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48342 fi
48343 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48344 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48345 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48346 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48347 bk_use_pch=no
48348 fi
48349 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48350 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48351 fi
48352
48353 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48354 then
48355 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48356 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
48357 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48359 else
48360
48361 echo '#include <stdio.h>
48362 const wchar_t test_var[] = L"awidetest";' > conftest.h
48363
48364 echo '#include "conftest.h"
48365 int main()
48366 {
48367 printf("%ls", test_var);
48368 return 0;
48369 }' > conftest.cpp
48370
48371 wx_cv_gcc_pch_bug="pch not supported"
48372
48373 if $CXX conftest.h >/dev/null 2>&1
48374 then
48375 wx_cv_gcc_pch_bug=
48376
48377 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48378 then
48379 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48380 grep awidetest >/dev/null
48381 then
48382 wx_cv_gcc_pch_bug=no
48383 else
48384 wx_cv_gcc_pch_bug=yes
48385 fi
48386 fi
48387 fi
48388
48389 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48390
48391 fi
48392 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48393 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
48394
48395 if test "$wx_cv_gcc_pch_bug" = yes; then
48396 bk_use_pch=no
48397 fi
48398 fi
48399
48400
48401
48402
48403 if test "x$BAKEFILE_HOST" = "x"; then
48404 if test "x${host}" = "x" ; then
48405 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48406 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48407 { (exit 1); exit 1; }; }
48408 fi
48409
48410 BAKEFILE_HOST="${host}"
48411 fi
48412
48413 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48414
48415 if test -n "$ac_tool_prefix"; then
48416 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48417 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48418 echo "$as_me:$LINENO: checking for $ac_word" >&5
48419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48420 if test "${ac_cv_prog_RANLIB+set}" = set; then
48421 echo $ECHO_N "(cached) $ECHO_C" >&6
48422 else
48423 if test -n "$RANLIB"; then
48424 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48425 else
48426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48427 for as_dir in $PATH
48428 do
48429 IFS=$as_save_IFS
48430 test -z "$as_dir" && as_dir=.
48431 for ac_exec_ext in '' $ac_executable_extensions; do
48432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48433 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48435 break 2
48436 fi
48437 done
48438 done
48439
48440 fi
48441 fi
48442 RANLIB=$ac_cv_prog_RANLIB
48443 if test -n "$RANLIB"; then
48444 echo "$as_me:$LINENO: result: $RANLIB" >&5
48445 echo "${ECHO_T}$RANLIB" >&6
48446 else
48447 echo "$as_me:$LINENO: result: no" >&5
48448 echo "${ECHO_T}no" >&6
48449 fi
48450
48451 fi
48452 if test -z "$ac_cv_prog_RANLIB"; then
48453 ac_ct_RANLIB=$RANLIB
48454 # Extract the first word of "ranlib", so it can be a program name with args.
48455 set dummy ranlib; ac_word=$2
48456 echo "$as_me:$LINENO: checking for $ac_word" >&5
48457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48459 echo $ECHO_N "(cached) $ECHO_C" >&6
48460 else
48461 if test -n "$ac_ct_RANLIB"; then
48462 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48463 else
48464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48465 for as_dir in $PATH
48466 do
48467 IFS=$as_save_IFS
48468 test -z "$as_dir" && as_dir=.
48469 for ac_exec_ext in '' $ac_executable_extensions; do
48470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48471 ac_cv_prog_ac_ct_RANLIB="ranlib"
48472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48473 break 2
48474 fi
48475 done
48476 done
48477
48478 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
48479 fi
48480 fi
48481 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48482 if test -n "$ac_ct_RANLIB"; then
48483 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48484 echo "${ECHO_T}$ac_ct_RANLIB" >&6
48485 else
48486 echo "$as_me:$LINENO: result: no" >&5
48487 echo "${ECHO_T}no" >&6
48488 fi
48489
48490 RANLIB=$ac_ct_RANLIB
48491 else
48492 RANLIB="$ac_cv_prog_RANLIB"
48493 fi
48494
48495 # Find a good install program. We prefer a C program (faster),
48496 # so one script is as good as another. But avoid the broken or
48497 # incompatible versions:
48498 # SysV /etc/install, /usr/sbin/install
48499 # SunOS /usr/etc/install
48500 # IRIX /sbin/install
48501 # AIX /bin/install
48502 # AmigaOS /C/install, which installs bootblocks on floppy discs
48503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48506 # OS/2's system install, which has a completely different semantic
48507 # ./install, which can be erroneously created by make from ./install.sh.
48508 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48509 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
48510 if test -z "$INSTALL"; then
48511 if test "${ac_cv_path_install+set}" = set; then
48512 echo $ECHO_N "(cached) $ECHO_C" >&6
48513 else
48514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48515 for as_dir in $PATH
48516 do
48517 IFS=$as_save_IFS
48518 test -z "$as_dir" && as_dir=.
48519 # Account for people who put trailing slashes in PATH elements.
48520 case $as_dir/ in
48521 ./ | .// | /cC/* | \
48522 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48523 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48524 /usr/ucb/* ) ;;
48525 *)
48526 # OSF1 and SCO ODT 3.0 have their own names for install.
48527 # Don't use installbsd from OSF since it installs stuff as root
48528 # by default.
48529 for ac_prog in ginstall scoinst install; do
48530 for ac_exec_ext in '' $ac_executable_extensions; do
48531 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
48532 if test $ac_prog = install &&
48533 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48534 # AIX install. It has an incompatible calling convention.
48535 :
48536 elif test $ac_prog = install &&
48537 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48538 # program-specific install script used by HP pwplus--don't use.
48539 :
48540 else
48541 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48542 break 3
48543 fi
48544 fi
48545 done
48546 done
48547 ;;
48548 esac
48549 done
48550
48551
48552 fi
48553 if test "${ac_cv_path_install+set}" = set; then
48554 INSTALL=$ac_cv_path_install
48555 else
48556 # As a last resort, use the slow shell script. We don't cache a
48557 # path for INSTALL within a source directory, because that will
48558 # break other packages using the cache if that directory is
48559 # removed, or if the path is relative.
48560 INSTALL=$ac_install_sh
48561 fi
48562 fi
48563 echo "$as_me:$LINENO: result: $INSTALL" >&5
48564 echo "${ECHO_T}$INSTALL" >&6
48565
48566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48567 # It thinks the first close brace ends the variable substitution.
48568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48569
48570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48571
48572 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48573
48574 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48575 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48576 LN_S=$as_ln_s
48577 if test "$LN_S" = "ln -s"; then
48578 echo "$as_me:$LINENO: result: yes" >&5
48579 echo "${ECHO_T}yes" >&6
48580 else
48581 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48582 echo "${ECHO_T}no, using $LN_S" >&6
48583 fi
48584
48585
48586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48588 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48590 echo $ECHO_N "(cached) $ECHO_C" >&6
48591 else
48592 cat >conftest.make <<\_ACEOF
48593 all:
48594 @echo 'ac_maketemp="$(MAKE)"'
48595 _ACEOF
48596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48598 if test -n "$ac_maketemp"; then
48599 eval ac_cv_prog_make_${ac_make}_set=yes
48600 else
48601 eval ac_cv_prog_make_${ac_make}_set=no
48602 fi
48603 rm -f conftest.make
48604 fi
48605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48606 echo "$as_me:$LINENO: result: yes" >&5
48607 echo "${ECHO_T}yes" >&6
48608 SET_MAKE=
48609 else
48610 echo "$as_me:$LINENO: result: no" >&5
48611 echo "${ECHO_T}no" >&6
48612 SET_MAKE="MAKE=${MAKE-make}"
48613 fi
48614
48615
48616
48617 if test -n "$ac_tool_prefix"; then
48618 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48619 set dummy ${ac_tool_prefix}ar; ac_word=$2
48620 echo "$as_me:$LINENO: checking for $ac_word" >&5
48621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48622 if test "${ac_cv_prog_AR+set}" = set; then
48623 echo $ECHO_N "(cached) $ECHO_C" >&6
48624 else
48625 if test -n "$AR"; then
48626 ac_cv_prog_AR="$AR" # Let the user override the test.
48627 else
48628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48629 for as_dir in $PATH
48630 do
48631 IFS=$as_save_IFS
48632 test -z "$as_dir" && as_dir=.
48633 for ac_exec_ext in '' $ac_executable_extensions; do
48634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48635 ac_cv_prog_AR="${ac_tool_prefix}ar"
48636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48637 break 2
48638 fi
48639 done
48640 done
48641
48642 fi
48643 fi
48644 AR=$ac_cv_prog_AR
48645 if test -n "$AR"; then
48646 echo "$as_me:$LINENO: result: $AR" >&5
48647 echo "${ECHO_T}$AR" >&6
48648 else
48649 echo "$as_me:$LINENO: result: no" >&5
48650 echo "${ECHO_T}no" >&6
48651 fi
48652
48653 fi
48654 if test -z "$ac_cv_prog_AR"; then
48655 ac_ct_AR=$AR
48656 # Extract the first word of "ar", so it can be a program name with args.
48657 set dummy ar; ac_word=$2
48658 echo "$as_me:$LINENO: checking for $ac_word" >&5
48659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48660 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48662 else
48663 if test -n "$ac_ct_AR"; then
48664 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48665 else
48666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48667 for as_dir in $PATH
48668 do
48669 IFS=$as_save_IFS
48670 test -z "$as_dir" && as_dir=.
48671 for ac_exec_ext in '' $ac_executable_extensions; do
48672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48673 ac_cv_prog_ac_ct_AR="ar"
48674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48675 break 2
48676 fi
48677 done
48678 done
48679
48680 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48681 fi
48682 fi
48683 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48684 if test -n "$ac_ct_AR"; then
48685 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48686 echo "${ECHO_T}$ac_ct_AR" >&6
48687 else
48688 echo "$as_me:$LINENO: result: no" >&5
48689 echo "${ECHO_T}no" >&6
48690 fi
48691
48692 AR=$ac_ct_AR
48693 else
48694 AR="$ac_cv_prog_AR"
48695 fi
48696
48697 if test -n "$ac_tool_prefix"; then
48698 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48699 set dummy ${ac_tool_prefix}strip; ac_word=$2
48700 echo "$as_me:$LINENO: checking for $ac_word" >&5
48701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48702 if test "${ac_cv_prog_STRIP+set}" = set; then
48703 echo $ECHO_N "(cached) $ECHO_C" >&6
48704 else
48705 if test -n "$STRIP"; then
48706 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48707 else
48708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48709 for as_dir in $PATH
48710 do
48711 IFS=$as_save_IFS
48712 test -z "$as_dir" && as_dir=.
48713 for ac_exec_ext in '' $ac_executable_extensions; do
48714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48715 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48717 break 2
48718 fi
48719 done
48720 done
48721
48722 fi
48723 fi
48724 STRIP=$ac_cv_prog_STRIP
48725 if test -n "$STRIP"; then
48726 echo "$as_me:$LINENO: result: $STRIP" >&5
48727 echo "${ECHO_T}$STRIP" >&6
48728 else
48729 echo "$as_me:$LINENO: result: no" >&5
48730 echo "${ECHO_T}no" >&6
48731 fi
48732
48733 fi
48734 if test -z "$ac_cv_prog_STRIP"; then
48735 ac_ct_STRIP=$STRIP
48736 # Extract the first word of "strip", so it can be a program name with args.
48737 set dummy strip; ac_word=$2
48738 echo "$as_me:$LINENO: checking for $ac_word" >&5
48739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48740 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48741 echo $ECHO_N "(cached) $ECHO_C" >&6
48742 else
48743 if test -n "$ac_ct_STRIP"; then
48744 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48745 else
48746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48747 for as_dir in $PATH
48748 do
48749 IFS=$as_save_IFS
48750 test -z "$as_dir" && as_dir=.
48751 for ac_exec_ext in '' $ac_executable_extensions; do
48752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48753 ac_cv_prog_ac_ct_STRIP="strip"
48754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48755 break 2
48756 fi
48757 done
48758 done
48759
48760 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48761 fi
48762 fi
48763 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48764 if test -n "$ac_ct_STRIP"; then
48765 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48766 echo "${ECHO_T}$ac_ct_STRIP" >&6
48767 else
48768 echo "$as_me:$LINENO: result: no" >&5
48769 echo "${ECHO_T}no" >&6
48770 fi
48771
48772 STRIP=$ac_ct_STRIP
48773 else
48774 STRIP="$ac_cv_prog_STRIP"
48775 fi
48776
48777 if test -n "$ac_tool_prefix"; then
48778 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48779 set dummy ${ac_tool_prefix}nm; ac_word=$2
48780 echo "$as_me:$LINENO: checking for $ac_word" >&5
48781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48782 if test "${ac_cv_prog_NM+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48784 else
48785 if test -n "$NM"; then
48786 ac_cv_prog_NM="$NM" # Let the user override the test.
48787 else
48788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48789 for as_dir in $PATH
48790 do
48791 IFS=$as_save_IFS
48792 test -z "$as_dir" && as_dir=.
48793 for ac_exec_ext in '' $ac_executable_extensions; do
48794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48795 ac_cv_prog_NM="${ac_tool_prefix}nm"
48796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48797 break 2
48798 fi
48799 done
48800 done
48801
48802 fi
48803 fi
48804 NM=$ac_cv_prog_NM
48805 if test -n "$NM"; then
48806 echo "$as_me:$LINENO: result: $NM" >&5
48807 echo "${ECHO_T}$NM" >&6
48808 else
48809 echo "$as_me:$LINENO: result: no" >&5
48810 echo "${ECHO_T}no" >&6
48811 fi
48812
48813 fi
48814 if test -z "$ac_cv_prog_NM"; then
48815 ac_ct_NM=$NM
48816 # Extract the first word of "nm", so it can be a program name with args.
48817 set dummy nm; ac_word=$2
48818 echo "$as_me:$LINENO: checking for $ac_word" >&5
48819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48820 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48821 echo $ECHO_N "(cached) $ECHO_C" >&6
48822 else
48823 if test -n "$ac_ct_NM"; then
48824 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48825 else
48826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48827 for as_dir in $PATH
48828 do
48829 IFS=$as_save_IFS
48830 test -z "$as_dir" && as_dir=.
48831 for ac_exec_ext in '' $ac_executable_extensions; do
48832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48833 ac_cv_prog_ac_ct_NM="nm"
48834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48835 break 2
48836 fi
48837 done
48838 done
48839
48840 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48841 fi
48842 fi
48843 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48844 if test -n "$ac_ct_NM"; then
48845 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48846 echo "${ECHO_T}$ac_ct_NM" >&6
48847 else
48848 echo "$as_me:$LINENO: result: no" >&5
48849 echo "${ECHO_T}no" >&6
48850 fi
48851
48852 NM=$ac_ct_NM
48853 else
48854 NM="$ac_cv_prog_NM"
48855 fi
48856
48857
48858 case ${BAKEFILE_HOST} in
48859 *-hp-hpux* )
48860 INSTALL_DIR="mkdir -p"
48861 ;;
48862 *) INSTALL_DIR="$INSTALL -d"
48863 ;;
48864 esac
48865
48866
48867 LDFLAGS_GUI=
48868 case ${BAKEFILE_HOST} in
48869 *-*-cygwin* | *-*-mingw32* )
48870 LDFLAGS_GUI="-mwindows"
48871 esac
48872
48873
48874 fi
48875
48876 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48877 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48878 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48879 echo $ECHO_N "(cached) $ECHO_C" >&6
48880 else
48881
48882 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48883 egrep -s GNU > /dev/null); then
48884 bakefile_cv_prog_makeisgnu="yes"
48885 else
48886 bakefile_cv_prog_makeisgnu="no"
48887 fi
48888
48889 fi
48890 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48891 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48892
48893 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48894 IF_GNU_MAKE=""
48895 else
48896 IF_GNU_MAKE="#"
48897 fi
48898
48899
48900
48901 PLATFORM_UNIX=0
48902 PLATFORM_WIN32=0
48903 PLATFORM_MSDOS=0
48904 PLATFORM_MAC=0
48905 PLATFORM_MACOS=0
48906 PLATFORM_MACOSX=0
48907 PLATFORM_OS2=0
48908 PLATFORM_BEOS=0
48909
48910 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48911 case "${BAKEFILE_HOST}" in
48912 *-*-mingw32* )
48913 PLATFORM_WIN32=1
48914 ;;
48915 *-pc-msdosdjgpp )
48916 PLATFORM_MSDOS=1
48917 ;;
48918 *-pc-os2_emx | *-pc-os2-emx )
48919 PLATFORM_OS2=1
48920 ;;
48921 *-*-darwin* )
48922 PLATFORM_MAC=1
48923 PLATFORM_MACOSX=1
48924 ;;
48925 *-*-beos* )
48926 PLATFORM_BEOS=1
48927 ;;
48928 powerpc-apple-macos* )
48929 PLATFORM_MAC=1
48930 PLATFORM_MACOS=1
48931 ;;
48932 * )
48933 PLATFORM_UNIX=1
48934 ;;
48935 esac
48936 else
48937 case "$BAKEFILE_FORCE_PLATFORM" in
48938 win32 )
48939 PLATFORM_WIN32=1
48940 ;;
48941 msdos )
48942 PLATFORM_MSDOS=1
48943 ;;
48944 os2 )
48945 PLATFORM_OS2=1
48946 ;;
48947 darwin )
48948 PLATFORM_MAC=1
48949 PLATFORM_MACOSX=1
48950 ;;
48951 unix )
48952 PLATFORM_UNIX=1
48953 ;;
48954 beos )
48955 PLATFORM_BEOS=1
48956 ;;
48957 * )
48958 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48959 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48960 { (exit 1); exit 1; }; }
48961 ;;
48962 esac
48963 fi
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975 # Check whether --enable-omf or --disable-omf was given.
48976 if test "${enable_omf+set}" = set; then
48977 enableval="$enable_omf"
48978 bk_os2_use_omf="$enableval"
48979 fi;
48980
48981 case "${BAKEFILE_HOST}" in
48982 *-*-darwin* )
48983 if test "x$GCC" = "xyes"; then
48984 CFLAGS="$CFLAGS -fno-common"
48985 CXXFLAGS="$CXXFLAGS -fno-common"
48986 fi
48987 if test "x$XLCC" = "xyes"; then
48988 CFLAGS="$CFLAGS -qnocommon"
48989 CXXFLAGS="$CXXFLAGS -qnocommon"
48990 fi
48991 ;;
48992
48993 *-pc-os2_emx | *-pc-os2-emx )
48994 if test "x$bk_os2_use_omf" = "xyes" ; then
48995 AR=emxomfar
48996 RANLIB=:
48997 LDFLAGS="-Zomf $LDFLAGS"
48998 CFLAGS="-Zomf $CFLAGS"
48999 CXXFLAGS="-Zomf $CXXFLAGS"
49000 OS2_LIBEXT="lib"
49001 else
49002 OS2_LIBEXT="a"
49003 fi
49004 ;;
49005
49006 i*86-*-beos* )
49007 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49008 ;;
49009 esac
49010
49011
49012 SO_SUFFIX="so"
49013 SO_SUFFIX_MODULE="so"
49014 EXEEXT=""
49015 LIBPREFIX="lib"
49016 LIBEXT=".a"
49017 DLLPREFIX="lib"
49018 DLLPREFIX_MODULE=""
49019 DLLIMP_SUFFIX=""
49020 dlldir="$libdir"
49021
49022 case "${BAKEFILE_HOST}" in
49023 *-hp-hpux* )
49024 SO_SUFFIX="sl"
49025 SO_SUFFIX_MODULE="sl"
49026 ;;
49027 *-*-aix* )
49028 SO_SUFFIX="a"
49029 SO_SUFFIX_MODULE="a"
49030 ;;
49031 *-*-cygwin* )
49032 SO_SUFFIX="dll"
49033 SO_SUFFIX_MODULE="dll"
49034 DLLIMP_SUFFIX="dll.a"
49035 EXEEXT=".exe"
49036 DLLPREFIX="cyg"
49037 dlldir="$bindir"
49038 ;;
49039 *-*-mingw32* )
49040 SO_SUFFIX="dll"
49041 SO_SUFFIX_MODULE="dll"
49042 DLLIMP_SUFFIX="dll.a"
49043 EXEEXT=".exe"
49044 DLLPREFIX=""
49045 dlldir="$bindir"
49046 ;;
49047 *-pc-msdosdjgpp )
49048 EXEEXT=".exe"
49049 DLLPREFIX=""
49050 dlldir="$bindir"
49051 ;;
49052 *-pc-os2_emx | *-pc-os2-emx )
49053 SO_SUFFIX="dll"
49054 SO_SUFFIX_MODULE="dll"
49055 DLLIMP_SUFFIX=$OS2_LIBEXT
49056 EXEEXT=".exe"
49057 DLLPREFIX=""
49058 LIBPREFIX=""
49059 LIBEXT=".$OS2_LIBEXT"
49060 dlldir="$bindir"
49061 ;;
49062 *-*-darwin* )
49063 SO_SUFFIX="dylib"
49064 SO_SUFFIX_MODULE="bundle"
49065 ;;
49066 esac
49067
49068 if test "x$DLLIMP_SUFFIX" = "x" ; then
49069 DLLIMP_SUFFIX="$SO_SUFFIX"
49070 fi
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083 PIC_FLAG=""
49084 if test "x$GCC" = "xyes"; then
49085 PIC_FLAG="-fPIC"
49086 fi
49087
49088 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49089 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49090 WINDOWS_IMPLIB=0
49091
49092 case "${BAKEFILE_HOST}" in
49093 *-hp-hpux* )
49094 if test "x$GCC" != "xyes"; then
49095 LDFLAGS="$LDFLAGS -L/usr/lib"
49096
49097 SHARED_LD_CC="${CC} -b -o"
49098 SHARED_LD_CXX="${CXX} -b -o"
49099 PIC_FLAG="+Z"
49100 fi
49101 ;;
49102
49103 *-*-linux* )
49104 if test "x$GCC" != "xyes"; then
49105 echo "$as_me:$LINENO: checking for Intel compiler" >&5
49106 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
49107 if test "${bakefile_cv_prog_icc+set}" = set; then
49108 echo $ECHO_N "(cached) $ECHO_C" >&6
49109 else
49110
49111 cat >conftest.$ac_ext <<_ACEOF
49112 /* confdefs.h. */
49113 _ACEOF
49114 cat confdefs.h >>conftest.$ac_ext
49115 cat >>conftest.$ac_ext <<_ACEOF
49116 /* end confdefs.h. */
49117
49118 int
49119 main ()
49120 {
49121
49122 #ifndef __INTEL_COMPILER
49123 This is not ICC
49124 #endif
49125
49126 ;
49127 return 0;
49128 }
49129 _ACEOF
49130 rm -f conftest.$ac_objext
49131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49132 (eval $ac_compile) 2>conftest.er1
49133 ac_status=$?
49134 grep -v '^ *+' conftest.er1 >conftest.err
49135 rm -f conftest.er1
49136 cat conftest.err >&5
49137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49138 (exit $ac_status); } &&
49139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49141 (eval $ac_try) 2>&5
49142 ac_status=$?
49143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144 (exit $ac_status); }; } &&
49145 { ac_try='test -s conftest.$ac_objext'
49146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49147 (eval $ac_try) 2>&5
49148 ac_status=$?
49149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150 (exit $ac_status); }; }; then
49151 bakefile_cv_prog_icc=yes
49152 else
49153 echo "$as_me: failed program was:" >&5
49154 sed 's/^/| /' conftest.$ac_ext >&5
49155
49156 bakefile_cv_prog_icc=no
49157
49158 fi
49159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49160
49161 fi
49162 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
49163 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
49164 if test "$bakefile_cv_prog_icc" = "yes"; then
49165 PIC_FLAG="-KPIC"
49166 fi
49167 fi
49168 ;;
49169
49170 *-*-solaris2* )
49171 if test "x$GCC" != xyes ; then
49172 SHARED_LD_CC="${CC} -G -o"
49173 SHARED_LD_CXX="${CXX} -G -o"
49174 PIC_FLAG="-KPIC"
49175 fi
49176 ;;
49177
49178 *-*-darwin* )
49179
49180 D='$'
49181 cat <<EOF >shared-ld-sh
49182 #!/bin/sh
49183 #-----------------------------------------------------------------------------
49184 #-- Name: distrib/mac/shared-ld-sh
49185 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49186 #-- Author: Gilles Depeyrot
49187 #-- Copyright: (c) 2002 Gilles Depeyrot
49188 #-- Licence: any use permitted
49189 #-----------------------------------------------------------------------------
49190
49191 verbose=0
49192 args=""
49193 objects=""
49194 linking_flag="-dynamiclib"
49195 ldargs="-r -keep_private_externs -nostdlib"
49196
49197 while test ${D}# -gt 0; do
49198 case ${D}1 in
49199
49200 -v)
49201 verbose=1
49202 ;;
49203
49204 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49205 # collect these options and values
49206 args="${D}{args} ${D}1 ${D}2"
49207 shift
49208 ;;
49209
49210 -s|-Wl,*)
49211 # collect these load args
49212 ldargs="${D}{ldargs} ${D}1"
49213 ;;
49214
49215 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49216 # collect these options
49217 args="${D}{args} ${D}1"
49218 ;;
49219
49220 -dynamiclib|-bundle)
49221 linking_flag="${D}1"
49222 ;;
49223
49224 -*)
49225 echo "shared-ld: unhandled option '${D}1'"
49226 exit 1
49227 ;;
49228
49229 *.o | *.a | *.dylib)
49230 # collect object files
49231 objects="${D}{objects} ${D}1"
49232 ;;
49233
49234 *)
49235 echo "shared-ld: unhandled argument '${D}1'"
49236 exit 1
49237 ;;
49238
49239 esac
49240 shift
49241 done
49242
49243 status=0
49244
49245 #
49246 # Link one module containing all the others
49247 #
49248 if test ${D}{verbose} = 1; then
49249 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49250 fi
49251 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49252 status=${D}?
49253
49254 #
49255 # Link the shared library from the single module created, but only if the
49256 # previous command didn't fail:
49257 #
49258 if test ${D}{status} = 0; then
49259 if test ${D}{verbose} = 1; then
49260 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49261 fi
49262 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49263 status=${D}?
49264 fi
49265
49266 #
49267 # Remove intermediate module
49268 #
49269 rm -f master.${D}${D}.o
49270
49271 exit ${D}status
49272 EOF
49273
49274 chmod +x shared-ld-sh
49275
49276 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49277 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49278
49279
49280 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49281 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
49282 if test "${bakefile_cv_gcc31+set}" = set; then
49283 echo $ECHO_N "(cached) $ECHO_C" >&6
49284 else
49285
49286 cat >conftest.$ac_ext <<_ACEOF
49287 /* confdefs.h. */
49288 _ACEOF
49289 cat confdefs.h >>conftest.$ac_ext
49290 cat >>conftest.$ac_ext <<_ACEOF
49291 /* end confdefs.h. */
49292
49293 int
49294 main ()
49295 {
49296
49297 #if (__GNUC__ < 3) || \
49298 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49299 This is old gcc
49300 #endif
49301
49302 ;
49303 return 0;
49304 }
49305 _ACEOF
49306 rm -f conftest.$ac_objext
49307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49308 (eval $ac_compile) 2>conftest.er1
49309 ac_status=$?
49310 grep -v '^ *+' conftest.er1 >conftest.err
49311 rm -f conftest.er1
49312 cat conftest.err >&5
49313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49314 (exit $ac_status); } &&
49315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49317 (eval $ac_try) 2>&5
49318 ac_status=$?
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); }; } &&
49321 { ac_try='test -s conftest.$ac_objext'
49322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49323 (eval $ac_try) 2>&5
49324 ac_status=$?
49325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49326 (exit $ac_status); }; }; then
49327
49328 bakefile_cv_gcc31=yes
49329
49330 else
49331 echo "$as_me: failed program was:" >&5
49332 sed 's/^/| /' conftest.$ac_ext >&5
49333
49334
49335 bakefile_cv_gcc31=no
49336
49337
49338 fi
49339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49340
49341 fi
49342 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49343 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
49344 if test "$bakefile_cv_gcc31" = "no"; then
49345 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49346 SHARED_LD_CXX="$SHARED_LD_CC"
49347 else
49348 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49349 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49350 fi
49351
49352 if test "x$GCC" == "xyes"; then
49353 PIC_FLAG="-dynamic -fPIC"
49354 fi
49355 if test "x$XLCC" = "xyes"; then
49356 PIC_FLAG="-dynamic -DPIC"
49357 fi
49358 ;;
49359
49360 *-*-aix* )
49361 if test "x$GCC" = "xyes"; then
49362 PIC_FLAG=""
49363
49364 case "${BAKEFILE_HOST}" in
49365 *-*-aix5* )
49366 LD_EXPFULL="-Wl,-bexpfull"
49367 ;;
49368 esac
49369
49370 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49371 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49372 else
49373 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49374 set dummy makeC++SharedLib; ac_word=$2
49375 echo "$as_me:$LINENO: checking for $ac_word" >&5
49376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49377 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49378 echo $ECHO_N "(cached) $ECHO_C" >&6
49379 else
49380 if test -n "$AIX_CXX_LD"; then
49381 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49382 else
49383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49384 for as_dir in $PATH
49385 do
49386 IFS=$as_save_IFS
49387 test -z "$as_dir" && as_dir=.
49388 for ac_exec_ext in '' $ac_executable_extensions; do
49389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49390 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49392 break 2
49393 fi
49394 done
49395 done
49396
49397 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49398 fi
49399 fi
49400 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49401 if test -n "$AIX_CXX_LD"; then
49402 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49403 echo "${ECHO_T}$AIX_CXX_LD" >&6
49404 else
49405 echo "$as_me:$LINENO: result: no" >&5
49406 echo "${ECHO_T}no" >&6
49407 fi
49408
49409 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49410 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49411 fi
49412 ;;
49413
49414 *-*-beos* )
49415 SHARED_LD_CC="${LD} -nostart -o"
49416 SHARED_LD_CXX="${LD} -nostart -o"
49417 ;;
49418
49419 *-*-irix* )
49420 if test "x$GCC" != "xyes"; then
49421 PIC_FLAG="-KPIC"
49422 fi
49423 ;;
49424
49425 *-*-cygwin* | *-*-mingw32* )
49426 PIC_FLAG=""
49427 SHARED_LD_CC="\$(CC) -shared -o"
49428 SHARED_LD_CXX="\$(CXX) -shared -o"
49429 WINDOWS_IMPLIB=1
49430 ;;
49431
49432 *-pc-os2_emx | *-pc-os2-emx )
49433 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49434 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49435 PIC_FLAG=""
49436
49437 D='$'
49438 cat <<EOF >dllar.sh
49439 #!/bin/sh
49440 #
49441 # dllar - a tool to build both a .dll and an .a file
49442 # from a set of object (.o) files for EMX/OS2.
49443 #
49444 # Written by Andrew Zabolotny, bit@freya.etu.ru
49445 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49446 #
49447 # This script will accept a set of files on the command line.
49448 # All the public symbols from the .o files will be exported into
49449 # a .DEF file, then linker will be run (through gcc) against them to
49450 # build a shared library consisting of all given .o files. All libraries
49451 # (.a) will be first decompressed into component .o files then act as
49452 # described above. You can optionally give a description (-d "description")
49453 # which will be put into .DLL. To see the list of accepted options (as well
49454 # as command-line format) simply run this program without options. The .DLL
49455 # is built to be imported by name (there is no guarantee that new versions
49456 # of the library you build will have same ordinals for same symbols).
49457 #
49458 # dllar is free software; you can redistribute it and/or modify
49459 # it under the terms of the GNU General Public License as published by
49460 # the Free Software Foundation; either version 2, or (at your option)
49461 # any later version.
49462 #
49463 # dllar is distributed in the hope that it will be useful,
49464 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49465 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49466 # GNU General Public License for more details.
49467 #
49468 # You should have received a copy of the GNU General Public License
49469 # along with dllar; see the file COPYING. If not, write to the Free
49470 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49471 # 02111-1307, USA.
49472
49473 # To successfuly run this program you will need:
49474 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49475 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49476 # - gcc
49477 # (used to build the .dll)
49478 # - emxexp
49479 # (used to create .def file from .o files)
49480 # - emximp
49481 # (used to create .a file from .def file)
49482 # - GNU text utilites (cat, sort, uniq)
49483 # used to process emxexp output
49484 # - GNU file utilities (mv, rm)
49485 # - GNU sed
49486 # - lxlite (optional, see flag below)
49487 # (used for general .dll cleanup)
49488 #
49489
49490 flag_USE_LXLITE=1;
49491
49492 #
49493 # helper functions
49494 # basnam, variant of basename, which does _not_ remove the path, _iff_
49495 # second argument (suffix to remove) is given
49496 basnam(){
49497 case ${D}# in
49498 1)
49499 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49500 ;;
49501 2)
49502 echo ${D}1 | sed 's/'${D}2'${D}//'
49503 ;;
49504 *)
49505 echo "error in basnam ${D}*"
49506 exit 8
49507 ;;
49508 esac
49509 }
49510
49511 # Cleanup temporary files and output
49512 CleanUp() {
49513 cd ${D}curDir
49514 for i in ${D}inputFiles ; do
49515 case ${D}i in
49516 *!)
49517 rm -rf \`basnam ${D}i !\`
49518 ;;
49519 *)
49520 ;;
49521 esac
49522 done
49523
49524 # Kill result in case of failure as there is just to many stupid make/nmake
49525 # things out there which doesn't do this.
49526 if [ ${D}# -eq 0 ]; then
49527 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49528 fi
49529 }
49530
49531 # Print usage and exit script with rc=1.
49532 PrintHelp() {
49533 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49534 echo ' [-name-mangler-script script.sh]'
49535 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49536 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49537 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49538 echo ' [*.o] [*.a]'
49539 echo '*> "output_file" should have no extension.'
49540 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49541 echo ' The import library name is derived from this and is set to "name".a,'
49542 echo ' unless overridden by -import'
49543 echo '*> "importlib_name" should have no extension.'
49544 echo ' If it has the .o, or .a extension, it is automatically removed.'
49545 echo ' This name is used as the import library name and may be longer and'
49546 echo ' more descriptive than the DLL name which has to follow the old '
49547 echo ' 8.3 convention of FAT.'
49548 echo '*> "script.sh may be given to override the output_file name by a'
49549 echo ' different name. It is mainly useful if the regular make process'
49550 echo ' of some package does not take into account OS/2 restriction of'
49551 echo ' DLL name lengths. It takes the importlib name as input and is'
49552 echo ' supposed to procude a shorter name as output. The script should'
49553 echo ' expect to get importlib_name without extension and should produce'
49554 echo ' a (max.) 8 letter name without extension.'
49555 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49556 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49557 echo ' These flags will be put at the start of GCC command line.'
49558 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49559 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49560 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49561 echo ' If the last character of a symbol is "*", all symbols beginning'
49562 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49563 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49564 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49565 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49566 echo ' C runtime DLLs.'
49567 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49568 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49569 echo ' unchanged to GCC at the end of command line.'
49570 echo '*> If you create a DLL from a library and you do not specify -o,'
49571 echo ' the basename for DLL and import library will be set to library name,'
49572 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49573 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49574 echo ' library will be renamed into gcc_s.a.'
49575 echo '--------'
49576 echo 'Example:'
49577 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49578 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49579 CleanUp
49580 exit 1
49581 }
49582
49583 # Execute a command.
49584 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49585 # @Uses Whatever CleanUp() uses.
49586 doCommand() {
49587 echo "${D}*"
49588 eval ${D}*
49589 rcCmd=${D}?
49590
49591 if [ ${D}rcCmd -ne 0 ]; then
49592 echo "command failed, exit code="${D}rcCmd
49593 CleanUp
49594 exit ${D}rcCmd
49595 fi
49596 }
49597
49598 # main routine
49599 # setup globals
49600 cmdLine=${D}*
49601 outFile=""
49602 outimpFile=""
49603 inputFiles=""
49604 renameScript=""
49605 description=""
49606 CC=gcc.exe
49607 CFLAGS="-s -Zcrtdll"
49608 EXTRA_CFLAGS=""
49609 EXPORT_BY_ORDINALS=0
49610 exclude_symbols=""
49611 library_flags=""
49612 curDir=\`pwd\`
49613 curDirS=curDir
49614 case ${D}curDirS in
49615 */)
49616 ;;
49617 *)
49618 curDirS=${D}{curDirS}"/"
49619 ;;
49620 esac
49621 # Parse commandline
49622 libsToLink=0
49623 omfLinking=0
49624 while [ ${D}1 ]; do
49625 case ${D}1 in
49626 -ord*)
49627 EXPORT_BY_ORDINALS=1;
49628 ;;
49629 -o*)
49630 shift
49631 outFile=${D}1
49632 ;;
49633 -i*)
49634 shift
49635 outimpFile=${D}1
49636 ;;
49637 -name-mangler-script)
49638 shift
49639 renameScript=${D}1
49640 ;;
49641 -d*)
49642 shift
49643 description=${D}1
49644 ;;
49645 -f*)
49646 shift
49647 CFLAGS=${D}1
49648 ;;
49649 -c*)
49650 shift
49651 CC=${D}1
49652 ;;
49653 -h*)
49654 PrintHelp
49655 ;;
49656 -ex*)
49657 shift
49658 exclude_symbols=${D}{exclude_symbols}${D}1" "
49659 ;;
49660 -libf*)
49661 shift
49662 library_flags=${D}{library_flags}${D}1" "
49663 ;;
49664 -nocrt*)
49665 CFLAGS="-s"
49666 ;;
49667 -nolxl*)
49668 flag_USE_LXLITE=0
49669 ;;
49670 -* | /*)
49671 case ${D}1 in
49672 -L* | -l*)
49673 libsToLink=1
49674 ;;
49675 -Zomf)
49676 omfLinking=1
49677 ;;
49678 *)
49679 ;;
49680 esac
49681 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49682 ;;
49683 *.dll)
49684 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49685 if [ ${D}omfLinking -eq 1 ]; then
49686 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49687 else
49688 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49689 fi
49690 ;;
49691 *)
49692 found=0;
49693 if [ ${D}libsToLink -ne 0 ]; then
49694 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49695 else
49696 for file in ${D}1 ; do
49697 if [ -f ${D}file ]; then
49698 inputFiles="${D}{inputFiles} ${D}file"
49699 found=1
49700 fi
49701 done
49702 if [ ${D}found -eq 0 ]; then
49703 echo "ERROR: No file(s) found: "${D}1
49704 exit 8
49705 fi
49706 fi
49707 ;;
49708 esac
49709 shift
49710 done # iterate cmdline words
49711
49712 #
49713 if [ -z "${D}inputFiles" ]; then
49714 echo "dllar: no input files"
49715 PrintHelp
49716 fi
49717
49718 # Now extract all .o files from .a files
49719 newInputFiles=""
49720 for file in ${D}inputFiles ; do
49721 case ${D}file in
49722 *.a | *.lib)
49723 case ${D}file in
49724 *.a)
49725 suffix=".a"
49726 AR="ar"
49727 ;;
49728 *.lib)
49729 suffix=".lib"
49730 AR="emxomfar"
49731 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49732 ;;
49733 *)
49734 ;;
49735 esac
49736 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49737 mkdir ${D}dirname
49738 if [ ${D}? -ne 0 ]; then
49739 echo "Failed to create subdirectory ./${D}dirname"
49740 CleanUp
49741 exit 8;
49742 fi
49743 # Append '!' to indicate archive
49744 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49745 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49746 cd ${D}curDir
49747 found=0;
49748 for subfile in ${D}dirname/*.o* ; do
49749 if [ -f ${D}subfile ]; then
49750 found=1
49751 if [ -s ${D}subfile ]; then
49752 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49753 newInputFiles="${D}newInputFiles ${D}subfile"
49754 fi
49755 fi
49756 done
49757 if [ ${D}found -eq 0 ]; then
49758 echo "WARNING: there are no files in archive \\'${D}file\\'"
49759 fi
49760 ;;
49761 *)
49762 newInputFiles="${D}{newInputFiles} ${D}file"
49763 ;;
49764 esac
49765 done
49766 inputFiles="${D}newInputFiles"
49767
49768 # Output filename(s).
49769 do_backup=0;
49770 if [ -z ${D}outFile ]; then
49771 do_backup=1;
49772 set outFile ${D}inputFiles; outFile=${D}2
49773 fi
49774
49775 # If it is an archive, remove the '!' and the '_%' suffixes
49776 case ${D}outFile in
49777 *_%!)
49778 outFile=\`basnam ${D}outFile _%!\`
49779 ;;
49780 *)
49781 ;;
49782 esac
49783 case ${D}outFile in
49784 *.dll)
49785 outFile=\`basnam ${D}outFile .dll\`
49786 ;;
49787 *.DLL)
49788 outFile=\`basnam ${D}outFile .DLL\`
49789 ;;
49790 *.o)
49791 outFile=\`basnam ${D}outFile .o\`
49792 ;;
49793 *.obj)
49794 outFile=\`basnam ${D}outFile .obj\`
49795 ;;
49796 *.a)
49797 outFile=\`basnam ${D}outFile .a\`
49798 ;;
49799 *.lib)
49800 outFile=\`basnam ${D}outFile .lib\`
49801 ;;
49802 *)
49803 ;;
49804 esac
49805 case ${D}outimpFile in
49806 *.a)
49807 outimpFile=\`basnam ${D}outimpFile .a\`
49808 ;;
49809 *.lib)
49810 outimpFile=\`basnam ${D}outimpFile .lib\`
49811 ;;
49812 *)
49813 ;;
49814 esac
49815 if [ -z ${D}outimpFile ]; then
49816 outimpFile=${D}outFile
49817 fi
49818 defFile="${D}{outFile}.def"
49819 arcFile="${D}{outimpFile}.a"
49820 arcFile2="${D}{outimpFile}.lib"
49821
49822 #create ${D}dllFile as something matching 8.3 restrictions,
49823 if [ -z ${D}renameScript ] ; then
49824 dllFile="${D}outFile"
49825 else
49826 dllFile=\`${D}renameScript ${D}outimpFile\`
49827 fi
49828
49829 if [ ${D}do_backup -ne 0 ] ; then
49830 if [ -f ${D}arcFile ] ; then
49831 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49832 fi
49833 if [ -f ${D}arcFile2 ] ; then
49834 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49835 fi
49836 fi
49837
49838 # Extract public symbols from all the object files.
49839 tmpdefFile=${D}{defFile}_%
49840 rm -f ${D}tmpdefFile
49841 for file in ${D}inputFiles ; do
49842 case ${D}file in
49843 *!)
49844 ;;
49845 *)
49846 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49847 ;;
49848 esac
49849 done
49850
49851 # Create the def file.
49852 rm -f ${D}defFile
49853 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49854 dllFile="${D}{dllFile}.dll"
49855 if [ ! -z ${D}description ]; then
49856 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49857 fi
49858 echo "EXPORTS" >> ${D}defFile
49859
49860 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49861 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49862
49863 # Checks if the export is ok or not.
49864 for word in ${D}exclude_symbols; do
49865 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49866 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49867 done
49868
49869
49870 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49871 sed "=" < ${D}tmpdefFile | \\
49872 sed '
49873 N
49874 : loop
49875 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49876 t loop
49877 ' > ${D}{tmpdefFile}%
49878 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49879 else
49880 rm -f ${D}{tmpdefFile}%
49881 fi
49882 cat ${D}tmpdefFile >> ${D}defFile
49883 rm -f ${D}tmpdefFile
49884
49885 # Do linking, create implib, and apply lxlite.
49886 gccCmdl="";
49887 for file in ${D}inputFiles ; do
49888 case ${D}file in
49889 *!)
49890 ;;
49891 *)
49892 gccCmdl="${D}gccCmdl ${D}file"
49893 ;;
49894 esac
49895 done
49896 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49897 touch "${D}{outFile}.dll"
49898
49899 doCommand "emximp -o ${D}arcFile ${D}defFile"
49900 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49901 add_flags="";
49902 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49903 add_flags="-ynd"
49904 fi
49905 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49906 fi
49907 doCommand "emxomf -s -l ${D}arcFile"
49908
49909 # Successful exit.
49910 CleanUp 1
49911 exit 0
49912 EOF
49913
49914 chmod +x dllar.sh
49915 ;;
49916
49917 powerpc-apple-macos* | \
49918 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49919 *-*-sunos4* | \
49920 *-*-osf* | \
49921 *-*-dgux5* | \
49922 *-*-sysv5* | \
49923 *-pc-msdosdjgpp )
49924 ;;
49925
49926 *)
49927 esac
49928
49929 if test "x$PIC_FLAG" != "x" ; then
49930 PIC_FLAG="$PIC_FLAG -DPIC"
49931 fi
49932
49933 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49934 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49935 fi
49936 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49937 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49938 fi
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948 USE_SOVERSION=0
49949 USE_SOVERLINUX=0
49950 USE_SOVERSOLARIS=0
49951 USE_SOVERCYGWIN=0
49952 USE_SOSYMLINKS=0
49953 USE_MACVERSION=0
49954 SONAME_FLAG=
49955
49956 case "${BAKEFILE_HOST}" in
49957 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49958 SONAME_FLAG="-Wl,-soname,"
49959 USE_SOVERSION=1
49960 USE_SOVERLINUX=1
49961 USE_SOSYMLINKS=1
49962 ;;
49963
49964 *-*-solaris2* )
49965 SONAME_FLAG="-h "
49966 USE_SOVERSION=1
49967 USE_SOVERSOLARIS=1
49968 USE_SOSYMLINKS=1
49969 ;;
49970
49971 *-*-darwin* )
49972 USE_MACVERSION=1
49973 USE_SOVERSION=1
49974 USE_SOSYMLINKS=1
49975 ;;
49976
49977 *-*-cygwin* )
49978 USE_SOVERSION=1
49979 USE_SOVERCYGWIN=1
49980 ;;
49981 esac
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49993 if test "${enable_dependency_tracking+set}" = set; then
49994 enableval="$enable_dependency_tracking"
49995 bk_use_trackdeps="$enableval"
49996 fi;
49997
49998 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49999 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
50000
50001 if test "x$bk_use_trackdeps" = "xno" ; then
50002 DEPS_TRACKING=0
50003 echo "$as_me:$LINENO: result: disabled" >&5
50004 echo "${ECHO_T}disabled" >&6
50005 else
50006 DEPS_TRACKING=1
50007
50008 if test "x$GCC" = "xyes"; then
50009 DEPSMODE=gcc
50010 case "${BAKEFILE_HOST}" in
50011 *-*-darwin* )
50012 DEPSFLAG="-no-cpp-precomp -MMD"
50013 ;;
50014 * )
50015 DEPSFLAG="-MMD"
50016 ;;
50017 esac
50018 echo "$as_me:$LINENO: result: gcc" >&5
50019 echo "${ECHO_T}gcc" >&6
50020 elif test "x$MWCC" = "xyes"; then
50021 DEPSMODE=mwcc
50022 DEPSFLAG="-MM"
50023 echo "$as_me:$LINENO: result: mwcc" >&5
50024 echo "${ECHO_T}mwcc" >&6
50025 elif test "x$SUNCC" = "xyes"; then
50026 DEPSMODE=unixcc
50027 DEPSFLAG="-xM1"
50028 echo "$as_me:$LINENO: result: Sun cc" >&5
50029 echo "${ECHO_T}Sun cc" >&6
50030 elif test "x$SGICC" = "xyes"; then
50031 DEPSMODE=unixcc
50032 DEPSFLAG="-M"
50033 echo "$as_me:$LINENO: result: SGI cc" >&5
50034 echo "${ECHO_T}SGI cc" >&6
50035 elif test "x$HPCC" = "xyes"; then
50036 DEPSMODE=unixcc
50037 DEPSFLAG="+make"
50038 echo "$as_me:$LINENO: result: HP cc" >&5
50039 echo "${ECHO_T}HP cc" >&6
50040 elif test "x$COMPAQCC" = "xyes"; then
50041 DEPSMODE=gcc
50042 DEPSFLAG="-MD"
50043 echo "$as_me:$LINENO: result: Compaq cc" >&5
50044 echo "${ECHO_T}Compaq cc" >&6
50045 else
50046 DEPS_TRACKING=0
50047 echo "$as_me:$LINENO: result: none" >&5
50048 echo "${ECHO_T}none" >&6
50049 fi
50050
50051 if test $DEPS_TRACKING = 1 ; then
50052
50053 D='$'
50054 cat <<EOF >bk-deps
50055 #!/bin/sh
50056
50057 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50058 # script. It is used to track C/C++ files dependencies in portable way.
50059 #
50060 # Permission is given to use this file in any way.
50061
50062 DEPSMODE=${DEPSMODE}
50063 DEPSDIR=.deps
50064 DEPSFLAG="${DEPSFLAG}"
50065
50066 mkdir -p ${D}DEPSDIR
50067
50068 if test ${D}DEPSMODE = gcc ; then
50069 ${D}* ${D}{DEPSFLAG}
50070 status=${D}?
50071 if test ${D}{status} != 0 ; then
50072 exit ${D}{status}
50073 fi
50074 # move created file to the location we want it in:
50075 while test ${D}# -gt 0; do
50076 case "${D}1" in
50077 -o )
50078 shift
50079 objfile=${D}1
50080 ;;
50081 -* )
50082 ;;
50083 * )
50084 srcfile=${D}1
50085 ;;
50086 esac
50087 shift
50088 done
50089 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50090 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50091 if test -f ${D}depfile ; then
50092 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50093 rm -f ${D}depfile
50094 else
50095 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50096 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50097 if test ! -f ${D}depfile ; then
50098 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50099 depfile="${D}objfile.d"
50100 fi
50101 if test -f ${D}depfile ; then
50102 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50103 rm -f ${D}depfile
50104 fi
50105 fi
50106 exit 0
50107 elif test ${D}DEPSMODE = mwcc ; then
50108 ${D}* || exit ${D}?
50109 # Run mwcc again with -MM and redirect into the dep file we want
50110 # NOTE: We can't use shift here because we need ${D}* to be valid
50111 prevarg=
50112 for arg in ${D}* ; do
50113 if test "${D}prevarg" = "-o"; then
50114 objfile=${D}arg
50115 else
50116 case "${D}arg" in
50117 -* )
50118 ;;
50119 * )
50120 srcfile=${D}arg
50121 ;;
50122 esac
50123 fi
50124 prevarg="${D}arg"
50125 done
50126 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50127 exit 0
50128 elif test ${D}DEPSMODE = unixcc; then
50129 ${D}* || exit ${D}?
50130 # Run compiler again with deps flag and redirect into the dep file.
50131 # It doesn't work if the '-o FILE' option is used, but without it the
50132 # dependency file will contain the wrong name for the object. So it is
50133 # removed from the command line, and the dep file is fixed with sed.
50134 cmd=""
50135 while test ${D}# -gt 0; do
50136 case "${D}1" in
50137 -o )
50138 shift
50139 objfile=${D}1
50140 ;;
50141 * )
50142 eval arg${D}#=\\${D}1
50143 cmd="${D}cmd \\${D}arg${D}#"
50144 ;;
50145 esac
50146 shift
50147 done
50148 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50149 exit 0
50150 else
50151 ${D}*
50152 exit ${D}?
50153 fi
50154 EOF
50155
50156 chmod +x bk-deps
50157 fi
50158 fi
50159
50160
50161
50162
50163 case ${BAKEFILE_HOST} in
50164 *-*-cygwin* | *-*-mingw32* )
50165 if test -n "$ac_tool_prefix"; then
50166 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50167 set dummy ${ac_tool_prefix}windres; ac_word=$2
50168 echo "$as_me:$LINENO: checking for $ac_word" >&5
50169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50170 if test "${ac_cv_prog_WINDRES+set}" = set; then
50171 echo $ECHO_N "(cached) $ECHO_C" >&6
50172 else
50173 if test -n "$WINDRES"; then
50174 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50175 else
50176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50177 for as_dir in $PATH
50178 do
50179 IFS=$as_save_IFS
50180 test -z "$as_dir" && as_dir=.
50181 for ac_exec_ext in '' $ac_executable_extensions; do
50182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50183 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50185 break 2
50186 fi
50187 done
50188 done
50189
50190 fi
50191 fi
50192 WINDRES=$ac_cv_prog_WINDRES
50193 if test -n "$WINDRES"; then
50194 echo "$as_me:$LINENO: result: $WINDRES" >&5
50195 echo "${ECHO_T}$WINDRES" >&6
50196 else
50197 echo "$as_me:$LINENO: result: no" >&5
50198 echo "${ECHO_T}no" >&6
50199 fi
50200
50201 fi
50202 if test -z "$ac_cv_prog_WINDRES"; then
50203 ac_ct_WINDRES=$WINDRES
50204 # Extract the first word of "windres", so it can be a program name with args.
50205 set dummy windres; ac_word=$2
50206 echo "$as_me:$LINENO: checking for $ac_word" >&5
50207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50208 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50209 echo $ECHO_N "(cached) $ECHO_C" >&6
50210 else
50211 if test -n "$ac_ct_WINDRES"; then
50212 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50213 else
50214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50215 for as_dir in $PATH
50216 do
50217 IFS=$as_save_IFS
50218 test -z "$as_dir" && as_dir=.
50219 for ac_exec_ext in '' $ac_executable_extensions; do
50220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50221 ac_cv_prog_ac_ct_WINDRES="windres"
50222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50223 break 2
50224 fi
50225 done
50226 done
50227
50228 fi
50229 fi
50230 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50231 if test -n "$ac_ct_WINDRES"; then
50232 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50233 echo "${ECHO_T}$ac_ct_WINDRES" >&6
50234 else
50235 echo "$as_me:$LINENO: result: no" >&5
50236 echo "${ECHO_T}no" >&6
50237 fi
50238
50239 WINDRES=$ac_ct_WINDRES
50240 else
50241 WINDRES="$ac_cv_prog_WINDRES"
50242 fi
50243
50244 ;;
50245
50246 *-*-darwin* | powerpc-apple-macos* )
50247 # Extract the first word of "Rez", so it can be a program name with args.
50248 set dummy Rez; ac_word=$2
50249 echo "$as_me:$LINENO: checking for $ac_word" >&5
50250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50251 if test "${ac_cv_prog_REZ+set}" = set; then
50252 echo $ECHO_N "(cached) $ECHO_C" >&6
50253 else
50254 if test -n "$REZ"; then
50255 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50256 else
50257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50258 for as_dir in $PATH
50259 do
50260 IFS=$as_save_IFS
50261 test -z "$as_dir" && as_dir=.
50262 for ac_exec_ext in '' $ac_executable_extensions; do
50263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50264 ac_cv_prog_REZ="Rez"
50265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50266 break 2
50267 fi
50268 done
50269 done
50270
50271 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50272 fi
50273 fi
50274 REZ=$ac_cv_prog_REZ
50275 if test -n "$REZ"; then
50276 echo "$as_me:$LINENO: result: $REZ" >&5
50277 echo "${ECHO_T}$REZ" >&6
50278 else
50279 echo "$as_me:$LINENO: result: no" >&5
50280 echo "${ECHO_T}no" >&6
50281 fi
50282
50283 # Extract the first word of "SetFile", so it can be a program name with args.
50284 set dummy SetFile; ac_word=$2
50285 echo "$as_me:$LINENO: checking for $ac_word" >&5
50286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50287 if test "${ac_cv_prog_SETFILE+set}" = set; then
50288 echo $ECHO_N "(cached) $ECHO_C" >&6
50289 else
50290 if test -n "$SETFILE"; then
50291 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50292 else
50293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50294 for as_dir in $PATH
50295 do
50296 IFS=$as_save_IFS
50297 test -z "$as_dir" && as_dir=.
50298 for ac_exec_ext in '' $ac_executable_extensions; do
50299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50300 ac_cv_prog_SETFILE="SetFile"
50301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50302 break 2
50303 fi
50304 done
50305 done
50306
50307 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50308 fi
50309 fi
50310 SETFILE=$ac_cv_prog_SETFILE
50311 if test -n "$SETFILE"; then
50312 echo "$as_me:$LINENO: result: $SETFILE" >&5
50313 echo "${ECHO_T}$SETFILE" >&6
50314 else
50315 echo "$as_me:$LINENO: result: no" >&5
50316 echo "${ECHO_T}no" >&6
50317 fi
50318
50319 ;;
50320 esac
50321
50322
50323
50324
50325
50326
50327 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
50328
50329
50330 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
50331
50332
50333
50334 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
50335 if test "${enable_precomp_headers+set}" = set; then
50336 enableval="$enable_precomp_headers"
50337 bk_use_pch="$enableval"
50338 fi;
50339
50340 GCC_PCH=0
50341 ICC_PCH=0
50342 USE_PCH=0
50343
50344 case ${BAKEFILE_HOST} in
50345 *-*-cygwin* )
50346 bk_use_pch="no"
50347 ;;
50348 esac
50349
50350 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50351 if test "x$GCC" = "xyes"; then
50352 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50353 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
50354 cat >conftest.$ac_ext <<_ACEOF
50355 /* confdefs.h. */
50356 _ACEOF
50357 cat confdefs.h >>conftest.$ac_ext
50358 cat >>conftest.$ac_ext <<_ACEOF
50359 /* end confdefs.h. */
50360
50361 int
50362 main ()
50363 {
50364
50365 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50366 There is no PCH support
50367 #endif
50368 #if (__GNUC__ < 3)
50369 There is no PCH support
50370 #endif
50371 #if (__GNUC__ == 3) && \
50372 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50373 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50374 ( defined(__INTEL_COMPILER) )
50375 There is no PCH support
50376 #endif
50377
50378 ;
50379 return 0;
50380 }
50381 _ACEOF
50382 rm -f conftest.$ac_objext
50383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50384 (eval $ac_compile) 2>conftest.er1
50385 ac_status=$?
50386 grep -v '^ *+' conftest.er1 >conftest.err
50387 rm -f conftest.er1
50388 cat conftest.err >&5
50389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50390 (exit $ac_status); } &&
50391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50393 (eval $ac_try) 2>&5
50394 ac_status=$?
50395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396 (exit $ac_status); }; } &&
50397 { ac_try='test -s conftest.$ac_objext'
50398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50399 (eval $ac_try) 2>&5
50400 ac_status=$?
50401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50402 (exit $ac_status); }; }; then
50403
50404 echo "$as_me:$LINENO: result: yes" >&5
50405 echo "${ECHO_T}yes" >&6
50406 GCC_PCH=1
50407
50408 else
50409 echo "$as_me: failed program was:" >&5
50410 sed 's/^/| /' conftest.$ac_ext >&5
50411
50412
50413 cat >conftest.$ac_ext <<_ACEOF
50414 /* confdefs.h. */
50415 _ACEOF
50416 cat confdefs.h >>conftest.$ac_ext
50417 cat >>conftest.$ac_ext <<_ACEOF
50418 /* end confdefs.h. */
50419
50420 int
50421 main ()
50422 {
50423
50424 #if !defined(__INTEL_COMPILER) || \
50425 (__INTEL_COMPILER < 800)
50426 There is no PCH support
50427 #endif
50428
50429 ;
50430 return 0;
50431 }
50432 _ACEOF
50433 rm -f conftest.$ac_objext
50434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50435 (eval $ac_compile) 2>conftest.er1
50436 ac_status=$?
50437 grep -v '^ *+' conftest.er1 >conftest.err
50438 rm -f conftest.er1
50439 cat conftest.err >&5
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); } &&
50442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50444 (eval $ac_try) 2>&5
50445 ac_status=$?
50446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50447 (exit $ac_status); }; } &&
50448 { ac_try='test -s conftest.$ac_objext'
50449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50450 (eval $ac_try) 2>&5
50451 ac_status=$?
50452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50453 (exit $ac_status); }; }; then
50454
50455 echo "$as_me:$LINENO: result: yes" >&5
50456 echo "${ECHO_T}yes" >&6
50457 ICC_PCH=1
50458
50459 else
50460 echo "$as_me: failed program was:" >&5
50461 sed 's/^/| /' conftest.$ac_ext >&5
50462
50463
50464 echo "$as_me:$LINENO: result: no" >&5
50465 echo "${ECHO_T}no" >&6
50466
50467 fi
50468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50469
50470 fi
50471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50472 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50473 USE_PCH=1
50474
50475 D='$'
50476 cat <<EOF >bk-make-pch
50477 #!/bin/sh
50478
50479 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50480 # script. It is used to generated precompiled headers.
50481 #
50482 # Permission is given to use this file in any way.
50483
50484 outfile="${D}{1}"
50485 header="${D}{2}"
50486 shift
50487 shift
50488
50489 compiler=""
50490 headerfile=""
50491
50492 while test ${D}{#} -gt 0; do
50493 add_to_cmdline=1
50494 case "${D}{1}" in
50495 -I* )
50496 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50497 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50498 headerfile="${D}{incdir}/${D}{header}"
50499 fi
50500 ;;
50501 -use-pch|-use_pch )
50502 shift
50503 add_to_cmdline=0
50504 ;;
50505 esac
50506 if test ${D}add_to_cmdline = 1 ; then
50507 compiler="${D}{compiler} ${D}{1}"
50508 fi
50509 shift
50510 done
50511
50512 if test "x${D}{headerfile}" = "x" ; then
50513 echo "error: can't find header ${D}{header} in include paths" >&2
50514 else
50515 if test -f ${D}{outfile} ; then
50516 rm -f ${D}{outfile}
50517 else
50518 mkdir -p \`dirname ${D}{outfile}\`
50519 fi
50520 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50521 mkdir -p .deps
50522 if test "x${GCC_PCH}" = "x1" ; then
50523 # can do this because gcc is >= 3.4:
50524 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50525 elif test "x${ICC_PCH}" = "x1" ; then
50526 filename=pch_gen-${D}${D}
50527 file=${D}{filename}.c
50528 dfile=${D}{filename}.d
50529 cat > ${D}file <<EOT
50530 #include "${D}header"
50531 EOT
50532 # using -MF icc complains about differing command lines in creation/use
50533 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50534 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50535 rm -f ${D}file ${D}dfile ${D}{filename}.o
50536 fi
50537 exit ${D}{?}
50538 fi
50539 EOF
50540
50541 chmod +x bk-make-pch
50542 fi
50543 fi
50544 fi
50545
50546
50547
50548
50549 COND_BUILD_DEBUG="#"
50550 if test "x$BUILD" = "xdebug" ; then
50551 COND_BUILD_DEBUG=""
50552 fi
50553
50554 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50555 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50556 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50557 fi
50558
50559 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50560 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50561 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50562 fi
50563
50564 COND_BUILD_DEBUG_UNICODE_0="#"
50565 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50566 COND_BUILD_DEBUG_UNICODE_0=""
50567 fi
50568
50569 COND_BUILD_DEBUG_UNICODE_1="#"
50570 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50571 COND_BUILD_DEBUG_UNICODE_1=""
50572 fi
50573
50574 COND_BUILD_RELEASE="#"
50575 if test "x$BUILD" = "xrelease" ; then
50576 COND_BUILD_RELEASE=""
50577 fi
50578
50579 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50580 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50581 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50582 fi
50583
50584 COND_BUILD_RELEASE_UNICODE_0="#"
50585 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50586 COND_BUILD_RELEASE_UNICODE_0=""
50587 fi
50588
50589 COND_BUILD_RELEASE_UNICODE_1="#"
50590 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50591 COND_BUILD_RELEASE_UNICODE_1=""
50592 fi
50593
50594 COND_DEBUG_FLAG_1="#"
50595 if test "x$DEBUG_FLAG" = "x1" ; then
50596 COND_DEBUG_FLAG_1=""
50597 fi
50598
50599 COND_DEBUG_INFO_0="#"
50600 if test "x$DEBUG_INFO" = "x0" ; then
50601 COND_DEBUG_INFO_0=""
50602 fi
50603
50604 COND_DEBUG_INFO_1="#"
50605 if test "x$DEBUG_INFO" = "x1" ; then
50606 COND_DEBUG_INFO_1=""
50607 fi
50608
50609 COND_DEPS_TRACKING_0="#"
50610 if test "x$DEPS_TRACKING" = "x0" ; then
50611 COND_DEPS_TRACKING_0=""
50612 fi
50613
50614 COND_DEPS_TRACKING_1="#"
50615 if test "x$DEPS_TRACKING" = "x1" ; then
50616 COND_DEPS_TRACKING_1=""
50617 fi
50618
50619 COND_GCC_PCH_1="#"
50620 if test "x$GCC_PCH" = "x1" ; then
50621 COND_GCC_PCH_1=""
50622 fi
50623
50624 COND_ICC_PCH_1="#"
50625 if test "x$ICC_PCH" = "x1" ; then
50626 COND_ICC_PCH_1=""
50627 fi
50628
50629 COND_MONOLITHIC_0="#"
50630 if test "x$MONOLITHIC" = "x0" ; then
50631 COND_MONOLITHIC_0=""
50632 fi
50633
50634 COND_MONOLITHIC_0_SHARED_0="#"
50635 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50636 COND_MONOLITHIC_0_SHARED_0=""
50637 fi
50638
50639 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50640 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50641 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50642 fi
50643
50644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50645 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50646 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50647 fi
50648
50649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50650 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50652 fi
50653
50654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50655 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50656 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50657 fi
50658
50659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50660 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50662 fi
50663
50664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50665 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50667 fi
50668
50669 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50671 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50672 fi
50673
50674 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50676 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50677 fi
50678
50679 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50681 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50682 fi
50683
50684 COND_MONOLITHIC_0_SHARED_1="#"
50685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50686 COND_MONOLITHIC_0_SHARED_1=""
50687 fi
50688
50689 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50691 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50692 fi
50693
50694 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50696 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50697 fi
50698
50699 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50702 fi
50703
50704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50707 fi
50708
50709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50712 fi
50713
50714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50717 fi
50718
50719 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50721 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50722 fi
50723
50724 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50726 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50727 fi
50728
50729 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50731 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50732 fi
50733
50734 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50735 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50736 COND_MONOLITHIC_0_USE_MEDIA_1=""
50737 fi
50738
50739 COND_MONOLITHIC_0_USE_ODBC_1="#"
50740 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50741 COND_MONOLITHIC_0_USE_ODBC_1=""
50742 fi
50743
50744 COND_MONOLITHIC_1="#"
50745 if test "x$MONOLITHIC" = "x1" ; then
50746 COND_MONOLITHIC_1=""
50747 fi
50748
50749 COND_MONOLITHIC_1_SHARED_0="#"
50750 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50751 COND_MONOLITHIC_1_SHARED_0=""
50752 fi
50753
50754 COND_MONOLITHIC_1_SHARED_1="#"
50755 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50756 COND_MONOLITHIC_1_SHARED_1=""
50757 fi
50758
50759 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50760 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50761 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50762 fi
50763
50764 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50765 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50766 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50767 fi
50768
50769 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50770 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50771 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50772 fi
50773
50774 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50775 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50776 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50777 fi
50778
50779 COND_PLATFORM_MACOSX_1="#"
50780 if test "x$PLATFORM_MACOSX" = "x1" ; then
50781 COND_PLATFORM_MACOSX_1=""
50782 fi
50783
50784 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50785 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50786 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50787 fi
50788
50789 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50790 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50791 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50792 fi
50793
50794 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50795 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50797 fi
50798
50799 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50800 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50801 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50802 fi
50803
50804 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50805 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50806 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50807 fi
50808
50809 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50810 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50811 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50812 fi
50813
50814 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50815 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50816 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50817 fi
50818
50819 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50820 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50821 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50822 fi
50823
50824 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50825 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50826 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50827 fi
50828
50829 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50830 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50831 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50832 fi
50833
50834 COND_PLATFORM_MACOS_1="#"
50835 if test "x$PLATFORM_MACOS" = "x1" ; then
50836 COND_PLATFORM_MACOS_1=""
50837 fi
50838
50839 COND_PLATFORM_MAC_1="#"
50840 if test "x$PLATFORM_MAC" = "x1" ; then
50841 COND_PLATFORM_MAC_1=""
50842 fi
50843
50844 COND_PLATFORM_MSDOS_0="#"
50845 if test "x$PLATFORM_MSDOS" = "x0" ; then
50846 COND_PLATFORM_MSDOS_0=""
50847 fi
50848
50849 COND_PLATFORM_MSDOS_1="#"
50850 if test "x$PLATFORM_MSDOS" = "x1" ; then
50851 COND_PLATFORM_MSDOS_1=""
50852 fi
50853
50854 COND_PLATFORM_OS2_1="#"
50855 if test "x$PLATFORM_OS2" = "x1" ; then
50856 COND_PLATFORM_OS2_1=""
50857 fi
50858
50859 COND_PLATFORM_UNIX_0="#"
50860 if test "x$PLATFORM_UNIX" = "x0" ; then
50861 COND_PLATFORM_UNIX_0=""
50862 fi
50863
50864 COND_PLATFORM_UNIX_1="#"
50865 if test "x$PLATFORM_UNIX" = "x1" ; then
50866 COND_PLATFORM_UNIX_1=""
50867 fi
50868
50869 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50870 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50871 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50872 fi
50873
50874 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50875 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50876 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50877 fi
50878
50879 COND_PLATFORM_WIN32_0="#"
50880 if test "x$PLATFORM_WIN32" = "x0" ; then
50881 COND_PLATFORM_WIN32_0=""
50882 fi
50883
50884 COND_PLATFORM_WIN32_1="#"
50885 if test "x$PLATFORM_WIN32" = "x1" ; then
50886 COND_PLATFORM_WIN32_1=""
50887 fi
50888
50889 COND_SHARED_0="#"
50890 if test "x$SHARED" = "x0" ; then
50891 COND_SHARED_0=""
50892 fi
50893
50894 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50895 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50896 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50897 fi
50898
50899 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50900 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50902 fi
50903
50904 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50905 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50906 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50907 fi
50908
50909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50910 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50912 fi
50913
50914 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50915 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50916 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50917 fi
50918
50919 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50920 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50921 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50922 fi
50923
50924 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50925 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50927 fi
50928
50929 COND_SHARED_0_USE_XRC_1="#"
50930 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50931 COND_SHARED_0_USE_XRC_1=""
50932 fi
50933
50934 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50935 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50936 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50937 fi
50938
50939 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50940 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50941 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50942 fi
50943
50944 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50945 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50946 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50947 fi
50948
50949 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50950 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50951 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50952 fi
50953
50954 COND_SHARED_1="#"
50955 if test "x$SHARED" = "x1" ; then
50956 COND_SHARED_1=""
50957 fi
50958
50959 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50960 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50961 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50962 fi
50963
50964 COND_SHARED_1_USE_XRC_1="#"
50965 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50966 COND_SHARED_1_USE_XRC_1=""
50967 fi
50968
50969 COND_TOOLKIT_="#"
50970 if test "x$TOOLKIT" = "x" ; then
50971 COND_TOOLKIT_=""
50972 fi
50973
50974 COND_TOOLKIT_COCOA="#"
50975 if test "x$TOOLKIT" = "xCOCOA" ; then
50976 COND_TOOLKIT_COCOA=""
50977 fi
50978
50979 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50980 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50981 COND_TOOLKIT_COCOA_USE_GUI_1=""
50982 fi
50983
50984 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50985 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50986 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50987 fi
50988
50989 COND_TOOLKIT_DFB="#"
50990 if test "x$TOOLKIT" = "xDFB" ; then
50991 COND_TOOLKIT_DFB=""
50992 fi
50993
50994 COND_TOOLKIT_DFB_USE_GUI_1="#"
50995 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50996 COND_TOOLKIT_DFB_USE_GUI_1=""
50997 fi
50998
50999 COND_TOOLKIT_GTK="#"
51000 if test "x$TOOLKIT" = "xGTK" ; then
51001 COND_TOOLKIT_GTK=""
51002 fi
51003
51004 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51005 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51006 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51007 fi
51008
51009 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51010 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51012 fi
51013
51014 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51015 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51017 fi
51018
51019 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51020 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51022 fi
51023
51024 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51025 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51026 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51027 fi
51028
51029 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51030 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51031 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51032 fi
51033
51034 COND_TOOLKIT_GTK_USE_GUI_1="#"
51035 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51036 COND_TOOLKIT_GTK_USE_GUI_1=""
51037 fi
51038
51039 COND_TOOLKIT_MAC="#"
51040 if test "x$TOOLKIT" = "xMAC" ; then
51041 COND_TOOLKIT_MAC=""
51042 fi
51043
51044 COND_TOOLKIT_MAC_USE_GUI_1="#"
51045 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51046 COND_TOOLKIT_MAC_USE_GUI_1=""
51047 fi
51048
51049 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51050 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51051 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51052 fi
51053
51054 COND_TOOLKIT_MGL="#"
51055 if test "x$TOOLKIT" = "xMGL" ; then
51056 COND_TOOLKIT_MGL=""
51057 fi
51058
51059 COND_TOOLKIT_MGL_USE_GUI_1="#"
51060 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51061 COND_TOOLKIT_MGL_USE_GUI_1=""
51062 fi
51063
51064 COND_TOOLKIT_MOTIF="#"
51065 if test "x$TOOLKIT" = "xMOTIF" ; then
51066 COND_TOOLKIT_MOTIF=""
51067 fi
51068
51069 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51070 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51071 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51072 fi
51073
51074 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51075 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51076 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51077 fi
51078
51079 COND_TOOLKIT_MSW="#"
51080 if test "x$TOOLKIT" = "xMSW" ; then
51081 COND_TOOLKIT_MSW=""
51082 fi
51083
51084 COND_TOOLKIT_MSW_USE_GUI_1="#"
51085 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51086 COND_TOOLKIT_MSW_USE_GUI_1=""
51087 fi
51088
51089 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51090 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51091 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51092 fi
51093
51094 COND_TOOLKIT_MSW_WXUNIV_0="#"
51095 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51096 COND_TOOLKIT_MSW_WXUNIV_0=""
51097 fi
51098
51099 COND_TOOLKIT_PM="#"
51100 if test "x$TOOLKIT" = "xPM" ; then
51101 COND_TOOLKIT_PM=""
51102 fi
51103
51104 COND_TOOLKIT_PM_USE_GUI_1="#"
51105 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51106 COND_TOOLKIT_PM_USE_GUI_1=""
51107 fi
51108
51109 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51110 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51111 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51112 fi
51113
51114 COND_TOOLKIT_WINCE="#"
51115 if test "x$TOOLKIT" = "xWINCE" ; then
51116 COND_TOOLKIT_WINCE=""
51117 fi
51118
51119 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51120 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51121 COND_TOOLKIT_WINCE_USE_GUI_1=""
51122 fi
51123
51124 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51125 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51126 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51127 fi
51128
51129 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51130 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51131 COND_TOOLKIT_WINCE_WXUNIV_0=""
51132 fi
51133
51134 COND_TOOLKIT_X11="#"
51135 if test "x$TOOLKIT" = "xX11" ; then
51136 COND_TOOLKIT_X11=""
51137 fi
51138
51139 COND_TOOLKIT_X11_USE_GUI_1="#"
51140 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51141 COND_TOOLKIT_X11_USE_GUI_1=""
51142 fi
51143
51144 COND_UNICODE_1="#"
51145 if test "x$UNICODE" = "x1" ; then
51146 COND_UNICODE_1=""
51147 fi
51148
51149 COND_USE_EXCEPTIONS_0="#"
51150 if test "x$USE_EXCEPTIONS" = "x0" ; then
51151 COND_USE_EXCEPTIONS_0=""
51152 fi
51153
51154 COND_USE_EXCEPTIONS_1="#"
51155 if test "x$USE_EXCEPTIONS" = "x1" ; then
51156 COND_USE_EXCEPTIONS_1=""
51157 fi
51158
51159 COND_USE_GUI_0="#"
51160 if test "x$USE_GUI" = "x0" ; then
51161 COND_USE_GUI_0=""
51162 fi
51163
51164 COND_USE_GUI_1="#"
51165 if test "x$USE_GUI" = "x1" ; then
51166 COND_USE_GUI_1=""
51167 fi
51168
51169 COND_USE_GUI_1_WXUNIV_0="#"
51170 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51171 COND_USE_GUI_1_WXUNIV_0=""
51172 fi
51173
51174 COND_USE_GUI_1_WXUNIV_1="#"
51175 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51176 COND_USE_GUI_1_WXUNIV_1=""
51177 fi
51178
51179 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51180 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51181 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51182 fi
51183
51184 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51185 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51186 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51187 fi
51188
51189 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51190 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51191 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51192 fi
51193
51194 COND_USE_ODBC_1="#"
51195 if test "x$USE_ODBC" = "x1" ; then
51196 COND_USE_ODBC_1=""
51197 fi
51198
51199 COND_USE_OPENGL_1="#"
51200 if test "x$USE_OPENGL" = "x1" ; then
51201 COND_USE_OPENGL_1=""
51202 fi
51203
51204 COND_USE_PCH_1="#"
51205 if test "x$USE_PCH" = "x1" ; then
51206 COND_USE_PCH_1=""
51207 fi
51208
51209 COND_USE_PLUGINS_0="#"
51210 if test "x$USE_PLUGINS" = "x0" ; then
51211 COND_USE_PLUGINS_0=""
51212 fi
51213
51214 COND_USE_RTTI_0="#"
51215 if test "x$USE_RTTI" = "x0" ; then
51216 COND_USE_RTTI_0=""
51217 fi
51218
51219 COND_USE_RTTI_1="#"
51220 if test "x$USE_RTTI" = "x1" ; then
51221 COND_USE_RTTI_1=""
51222 fi
51223
51224 COND_USE_SOSYMLINKS_1="#"
51225 if test "x$USE_SOSYMLINKS" = "x1" ; then
51226 COND_USE_SOSYMLINKS_1=""
51227 fi
51228
51229 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51230 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51231 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51232 fi
51233
51234 COND_USE_SOVERLINUX_1="#"
51235 if test "x$USE_SOVERLINUX" = "x1" ; then
51236 COND_USE_SOVERLINUX_1=""
51237 fi
51238
51239 COND_USE_SOVERSION_0="#"
51240 if test "x$USE_SOVERSION" = "x0" ; then
51241 COND_USE_SOVERSION_0=""
51242 fi
51243
51244 COND_USE_SOVERSOLARIS_1="#"
51245 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51246 COND_USE_SOVERSOLARIS_1=""
51247 fi
51248
51249 COND_USE_THREADS_0="#"
51250 if test "x$USE_THREADS" = "x0" ; then
51251 COND_USE_THREADS_0=""
51252 fi
51253
51254 COND_USE_THREADS_1="#"
51255 if test "x$USE_THREADS" = "x1" ; then
51256 COND_USE_THREADS_1=""
51257 fi
51258
51259 COND_USE_XRC_1="#"
51260 if test "x$USE_XRC" = "x1" ; then
51261 COND_USE_XRC_1=""
51262 fi
51263
51264 COND_WINDOWS_IMPLIB_1="#"
51265 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51266 COND_WINDOWS_IMPLIB_1=""
51267 fi
51268
51269 COND_WITH_PLUGIN_SDL_1="#"
51270 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51271 COND_WITH_PLUGIN_SDL_1=""
51272 fi
51273
51274 COND_WXUNIV_0="#"
51275 if test "x$WXUNIV" = "x0" ; then
51276 COND_WXUNIV_0=""
51277 fi
51278
51279 COND_WXUNIV_1="#"
51280 if test "x$WXUNIV" = "x1" ; then
51281 COND_WXUNIV_1=""
51282 fi
51283
51284 COND_WXUSE_EXPAT_BUILTIN="#"
51285 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51286 COND_WXUSE_EXPAT_BUILTIN=""
51287 fi
51288
51289 COND_WXUSE_LIBJPEG_BUILTIN="#"
51290 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51291 COND_WXUSE_LIBJPEG_BUILTIN=""
51292 fi
51293
51294 COND_WXUSE_LIBPNG_BUILTIN="#"
51295 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51296 COND_WXUSE_LIBPNG_BUILTIN=""
51297 fi
51298
51299 COND_WXUSE_LIBTIFF_BUILTIN="#"
51300 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51301 COND_WXUSE_LIBTIFF_BUILTIN=""
51302 fi
51303
51304 COND_WXUSE_ODBC_BUILTIN="#"
51305 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51306 COND_WXUSE_ODBC_BUILTIN=""
51307 fi
51308
51309 COND_WXUSE_REGEX_BUILTIN="#"
51310 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51311 COND_WXUSE_REGEX_BUILTIN=""
51312 fi
51313
51314 COND_WXUSE_ZLIB_BUILTIN="#"
51315 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51316 COND_WXUSE_ZLIB_BUILTIN=""
51317 fi
51318
51319
51320
51321 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51322 { { 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
51323 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;}
51324 { (exit 1); exit 1; }; }
51325 fi
51326
51327 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51328 { { 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
51329 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;}
51330 { (exit 1); exit 1; }; }
51331 fi
51332
51333
51334 if test $GCC_PCH = 1
51335 then
51336 if test "$wx_cv_gcc_pch_bug" = yes; then
51337 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51338 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51339 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51340 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51341 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51342 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51343 fi
51344
51345 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51346 fi
51347
51348
51349 if test "$wxUSE_MAC" = 1 ; then
51350 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51351 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51352 mv temp bk-deps
51353 chmod +x bk-deps
51354 fi
51355 fi
51356
51357 if test "$wxUSE_SHARED" = "yes"; then
51358
51359 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51360 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51361
51362 case "${host}" in
51363 *-pc-os2_emx | *-pc-os2-emx )
51364 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51365 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51366 cp -p ${srcdir}/src/os2/dllnames.sh .
51367 cp -p ${srcdir}/src/os2/dllar.sh .
51368 ;;
51369 esac
51370 else
51371
51372 EXE_LINKER="$CXX -o"
51373
51374 fi
51375 if test "$wxUSE_OMF" = "yes"; then
51376 case "${host}" in
51377 *-pc-os2_emx | *-pc-os2-emx )
51378 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51379 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51380 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51381 ;;
51382 esac
51383 fi
51384
51385 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51386
51387 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425
51426
51427
51428
51429
51430
51431
51432
51433
51434
51435
51436
51437
51438
51439
51440
51441
51442
51443
51444
51445
51446
51447
51448
51449 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51450 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
51451 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
51452 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
51453 echo $ECHO_N "(cached) $ECHO_C" >&6
51454 else
51455 cat >conftest.make <<\_ACEOF
51456 all:
51457 @echo 'ac_maketemp="$(MAKE)"'
51458 _ACEOF
51459 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51460 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
51461 if test -n "$ac_maketemp"; then
51462 eval ac_cv_prog_make_${ac_make}_set=yes
51463 else
51464 eval ac_cv_prog_make_${ac_make}_set=no
51465 fi
51466 rm -f conftest.make
51467 fi
51468 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
51469 echo "$as_me:$LINENO: result: yes" >&5
51470 echo "${ECHO_T}yes" >&6
51471 SET_MAKE=
51472 else
51473 echo "$as_me:$LINENO: result: no" >&5
51474 echo "${ECHO_T}no" >&6
51475 SET_MAKE="MAKE=${MAKE-make}"
51476 fi
51477
51478
51479
51480 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51481
51482
51483 if test "$USE_WIN32" = 1; then
51484 ac_config_commands="$ac_config_commands
51485 rcdefs.h
51486 "
51487
51488 fi
51489
51490 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51491
51492
51493 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51494
51495
51496 ac_config_files="$ac_config_files version-script Makefile"
51497
51498
51499 ac_config_commands="$ac_config_commands wx-config"
51500
51501
51502
51503 if test "$wxWITH_SUBDIRS" != "no"; then
51504 if test "$wxUSE_GUI" = "yes"; then
51505 SUBDIRS="samples demos utils contrib"
51506 else SUBDIRS="samples utils"
51507 fi
51508
51509
51510
51511 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
51512 if test "${with_cppunit_prefix+set}" = set; then
51513 withval="$with_cppunit_prefix"
51514 cppunit_config_prefix="$withval"
51515 else
51516 cppunit_config_prefix=""
51517 fi;
51518
51519 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
51520 if test "${with_cppunit_exec_prefix+set}" = set; then
51521 withval="$with_cppunit_exec_prefix"
51522 cppunit_config_exec_prefix="$withval"
51523 else
51524 cppunit_config_exec_prefix=""
51525 fi;
51526
51527 if test x$cppunit_config_exec_prefix != x ; then
51528 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51529 if test x${CPPUNIT_CONFIG+set} != xset ; then
51530 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51531 fi
51532 fi
51533 if test x$cppunit_config_prefix != x ; then
51534 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51535 if test x${CPPUNIT_CONFIG+set} != xset ; then
51536 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51537 fi
51538 fi
51539
51540 # Extract the first word of "cppunit-config", so it can be a program name with args.
51541 set dummy cppunit-config; ac_word=$2
51542 echo "$as_me:$LINENO: checking for $ac_word" >&5
51543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51544 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51545 echo $ECHO_N "(cached) $ECHO_C" >&6
51546 else
51547 case $CPPUNIT_CONFIG in
51548 [\\/]* | ?:[\\/]*)
51549 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51550 ;;
51551 *)
51552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51553 for as_dir in $PATH
51554 do
51555 IFS=$as_save_IFS
51556 test -z "$as_dir" && as_dir=.
51557 for ac_exec_ext in '' $ac_executable_extensions; do
51558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51559 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51561 break 2
51562 fi
51563 done
51564 done
51565
51566 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51567 ;;
51568 esac
51569 fi
51570 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51571
51572 if test -n "$CPPUNIT_CONFIG"; then
51573 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51574 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51575 else
51576 echo "$as_me:$LINENO: result: no" >&5
51577 echo "${ECHO_T}no" >&6
51578 fi
51579
51580 cppunit_version_min=1.8.0
51581
51582 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51583 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51584 no_cppunit=""
51585 if test "$CPPUNIT_CONFIG" = "no" ; then
51586 echo "$as_me:$LINENO: result: no" >&5
51587 echo "${ECHO_T}no" >&6
51588 no_cppunit=yes
51589 else
51590 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51591 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51592 cppunit_version=`$CPPUNIT_CONFIG --version`
51593
51594 cppunit_major_version=`echo $cppunit_version | \
51595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51596 cppunit_minor_version=`echo $cppunit_version | \
51597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51598 cppunit_micro_version=`echo $cppunit_version | \
51599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51600
51601 cppunit_major_min=`echo $cppunit_version_min | \
51602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51603 cppunit_minor_min=`echo $cppunit_version_min | \
51604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51605 cppunit_micro_min=`echo $cppunit_version_min | \
51606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51607
51608 cppunit_version_proper=`expr \
51609 $cppunit_major_version \> $cppunit_major_min \| \
51610 $cppunit_major_version \= $cppunit_major_min \& \
51611 $cppunit_minor_version \> $cppunit_minor_min \| \
51612 $cppunit_major_version \= $cppunit_major_min \& \
51613 $cppunit_minor_version \= $cppunit_minor_min \& \
51614 $cppunit_micro_version \>= $cppunit_micro_min `
51615
51616 if test "$cppunit_version_proper" = "1" ; then
51617 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51618 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51619 else
51620 echo "$as_me:$LINENO: result: no" >&5
51621 echo "${ECHO_T}no" >&6
51622 no_cppunit=yes
51623 fi
51624 fi
51625
51626 if test "x$no_cppunit" = x ; then
51627 SUBDIRS="$SUBDIRS tests"
51628 else
51629 CPPUNIT_CFLAGS=""
51630 CPPUNIT_LIBS=""
51631 :
51632 fi
51633
51634
51635
51636
51637
51638 for subdir in `echo $SUBDIRS`; do
51639 if test -d ${srcdir}/${subdir} ; then
51640 if test "$wxUSE_GUI" = "yes"; then
51641 if test ${subdir} = "samples"; then
51642 makefiles="samples/Makefile.in $makefiles"
51643 for sample in `echo $SAMPLES_SUBDIRS`; do
51644 if test -d $srcdir/samples/$sample; then
51645 makefiles="samples/$sample/Makefile.in $makefiles"
51646 fi
51647 done
51648 else
51649 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51650 eval "disabled=\$$disabled_var"
51651 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51652 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
51653 fi
51654 else if test ${subdir} = "samples"; then
51655 makefiles="samples/Makefile.in samples/console/Makefile.in"
51656 elif test ${subdir} = "utils"; then
51657 makefiles=""
51658 for util in HelpGen tex2rtf ; do
51659 if test -d $srcdir/utils/$util ; then
51660 makefiles="utils/$util/Makefile.in \
51661 utils/$util/src/Makefile.in \
51662 $makefiles"
51663 fi
51664 done
51665 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51666 fi
51667 fi
51668
51669 for mkin in $makefiles ; do
51670 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51671 ac_config_files="$ac_config_files $mk"
51672
51673 done
51674 fi
51675 done
51676 fi
51677 cat >confcache <<\_ACEOF
51678 # This file is a shell script that caches the results of configure
51679 # tests run on this system so they can be shared between configure
51680 # scripts and configure runs, see configure's option --config-cache.
51681 # It is not useful on other systems. If it contains results you don't
51682 # want to keep, you may remove or edit it.
51683 #
51684 # config.status only pays attention to the cache file if you give it
51685 # the --recheck option to rerun configure.
51686 #
51687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51689 # following values.
51690
51691 _ACEOF
51692
51693 # The following way of writing the cache mishandles newlines in values,
51694 # but we know of no workaround that is simple, portable, and efficient.
51695 # So, don't put newlines in cache variables' values.
51696 # Ultrix sh set writes to stderr and can't be redirected directly,
51697 # and sets the high bit in the cache file unless we assign to the vars.
51698 {
51699 (set) 2>&1 |
51700 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51701 *ac_space=\ *)
51702 # `set' does not quote correctly, so add quotes (double-quote
51703 # substitution turns \\\\ into \\, and sed turns \\ into \).
51704 sed -n \
51705 "s/'/'\\\\''/g;
51706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51707 ;;
51708 *)
51709 # `set' quotes correctly as required by POSIX, so do not add quotes.
51710 sed -n \
51711 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51712 ;;
51713 esac;
51714 } |
51715 sed '
51716 t clear
51717 : clear
51718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51719 t end
51720 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51721 : end' >>confcache
51722 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51723 if test -w $cache_file; then
51724 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51725 cat confcache >$cache_file
51726 else
51727 echo "not updating unwritable cache $cache_file"
51728 fi
51729 fi
51730 rm -f confcache
51731
51732 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51733 # Let make expand exec_prefix.
51734 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51735
51736 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51737 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51738 # trailing colons and then remove the whole line if VPATH becomes empty
51739 # (actually we leave an empty line to preserve line numbers).
51740 if test "x$srcdir" = x.; then
51741 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51742 s/:*\$(srcdir):*/:/;
51743 s/:*\${srcdir}:*/:/;
51744 s/:*@srcdir@:*/:/;
51745 s/^\([^=]*=[ ]*\):*/\1/;
51746 s/:*$//;
51747 s/^[^=]*=[ ]*$//;
51748 }'
51749 fi
51750
51751 DEFS=-DHAVE_CONFIG_H
51752
51753 ac_libobjs=
51754 ac_ltlibobjs=
51755 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51756 # 1. Remove the extension, and $U if already installed.
51757 ac_i=`echo "$ac_i" |
51758 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51759 # 2. Add them.
51760 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51761 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51762 done
51763 LIBOBJS=$ac_libobjs
51764
51765 LTLIBOBJS=$ac_ltlibobjs
51766
51767
51768
51769 : ${CONFIG_STATUS=./config.status}
51770 ac_clean_files_save=$ac_clean_files
51771 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51772 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51773 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51774 cat >$CONFIG_STATUS <<_ACEOF
51775 #! $SHELL
51776 # Generated by $as_me.
51777 # Run this file to recreate the current configuration.
51778 # Compiler output produced by configure, useful for debugging
51779 # configure, is in config.log if it exists.
51780
51781 debug=false
51782 ac_cs_recheck=false
51783 ac_cs_silent=false
51784 SHELL=\${CONFIG_SHELL-$SHELL}
51785 _ACEOF
51786
51787 cat >>$CONFIG_STATUS <<\_ACEOF
51788 ## --------------------- ##
51789 ## M4sh Initialization. ##
51790 ## --------------------- ##
51791
51792 # Be Bourne compatible
51793 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51794 emulate sh
51795 NULLCMD=:
51796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51797 # is contrary to our usage. Disable this feature.
51798 alias -g '${1+"$@"}'='"$@"'
51799 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51800 set -o posix
51801 fi
51802 DUALCASE=1; export DUALCASE # for MKS sh
51803
51804 # Support unset when possible.
51805 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51806 as_unset=unset
51807 else
51808 as_unset=false
51809 fi
51810
51811
51812 # Work around bugs in pre-3.0 UWIN ksh.
51813 $as_unset ENV MAIL MAILPATH
51814 PS1='$ '
51815 PS2='> '
51816 PS4='+ '
51817
51818 # NLS nuisances.
51819 for as_var in \
51820 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51821 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51822 LC_TELEPHONE LC_TIME
51823 do
51824 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51825 eval $as_var=C; export $as_var
51826 else
51827 $as_unset $as_var
51828 fi
51829 done
51830
51831 # Required to use basename.
51832 if expr a : '\(a\)' >/dev/null 2>&1; then
51833 as_expr=expr
51834 else
51835 as_expr=false
51836 fi
51837
51838 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51839 as_basename=basename
51840 else
51841 as_basename=false
51842 fi
51843
51844
51845 # Name of the executable.
51846 as_me=`$as_basename "$0" ||
51847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51848 X"$0" : 'X\(//\)$' \| \
51849 X"$0" : 'X\(/\)$' \| \
51850 . : '\(.\)' 2>/dev/null ||
51851 echo X/"$0" |
51852 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51853 /^X\/\(\/\/\)$/{ s//\1/; q; }
51854 /^X\/\(\/\).*/{ s//\1/; q; }
51855 s/.*/./; q'`
51856
51857
51858 # PATH needs CR, and LINENO needs CR and PATH.
51859 # Avoid depending upon Character Ranges.
51860 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51861 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51862 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51863 as_cr_digits='0123456789'
51864 as_cr_alnum=$as_cr_Letters$as_cr_digits
51865
51866 # The user is always right.
51867 if test "${PATH_SEPARATOR+set}" != set; then
51868 echo "#! /bin/sh" >conf$$.sh
51869 echo "exit 0" >>conf$$.sh
51870 chmod +x conf$$.sh
51871 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51872 PATH_SEPARATOR=';'
51873 else
51874 PATH_SEPARATOR=:
51875 fi
51876 rm -f conf$$.sh
51877 fi
51878
51879
51880 as_lineno_1=$LINENO
51881 as_lineno_2=$LINENO
51882 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51883 test "x$as_lineno_1" != "x$as_lineno_2" &&
51884 test "x$as_lineno_3" = "x$as_lineno_2" || {
51885 # Find who we are. Look in the path if we contain no path at all
51886 # relative or not.
51887 case $0 in
51888 *[\\/]* ) as_myself=$0 ;;
51889 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51890 for as_dir in $PATH
51891 do
51892 IFS=$as_save_IFS
51893 test -z "$as_dir" && as_dir=.
51894 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51895 done
51896
51897 ;;
51898 esac
51899 # We did not find ourselves, most probably we were run as `sh COMMAND'
51900 # in which case we are not to be found in the path.
51901 if test "x$as_myself" = x; then
51902 as_myself=$0
51903 fi
51904 if test ! -f "$as_myself"; then
51905 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51906 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51907 { (exit 1); exit 1; }; }
51908 fi
51909 case $CONFIG_SHELL in
51910 '')
51911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51912 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51913 do
51914 IFS=$as_save_IFS
51915 test -z "$as_dir" && as_dir=.
51916 for as_base in sh bash ksh sh5; do
51917 case $as_dir in
51918 /*)
51919 if ("$as_dir/$as_base" -c '
51920 as_lineno_1=$LINENO
51921 as_lineno_2=$LINENO
51922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51923 test "x$as_lineno_1" != "x$as_lineno_2" &&
51924 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51925 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51926 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51927 CONFIG_SHELL=$as_dir/$as_base
51928 export CONFIG_SHELL
51929 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51930 fi;;
51931 esac
51932 done
51933 done
51934 ;;
51935 esac
51936
51937 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51938 # uniformly replaced by the line number. The first 'sed' inserts a
51939 # line-number line before each line; the second 'sed' does the real
51940 # work. The second script uses 'N' to pair each line-number line
51941 # with the numbered line, and appends trailing '-' during
51942 # substitution so that $LINENO is not a special case at line end.
51943 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51944 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51945 sed '=' <$as_myself |
51946 sed '
51947 N
51948 s,$,-,
51949 : loop
51950 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51951 t loop
51952 s,-$,,
51953 s,^['$as_cr_digits']*\n,,
51954 ' >$as_me.lineno &&
51955 chmod +x $as_me.lineno ||
51956 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51957 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51958 { (exit 1); exit 1; }; }
51959
51960 # Don't try to exec as it changes $[0], causing all sort of problems
51961 # (the dirname of $[0] is not the place where we might find the
51962 # original and so on. Autoconf is especially sensible to this).
51963 . ./$as_me.lineno
51964 # Exit status is that of the last command.
51965 exit
51966 }
51967
51968
51969 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51970 *c*,-n*) ECHO_N= ECHO_C='
51971 ' ECHO_T=' ' ;;
51972 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51973 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51974 esac
51975
51976 if expr a : '\(a\)' >/dev/null 2>&1; then
51977 as_expr=expr
51978 else
51979 as_expr=false
51980 fi
51981
51982 rm -f conf$$ conf$$.exe conf$$.file
51983 echo >conf$$.file
51984 if ln -s conf$$.file conf$$ 2>/dev/null; then
51985 # We could just check for DJGPP; but this test a) works b) is more generic
51986 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51987 if test -f conf$$.exe; then
51988 # Don't use ln at all; we don't have any links
51989 as_ln_s='cp -p'
51990 else
51991 as_ln_s='ln -s'
51992 fi
51993 elif ln conf$$.file conf$$ 2>/dev/null; then
51994 as_ln_s=ln
51995 else
51996 as_ln_s='cp -p'
51997 fi
51998 rm -f conf$$ conf$$.exe conf$$.file
51999
52000 if mkdir -p . 2>/dev/null; then
52001 as_mkdir_p=:
52002 else
52003 test -d ./-p && rmdir ./-p
52004 as_mkdir_p=false
52005 fi
52006
52007 as_executable_p="test -f"
52008
52009 # Sed expression to map a string onto a valid CPP name.
52010 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52011
52012 # Sed expression to map a string onto a valid variable name.
52013 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52014
52015
52016 # IFS
52017 # We need space, tab and new line, in precisely that order.
52018 as_nl='
52019 '
52020 IFS=" $as_nl"
52021
52022 # CDPATH.
52023 $as_unset CDPATH
52024
52025 exec 6>&1
52026
52027 # Open the log real soon, to keep \$[0] and so on meaningful, and to
52028 # report actual input values of CONFIG_FILES etc. instead of their
52029 # values after options handling. Logging --version etc. is OK.
52030 exec 5>>config.log
52031 {
52032 echo
52033 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52034 ## Running $as_me. ##
52035 _ASBOX
52036 } >&5
52037 cat >&5 <<_CSEOF
52038
52039 This file was extended by wxWidgets $as_me 2.7.1, which was
52040 generated by GNU Autoconf 2.59. Invocation command line was
52041
52042 CONFIG_FILES = $CONFIG_FILES
52043 CONFIG_HEADERS = $CONFIG_HEADERS
52044 CONFIG_LINKS = $CONFIG_LINKS
52045 CONFIG_COMMANDS = $CONFIG_COMMANDS
52046 $ $0 $@
52047
52048 _CSEOF
52049 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
52050 echo >&5
52051 _ACEOF
52052
52053 # Files that config.status was made for.
52054 if test -n "$ac_config_files"; then
52055 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52056 fi
52057
52058 if test -n "$ac_config_headers"; then
52059 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52060 fi
52061
52062 if test -n "$ac_config_links"; then
52063 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52064 fi
52065
52066 if test -n "$ac_config_commands"; then
52067 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52068 fi
52069
52070 cat >>$CONFIG_STATUS <<\_ACEOF
52071
52072 ac_cs_usage="\
52073 \`$as_me' instantiates files from templates according to the
52074 current configuration.
52075
52076 Usage: $0 [OPTIONS] [FILE]...
52077
52078 -h, --help print this help, then exit
52079 -V, --version print version number, then exit
52080 -q, --quiet do not print progress messages
52081 -d, --debug don't remove temporary files
52082 --recheck update $as_me by reconfiguring in the same conditions
52083 --file=FILE[:TEMPLATE]
52084 instantiate the configuration file FILE
52085 --header=FILE[:TEMPLATE]
52086 instantiate the configuration header FILE
52087
52088 Configuration files:
52089 $config_files
52090
52091 Configuration headers:
52092 $config_headers
52093
52094 Configuration commands:
52095 $config_commands
52096
52097 Report bugs to <bug-autoconf@gnu.org>."
52098 _ACEOF
52099
52100 cat >>$CONFIG_STATUS <<_ACEOF
52101 ac_cs_version="\\
52102 wxWidgets config.status 2.7.1
52103 configured by $0, generated by GNU Autoconf 2.59,
52104 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52105
52106 Copyright (C) 2003 Free Software Foundation, Inc.
52107 This config.status script is free software; the Free Software Foundation
52108 gives unlimited permission to copy, distribute and modify it."
52109 srcdir=$srcdir
52110 INSTALL="$INSTALL"
52111 _ACEOF
52112
52113 cat >>$CONFIG_STATUS <<\_ACEOF
52114 # If no file are specified by the user, then we need to provide default
52115 # value. By we need to know if files were specified by the user.
52116 ac_need_defaults=:
52117 while test $# != 0
52118 do
52119 case $1 in
52120 --*=*)
52121 ac_option=`expr "x$1" : 'x\([^=]*\)='`
52122 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
52123 ac_shift=:
52124 ;;
52125 -*)
52126 ac_option=$1
52127 ac_optarg=$2
52128 ac_shift=shift
52129 ;;
52130 *) # This is not an option, so the user has probably given explicit
52131 # arguments.
52132 ac_option=$1
52133 ac_need_defaults=false;;
52134 esac
52135
52136 case $ac_option in
52137 # Handling of the options.
52138 _ACEOF
52139 cat >>$CONFIG_STATUS <<\_ACEOF
52140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52141 ac_cs_recheck=: ;;
52142 --version | --vers* | -V )
52143 echo "$ac_cs_version"; exit 0 ;;
52144 --he | --h)
52145 # Conflict between --help and --header
52146 { { echo "$as_me:$LINENO: error: ambiguous option: $1
52147 Try \`$0 --help' for more information." >&5
52148 echo "$as_me: error: ambiguous option: $1
52149 Try \`$0 --help' for more information." >&2;}
52150 { (exit 1); exit 1; }; };;
52151 --help | --hel | -h )
52152 echo "$ac_cs_usage"; exit 0 ;;
52153 --debug | --d* | -d )
52154 debug=: ;;
52155 --file | --fil | --fi | --f )
52156 $ac_shift
52157 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52158 ac_need_defaults=false;;
52159 --header | --heade | --head | --hea )
52160 $ac_shift
52161 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52162 ac_need_defaults=false;;
52163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52164 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52165 ac_cs_silent=: ;;
52166
52167 # This is an error.
52168 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
52169 Try \`$0 --help' for more information." >&5
52170 echo "$as_me: error: unrecognized option: $1
52171 Try \`$0 --help' for more information." >&2;}
52172 { (exit 1); exit 1; }; } ;;
52173
52174 *) ac_config_targets="$ac_config_targets $1" ;;
52175
52176 esac
52177 shift
52178 done
52179
52180 ac_configure_extra_args=
52181
52182 if $ac_cs_silent; then
52183 exec 6>/dev/null
52184 ac_configure_extra_args="$ac_configure_extra_args --silent"
52185 fi
52186
52187 _ACEOF
52188 cat >>$CONFIG_STATUS <<_ACEOF
52189 if \$ac_cs_recheck; then
52190 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52191 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52192 fi
52193
52194 _ACEOF
52195
52196 cat >>$CONFIG_STATUS <<_ACEOF
52197 #
52198 # INIT-COMMANDS section.
52199 #
52200
52201
52202 CPP="$CPP"
52203 infile="$srcdir/include/wx/msw/genrcdefs.h"
52204 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52205
52206
52207 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52208 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52209 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52210 LN_S="${LN_S}"
52211
52212
52213 _ACEOF
52214
52215
52216
52217 cat >>$CONFIG_STATUS <<\_ACEOF
52218 for ac_config_target in $ac_config_targets
52219 do
52220 case "$ac_config_target" in
52221 # Handling of arguments.
52222 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52223 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52224 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
52225 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52226 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
52227 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52228 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52229 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52230 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52231 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52232 { (exit 1); exit 1; }; };;
52233 esac
52234 done
52235
52236 # If the user did not use the arguments to specify the items to instantiate,
52237 # then the envvar interface is used. Set only those that are not.
52238 # We use the long form for the default assignment because of an extremely
52239 # bizarre bug on SunOS 4.1.3.
52240 if $ac_need_defaults; then
52241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52244 fi
52245
52246 # Have a temporary directory for convenience. Make it in the build tree
52247 # simply because there is no reason to put it here, and in addition,
52248 # creating and moving files from /tmp can sometimes cause problems.
52249 # Create a temporary directory, and hook for its removal unless debugging.
52250 $debug ||
52251 {
52252 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52253 trap '{ (exit 1); exit 1; }' 1 2 13 15
52254 }
52255
52256 # Create a (secure) tmp directory for tmp files.
52257
52258 {
52259 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
52260 test -n "$tmp" && test -d "$tmp"
52261 } ||
52262 {
52263 tmp=./confstat$$-$RANDOM
52264 (umask 077 && mkdir $tmp)
52265 } ||
52266 {
52267 echo "$me: cannot create a temporary directory in ." >&2
52268 { (exit 1); exit 1; }
52269 }
52270
52271 _ACEOF
52272
52273 cat >>$CONFIG_STATUS <<_ACEOF
52274
52275 #
52276 # CONFIG_FILES section.
52277 #
52278
52279 # No need to generate the scripts if there are no CONFIG_FILES.
52280 # This happens for instance when ./config.status config.h
52281 if test -n "\$CONFIG_FILES"; then
52282 # Protect against being on the right side of a sed subst in config.status.
52283 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52284 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52285 s,@SHELL@,$SHELL,;t t
52286 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52287 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52288 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52289 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52290 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52291 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52292 s,@exec_prefix@,$exec_prefix,;t t
52293 s,@prefix@,$prefix,;t t
52294 s,@program_transform_name@,$program_transform_name,;t t
52295 s,@bindir@,$bindir,;t t
52296 s,@sbindir@,$sbindir,;t t
52297 s,@libexecdir@,$libexecdir,;t t
52298 s,@datadir@,$datadir,;t t
52299 s,@sysconfdir@,$sysconfdir,;t t
52300 s,@sharedstatedir@,$sharedstatedir,;t t
52301 s,@localstatedir@,$localstatedir,;t t
52302 s,@libdir@,$libdir,;t t
52303 s,@includedir@,$includedir,;t t
52304 s,@oldincludedir@,$oldincludedir,;t t
52305 s,@infodir@,$infodir,;t t
52306 s,@mandir@,$mandir,;t t
52307 s,@build_alias@,$build_alias,;t t
52308 s,@host_alias@,$host_alias,;t t
52309 s,@target_alias@,$target_alias,;t t
52310 s,@DEFS@,$DEFS,;t t
52311 s,@ECHO_C@,$ECHO_C,;t t
52312 s,@ECHO_N@,$ECHO_N,;t t
52313 s,@ECHO_T@,$ECHO_T,;t t
52314 s,@LIBS@,$LIBS,;t t
52315 s,@build@,$build,;t t
52316 s,@build_cpu@,$build_cpu,;t t
52317 s,@build_vendor@,$build_vendor,;t t
52318 s,@build_os@,$build_os,;t t
52319 s,@host@,$host,;t t
52320 s,@host_cpu@,$host_cpu,;t t
52321 s,@host_vendor@,$host_vendor,;t t
52322 s,@host_os@,$host_os,;t t
52323 s,@target@,$target,;t t
52324 s,@target_cpu@,$target_cpu,;t t
52325 s,@target_vendor@,$target_vendor,;t t
52326 s,@target_os@,$target_os,;t t
52327 s,@CC@,$CC,;t t
52328 s,@CFLAGS@,$CFLAGS,;t t
52329 s,@LDFLAGS@,$LDFLAGS,;t t
52330 s,@CPPFLAGS@,$CPPFLAGS,;t t
52331 s,@ac_ct_CC@,$ac_ct_CC,;t t
52332 s,@EXEEXT@,$EXEEXT,;t t
52333 s,@OBJEXT@,$OBJEXT,;t t
52334 s,@CPP@,$CPP,;t t
52335 s,@EGREP@,$EGREP,;t t
52336 s,@CXX@,$CXX,;t t
52337 s,@CXXFLAGS@,$CXXFLAGS,;t t
52338 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
52339 s,@RANLIB@,$RANLIB,;t t
52340 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
52341 s,@AR@,$AR,;t t
52342 s,@ac_ct_AR@,$ac_ct_AR,;t t
52343 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
52344 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
52345 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
52346 s,@STRIP@,$STRIP,;t t
52347 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
52348 s,@WINDRES@,$WINDRES,;t t
52349 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
52350 s,@DLLTOOL@,$DLLTOOL,;t t
52351 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
52352 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
52353 s,@LN_S@,$LN_S,;t t
52354 s,@CXXCPP@,$CXXCPP,;t t
52355 s,@subdirs@,$subdirs,;t t
52356 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
52357 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
52358 s,@GTK_LIBS@,$GTK_LIBS,;t t
52359 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
52360 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
52361 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
52362 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
52363 s,@X_CFLAGS@,$X_CFLAGS,;t t
52364 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
52365 s,@X_LIBS@,$X_LIBS,;t t
52366 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
52367 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
52368 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
52369 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
52370 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
52371 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
52372 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
52373 s,@REZ@,$REZ,;t t
52374 s,@DEREZ@,$DEREZ,;t t
52375 s,@SETFILE@,$SETFILE,;t t
52376 s,@LIBICONV@,$LIBICONV,;t t
52377 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
52378 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
52379 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
52380 s,@SDL_LIBS@,$SDL_LIBS,;t t
52381 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
52382 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
52383 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
52384 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
52385 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
52386 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
52387 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
52388 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
52389 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
52390 s,@GST_LIBS@,$GST_LIBS,;t t
52391 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
52392 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
52393 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
52394 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
52395 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
52396 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
52397 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
52398 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
52399 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
52400 s,@VENDOR@,$VENDOR,;t t
52401 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
52402 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
52403 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
52404 s,@WXUNIV@,$WXUNIV,;t t
52405 s,@MONOLITHIC@,$MONOLITHIC,;t t
52406 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
52407 s,@EXTRALIBS@,$EXTRALIBS,;t t
52408 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
52409 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
52410 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
52411 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
52412 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
52413 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
52414 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
52415 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
52416 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
52417 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
52418 s,@UNICODE@,$UNICODE,;t t
52419 s,@BUILD@,$BUILD,;t t
52420 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
52421 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
52422 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
52423 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
52424 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
52425 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
52426 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
52427 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
52428 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
52429 s,@SET_MAKE@,$SET_MAKE,;t t
52430 s,@MAKE_SET@,$MAKE_SET,;t t
52431 s,@NM@,$NM,;t t
52432 s,@ac_ct_NM@,$ac_ct_NM,;t t
52433 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
52434 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
52435 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
52436 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
52437 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
52438 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
52439 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
52440 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
52441 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
52442 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
52443 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
52444 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
52445 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
52446 s,@LIBPREFIX@,$LIBPREFIX,;t t
52447 s,@LIBEXT@,$LIBEXT,;t t
52448 s,@DLLPREFIX@,$DLLPREFIX,;t t
52449 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
52450 s,@dlldir@,$dlldir,;t t
52451 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
52452 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
52453 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
52454 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
52455 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
52456 s,@PIC_FLAG@,$PIC_FLAG,;t t
52457 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
52458 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
52459 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
52460 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
52461 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
52462 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
52463 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
52464 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
52465 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
52466 s,@GCC_PCH@,$GCC_PCH,;t t
52467 s,@ICC_PCH@,$ICC_PCH,;t t
52468 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
52469 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
52470 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
52471 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
52472 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
52473 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
52474 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
52475 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
52476 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
52477 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
52478 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
52479 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
52480 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
52481 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
52482 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
52483 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
52484 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
52485 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
52486 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
52487 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
52488 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
52489 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
52490 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
52491 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
52492 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
52493 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
52494 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
52495 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
52496 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
52497 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
52498 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
52499 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
52500 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
52501 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
52502 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
52503 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
52504 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
52505 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
52506 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
52507 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
52508 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
52509 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
52510 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
52511 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
52512 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
52513 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
52514 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
52515 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
52516 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
52517 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
52518 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
52519 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
52520 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
52521 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
52522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
52523 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
52524 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
52525 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
52526 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
52527 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
52528 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
52529 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
52530 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
52531 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
52532 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
52533 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
52534 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
52535 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
52536 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
52537 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
52538 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
52539 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
52540 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52541 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52542 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52543 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52544 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52545 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52546 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52547 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52548 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52549 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52550 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52551 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52552 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52553 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52554 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52555 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52556 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52557 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52558 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52559 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52560 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52561 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52562 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
52563 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52564 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52565 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52566 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52567 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52568 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52569 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52570 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52571 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52572 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52573 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52574 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52575 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52576 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52577 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52578 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52579 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52580 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52581 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52582 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52583 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52584 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52585 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52586 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52587 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52588 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52589 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52590 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52591 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52592 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52593 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52594 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52595 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52596 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52597 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52598 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52599 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52600 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52601 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52602 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52603 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52604 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52605 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52606 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52607 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52608 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52609 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52610 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52611 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52612 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52613 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52614 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52615 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52616 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52617 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52618 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52619 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52620 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52621 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52622 s,@SHARED@,$SHARED,;t t
52623 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52624 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52625 s,@USE_GUI@,$USE_GUI,;t t
52626 s,@AFMINSTALL@,$AFMINSTALL,;t t
52627 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52628 s,@TOOLKIT@,$TOOLKIT,;t t
52629 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52630 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52631 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52632 s,@cross_compiling@,$cross_compiling,;t t
52633 s,@WIDGET_SET@,$WIDGET_SET,;t t
52634 s,@WX_RELEASE@,$WX_RELEASE,;t t
52635 s,@WX_VERSION@,$WX_VERSION,;t t
52636 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52637 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52638 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52639 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52640 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52641 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52642 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52643 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52644 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52645 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52646 s,@EXE_LINKER@,$EXE_LINKER,;t t
52647 s,@GUIDIST@,$GUIDIST,;t t
52648 s,@DISTDIR@,$DISTDIR,;t t
52649 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52650 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52651 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52652 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52653 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52654 s,@RESCOMP@,$RESCOMP,;t t
52655 s,@RESFLAGS@,$RESFLAGS,;t t
52656 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52657 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52658 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52659 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52660 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52661 s,@MACSETFILE@,$MACSETFILE,;t t
52662 s,@GCC@,$GCC,;t t
52663 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52664 s,@LIBOBJS@,$LIBOBJS,;t t
52665 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52666 CEOF
52667
52668 _ACEOF
52669
52670 cat >>$CONFIG_STATUS <<\_ACEOF
52671 # Split the substitutions into bite-sized pieces for seds with
52672 # small command number limits, like on Digital OSF/1 and HP-UX.
52673 ac_max_sed_lines=48
52674 ac_sed_frag=1 # Number of current file.
52675 ac_beg=1 # First line for current file.
52676 ac_end=$ac_max_sed_lines # Line after last line for current file.
52677 ac_more_lines=:
52678 ac_sed_cmds=
52679 while $ac_more_lines; do
52680 if test $ac_beg -gt 1; then
52681 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52682 else
52683 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52684 fi
52685 if test ! -s $tmp/subs.frag; then
52686 ac_more_lines=false
52687 else
52688 # The purpose of the label and of the branching condition is to
52689 # speed up the sed processing (if there are no `@' at all, there
52690 # is no need to browse any of the substitutions).
52691 # These are the two extra sed commands mentioned above.
52692 (echo ':t
52693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52694 if test -z "$ac_sed_cmds"; then
52695 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52696 else
52697 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52698 fi
52699 ac_sed_frag=`expr $ac_sed_frag + 1`
52700 ac_beg=$ac_end
52701 ac_end=`expr $ac_end + $ac_max_sed_lines`
52702 fi
52703 done
52704 if test -z "$ac_sed_cmds"; then
52705 ac_sed_cmds=cat
52706 fi
52707 fi # test -n "$CONFIG_FILES"
52708
52709 _ACEOF
52710 cat >>$CONFIG_STATUS <<\_ACEOF
52711 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52712 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52713 case $ac_file in
52714 - | *:- | *:-:* ) # input from stdin
52715 cat >$tmp/stdin
52716 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52717 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52718 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52719 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52720 * ) ac_file_in=$ac_file.in ;;
52721 esac
52722
52723 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52724 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52726 X"$ac_file" : 'X\(//\)[^/]' \| \
52727 X"$ac_file" : 'X\(//\)$' \| \
52728 X"$ac_file" : 'X\(/\)' \| \
52729 . : '\(.\)' 2>/dev/null ||
52730 echo X"$ac_file" |
52731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52733 /^X\(\/\/\)$/{ s//\1/; q; }
52734 /^X\(\/\).*/{ s//\1/; q; }
52735 s/.*/./; q'`
52736 { if $as_mkdir_p; then
52737 mkdir -p "$ac_dir"
52738 else
52739 as_dir="$ac_dir"
52740 as_dirs=
52741 while test ! -d "$as_dir"; do
52742 as_dirs="$as_dir $as_dirs"
52743 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52745 X"$as_dir" : 'X\(//\)[^/]' \| \
52746 X"$as_dir" : 'X\(//\)$' \| \
52747 X"$as_dir" : 'X\(/\)' \| \
52748 . : '\(.\)' 2>/dev/null ||
52749 echo X"$as_dir" |
52750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52752 /^X\(\/\/\)$/{ s//\1/; q; }
52753 /^X\(\/\).*/{ s//\1/; q; }
52754 s/.*/./; q'`
52755 done
52756 test ! -n "$as_dirs" || mkdir $as_dirs
52757 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52758 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52759 { (exit 1); exit 1; }; }; }
52760
52761 ac_builddir=.
52762
52763 if test "$ac_dir" != .; then
52764 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52765 # A "../" for each directory in $ac_dir_suffix.
52766 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52767 else
52768 ac_dir_suffix= ac_top_builddir=
52769 fi
52770
52771 case $srcdir in
52772 .) # No --srcdir option. We are building in place.
52773 ac_srcdir=.
52774 if test -z "$ac_top_builddir"; then
52775 ac_top_srcdir=.
52776 else
52777 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52778 fi ;;
52779 [\\/]* | ?:[\\/]* ) # Absolute path.
52780 ac_srcdir=$srcdir$ac_dir_suffix;
52781 ac_top_srcdir=$srcdir ;;
52782 *) # Relative path.
52783 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52784 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52785 esac
52786
52787 # Do not use `cd foo && pwd` to compute absolute paths, because
52788 # the directories may not exist.
52789 case `pwd` in
52790 .) ac_abs_builddir="$ac_dir";;
52791 *)
52792 case "$ac_dir" in
52793 .) ac_abs_builddir=`pwd`;;
52794 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52795 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52796 esac;;
52797 esac
52798 case $ac_abs_builddir in
52799 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52800 *)
52801 case ${ac_top_builddir}. in
52802 .) ac_abs_top_builddir=$ac_abs_builddir;;
52803 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52804 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52805 esac;;
52806 esac
52807 case $ac_abs_builddir in
52808 .) ac_abs_srcdir=$ac_srcdir;;
52809 *)
52810 case $ac_srcdir in
52811 .) ac_abs_srcdir=$ac_abs_builddir;;
52812 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52813 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52814 esac;;
52815 esac
52816 case $ac_abs_builddir in
52817 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52818 *)
52819 case $ac_top_srcdir in
52820 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52821 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52822 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52823 esac;;
52824 esac
52825
52826
52827 case $INSTALL in
52828 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52829 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52830 esac
52831
52832 # Let's still pretend it is `configure' which instantiates (i.e., don't
52833 # use $as_me), people would be surprised to read:
52834 # /* config.h. Generated by config.status. */
52835 if test x"$ac_file" = x-; then
52836 configure_input=
52837 else
52838 configure_input="$ac_file. "
52839 fi
52840 configure_input=$configure_input"Generated from `echo $ac_file_in |
52841 sed 's,.*/,,'` by configure."
52842
52843 # First look for the input files in the build tree, otherwise in the
52844 # src tree.
52845 ac_file_inputs=`IFS=:
52846 for f in $ac_file_in; do
52847 case $f in
52848 -) echo $tmp/stdin ;;
52849 [\\/$]*)
52850 # Absolute (can't be DOS-style, as IFS=:)
52851 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52852 echo "$as_me: error: cannot find input file: $f" >&2;}
52853 { (exit 1); exit 1; }; }
52854 echo "$f";;
52855 *) # Relative
52856 if test -f "$f"; then
52857 # Build tree
52858 echo "$f"
52859 elif test -f "$srcdir/$f"; then
52860 # Source tree
52861 echo "$srcdir/$f"
52862 else
52863 # /dev/null tree
52864 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52865 echo "$as_me: error: cannot find input file: $f" >&2;}
52866 { (exit 1); exit 1; }; }
52867 fi;;
52868 esac
52869 done` || { (exit 1); exit 1; }
52870
52871 if test x"$ac_file" != x-; then
52872 { echo "$as_me:$LINENO: creating $ac_file" >&5
52873 echo "$as_me: creating $ac_file" >&6;}
52874 rm -f "$ac_file"
52875 fi
52876 _ACEOF
52877 cat >>$CONFIG_STATUS <<_ACEOF
52878 sed "$ac_vpsub
52879 $extrasub
52880 _ACEOF
52881 cat >>$CONFIG_STATUS <<\_ACEOF
52882 :t
52883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52884 s,@configure_input@,$configure_input,;t t
52885 s,@srcdir@,$ac_srcdir,;t t
52886 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52887 s,@top_srcdir@,$ac_top_srcdir,;t t
52888 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52889 s,@builddir@,$ac_builddir,;t t
52890 s,@abs_builddir@,$ac_abs_builddir,;t t
52891 s,@top_builddir@,$ac_top_builddir,;t t
52892 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52893 s,@INSTALL@,$ac_INSTALL,;t t
52894 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52895 rm -f $tmp/stdin
52896 if test x"$ac_file" != x-; then
52897 mv $tmp/out $ac_file
52898 else
52899 cat $tmp/out
52900 rm -f $tmp/out
52901 fi
52902
52903 # Run the commands associated with the file.
52904 case $ac_file in
52905 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52906 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52907 esac
52908 done
52909 _ACEOF
52910 cat >>$CONFIG_STATUS <<\_ACEOF
52911
52912 #
52913 # CONFIG_HEADER section.
52914 #
52915
52916 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52917 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52918 #
52919 # ac_d sets the value in "#define NAME VALUE" lines.
52920 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52921 ac_dB='[ ].*$,\1#\2'
52922 ac_dC=' '
52923 ac_dD=',;t'
52924 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52925 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52926 ac_uB='$,\1#\2define\3'
52927 ac_uC=' '
52928 ac_uD=',;t'
52929
52930 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52931 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52932 case $ac_file in
52933 - | *:- | *:-:* ) # input from stdin
52934 cat >$tmp/stdin
52935 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52936 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52937 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52938 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52939 * ) ac_file_in=$ac_file.in ;;
52940 esac
52941
52942 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52943 echo "$as_me: creating $ac_file" >&6;}
52944
52945 # First look for the input files in the build tree, otherwise in the
52946 # src tree.
52947 ac_file_inputs=`IFS=:
52948 for f in $ac_file_in; do
52949 case $f in
52950 -) echo $tmp/stdin ;;
52951 [\\/$]*)
52952 # Absolute (can't be DOS-style, as IFS=:)
52953 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52954 echo "$as_me: error: cannot find input file: $f" >&2;}
52955 { (exit 1); exit 1; }; }
52956 # Do quote $f, to prevent DOS paths from being IFS'd.
52957 echo "$f";;
52958 *) # Relative
52959 if test -f "$f"; then
52960 # Build tree
52961 echo "$f"
52962 elif test -f "$srcdir/$f"; then
52963 # Source tree
52964 echo "$srcdir/$f"
52965 else
52966 # /dev/null tree
52967 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52968 echo "$as_me: error: cannot find input file: $f" >&2;}
52969 { (exit 1); exit 1; }; }
52970 fi;;
52971 esac
52972 done` || { (exit 1); exit 1; }
52973 # Remove the trailing spaces.
52974 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52975
52976 _ACEOF
52977
52978 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52979 # `conftest.undefs', that substitutes the proper values into
52980 # config.h.in to produce config.h. The first handles `#define'
52981 # templates, and the second `#undef' templates.
52982 # And first: Protect against being on the right side of a sed subst in
52983 # config.status. Protect against being in an unquoted here document
52984 # in config.status.
52985 rm -f conftest.defines conftest.undefs
52986 # Using a here document instead of a string reduces the quoting nightmare.
52987 # Putting comments in sed scripts is not portable.
52988 #
52989 # `end' is used to avoid that the second main sed command (meant for
52990 # 0-ary CPP macros) applies to n-ary macro definitions.
52991 # See the Autoconf documentation for `clear'.
52992 cat >confdef2sed.sed <<\_ACEOF
52993 s/[\\&,]/\\&/g
52994 s,[\\$`],\\&,g
52995 t clear
52996 : clear
52997 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52998 t end
52999 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
53000 : end
53001 _ACEOF
53002 # If some macros were called several times there might be several times
53003 # the same #defines, which is useless. Nevertheless, we may not want to
53004 # sort them, since we want the *last* AC-DEFINE to be honored.
53005 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
53006 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
53007 rm -f confdef2sed.sed
53008
53009 # This sed command replaces #undef with comments. This is necessary, for
53010 # example, in the case of _POSIX_SOURCE, which is predefined and required
53011 # on some systems where configure will not decide to define it.
53012 cat >>conftest.undefs <<\_ACEOF
53013 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
53014 _ACEOF
53015
53016 # Break up conftest.defines because some shells have a limit on the size
53017 # of here documents, and old seds have small limits too (100 cmds).
53018 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
53019 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
53020 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
53021 echo ' :' >>$CONFIG_STATUS
53022 rm -f conftest.tail
53023 while grep . conftest.defines >/dev/null
53024 do
53025 # Write a limited-size here document to $tmp/defines.sed.
53026 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
53027 # Speed up: don't consider the non `#define' lines.
53028 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
53029 # Work around the forget-to-reset-the-flag bug.
53030 echo 't clr' >>$CONFIG_STATUS
53031 echo ': clr' >>$CONFIG_STATUS
53032 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
53033 echo 'CEOF
53034 sed -f $tmp/defines.sed $tmp/in >$tmp/out
53035 rm -f $tmp/in
53036 mv $tmp/out $tmp/in
53037 ' >>$CONFIG_STATUS
53038 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
53039 rm -f conftest.defines
53040 mv conftest.tail conftest.defines
53041 done
53042 rm -f conftest.defines
53043 echo ' fi # grep' >>$CONFIG_STATUS
53044 echo >>$CONFIG_STATUS
53045
53046 # Break up conftest.undefs because some shells have a limit on the size
53047 # of here documents, and old seds have small limits too (100 cmds).
53048 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
53049 rm -f conftest.tail
53050 while grep . conftest.undefs >/dev/null
53051 do
53052 # Write a limited-size here document to $tmp/undefs.sed.
53053 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
53054 # Speed up: don't consider the non `#undef'
53055 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
53056 # Work around the forget-to-reset-the-flag bug.
53057 echo 't clr' >>$CONFIG_STATUS
53058 echo ': clr' >>$CONFIG_STATUS
53059 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
53060 echo 'CEOF
53061 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
53062 rm -f $tmp/in
53063 mv $tmp/out $tmp/in
53064 ' >>$CONFIG_STATUS
53065 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
53066 rm -f conftest.undefs
53067 mv conftest.tail conftest.undefs
53068 done
53069 rm -f conftest.undefs
53070
53071 cat >>$CONFIG_STATUS <<\_ACEOF
53072 # Let's still pretend it is `configure' which instantiates (i.e., don't
53073 # use $as_me), people would be surprised to read:
53074 # /* config.h. Generated by config.status. */
53075 if test x"$ac_file" = x-; then
53076 echo "/* Generated by configure. */" >$tmp/config.h
53077 else
53078 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
53079 fi
53080 cat $tmp/in >>$tmp/config.h
53081 rm -f $tmp/in
53082 if test x"$ac_file" != x-; then
53083 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
53084 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53085 echo "$as_me: $ac_file is unchanged" >&6;}
53086 else
53087 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53089 X"$ac_file" : 'X\(//\)[^/]' \| \
53090 X"$ac_file" : 'X\(//\)$' \| \
53091 X"$ac_file" : 'X\(/\)' \| \
53092 . : '\(.\)' 2>/dev/null ||
53093 echo X"$ac_file" |
53094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53096 /^X\(\/\/\)$/{ s//\1/; q; }
53097 /^X\(\/\).*/{ s//\1/; q; }
53098 s/.*/./; q'`
53099 { if $as_mkdir_p; then
53100 mkdir -p "$ac_dir"
53101 else
53102 as_dir="$ac_dir"
53103 as_dirs=
53104 while test ! -d "$as_dir"; do
53105 as_dirs="$as_dir $as_dirs"
53106 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53108 X"$as_dir" : 'X\(//\)[^/]' \| \
53109 X"$as_dir" : 'X\(//\)$' \| \
53110 X"$as_dir" : 'X\(/\)' \| \
53111 . : '\(.\)' 2>/dev/null ||
53112 echo X"$as_dir" |
53113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53115 /^X\(\/\/\)$/{ s//\1/; q; }
53116 /^X\(\/\).*/{ s//\1/; q; }
53117 s/.*/./; q'`
53118 done
53119 test ! -n "$as_dirs" || mkdir $as_dirs
53120 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53121 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53122 { (exit 1); exit 1; }; }; }
53123
53124 rm -f $ac_file
53125 mv $tmp/config.h $ac_file
53126 fi
53127 else
53128 cat $tmp/config.h
53129 rm -f $tmp/config.h
53130 fi
53131 done
53132 _ACEOF
53133 cat >>$CONFIG_STATUS <<\_ACEOF
53134
53135 #
53136 # CONFIG_COMMANDS section.
53137 #
53138 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
53139 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
53140 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
53141 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
53142 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53143 X"$ac_dest" : 'X\(//\)[^/]' \| \
53144 X"$ac_dest" : 'X\(//\)$' \| \
53145 X"$ac_dest" : 'X\(/\)' \| \
53146 . : '\(.\)' 2>/dev/null ||
53147 echo X"$ac_dest" |
53148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53150 /^X\(\/\/\)$/{ s//\1/; q; }
53151 /^X\(\/\).*/{ s//\1/; q; }
53152 s/.*/./; q'`
53153 { if $as_mkdir_p; then
53154 mkdir -p "$ac_dir"
53155 else
53156 as_dir="$ac_dir"
53157 as_dirs=
53158 while test ! -d "$as_dir"; do
53159 as_dirs="$as_dir $as_dirs"
53160 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53162 X"$as_dir" : 'X\(//\)[^/]' \| \
53163 X"$as_dir" : 'X\(//\)$' \| \
53164 X"$as_dir" : 'X\(/\)' \| \
53165 . : '\(.\)' 2>/dev/null ||
53166 echo X"$as_dir" |
53167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53169 /^X\(\/\/\)$/{ s//\1/; q; }
53170 /^X\(\/\).*/{ s//\1/; q; }
53171 s/.*/./; q'`
53172 done
53173 test ! -n "$as_dirs" || mkdir $as_dirs
53174 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53175 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53176 { (exit 1); exit 1; }; }; }
53177
53178 ac_builddir=.
53179
53180 if test "$ac_dir" != .; then
53181 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53182 # A "../" for each directory in $ac_dir_suffix.
53183 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53184 else
53185 ac_dir_suffix= ac_top_builddir=
53186 fi
53187
53188 case $srcdir in
53189 .) # No --srcdir option. We are building in place.
53190 ac_srcdir=.
53191 if test -z "$ac_top_builddir"; then
53192 ac_top_srcdir=.
53193 else
53194 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53195 fi ;;
53196 [\\/]* | ?:[\\/]* ) # Absolute path.
53197 ac_srcdir=$srcdir$ac_dir_suffix;
53198 ac_top_srcdir=$srcdir ;;
53199 *) # Relative path.
53200 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53201 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53202 esac
53203
53204 # Do not use `cd foo && pwd` to compute absolute paths, because
53205 # the directories may not exist.
53206 case `pwd` in
53207 .) ac_abs_builddir="$ac_dir";;
53208 *)
53209 case "$ac_dir" in
53210 .) ac_abs_builddir=`pwd`;;
53211 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53212 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53213 esac;;
53214 esac
53215 case $ac_abs_builddir in
53216 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53217 *)
53218 case ${ac_top_builddir}. in
53219 .) ac_abs_top_builddir=$ac_abs_builddir;;
53220 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53221 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53222 esac;;
53223 esac
53224 case $ac_abs_builddir in
53225 .) ac_abs_srcdir=$ac_srcdir;;
53226 *)
53227 case $ac_srcdir in
53228 .) ac_abs_srcdir=$ac_abs_builddir;;
53229 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53230 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53231 esac;;
53232 esac
53233 case $ac_abs_builddir in
53234 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53235 *)
53236 case $ac_top_srcdir in
53237 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53238 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53239 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53240 esac;;
53241 esac
53242
53243
53244 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
53245 echo "$as_me: executing $ac_dest commands" >&6;}
53246 case $ac_dest in
53247 rcdefs.h )
53248 mkdir -p $outdir &&
53249 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53250 ;;
53251 wx-config ) rm -f wx-config
53252 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53253 ;;
53254 esac
53255 done
53256 _ACEOF
53257
53258 cat >>$CONFIG_STATUS <<\_ACEOF
53259
53260 { (exit 0); exit 0; }
53261 _ACEOF
53262 chmod +x $CONFIG_STATUS
53263 ac_clean_files=$ac_clean_files_save
53264
53265
53266 # configure is writing to config.log, and then calls config.status.
53267 # config.status does its own redirection, appending to config.log.
53268 # Unfortunately, on DOS this fails, as config.log is still kept open
53269 # by configure, so config.status won't be able to write to it; its
53270 # output is simply discarded. So we exec the FD to /dev/null,
53271 # effectively closing config.log, so it can be properly (re)opened and
53272 # appended to by config.status. When coming back to configure, we
53273 # need to make the FD available again.
53274 if test "$no_create" != yes; then
53275 ac_cs_success=:
53276 ac_config_status_args=
53277 test "$silent" = yes &&
53278 ac_config_status_args="$ac_config_status_args --quiet"
53279 exec 5>/dev/null
53280 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53281 exec 5>>config.log
53282 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53283 # would make configure fail if this is the last instruction.
53284 $ac_cs_success || { (exit 1); exit 1; }
53285 fi
53286
53287 #
53288 # CONFIG_SUBDIRS section.
53289 #
53290 if test "$no_recursion" != yes; then
53291
53292 # Remove --cache-file and --srcdir arguments so they do not pile up.
53293 ac_sub_configure_args=
53294 ac_prev=
53295 for ac_arg in $ac_configure_args; do
53296 if test -n "$ac_prev"; then
53297 ac_prev=
53298 continue
53299 fi
53300 case $ac_arg in
53301 -cache-file | --cache-file | --cache-fil | --cache-fi \
53302 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53303 ac_prev=cache_file ;;
53304 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53305 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53306 | --c=*)
53307 ;;
53308 --config-cache | -C)
53309 ;;
53310 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53311 ac_prev=srcdir ;;
53312 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53313 ;;
53314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53315 ac_prev=prefix ;;
53316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53317 ;;
53318 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
53319 esac
53320 done
53321
53322 # Always prepend --prefix to ensure using the same prefix
53323 # in subdir configurations.
53324 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
53325
53326 ac_popdir=`pwd`
53327 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53328
53329 # Do not complain, so a configure script can configure whichever
53330 # parts of a large source tree are present.
53331 test -d $srcdir/$ac_dir || continue
53332
53333 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
53334 echo "$as_me: configuring in $ac_dir" >&6;}
53335 { if $as_mkdir_p; then
53336 mkdir -p "$ac_dir"
53337 else
53338 as_dir="$ac_dir"
53339 as_dirs=
53340 while test ! -d "$as_dir"; do
53341 as_dirs="$as_dir $as_dirs"
53342 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53344 X"$as_dir" : 'X\(//\)[^/]' \| \
53345 X"$as_dir" : 'X\(//\)$' \| \
53346 X"$as_dir" : 'X\(/\)' \| \
53347 . : '\(.\)' 2>/dev/null ||
53348 echo X"$as_dir" |
53349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53351 /^X\(\/\/\)$/{ s//\1/; q; }
53352 /^X\(\/\).*/{ s//\1/; q; }
53353 s/.*/./; q'`
53354 done
53355 test ! -n "$as_dirs" || mkdir $as_dirs
53356 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53357 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53358 { (exit 1); exit 1; }; }; }
53359
53360 ac_builddir=.
53361
53362 if test "$ac_dir" != .; then
53363 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53364 # A "../" for each directory in $ac_dir_suffix.
53365 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53366 else
53367 ac_dir_suffix= ac_top_builddir=
53368 fi
53369
53370 case $srcdir in
53371 .) # No --srcdir option. We are building in place.
53372 ac_srcdir=.
53373 if test -z "$ac_top_builddir"; then
53374 ac_top_srcdir=.
53375 else
53376 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53377 fi ;;
53378 [\\/]* | ?:[\\/]* ) # Absolute path.
53379 ac_srcdir=$srcdir$ac_dir_suffix;
53380 ac_top_srcdir=$srcdir ;;
53381 *) # Relative path.
53382 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53383 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53384 esac
53385
53386 # Do not use `cd foo && pwd` to compute absolute paths, because
53387 # the directories may not exist.
53388 case `pwd` in
53389 .) ac_abs_builddir="$ac_dir";;
53390 *)
53391 case "$ac_dir" in
53392 .) ac_abs_builddir=`pwd`;;
53393 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53394 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53395 esac;;
53396 esac
53397 case $ac_abs_builddir in
53398 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53399 *)
53400 case ${ac_top_builddir}. in
53401 .) ac_abs_top_builddir=$ac_abs_builddir;;
53402 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53403 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53404 esac;;
53405 esac
53406 case $ac_abs_builddir in
53407 .) ac_abs_srcdir=$ac_srcdir;;
53408 *)
53409 case $ac_srcdir in
53410 .) ac_abs_srcdir=$ac_abs_builddir;;
53411 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53412 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53413 esac;;
53414 esac
53415 case $ac_abs_builddir in
53416 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53417 *)
53418 case $ac_top_srcdir in
53419 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53420 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53421 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53422 esac;;
53423 esac
53424
53425
53426 cd $ac_dir
53427
53428 # Check for guested configure; otherwise get Cygnus style configure.
53429 if test -f $ac_srcdir/configure.gnu; then
53430 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
53431 elif test -f $ac_srcdir/configure; then
53432 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
53433 elif test -f $ac_srcdir/configure.in; then
53434 ac_sub_configure=$ac_configure
53435 else
53436 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53438 ac_sub_configure=
53439 fi
53440
53441 # The recursion is here.
53442 if test -n "$ac_sub_configure"; then
53443 # Make the cache file name correct relative to the subdirectory.
53444 case $cache_file in
53445 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53446 *) # Relative path.
53447 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
53448 esac
53449
53450 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53451 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53452 # The eval makes quoting arguments work.
53453 eval $ac_sub_configure $ac_sub_configure_args \
53454 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
53455 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53456 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53457 { (exit 1); exit 1; }; }
53458 fi
53459
53460 cd "$ac_popdir"
53461 done
53462 fi
53463
53464
53465 echo
53466 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53467 echo ""
53468 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53469 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53470
53471 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53472 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53473 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
53474
53475 echo " What level of wxWidgets compatibility should be enabled?"
53476 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
53477 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
53478
53479 echo " Which libraries should wxWidgets use?"
53480 echo " jpeg ${wxUSE_LIBJPEG-none}"
53481 echo " png ${wxUSE_LIBPNG-none}"
53482 echo " regex ${wxUSE_REGEX}"
53483 echo " tiff ${wxUSE_LIBTIFF-none}"
53484 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53485 echo " xpm ${wxUSE_LIBXPM-none}"
53486 fi
53487 echo " zlib ${wxUSE_ZLIB}"
53488 echo " odbc ${wxUSE_ODBC}"
53489 echo " expat ${wxUSE_EXPAT}"
53490 echo " libmspack ${wxUSE_LIBMSPACK}"
53491 echo " sdl ${wxUSE_LIBSDL}"
53492
53493 echo ""
53494